MQTT
MQTT (Message Queuing Telemetry Transport) is a lightweight messaging protocol designed for devices with limited resources and networks with low bandwidth or high latency. MQTT uses a publish-subscribe model, which helps reduce network traffic and simplifies communication between devices.
MQTT overview
-
Publish-subscribe model: Devices (clients) publish messages to topics. Other devices subscribe to those topics to receive messages.
-
Broker: A central server that manages distribution between publishers and subscribers.
-
Quality of Service (QoS): MQTT supports three levels of message delivery:
-
QoS 0: At most once (no confirmation).
Note: Your device uses QoS 0.
-
QoS 1: At least once (confirmation required).
-
QoS 2: Exactly once (guaranteed delivery).
-
Your meter as an MQTT client
As an MQTT client, your meter can:
-
Publish data: Publish data (such as voltage, current, or any other numeric value) to the broker (QoS 0).
-
Communicate securely: TLS encryption and optional authentication help the meter secure data exchange with the MQTT broker.
For more information on the MQTT Export Module, including a detailed description of the payload format,