Treon Gateway Telemetry
Legacy documentation
This page is preserved from the previous knowledge base and describes older Treon products and manual configuration workflows. It is kept for reference and is not maintained against current Treon Connect releases.
Caution! Article for developersInformation on this page is intended particularly for users with advanced technical knowledge.
Treon Gateway Telemetry
Treon Gateway Treon Gateway 2 Treon Gateway in Protective Enclosure
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