Search
⌃K

MQTT

MQTT messaging protocol for IoT

Overview

MQTT is an OASIS standard messaging protocol for the Internet of Things (IoT). As a lightweight publish/subscribe messaging transport, it's ideal for connecting remote devices with a small code footprint and minimal network bandwidth.
Its versatility makes it suitable for a wide variety of industries. These include automotive, manufacturing, telecommunications, oil and gas, etc.
MQTT allows for messaging between device-to-cloud and cloud-to-device. This simplifies broadcasting messages to groups of receivers. Further information is available from the MQTT Website​

MQTT in PlaceOS

PlaceOS supports publishing module state information via MQTT. This provides environment information to external systems such as Amazon MQTT Service​
MQTT messages consist of a header and a payload and typically have low bandwidth usage. The header declares the topic of the message, and the payload carries data as key-value pairs.
PlaceOS uses two types of message sent over MQTT: State Changes and Metadata. For further information on configuring MQTT for PlaceOS, see the guide on MQTT Integration​

Resources