Appearance
HVAC (function 21)
An air-conditioning unit. It reports the temperature it measures, the setpoint it is working towards, the fan speed and whether it is heating, cooling, dehumidifying or just circulating air. The command sets the running mode or the setpoint.
fanSpeedenum:auto,min,med,max,eco.currentModeenum:heating,cooling,deshum,auto,fan.runningModeenum:OFF,ON.
Published
device/21/<i>/life
metadata adds counter; expireAfterSec: 30.
data field | Type | Unit | Description |
|---|---|---|---|
BindToParc | int | — | Parc binding id |
realTemp | int | °C | Measured temperature |
tempSetPoint | int | °C | Setpoint |
fanSpeedCode / fanSpeed | int / string | — | Fan speed (enum) |
currentModeCode / currentMode | int / string | — | Mode (enum) |
runningModeCode / runningMode | int / string | — | Running state (enum) |
json
{
"data": {
"BindToParc": 2,
"realTemp": 21,
"tempSetPoint": 22,
"fanSpeedCode": 2,
"fanSpeed": "med",
"currentModeCode": 1,
"currentMode": "cooling",
"runningModeCode": 1,
"runningMode": "ON"
},
"metadata": {
"rxdate": "2026-06-17T14:30:45.123Z",
"rxTimestamp": 1781793045,
"expireAfterSec": 30,
"counter": 5
}
}bash
mosquitto_sub -h 127.0.0.1 -t 'device/21/+/life' -vCommand — device/21/<i>/command
Regex ^device/21/([[:digit:]]+)/command$. Two-field command:
| Field | Type | Description |
|---|---|---|
command | int | 0 = mode control, 1 = temperature setpoint |
parameter | int | command 0: 0=off, 1=on, 2=auto · command 1: temperature in °C |
bash
mosquitto_pub -h 127.0.0.1 -t 'device/21/0/command' -m '{"command":0,"parameter":1}' # on
mosquitto_pub -h 127.0.0.1 -t 'device/21/0/command' -m '{"command":0,"parameter":2}' # auto
mosquitto_pub -h 127.0.0.1 -t 'device/21/0/command' -m '{"command":1,"parameter":18}' # 18°C