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
# Example configuration.yaml entry mqtt: broker: IP_ADDRESS
For detailed setup instructions, please refer to the MQTT broker documentation.
- Publish service
- Birth and last will messages
- Testing your setup
- Processing JSON
See the MQTT example component how to integrate your own component.