-
Good afternoon - installed 2.3.7 to connect to my Home Assistant setup, but for some reason having some connection issues on MQTT. On my AqualinkD Pi Zero 2W - I have the Aqualinkd.conf file with the MQTT settings (IP address/port pointing to my Home Assistant, username, password, topic, HA autodetect) - all 5 of those lines are active: On my Home Assistant (RPi4) - I've got the Mosquitto broker running as an Add-on, and it then auto-detects a MQTT Integration that I configure and it then fails because it can't connect. When I use the AqualinkD Management Console (Web UI) - I keep getting MQTT errors and connection closes. Same in my Home Assistant Mosquitto log. This is from the AqualinkD WebUI: This is from Home Assistant Mosquitto broker log: Any ideas on why these aren't talking? Appreciate the help... i'm sure i'm doing something dumb that I cannot figure out! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Setting up Mosquito broker on Home Assistant can be a real PITA. From the looks of the messages it seems Mosquito is rejecting the user/paswd you have configured in AqualinkD. This isn't surprising since the HA documentation seems to be currently wrong for how you setup user/passwd in mosquitto. (well it didn't work for me when I setup a dev HA install to develop this integration). Test this by installing mosquitto_clients on any machine, and use that to test the login, it'll be easier and quicker than constantly editing aqualinkd.conf and restarting. Once you get that working, then configure AqualinkD. see this post for details. As for HA configuration, I seem to remember I fixed that by setting a user/password in the MQTT Broker configuration and NOT using a system user/passwd. The HA document suggests you do the latter. |
Beta Was this translation helpful? Give feedback.
Setting up Mosquito broker on Home Assistant can be a real PITA. From the looks of the messages it seems Mosquito is rejecting the user/paswd you have configured in AqualinkD. This isn't surprising since the HA documentation seems to be currently wrong for how you setup user/passwd in mosquitto. (well it didn't work for me when I setup a dev HA install to develop this integration).
Test this by installing mosquitto_clients on any machine, and use that to test the login, it'll be easier and quicker than constantly editing aqualinkd.conf and restarting. Once you get that working, then configure AqualinkD.
see this post for details.
#292 (reply in thread)
Once you get mosquitto_sub working t…