Caution! Article for developers

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

Treon Gateway Telemetry

Jul 30, 2024 · 2 minutes to read

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

 

Treon Support

You still have questions? Our dedicated team of experts is happy to help you! Please contact Treon Support directly by e-mail.

Did you know? Treon offers Premium Support and Maintenance Packages for our customers. Get even more out of Treon and boost your sales - inquire now about features and prices!

   


Was this article helpful? Let us know.
Next
Previous