MQTT

The device features an embedded MQTT client, enabling it to function as a node within an IoT ecosystem. When enabled, the device establishes a persistent bi-directional connection to an MQTT broker, allowing it to publish telemetry data and subscribe to command topics.

PUBLICATION & TELEMETRY STREAMING

You can manually publish data at any time from an automation rule using the AT#MQTT command. Additionally, the device can be configured to systematically publish structured data payloads immediately when specific internal system events occur:

  • Real-Time Telemetry Map Changes: Whenever a monitored system parameter or register changes state, the updated value is published instantly.
    • Transmission Optimization: To conserve cellular data, you can throttle these transmissions using the system parameter "Minimum time between uploads" to buffer and batch frequent updates.
  • Activity Log Appends: Each time a new operational event, sensor reading, or system alert is appended to the local storage log file, the new registration line is mirrored to a dedicated MQTT topic.
  • User Database Modifications: If an administrator adds, removes, or modifies a user profile in any of the system directories (e.g., Telephone, Wiegand, Email folders), the updated user credential metadata is published.
  • Rules Engine Reconfigurations: Whenever an automation script or rule definition inside unit R is added, removed, or edited, the new logic rules are updated on the broker.

SUBSCRIPTION & REMOTE COMMAND EXECUTION

The MQTT client can subscribe to a designated incoming command topic.

When an external application or cloud platform publishes a command payload to this topic, the device intercepts it, parses the payload, and executes the contained instructions immediately. If the executed command generates a return output or execution handshake, the device can automatically publish that response string back to a dedicated status or response topic.

The rules associated with the MQTT Client are stored in
specific unit R folders