Using the API

How can I get the full device tree (like sensortree) to XML or CSV file?


Article Comments

Hi there,

Yes, this is possible. To do this, use the following API-Call:

/api/table.csv?content=devices&columns=objid,probe,group,device,host&count=*

If you want just the devices of a certain group, then add the following parameter together with the ID of the group:

&id=GROUP-ID

Afterwards you can open this Comma Separated Values file in Excel. To divide the data into multiple rows, just navigate to "Data > Text to Columns > Delimited > Comma".

Best regards.


Oct, 2019 - Permalink