@Fergus_Pingo I think you need to define a user and a password for Mosquitto and in the config of Zigbee2Mqtt addon, you add that user so that it can connect with the broker:
Corresponding config in Zigbee2MQTT (I have also shown the config of the dongle as I have exactly the same - you can find it in the Hardware section how it is called in your case):
That log is nothing to be concerned about, just supervisor checking if the add-on is still alive. But you should not use An IP-address in the Zigbee2mqtt configuration in that case.
Thank you for your response and screen shot. If I remember for my house install I chose different user and passwords for mqtt and mosquito, however for the work install I think I kept the same ( and I only have one listing in my password manager) So I can not directly screenshot my house config files and repeat it at work.
I have not changed the Serial Port to the text that shown for your dongle yet. I had a suspicion that the ttyUSB0 was the correct port where the dongle is plugged in and that is why a year ago I put that text there.
I followed through the instructions about the Failed to save message and read the Documentation tab and there may be stuff missing - I cut and paste the recommended configuration entry below
logins: []
customize:
active: false
folder: mosquitto
certfile: fullchain.pem
keyfile: privkey.pem
require_certificate: false
Is this what mine should look like?
Thanks again, Fergus
Check your Z2MQTT settings. Something tells me you only added a single / after mqtt:// , but I can’t confirm because you blacked it out. See this post above.
Also, make sure you restart the Z2MQTT addon after any changes, and double check that it’s pointing to your MQTT broker correctly (should be your HA IP address:1883, or 192.168.1.102:1883)
However does the green dot indicate Mosquito is running fine.
Now on to MQTT itself - this is not running. I checked for the two forward slashes as you mentioned and this looks OK. Here is the config without any redacting.
Once again - many thanks - is it good practice to now edit the title of this thread to [SOLVED] MQTT error: connect ECONNREFUSED or just leave it for others to browse through?