Exporting Sensor data¶
Sensor data can be extracted using the API detailed below. However, it is recommended to contact Senseye to extract complete dumps of data.
Strategy¶
- Query the hierarchy to retrieve all sensors in the organization
- For each sensor:
- determine the time range for the sensor
- divide the time range into 24 hour segments and retrieve data.
API calls¶
- Find all sensors
- Find sensor data time range using
GET /v1/sensors/{id}?withMetadata=true, reading the first and last timestamps fromdata.metadata - Request sensor data
- use the retrieve sensor data route
- inspect the Auxiliary data in the output to determine whether there is more data for the given start and end time