MQTT (EN)

Protocol

Lightweight publish/subscribe network protocol for IoT devices

MQTT Architecture

MQTT (Message Queuing Telemetry Transport) is an efficient, bidirectional network protocol specifically developed for communication between IoT devices and Home Assistant. It enables reliable data transmission with low resource requirements, making it ideal for connected devices. The protocol is based on a publish/subscribe model where messages are distributed between clients via a central broker.

Architecture

flowchart TD     A[Publisher] -->|publish| B[MQTT Broker]     C[Subscriber] -->|subscribe| B     D[IoT Gerät] -->|publish| B     E[Home Assistant] -->|subscribe| B     B -->|forward| C     B -->|forward| E 

In Context

  • Typically used together with TLS for secure communication
  • Related to: CoAP, AMQP, HTTP/2
  • Example use: Smart home automation, industrial sensor networks
Quelle: AI Generated