FREQUENTLY USED · Protocol

MQTT

A light publish/subscribe protocol for sending measurements and events between devices and systems.

The background is a map of DNT's six areas and the connections between them. Digital Products is connected to Software & AI. Software & AI is connected to Digital Products, Connected Systems, Automation & CTS and R&D. Connected Systems is connected to Software & AI, Automation & CTS and Hardware & Machines. Automation & CTS is connected to Software & AI, Connected Systems and Hardware & Machines. Hardware & Machines is connected to Connected Systems, Automation & CTS and R&D. R&D is connected to Software & AI and Hardware & Machines. This page belongs to Connected Systems and Automation & CTS.

What it is

MQTT is a light messaging protocol in which devices publish messages on topics to a broker, which passes them on to whoever subscribes. It runs over TCP, can be secured with TLS, has three levels of delivery guarantee, and is an open OASIS standard first created in 1999.

Where we use it

We use MQTT often - among other things in HVAC, and in general automation and the control of plants. How much depends on the project.

Honestly

Is it the right choice?

When it fits

When many devices send measurements or events to one or more systems, often over unstable connections, and the receivers should not need to know each other.

When it does not

When a value is to be read on request from a single controller - a direct protocol such as Modbus or BACnet is simpler there.