The Home Assistant image HASSbian has the Mosquitto MQTT broker integrated into the image but it is not enabled by default. To get it working and persistent on reboot, perform the following: sudo systemctl enable mosquitto sudo systemctl start mosquitto sudo reboot To test, once your system is back up, type sudo systemctl status mosquitto.service and you should get back the following:
My collection of Home Assistant, CoreELEC, IoT, Synology, Kodi and other technical tips gathered over the years.