Hi,
I’m using HA for number of years and I’m pretty competent with it, but I’m completely lost when it comes to MQTT. I read so much about it online but I feel like I’m only getting more confused. Long story short, my biggest struggle it to use MQTT with Zigbee devices.
My setup is HA running on ondroin-n2 with USB zigbee dongle.
- Core 2025.1.2
- Supervisor 2024.12.3
- Operating System 14.1
- Frontend 20250109.0
I have ZHA configured with multiple devices on it, all working fine. I’m running EMQX broker with currently 7 clients showing up - all of them added by configuring MQTT server IP and login details directly on the devices (all of them wifi). I also have MQTT integration added and configured with EMQX details - all appears to be wroking fine. Under MQTT integration options the auto discovery option is enable with the default homeassistant prefix.
Despite all of the above seemingly configured properly, none of the zigbee devices are showing in the EMQX broker. Ialso tried connecting MQTT Explorer and it connects to the host correctly, but then only shows the host’s IP address with nothing else, no device tree.
What can I be doing wrong?
All I found in the logs was this inside the EMQX log:
EMQX 5.8.2 is running now!
2025-01-16T07:27:54.192903+00:00 [warning] tag: AUTHZ, clientid: mqtt-explorer-ba681002, msg: authorization_permission_denied, peername: 192.168.1.45:61222, username: mqttuser, topic: #, source: file, action: SUBSCRIBE(Q0)
2025-01-16T07:28:24.473968+00:00 [warning] msg: log_events_throttled_during_last_period, dropped: #{authorization_permission_denied => 1}, period: 1 minutes, 0 seconds
2025-01-16T07:29:25.163735+00:00 [warning] tag: AUTHZ, clientid: mqtt-explorer-ba681002, msg: authorization_permission_denied, peername: 192.168.1.45:61376, username: mqttuser, topic: #, source: file, action: SUBSCRIBE(Q0)
2025-01-16T07:30:24.475967+00:00 [warning] msg: log_events_throttled_during_last_period, dropped: #{authorization_permission_denied => 1}, period: 1 minutes, 0 seconds
2025-01-16T07:37:24.609109+00:00 [warning] msg: alarm_is_activated, message: <<"85.32% cpu usage">>, name: high_cpu_usage
2025-01-16T07:39:22.168833+00:00 [warning] tag: AUTHZ, clientid: mqtt-explorer-ba681002, msg: authorization_permission_denied, peername: 192.168.1.45:62280, username: mqttuser, topic: #, source: file, action: SUBSCRIBE(Q0)
2025-01-16T07:39:24.489001+00:00 [warning] msg: log_events_throttled_during_last_period, dropped: #{authorization_permission_denied => 1}, period: 1 minutes, 0 seconds
2025-01-16T07:39:24.632009+00:00 [warning] msg: alarm_is_deactivated, name: high_cpu_usage