# MQTT Node: Subscribing to \`+/+/$homie\` does not work?

**URL:** <https://discourse.nodered.org/t/mqtt-node-subscribing-to-homie-does-not-work/26522>\
**Category:** General\
**Created:** [12 May 2020 11:54 UTC](https://discourse.nodered.org/t/mqtt-node-subscribing-to-homie-does-not-work/26522 "2020-05-12T11:54:47Z")\
**Posts on this page:** 5\
**Page:** 3

<div class="post-metadata">

**Author:** ![kuema](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/kuema/32/6542_2.png) [@kuema](https://discourse.nodered.org/u/kuema)\
**Post date:** [13 May 2020 11:10 UTC](https://discourse.nodered.org/t/mqtt-node-subscribing-to-homie-does-not-work/26522/41 "2020-05-13T11:10:06Z")

</div>

Could also be a problem with the library used by the MQTT nodes.  
It's this version: [https://www.npmjs.com/package/mqtt/v/2.18.8](https://www.npmjs.com/package/mqtt/v/2.18.8)

Some edge case when you have multiple overlapping subscriptions and using wildcards... just a thought.

Should we close this thread then? Before we stray too far away... 😄

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [13 May 2020 11:17 UTC](https://discourse.nodered.org/t/mqtt-node-subscribing-to-homie-does-not-work/26522/42 "2020-05-13T11:17:47Z")

</div>

> [@kuema](#):
>
> Should we close this thread then? Before we stray too far away

I did consider that but thought it might be rude 😁

But now you've suggested it as well ... why not, I think that it has served its purpose.

As a final reminder, here is a link to the other thread where we have started to talk about extended use-cases and standards.

> [@MQTT Homie Convention Node - questions about usage](https://discourse.nodered.org/t/mqtt-homie-convention-node-questions-about-usage/26541/11):
>
> Agree. I will respond to further to your post above. But on related topic - as you know from other posts under Proejcts I made probably a year +, this project I have - on Github (not the cod yet), has had a previous incarnation - I build my own standard - before I kno abotu Homie - a Yaml file that also configures all. For a year - as I added devices (including RF) - the wheels started coming off the standard I thought would work. I then even included some concepts of Apple's approach (although…

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [13 May 2020 11:17 UTC](https://discourse.nodered.org/t/mqtt-node-subscribing-to-homie-does-not-work/26522/43 "2020-05-13T11:17:54Z")

</div>

Closed on 13 May 2020 11:17 UTC



---

<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:** [13 May 2020 12:59 UTC](https://discourse.nodered.org/t/mqtt-node-subscribing-to-homie-does-not-work/26522/44 "2020-05-13T12:59:02Z")

</div>

Julian, forgive me for writing on your closed topic - perhaps I missed something.

Is this solved?

You said

> [@TotallyInformation](#):
>
> this thread is finished now since I know what is causing the problem

so I'm a little confused?

Are you now able to sub to `+/+/$homie` or is there an actual issue in node-red that needs to be resolved?

Sorry if i missed that bit.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [13 May 2020 19:31 UTC](https://discourse.nodered.org/t/mqtt-node-subscribing-to-homie-does-not-work/26522/45 "2020-05-13T19:31:40Z")

</div>

Not really solved. There is certainly an odd interaction between the esp homie framework and Node-RED's mqtt-in node. I just no longer think it important enough to worry about for now.

At least part of the issue is what Christian mentioned about the default Mosquitto settings and using QoS=0 for retained messages. Something that accounts for some other previous issues I had (months ago) that was causing some of my lighting to go wonk. I "fixed" that by adjusting my MQTT output settings in Node-RED.

Unfortunately, I just don't have any spare time or capacity to work through the many test cases logically in order to track down whether or not there is a bug or just my misunderstanding of how things should be working. Too many variables.

I can work around the issue so there is little point in continuing this thread. However, if others want to do any more testing, I'd be happy for it to be reopened. It is just that the other thread is, I believe, a lot more important.

[Previous page](https://discourse.nodered.org/t/mqtt-node-subscribing-to-homie-does-not-work/26522.md?page=2)
