# MQTT host server discovery

**URL:** https://discourse.nodered.org/t/mqtt-host-server-discovery/44222
**Category:** General
**Created:** [15 April 2021 09:28 UTC](https://discourse.nodered.org/t/mqtt-host-server-discovery/44222 "2021-04-15T09:28:01Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Louis\_Swart](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/louis_swart/32/35925_2.png) [@Louis\_Swart](https://discourse.nodered.org/u/Louis_Swart)
#### Post date: [15 April 2021 09:28 UTC](https://discourse.nodered.org/t/mqtt-host-server-discovery/44222/1 "2021-04-15T09:28:01Z")

</div>

Hi, I have a question regarding MQTT host server discovery from a Tasmota SONOFF device.

Compiled the code with USE\_DISCOVERY and MQTT\_HOST\_DISCOVERY enabled in the source code.  
Using the mosquitto MQTT broker.

The device is not able to discover the MQTT server, but if I use the console command MqttHost to set the IP of the MQTT server it works.

Any advice in this regard?

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [15 April 2021 10:01 UTC](https://discourse.nodered.org/t/mqtt-host-server-discovery/44222/2 "2021-04-15T10:01:25Z")

</div>

This looks like a question for the Home Assistant forums.

---

<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: [15 April 2021 10:07 UTC](https://discourse.nodered.org/t/mqtt-host-server-discovery/44222/3 "2021-04-15T10:07:23Z")

</div>

Or the tasmota forum, it appears to nothing to do with node red at all.

---

<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: [14 June 2021 10:08 UTC](https://discourse.nodered.org/t/mqtt-host-server-discovery/44222/4 "2021-06-14T10:08:06Z")

</div>

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