Is there a way to export the "raw" data from the device cloud service etherios?

Hi,

Do you want to export data from DataStreams?

Yes, in the device cloud (data services -> data streams) you can view charts and raw data for each sensor but this data but it seems there is no way to copy or export this data.

Hi,

One approach is to get data using HTTP requests. This is explained here:

https://www.digi.com/wiki/developer/index.php/IDigi_Data_Streams

Juha

When I use HTTP requests to retrieve “all” data from a stream it does not return the equivalent of what can be seen in the raw data section on the device cloud. I would like to export all of the data that can be seen under the raw data section. How can I achieve this?

Do you use HTTP GET to retrieve data points in data streams? If you do, you cant retrieve all data in one request, you have to make multiple requests and use pageCursor value to retrieve next values.

Juha, I have seen the pageCursor referenced in the forum but cannot seem to implement it correctly. Can you provide an example please?

Juha, I have seen the pageCursor referenced in the forum but cannot seem to implement it correctly. Can you provide an example please?

Found my answer. Insert the pageCursor for the current set of data to return the next set of 1000 or partial set of 1000. If your current set of data returns a pageCursor of pageCursor=1752b1f6-c8c3-11e2-8dd0-4040463f606d then your http request for the next set of data will look like…

https://my.idigi.com/ws/DataPoint/dia/channel/00000000-00000000-00000000-00000000/room1/temperature.xls?pageCursor=1752b1f6-c8c3-11e2-8dd0-4040463f606d

Correction, http request should look like:

https://my.idigi.com/ws/DataPoint/dia/channel/00000000-00000000-00000000-00000000/room1/temperature.xls?size=1000&pageCursor=1752b1f6-c8c3-11e2-8dd0-4040463f606d