-
-
Notifications
You must be signed in to change notification settings - Fork 50
Configure MQTT in Home Assistant
aderusha edited this page Mar 3, 2021
·
4 revisions
In order for Home Assistant to work with MQTT, you'll need to setup two things:
- An MQTT "broker" - this is the service which all MQTT devices will communicate with to send and receive messages
- MQTT Integration for Home Assistant
If you're running a standard Home Assistant installation, you can use the Mosquitto Broker from the Home Assistant Add-on Store.
- Navigate in your Home Assistant frontend to Supervisor -> Add-on Store.
- Find the "Mosquitto Broker" add-on and click it.
- Click on the "INSTALL" button.
Otherwise, if you're using a "core" installation of Home Assistant (python venv or similar) you can refer to this page for information on some available options. Most users will want to deploy the Mosquitto MQTT broker.
Once you have an MQTT broker available, you can follow this guide to configure Home Assistant to utilize the new broker. Be sure to enable MQTT discovery!
Once Home Assistant is configured for MQTT support, you can proceed to setup your HASP device for WiFi and MQTT.