curl --request GET \
--url http://aris.local/api/zones \
--header 'Authorization: Bearer <token>'{
"zones": [
{
"zoneId": "primary_bedroom",
"tempC": 22.4,
"mode": "auto",
"activeCall": "none",
"supportsHeat": true,
"supportsCool": true,
"friendlyName": "Primary Bedroom",
"rhPercent": 45,
"co2Ppm": 734,
"tempHeatSetC": 21,
"tempCoolSetC": 24
}
],
"metadata": {
"count": 4,
"lastUpdate": "2023-11-07T05:31:56Z",
"mqttConnected": true
}
}Returns all zones with their current state, setpoints, and metadata.
curl --request GET \
--url http://aris.local/api/zones \
--header 'Authorization: Bearer <token>'{
"zones": [
{
"zoneId": "primary_bedroom",
"tempC": 22.4,
"mode": "auto",
"activeCall": "none",
"supportsHeat": true,
"supportsCool": true,
"friendlyName": "Primary Bedroom",
"rhPercent": 45,
"co2Ppm": 734,
"tempHeatSetC": 21,
"tempCoolSetC": 24
}
],
"metadata": {
"count": 4,
"lastUpdate": "2023-11-07T05:31:56Z",
"mqttConnected": true
}
}