Download OpenAPI specification:Download
Empower yourself with Environmental APIs. The API makes it possible to fetch current environmental data including humidity and temperature for a single sensor (identified by IBX code and sensor ID) or for all the sensors within an IBX (identified by IBX code) in a paginated way. When fetching all sensor readings you can apply additional sort criteria.
Returns current environmental (temperature and humidity) sensor readings for the given IBX code in a paginated way.
ibx required | string Example: CH2 IBX where the sensor is located. |
type | string Example: type=HUMIDITY Type of sensor data to display, e.g. specifying 'HUMIDITY' means only sensor readings with HUMIDITY value will be included |
zone | string Example: zone=CH2:1:06:ColoArea:1 Zone name. Adding this parameter limits the query to sensors in the specified zone |
offset | integer Default: 0 Results offset you want to retrieve (0..N) |
limit | integer Default: 20 Number of records to retrieve per request. |
Authorization required | string The OAuth Bearer token. Please add the prefix 'Bearer ' before the token. |
required | Array of objects (Sensor_reading) List of data objects | ||||||||||
Array
| |||||||||||
required | object (Pagination) Represents pagination component of the paginated response | ||||||||||
|
{- "data": [
- {
- "sensorId": "SV2.Environmental.Colo4-ZoneHumidity1",
- "zoneId": "CH2:1:06:ColoArea:1",
- "ibx": "SV2",
- "humidity": {
- "value": "33.3",
- "unit": "CELSIUS"
}, - "temperature": {
- "value": "33.3",
- "unit": "CELSIUS"
}
}
], - "pagination": {
- "offset": 0,
- "limit": 0,
- "total": 0,
- "next": "string",
- "previous": "string"
}
}
Returns current environmental sensor readings such as temperature and humidity for the given sensor ID and IBX code.
ibx required | string Example: SV2 IBX where the sensor is located. |
sensorId required | string Example: CH2.Environmental.MbusColo3Mod5.MOD35.C3TS03 Id of sensor to read. |
Authorization required | string The OAuth Bearer token. Please add the prefix 'Bearer ' before the token. |
sensorId required | string The sensor identifier. | ||||
zoneId required | string The zone where the sensor is placed. | ||||
ibx required | string The ibx identifier where the sensor is placed. | ||||
object (ValueWithUnit) Single value with related unit (e.g. percentage for humidity or Celsius degree for temperature). | |||||
| |||||
object (ValueWithUnit) Single value with related unit (e.g. percentage for humidity or Celsius degree for temperature). | |||||
|
{- "sensorId": "SV2.Environmental.Colo4-ZoneHumidity1",
- "zoneId": "CH2:1:06:ColoArea:1",
- "ibx": "SV2",
- "humidity": {
- "value": "33.3",
- "unit": "CELSIUS"
}, - "temperature": {
- "value": "33.3",
- "unit": "CELSIUS"
}
}