The MQTT integration appears unable to receive subscribed messages, preventing the light status from updating. Additionally, the “listening to topics” functionality in the MQTT configuration options seems to not work properly.
I have installed Home Assistant on both a chroot container and Hyper-Ubuntu, and encountered this issue in both environments. Even when using MQTT services without security authentication, the problem persists. I tested subscribed messages with MQTTX software, and the ESP device can receive/execute commands and successfully publish status messages to the “esp01s/state” topic. Did I miss any configuration steps?
Yes, the ESP device can receive MQTT messages sent by HA, but HA appears unable to receive subscribed messages. Both MQTT messages sent via the MQTTX software and the ESP device remain undetectable. The “Listening to Topics” feature in the MQTT integration fails to monitor any topics even when enabled.
I modified HA’s configuration file, but it still cannot recognize the ESP status.
Here is a screenshot of the MQTT messages: the “esp01s” topic messages are sent by HA, while the “esp01s/state” topic contains status information published by the ESP device.
The firewall is functioning normally, and the MQTTX software can detect both the status messages published by the ESP device and the command messages published by Home Assistant.
OK, I think I’ve identified the root cause of the issue. The problem was with my MQTT service provider. After switching to other providers and even trying a locally deployed MQTT service, everything is now functioning properly.