I have been fighting trying to get Z2M working on my HA. It has been quite a journey and I’ve learned a lot of things about how HA works and how to make it work on unRAID.
For some reason, though, I can not get Zigbee2MQTT to work. What I end up is my MQTT broker responds with “connection refused - unauthorised” (or something to that effect. I know that I have the right credentials because I can log into the broker from MQTT Explorer on my Mac and am using the exact same address and credentials.
I’ve fought through getting my Sonoff adapter passed through (a task because it appeared as exactly the same device as my Z-Wave adapter). Got it so Z2M can access the right port and get to the device. I’m absolutely stuck at Z2M being able to be authorized into the broker (or that’s what the log seems to indicate). Help?
Totally respect that that is the first question asked. That comes from the initial set basic google searches. Yes, of course this is in my Z2M config. I’ve got a facebook group thread going and everyone is stumped (and the thread is getting very messy, frankly, so I’m going to come over here! LOL!). I’m going to get some screenshots of all my setup configs.
I just rechecked my setup. I actually don’t put it in the settings tab of z2m but instead in the z2m yaml file (in the add-on configuration). I found it quite confusing that I could insert settings in multiple places but I think the yaml file overides everything else.
Probably worth a quick try if you haven’t done this already.
server: mqtt://broker IP
user: xxxx
password: xxxx