feat(homeassistant): Add Mosquitto MQTT broker
This commit is contained in:
@@ -21,6 +21,18 @@ http:
|
||||
|
||||
Set the `HOMEASSISTANT_ACCESS_TOKEN` for homepage support.
|
||||
|
||||
## MQTT
|
||||
|
||||
If you need to use MQTT, you can enable it by setting `COMPOSE_PROFILES=homeassistant,mqtt`.
|
||||
|
||||
Start the container, create a user in mosquitto with the following command and the credentials defined previously:
|
||||
|
||||
`docker compose exec mosquitto mosquitto_passwd -b /mosquitto/config/pwfile <username> <password>`
|
||||
|
||||
Restart the Mosquitto container to apply the changes.
|
||||
|
||||
In HomeAssistant, add the MQTT integration with hostname `localhost`, port 1883 and the username and password defined above.
|
||||
|
||||
## Backup
|
||||
|
||||
### Enable Backups in HomeAssistant
|
||||
|
||||
Reference in New Issue
Block a user