MQTT is a very important protocol within smart home and allows to send messages back and forth to a broker. see here.
In this tutorial I will show how to set it up within home assistant.
First you need to go to your supervisor, addon store and search for “mos” the Mosquitto broker will pop up; click that
After the install navigate to the configuration tab.
Within the configuration tab you will need to set-up your users and other settings.
- username: test
After your configuration is set, navigate to the info tab and press the start button therefore your logs will fill and the grey dot will go green.
Go to Configuration > integration to add the Mosquitto broker to home assistant. Press the configure button.
Press enable discovery, submit and then finish
You’re now done; If you have further question please comment down below.