I see in the Xbee Networks section of iDigi that a column is named “Last Discovered”. I would like to be able to get this info using one of the available web services. I tried RCI calls with zigbee as target and some others but never this date/time is returned.
It would be useful for me to know this info in order to determine if I need to disable the cache or not or if I need to force a full rediscovering.
For using web services try doing an HTTP GET against
/ws/XbeeCore
to get all of your Xbee nodes, you will see something similar to
2010-08-09T21:13:00Z
That date is an international timestamp per ISO 8601. The Z is the timezone indicator for GMT. This is the date format accepted and returned by all iDigi web service API’s.
If you are looking for a specific node you can specify it as the resource with your extended address, ie:
/ws/XbeeCore/00:13:A2:BB:CC:DD:EE:FF
You can alternatively; if you login and send your jsessionid with the request, use the reports controller:
Thanks a lot!
It is what I wanted!
I didn’t know that XbeeCore was available… Is it documented somewhere?
Is there other web services which are not listed in the “IDigi Web Services Reference” document?