Hi everyone, I’m encountering an issue while setting up zigbee2mqtt on my Raspberry Pi 3B with OpenHABian. I’ve successfully installed Mosquitto via openhabian-config (version 2.4) and set up a password. The MQTT binding is online and connected to the broker, and I can establish a connection using MQTT.fx with the provided username and password. However, when I try to run zigbee2mqtt, I’m facing an authentication error.
Here’s what I’ve done so far:
- Installed Mosquitto and set up the MQTT binding.
- Verified MQTT connectivity using MQTT.fx.
- Configured zigbee2mqtt with the correct MQTT URL, port, username, and password.
- Started zigbee2mqtt with
npm start, but it throws an error:Error: Connection refused: Not authorized.
I suspect the issue lies with the MQTT server configuration or the zigbee2mqtt setup. Could there be a misconfiguration in Mosquitto that’s preventing zigbee2mqtt from authenticating properly? Any guidance would be greatly appreciated! Thanks in advance for your help.