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.

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

For other setup methods, please refer to the MQTT broker documentation.

Additional features

See the MQTT example component how to integrate your own component.