Retrieving Sensor Data
...
Note |
---|
To understand, please look into chapter of sensor data format described here: |
Overview
You can use the Twinzo API to retrieve data from sensors. This API allows you to access data from various sensors installed in your system.
...
When retrieving data from the API, you can specify the time range for which you want data. Additionally, you can specify the aggregation level. The API will then determine the appropriate granularity for the retrieved data based on the duration of the specified time range and the aggregation level.
Aggregation Levels
Granularity refers to the level of detail at which data is retrieved from the API. It determines the size of time intervals into which the data will be aggregated.
The API supports the following granularity levels:
...
Code Block | ||
---|---|---|
| ||
{ "application/json": { "Quantity": "Temperature", "Unit": "Celsius", "DataType": "Int32", "Data": [ { "Timestamp": 1714728346401, "Value": "30", "Aggregation": 600003600000 } ] } } |
Explanation
In the response example above:
...