To install the MQTT broker (if you’re unfamiliar with MQTT, you can learn about it here), follow these steps:

  1. Access your Hassio dashboard and navigate to the Add-on Store.
  2. Search for an add-on called “Mosquitto Broker” and click on it.
  3. Click on “Install” to begin the installation process.

Next, you need to configure the MQTT broker:

logins:
  - username: user
    password: mqtt_pass

After configuring the MQTT broker, click on the “Start” button to start the MQTT service.

Now, to connect the MQTT broker, follow these steps:

  1. Go to the “Configuration” section on the left-hand menu.
  2. Click on “Integrations”.
  3. Scroll down and find “MQTT” under “Set up a new Integration” and click on the “CONFIGURE” button.

A configuration form will appear. Fill in the following information for the MQTT integration:

  • Broker: Enter the IP address of your Hassio instance.
  • Port: Keep it as 1883.
  • Username: Enter the username you specified in the previous step.
  • Password: Enter the password you specified in the previous step.

Once you have entered and verified the information, click “Submit” to save the configuration.