What it exposes
| Feature | Property | Values | Control |
|---|---|---|---|
| On / off (l1) | state_l1 | — | settable |
| On / off (l2) | state_l2 | — | settable |
| On / off (l3) | state_l3 | — | settable |
| On / off (l4) | state_l4 | — | settable |
| On / off (l5) | state_l5 | — | settable |
| On / off (l6) | state_l6 | — | settable |
| On / off (l7) | state_l7 | — | settable |
| On / off (l8) | state_l8 | — | settable |
| On / off (l9) | state_l9 | — | settable |
| On / off (l10) | state_l10 | — | settable |
| Climate (th1) | system_mode, running_mode, occupied_heating_setpoint, local_temperature, pi_heating_demand | mode, running_mode, heating setpoint, room temperature, pi_heating_demand | settable |
| Climate (th2) | system_mode, running_mode, occupied_heating_setpoint, local_temperature, pi_heating_demand | mode, running_mode, heating setpoint, room temperature, pi_heating_demand | settable |
| Climate (th3) | system_mode, running_mode, occupied_heating_setpoint, local_temperature, pi_heating_demand | mode, running_mode, heating setpoint, room temperature, pi_heating_demand | settable |
| Climate (th4) | system_mode, running_mode, occupied_heating_setpoint, local_temperature, pi_heating_demand | mode, running_mode, heating setpoint, room temperature, pi_heating_demand | settable |
| Climate (th5) | system_mode, running_mode, occupied_heating_setpoint, local_temperature, pi_heating_demand | mode, running_mode, heating setpoint, room temperature, pi_heating_demand | settable |
| Climate (th6) | system_mode, running_mode, occupied_heating_setpoint, local_temperature, pi_heating_demand | mode, running_mode, heating setpoint, room temperature, pi_heating_demand | settable |
| Climate (th7) | system_mode, running_mode, occupied_heating_setpoint, local_temperature, pi_heating_demand | mode, running_mode, heating setpoint, room temperature, pi_heating_demand | settable |
| Climate (th8) | system_mode, running_mode, occupied_heating_setpoint, local_temperature, pi_heating_demand | mode, running_mode, heating setpoint, room temperature, pi_heating_demand | settable |
| Climate (th9) | system_mode, running_mode, occupied_heating_setpoint, local_temperature, pi_heating_demand | mode, running_mode, heating setpoint, room temperature, pi_heating_demand | settable |
| Climate (th10) | system_mode, running_mode, occupied_heating_setpoint, local_temperature, pi_heating_demand | mode, running_mode, heating setpoint, room temperature, pi_heating_demand | settable |
MQTT: state and commands
Zigbee2MQTT publishes the device state to zigbee2mqtt/my_device (my_device is the name you give the device). An example message:
{
"state_l1": "ON",
"state_l2": "ON",
"state_l3": "ON",
"state_l4": "ON",
"state_l5": "ON",
"state_l6": "ON",
"state_l7": "ON",
"state_l8": "ON",
"state_l9": "ON",
"state_l10": "ON",
"occupied_heating_setpoint": 21,
"local_temperature": 20.5,
"system_mode": "heat",
"linkquality": 120
}
Send commands to zigbee2mqtt/my_device/set:
mosquitto_pub -t zigbee2mqtt/my_device/set -m '{"state_l1":"TOGGLE"}'
mosquitto_pub -t zigbee2mqtt/my_device/set -m '{"state_l2":"TOGGLE"}'
mosquitto_pub -t zigbee2mqtt/my_device/set -m '{"state_l3":"TOGGLE"}'
mosquitto_pub -t zigbee2mqtt/my_device/set -m '{"state_l4":"TOGGLE"}'
mosquitto_pub -t zigbee2mqtt/my_device/set -m '{"state_l5":"TOGGLE"}'
Watch the topics live from the browser: MQTT client.
Home Assistant automation example
Zigbee2MQTT creates Home Assistant entities from the device name. If it is called my_device, an automation in automations.yaml can look like this:
- alias: "Cooler at night"
mode: single
triggers:
- trigger: time
at: "23:00:00"
actions:
- action: climate.set_temperature
target:
entity_id: climate.my_device
data:
temperature: 18
Check the YAML: YAML checker.
How to pair it
- In Zigbee2MQTT click Permit join.
- Put the device in pairing mode: usually a long press of the reset button (5–10 s) until the LED blinks; bulbs: switch the power off and on 5–6 times.
- Keep the device close to the coordinator or a router while pairing.
- Give it a clear name: MQTT topics and Home Assistant entities are built from it.
Exact procedure and model notes: the device page in the Zigbee2MQTT docs. No coordinator yet: coordinator picker.