FuuzHelp Center

Build Apps · Edge

MQTT

Last updated June 11, 2026, 6:12 PM UTC · fuuz.com/help/mqtt

MQTT (Message Queuing Telemetry Transport) is a lightweight, efficient publish-subscribe messaging protocol designed for constrained devices and low-bandwidth, high-latency, or unreliable networks. It is especially popular in IoT and machine-to-machine (M2M) communication.

Connector type: Physical device connector — uses the MQTT device driver and is added as a device connection on the Edge Gateway.

Key concepts include:

  1. Publish-Subscribe Model: Publishers send messages to topics; subscribers express interest in topics. When a message is published, the broker delivers it to all interested subscribers.
  2. Quality of Service (QoS): Three levels control delivery reliability:
  3. Lightweight: Minimal overhead in message size and bandwidth, suitable for devices with limited processing power and memory.
  4. Retained Messages: When sent with the "retain" flag, the broker stores the last message on that topic and delivers it immediately to new subscribers.
  5. Last Will and Testament (LWT): Clients can specify a "last will" message that the broker sends if the client disconnects unexpectedly.
  6. Session Persistence: Brokers can remember client subscriptions so clients receive messages missed while disconnected.
  7. Security: Supports TLS for encrypted connections and username/password authentication.
  8. Wildcards: Topic subscriptions support wildcards (+, #) to receive messages from multiple topics with a common pattern.

Configuration

Functions

Publish

Publishes data to an MQTT topic. Takes an array of objects with the fields:

Testing

Mosquitto Broker (mosquitto.org) — download the Eclipse Mosquitto broker to connect MQTT clients for testing. Once installed, it should appear running in the Windows Service Manager. You can then use an MQTT client to subscribe to topics, and another client to change topic values.

MQTT Explorer (mqtt-explorer.com) — connect to Mosquitto or any other broker to publish values and make changes to topics that can be picked up by other clients.

MQTT Explorer connected to a broker

See Also