Skip to content

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.

  • fanSpeed enum: auto, min, med, max, eco.
  • currentMode enum: heating, cooling, deshum, auto, fan.
  • runningMode enum: OFF, ON.

Published ​

device/21/<i>/life ​

metadata adds counter; expireAfterSec: 30.

data fieldTypeUnitDescription
BindToParcint—Parc binding id
realTempint°CMeasured temperature
tempSetPointint°CSetpoint
fanSpeedCode / fanSpeedint / string—Fan speed (enum)
currentModeCode / currentModeint / string—Mode (enum)
runningModeCode / runningModeint / 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' -v

Command — device/21/<i>/command ​

Regex ^device/21/([[:digit:]]+)/command$. Two-field command:

FieldTypeDescription
commandint0 = mode control, 1 = temperature setpoint
parameterintcommand 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

Integration of multiplexed solutions
MUXEN and the MUXEN logo are trademarks of MUXEN SAS.