Caution! Article for developers
Information on this page is intended particularly for users with advanced technical knowledge.Node Inventory
Jan 9, 2024 · 2 minutes to read
Introduction
In Treon Aito Release 6.5 for Gateway and higher, it is possible to enable sending a report on the nodes currently connected to the Treon Gateway. This list contains all the Wirepas items that have been detected by the Treon Gateway within the last 210 minutes (previously 60 minutes before Treon Aito Release 7 for Gateway). This can be achieved either via an SSH connection with the command “node_inventory” or through an MQTT Device Manager (DM) command.
Additionally in versions 7.2 and higher, even if you haven’t configured it with SSH, you can see a display of the connected nodes gathered from Node Inventory in the Configuration UI
Activating Node Inventory
In Treon Aito Release 7 for Gateway, the ability to request Node Inventory messages with DM commands 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.)
For usage via SSH connection, no additional configuration is required.
For usage via DM commands, some small configuration changes need to be implemented:
- Connect with SSH to the Gateway
- Create a .conf file in /opt/iotgw/conf.d/ example:
nano /opt/iotgw/conf.d/nodeinventory.conf
- In the file you need to add the following information:
[Startup]
DataProcessors3 += CborLogic, DeviceManager3
[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].
Once it has been set up you can use the following command to trigger a reading:{"Ver":"2.1","I":1,"Cmd":"get","T":[33584,0],"Res":[0]}
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!