# Distributed NodeRed and MQTT

**URL:** <https://discourse.nodered.org/t/distributed-nodered-and-mqtt/17845>\
**Category:** General\
**Created:** [12 November 2019 16:15 UTC](https://discourse.nodered.org/t/distributed-nodered-and-mqtt/17845 "2019-11-12T16:15:12Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![davide16](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/davide16/32/14257_2.png) [@davide16](https://discourse.nodered.org/u/davide16)\
**Post date:** [12 November 2019 16:15 UTC](https://discourse.nodered.org/t/distributed-nodered-and-mqtt/17845/1 "2019-11-12T16:15:12Z")

</div>

Hi all,

I want to use Distributed NodeRed, in which the flow should execute on devices transparently communicating between them using the MQTT server configured in the `wire` node in [`dist-wire.js`](https://github.com/mblackstock/node-red-contrib/blob/experimental-dist-flows/nodes/dist/dist-wire.js).

- Do you know how the nodes use this 'wire node'? Which function they use?
- It is possible to modify o replace MQTT?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [12 November 2019 19:29 UTC](https://discourse.nodered.org/t/distributed-nodered-and-mqtt/17845/2 "2019-11-12T19:29:44Z")

</div>

Not sure how many people here have heard or played with dnr. You may be better asking on the project github direct

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [12 November 2019 20:27 UTC](https://discourse.nodered.org/t/distributed-nodered-and-mqtt/17845/3 "2019-11-12T20:27:32Z")

</div>

Also notice that the repository you linked to says that it is discontinued and that you should refer to [https://github.com/namgk/dnr-editor](https://github.com/namgk/dnr-editor).

---

<div class="post-metadata">

**Author:** ![davide16](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/davide16/32/14257_2.png) [@davide16](https://discourse.nodered.org/u/davide16)\
**Post date:** [13 November 2019 11:32 UTC](https://discourse.nodered.org/t/distributed-nodered-and-mqtt/17845/4 "2019-11-13T11:32:26Z")

</div>

Hi @Colin, thanks for the reply.  
I also used the repository you mentioned, but in that repo I din't find the 'dist' folder as in the other one([https://github.com/mblackstock/node-red-contrib/tree/experimental-dist-flows/nodes](https://github.com/mblackstock/node-red-contrib/tree/experimental-dist-flows/nodes)).  
So do you know how is replaced the 'dist' folder in the repo [https://github.com/namgk/dnr-editor](https://github.com/namgk/dnr-editor) ?

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [13 November 2019 11:53 UTC](https://discourse.nodered.org/t/distributed-nodered-and-mqtt/17845/5 "2019-11-13T11:53:51Z")

</div>

@davide16 I don't think Colin was providing that advice as someone who knows anything about dnr - he was just pointing to what it said in the repo's readme.

---

<div class="post-metadata">

**Author:** ![davide16](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/davide16/32/14257_2.png) [@davide16](https://discourse.nodered.org/u/davide16)\
**Post date:** [13 November 2019 12:59 UTC](https://discourse.nodered.org/t/distributed-nodered-and-mqtt/17845/6 "2019-11-13T12:59:14Z")

</div>

Thank you @knolleary. I read the other repo and I found the files I was searching.  
So do you suggest me to use the namgk's repo or the other one to work on mqtt?

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [13 November 2019 22:41 UTC](https://discourse.nodered.org/t/distributed-nodered-and-mqtt/17845/7 "2019-11-13T22:41:00Z")

</div>

I cannot make any recommendations as I've not looked at any of them. We are only pointing you to what they say in their own repos.
