The chat responses are generated using Generative AI technology for intuitive search and may not be entirely accurate. They are not intended as professional advice. For full details, including our use rights, privacy practices and potential export control restrictions, please refer to our Generative AI Service Privacy Information. As this is a test version, please let us know if something irritating comes up. Like you get recommended a chocolate fudge ice cream instead of an energy managing application. If that occurs, please use the feedback button in our contact form!
Skip to content

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 from data.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