Standard MQTT
MQTT (Message Queuing Telemetry Transport) is a M2M protocol for exchanging messages. It is often used for IoT applications and for communicating with a cloud because the device actively establishes the connection to the server. The protocol includes native support for SSL security.
MQTT is becoming very popular; however, different devices support different data structures and different rules for sending messages. This complicates data processing at the server side. To alleviate this problem, NETIO allows for custom message structure with the “flex” extension.
Flex extension of the MQTT protocol
The MQTT protocol in PowerCable MQTT 101x can be configured in detail thanks to the MQTT-flex extension. In the text-based MQTT-flex configuration, it is possible to define the MQTT message structure (Topic / Payload) as well as the conditions for sending individual messages (periodically, when a value changes by more than x, and so on).
Standard configuration
In the default configuration, all measured values are sent every 15 minutes, and the current [A] and consumption [Wh] values are sent whenever the consumption of the connected appliance changes.
Specification of MQTT-flex and links
- Download: MQTT-flex - specification of M2M API – PDF
- Information for developers: MQTT-flex na NETIO Wiki
- AN40 Getting started with PowerCable MQTT-flex via HiveMQ MQTT broker to mobile App