setting up Mosquitto MQTT Broker for Hassio
To install the MQTT broker (if you’re unfamiliar with MQTT, you can learn about it here), follow these steps:
- Access your Hassio dashboard and navigate to the Add-on Store.
- Search for an add-on called “Mosquitto Broker” and click on it.
- 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:
- Go to the “Configuration” section on the left-hand menu.
- Click on “Integrations”.
- 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.
BÀI VIẾT MỚI
DANH MỤC
- english (2)
- hass (25)
- hass_component (13)
- hass_install (4)
- NodeRed (5)
- noha (9)
- Other (10)
- sonoff (9)
- Tuya (1)