I’m running 2025.12.3 and Mosquitto 6.0.2
I have arduinos and ESP modules in remote locations all over the place and only a few have OTA access. Accessing and re-programming all of them will be a long term project, so when the next mosquitto update stopped talking to the devices I simply restored 6.0.2 and haven’t updated since…
I now find I have to update for newer devices but when I installed 6.5.2 it didn’t want to talk to anything (not even MQTT Explorer!) and anonymous clients are not an option.
Is there a way to install earlier versions with user/pwd options that will also take anonymous clients while I track down and reprogram all my devices?
Anonymous login was removed from the HA add-on ages ago, as you are aware:
Add-ons are not version-controlled, so the only way to do it is via restoring a backup, which will affect your whole system. If you want to do something that the add-on doesn’t support, move it out of HA.
I run the eclipse-moquitto Docker image separately on my NAS with the allow_anonymous option turned on. As I run HA in a Docker container, I don’t even have the option of add-ons and have never missed it…
Thanks tmjpugh, think I’ll run new Broker in Docker or on a spare RPi - BUT - all my devices will be sending their MQTT traffic to my HASSIO’s IP address, will I need to set up a route/port forward to direct that traffic to the IP of the new broker?