I’m in the middle of migrating from Home Assistant OS to a docker-based setup, and I just realized that the mosquitto addon abstracts away the actual mosquitto.conf file.
Is there any way I can get the full mosquitto.conf file from the mosquitto addon?
I’ve answered my own question:
- the debug mode ssh connection by following instructions here: Debugging the Home Assistant Operating System | Home Assistant Developer Docs
- ssh root@hassio -p 22222
- At the hassio > prompt run “login”
- Run
docker exec -it $(docker ps -f name=homeassistant -q) bash
- Run
cat /etc/mosquitto.conf
and copy the output.
Thanks to this thread: Protip: How to get shell in actual homeassistant (or addon) container when using Hassio