# Node-red-contrib-discovery2mqtt nodes

**URL:** <https://discourse.nodered.org/t/node-red-contrib-discovery2mqtt-nodes/55561>\
**Category:** General\
**Created:** [22 December 2021 14:30 UTC](https://discourse.nodered.org/t/node-red-contrib-discovery2mqtt-nodes/55561 "2021-12-22T14:30:19Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![bobcroft](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bobcroft/32/52443_2.png) [@bobcroft](https://discourse.nodered.org/u/bobcroft)\
**Post date:** [22 December 2021 14:30 UTC](https://discourse.nodered.org/t/node-red-contrib-discovery2mqtt-nodes/55561/1 "2021-12-22T14:30:19Z")

</div>

Is there anybody using these nodes? There doesn't seem to be much information found by Google search. I have spent about half a day trying to get theese nodes to work. Does anybody have working flow thay could share please?  
I am a bit confused by the term 'discovery2mqtt server' but I have taken it to be the mqtt server which is hosted on the same home Assistant set up as my node-RED install. So, in the server set up I put host:[http://192.169.43.123](http://192.169.43.123). for the port I put 1883, I add my password and user name. I set a base topic as 'homeassistant'. However, I cannot get any componetns to poputate the component box.  
There have only been a few downloads of these nodes so it doesn't seem as if it is widely used.  
ANy help would be greatly appreciated. All the mqtt settings I have used work flawlessly in other flows.

---

<div class="post-metadata">

**Author:** ![TaixMiguel](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/taixmiguel/32/53409_2.png) [@TaixMiguel](https://discourse.nodered.org/u/TaixMiguel)\
**Post date:** [1 January 2022 21:16 UTC](https://discourse.nodered.org/t/node-red-contrib-discovery2mqtt-nodes/55561/2 "2022-01-01T21:16:22Z")

</div>

I have exactly the same problem, have you found a solution for it?

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [1 January 2022 21:53 UTC](https://discourse.nodered.org/t/node-red-contrib-discovery2mqtt-nodes/55561/3 "2022-01-01T21:53:01Z")

</div>

Can I suggest that you raise an issue in the node's git repo to get help from the node author, or alternatively post the question in the HA forum.

---

<div class="post-metadata">

**Author:** ![FireWizard52](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/firewizard52/32/34508_2.png) [@FireWizard52](https://discourse.nodered.org/u/FireWizard52)\
**Post date:** [2 January 2022 22:27 UTC](https://discourse.nodered.org/t/node-red-contrib-discovery2mqtt-nodes/55561/4 "2022-01-02T22:27:14Z")

</div>

Hi,

These posts made me curious, as not only HA uses MQTT Autodiscovery but also Domoticz (in the latest beta). I installed the nodes and tried to configure them in the most logical way.

The result was a complete crash of Node Red and the browser losts its connection to the server.  
I could only recover by removing the nodes from the palette on the CLI and restart NR.

---

<div class="post-metadata">

**Author:** ![bobcroft](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bobcroft/32/52443_2.png) [@bobcroft](https://discourse.nodered.org/u/bobcroft)\
**Post date:** [3 January 2022 09:43 UTC](https://discourse.nodered.org/t/node-red-contrib-discovery2mqtt-nodes/55561/5 "2022-01-03T09:43:50Z")

</div>

Hi, I haven't got these nodes to work yet, but I haven't had time to look at them again. I think we can safely assume that none of the Node-RED experts on this forum use them since there have not been many responses. I do plan to try them again when I get time. I have managed to get discovery working on the ESP8266/32 projects I code using platformIO. Alternatively, if you can implement your project using ESPHome / Home Assistant, then the ESPHome API discovery is automatic and provides all the links from your project to HA.

---

<div class="post-metadata">

**Author:** ![TaixMiguel](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/taixmiguel/32/53409_2.png) [@TaixMiguel](https://discourse.nodered.org/u/TaixMiguel)\
**Post date:** [3 January 2022 10:38 UTC](https://discourse.nodered.org/t/node-red-contrib-discovery2mqtt-nodes/55561/6 "2022-01-03T10:38:17Z")

</div>

In my projects with ESP32 I also create devices by automatic discovery, but there are other projects that I do not have in ESP32 and I would like to do it through this integration.

In the end I see myself creating the sensors from a terminal

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [3 January 2022 11:00 UTC](https://discourse.nodered.org/t/node-red-contrib-discovery2mqtt-nodes/55561/7 "2022-01-03T11:00:36Z")

</div>

You all may wish to post an issue on the repository

"Issues · twocolors/node-red-contrib-discovery2mqtt · GitHub" [Issues · twocolors/node-red-contrib-discovery2mqtt · GitHub](https://github.com/twocolors/node-red-contrib-discovery2mqtt/issues)

So far it has zero issues open **or** closed so the author may not be aware of your questions or problems.

---

<div class="post-metadata">

**Author:** ![bobcroft](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bobcroft/32/52443_2.png) [@bobcroft](https://discourse.nodered.org/u/bobcroft)\
**Post date:** [3 January 2022 11:06 UTC](https://discourse.nodered.org/t/node-red-contrib-discovery2mqtt-nodes/55561/8 "2022-01-03T11:06:32Z")

</div>

I may well post as you suggest but first I need to re-visit the issue on my system so I can provide specifc information on what isn't working. Thank you for the link, I am sure you are right about the author not being aware of issues. I suspect there are zero issues because the nodes are, apparently, so little used.

---

<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:** [4 March 2022 11:06 UTC](https://discourse.nodered.org/t/node-red-contrib-discovery2mqtt-nodes/55561/9 "2022-03-04T11:06:39Z")

</div>

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