MQTT discovery after migration from hass.io to docker

Because it was an unsupported installation - a package on a Synology DSM.

I tried installing mosquitto 1.6 - no difference

I might try and run the docker HA in bridge mode on the same network as everything else and see what happens

Ok all fixed - ended up being a MQTT ACL issue

I had not given the devices specific readwrite access to homeassistant/#

Hence nothing was being written there, so no discovery

The add-on broker didn’t have ACL set up, which is why it worked

So nothing to do with docker networking etc etc

Thanks all for trying to help !

1 Like

I have the same problem.

I have a unit that has the password and username but it is neither connecting to the MQTT server

Have you tried @mmcr’s solution?

How do you give the permission? I am noob in these things

How did you install your mqtt broker?

With a docker run command. Afterwards I made a config file and made a password

So the broker is mosquito? mosquito.conf is the man page you want.

What do I need to type there?