Protocol

Why MQTT

MQTT adds security while removing most of the complication related to conventional building automation networking.

What MQTT Is

MQTT (Message Queuing Telemetry Transport) is a lightweight publish/subscribe messaging protocol designed for constrained devices and unreliable networks. Originally developed by IBM for satellite-linked oil pipeline telemetry, it has become a dominant protocol in IoT deployments worldwide.

Publish/Subscribe vs. Request/Response

Traditional BAS protocols use request/response: the head-end polls each device for its current values. This requires the head-end to maintain connections to every device and creates traffic proportional to the number of points being monitored.

MQTT uses publish/subscribe: devices publish their data to named topics on a central broker. Any number of subscribers can receive that data without the device knowing or caring who is listening. Commands flow in the reverse direction — riot publishes changes to device-specific topics, and the device receives them instantly. This bidirectional communication over a single outbound connection is what makes MQTT fundamentally different from traditional BAS protocols.

Outbound Only

MQTT connections are outbound only — the device initiates the connection to the broker over TLS. No inbound firewall ports need to be opened. No VPN tunnels need to be maintained. The building's network attack surface is unchanged by connecting devices to riot.

Bandwidth and Reliability

Works Over Any IP Network

MQTT requires only an outbound TCP connection. Devices can connect via standard building Ethernet/WiFi, cellular modems (4G/5G) for sites without IT infrastructure, satellite links for remote installations, or LoRaWAN gateways bridged to MQTT for wireless sensor networks. No special networking equipment, no dedicated VLANs, no BACnet routers, no Modbus gateways.

Security Model

Defense in Depth

Comparison to Traditional Remote Access

Traditional BAS remote access typically requires one of:

riot requires none of these. The device reaches out to the broker. The user reaches out to the platform. Both connections are outbound, encrypted, and authenticated. The building network remains closed.