# Customize the basic mqtt node

**URL:** <https://discourse.nodered.org/t/customize-the-basic-mqtt-node/28401>\
**Category:** General\
**Created:** [16 June 2020 12:07 UTC](https://discourse.nodered.org/t/customize-the-basic-mqtt-node/28401 "2020-06-16T12:07:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vp2021](https://avatars.discourse-cdn.com/v4/letter/v/5fc32e/32.png) [@vp2021](https://discourse.nodered.org/u/vp2021)\
**Post date:** [16 June 2020 12:07 UTC](https://discourse.nodered.org/t/customize-the-basic-mqtt-node/28401/1 "2020-06-16T12:07:03Z")

</div>

Hello,

I want to use the basic components "MQTT IN" and "MQTT OUT" and modify them a bit in order to have other possible attributes in their properties.

Where can I find their basic files (.js, .html, .json) so that I can make some changes to test them ?

Thanks for your help.

---

<div class="post-metadata">

**Author:** ![cinhcet](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cinhcet/32/438_2.png) [@cinhcet](https://discourse.nodered.org/u/cinhcet)\
**Post date:** [16 June 2020 12:14 UTC](https://discourse.nodered.org/t/customize-the-basic-mqtt-node/28401/2 "2020-06-16T12:14:34Z")

</div>

they are here [https://github.com/node-red/node-red/tree/master/packages/node\_modules/%40node-red/nodes/core/network](https://github.com/node-red/node-red/tree/master/packages/node_modules/%40node-red/nodes/core/network)  
or in your node-red install folder node\_modules/@node-red/nodes/core/network

Before you make these changes, what do you want to achieve? (other people also are interested in that so a feature request / pull request discussion could help)

---

<div class="post-metadata">

**Author:** ![vp2021](https://avatars.discourse-cdn.com/v4/letter/v/5fc32e/32.png) [@vp2021](https://discourse.nodered.org/u/vp2021)\
**Post date:** [16 June 2020 21:21 UTC](https://discourse.nodered.org/t/customize-the-basic-mqtt-node/28401/3 "2020-06-16T21:21:52Z")

</div>

Thanks for the answer!

I would like to send/receive data from an MQTT broker securely (TLS). That's why I would like for example to block some options in the existing node (e.g. not to let any more the possibility to use an unsecured connection) and add other fields that would be useful in my development.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [30 June 2020 21:22 UTC](https://discourse.nodered.org/t/customize-the-basic-mqtt-node/28401/4 "2020-06-30T21:22:00Z")

</div>

Closed on 30 June 2020 21:22 UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
