Introduction Treon products, from the Treon Gateway to Treon Industrial Nodes within a mesh network, can be addressed via device management (DM) commands.
These DM commands can be used to acquire information from the products and to change their configuration.
The Treon Industrial Node measures vibration and temperature of the machine or structure it is attached to. The behavior of the sensor can be modified by device management commands using Treon JSON DM messages.
The SystemDevice management system has three main components:
Backend: sends dm commands and analyses the responses
Targets: objects to be managed. Objects may contain several resources that are managed
The Treon Industrial Node 6 measures vibration and temperature of the machine or structure it is attached to. The behavior of the sensor can be modified by device management commands using Treon JSON DM messages.
How to Form DM Commands Example of a DM command:
{"Ver": "2", "Val": ["AQA="], "I": 1, "Res": [1026], "Cmd": "set", "Nid": "BROADCAST", "T": [33507, 1]}
Version Field The Version field “Ver” defines which version of the JSON specification to use.
Command Message The backend sends device management commands as JSON serialized messages over MQTT.
{ "Ver": "<version>", "Type": "dm", "Cmd": "<command>", "I": "<index>", "T": "<target>", "Res": "<resource array>", "Val": "<value array>", "Nid" : "<node id>", "Gid" : "<group id>" } Treon Customer Support If you have further questions on TOPIC, please contact Treon Customer Support.