I am getting more and more into using MQTT for things outside of HA. So far I have been using MQTT server/broker on HA.
But I was wondering what your thoughts are on running MQTT brokers on other devices that do not require frequent restarts (HA needs restarting regularly which interrupts MQTT).
Is there really a big advantage of running one that is “always” available? So e.g. if it runs on the router, then it is always available when the network is available.
Or will it not have any real benefits?
Or is there even any benefit to having multiple brokers in one network?
If you’re running the Mosquitto MQTT Broker Add-on, it runs in a separate docker container from Home Assistant. Restarting Home Assistant doesn’t interrupt the Add-on. Rebooting the host machine will, of course, interrupt everything.
As for the need to restart Home Assistant, I rarely need to do that except for version upgrades or installing integrations that are configured exclusively via YAML and don’t have a Reload service.