Hi,
I'm trying to get the xml or json for a single xbee connected to an xbee gateway.
If I use:
https://my.idigi.com/ws/v1/streams/inventory.xml?category=data
I can get a feed for all of the connected devices. What I want to do is get all of the data for one device with a single call that would only return the portion below or something like this. Any ideas?
Thanks,
Geoff
<stream>
<id>
dia/channel/{deviceID}/wine_closet/humidity
</id>
<type>DOUBLE</type>
<value>61.0</value>
<units>%</units>
<timestamp>2017-12-24T06:17:33.000Z</timestamp>
<server_timestamp>2017-12-24T06:18:08.354Z</server_timestamp>
<history_uri>
/ws/v1/streams/history/dia/channel/{deviceID}/wine_closet/humidity
</history_uri>
</stream>
<stream>
<id>
dia/channel/{deviceID}/wine_closet/light
</id>
<type>DOUBLE</type>
<value>0.0</value>
<units>brightness</units>
<timestamp>2017-12-24T06:17:33.000Z</timestamp>
<server_timestamp>2017-12-24T06:18:08.354Z</server_timestamp>
<history_uri>
/ws/v1/streams/history/dia/channel/{deviceID}/wine_closet/light
</history_uri>
</stream>
<stream>
<id>
dia/channel/{deviceID}/wine_closet/low_battery
</id>
<type>STRING</type>
<value>False</value>
<timestamp>2017-03-06T01:07:22.625Z</timestamp>
<server_timestamp>2017-03-06T01:07:22.700Z</server_timestamp>
<history_uri>
/ws/v1/streams/history/dia/channel/{deviceID}/wine_closet/low_battery
</history_uri>
</stream>
<stream>
<id>
dia/channel/{deviceID}/wine_closet/temperature
</id>
<type>DOUBLE</type>
<value>56.9</value>
<units>F</units>
<timestamp>2017-12-24T06:17:33.000Z</timestamp>
<server_timestamp>2017-12-24T06:18:08.354Z</server_timestamp>
<history_uri>
/ws/v1/streams/history/dia/channel/{deviceID}/wine_closet/temperature
</history_uri>
</stream>