A measurement is a quantified observation recorded by a device sensor. In an air-conditioning API, each measurement identifies a sensor, reports a numeric value, and supplies a human-readable description. section 12.1
A measurement payload typically includes:
- A sensor name such as ExhaustAirTemp or CoolantTemp. section 12.1
- A decimal value representing the observed quantity. section 12.1
- A description suitable for consumers of the API. section 12.1
- A timestamp and unit identity that locate the observations in time and space. section 12.1
Listing 12.1 Example response from the air conditioner's API
{
"UnitId": 1, #1
"Site": "TIJ1",
"Timestamp": "2022-10-10T00:05:00.000Z", #2
"Measurements": {
[
"SensorName": "ExhaustAirTemp", #3
"Value": 15.2,
"Description": "Exhaust Air Temperature" #4
],
[
"SensorName": "CoolantTemp",
"Value": 3.4, #5
"Description": "Coolant Temperature"
],
[
"SensorName": "OutsideAirTemp",
"Value": 24.1,
"Description": "Outside Air Temperature"
]
}
}
Inspect a concrete JSON response containing unit metadata, a UTC timestamp, and several sensor measurements. section 12.1



