MQTT messages not getting through from network computer

Hi,

  • The MQTT protocol connects over TCP/IP, and uses IPv4 / IPv6 / DNS / mDNS.

  • HA MQTT discovery is specific to the MQTT protocol. It is completely unrelated to DNS.

They are very different and operate at completely different layers.

Get the IPv4 address of your HA machine which has the MQTT broker running on it, and use that to connect to the MQTT broker. Use the HA Settings → System → Network, or try pinging HA (ping homeassistant.local or similar to get the address).

Here’s an example that works with the IPv4 loopback address from the HA console itself locally:

Install MQTT Explorer and get it connected to your HA broker.

Here’s a step by step explanation of setting up MQTT on HA which I usually trot out…

If this helps, :heart: this post!