mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-03 01:28:58 +00:00

* e.g. to e.g., and proper case for Home Assistant * Instructions how to -> Instructions on how to
1.3 KiB
1.3 KiB
layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, featured, ha_release, ha_iot_class
layout | title | description | date | sidebar | comments | sharing | footer | logo | ha_category | featured | ha_release | ha_iot_class |
---|---|---|---|---|---|---|---|---|---|---|---|---|
page | MQTT | Instructions on how to setup MQTT within Home Assistant. | 2015-08-07 18:00 | true | false | true | true | mqtt.png | Hub | true | pre 0.7 | depends |
MQTT (aka MQ Telemetry Transport) is a machine-to-machine or "Internet of Things" connectivity protocol on top of TCP/IP. It allows extremely lightweight publish/subscribe messaging transport.
Your first step to get MQTT and Home Assistant working is to choose a broker.
To integrate MQTT into Home Assistant, add the following section to your configuration.yaml
file. Keep in mind that the minimal setup will run with an embedded MQTT broker:
# Example configuration.yaml entry
mqtt:
To connect to your own MQTT broker:
# Example configuration.yaml entry
mqtt:
broker: IP_ADDRESS_BROKER