Aircon · Schema
SensorReading
A sensor measurement from a climate or environmental sensor associated with an HVAC system.
Air ConditioningHVACClimate ControlIoTSmart HomeThermostatBuilding AutomationEnergy Management
Properties
| Name | Type | Description |
|---|---|---|
| sensor_id | string | Unique identifier for the sensor. |
| sensor_type | string | Type of sensor measurement. |
| value | number | Measured sensor value. |
| unit | string | Unit of the measurement. |
| location | string | Physical location of the sensor. |
| in_use | boolean | Whether the sensor is actively used for thermostat control. |
| timestamp | string | Timestamp of the reading. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/aircon/refs/heads/main/json-schema/aircon-sensor-reading-schema.json",
"title": "SensorReading",
"description": "A sensor measurement from a climate or environmental sensor associated with an HVAC system.",
"type": "object",
"properties": {
"sensor_id": {
"type": "string",
"description": "Unique identifier for the sensor.",
"example": "sensor-bedroom-01"
},
"sensor_type": {
"type": "string",
"enum": ["temperature", "humidity", "occupancy", "co2", "air_quality", "pressure"],
"description": "Type of sensor measurement.",
"example": "temperature"
},
"value": {
"type": "number",
"description": "Measured sensor value.",
"example": 71.2
},
"unit": {
"type": "string",
"description": "Unit of the measurement.",
"example": "fahrenheit"
},
"location": {
"type": "string",
"description": "Physical location of the sensor.",
"example": "Bedroom"
},
"in_use": {
"type": "boolean",
"description": "Whether the sensor is actively used for thermostat control.",
"example": true
},
"timestamp": {
"type": "string",
"format": "date-time",
"description": "Timestamp of the reading.",
"example": "2026-04-19T10:30:00Z"
}
},
"required": ["sensor_id", "sensor_type", "value", "timestamp"]
}