Caution! Article for developers

Information on this page is intended particularly for users with advanced technical knowledge.

Treon Gateway Telemetry

May 5, 2023 · 2 minutes to read

Treon Gateway

This article describes the Gateway Telemetry feature in Treon Aito Release 7.0 for Gateway and higher releases.

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 folowing 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 [CloudAdapterMQTT].

 

Treon Customer Support

If you have further questions, please contact Treon Customer Support.

   


Was this article helpful? Let us know.
Next
Previous