Caution! Article for developers
Information on this page is intended particularly for users with advanced technical knowledge.Treon Gateway Telemetry
Introduction
In Treon Aito Release 7.0 for Gateway and higher, it is possible to enable sending telemetry data from the Treon Gateway to your MQTT cloud.
Please also see the full JSON specification according to JSON Schema.
Activating Gateway Telemetry
In Treon Aito Release 7.0.1 for Gateway, the Gateway Telemetry feature needs to be activated manually via a small configuration change.
(In the next Treon Aito Release for Gateway, it is planned that it will be possible to enable the feature via DM-commands through an MQTT connection.)
To enable Gateway Telemetry, you need to turn on some settings in the configuration files, and then restart the service with “sudo systemctl restart iotgw”.
First use “nano /opt/iotgw/conf.d/gateway_telemetry.conf” to create a new file, then insert the following data:
[Diagnostics]
DataParser = diagnostics
[Startup]
DataProcessors3 += Diagnostics
[CloudAdapter]
CloudTopicFilter += b_devmanager, data
Please Note: Keep in mind that [CloudAdapter] must match the one you are using. For configurations created through the Configuration UI of the Treon Gateway it will be [CloudConfigUI].
An example of the JSON for the Gateway Telemetry can be found here