What it exposes
| Feature | Property | Values | Control |
|---|---|---|---|
| Temperature | temperature | °C | read only |
| Humidity | humidity | % | read only |
| Motion | occupancy | — | read only |
| Occupancy level | occupancy_level | — | read only |
| CO₂ | co2 | ppm | read only |
| VOC | voc | µg/m³ | read only |
| Noise | noise | dBA | read only |
| Noise detected | noise_detected | — | read only |
| On / off (l1) | state_l1 | — | settable |
| On / off (l2) | state_l2 | — | settable |
| On / off (l3) | state_l3 | — | settable |
| Noise timeout | noise_timeout | s · 0…2000 | settable |
| Occupancy timeout | occupancy_timeout | s · 0…2000 | settable |
| Temperature offset | temperature_offset | °C · -10…10 | settable |
| Occupancy sensitivity | occupancy_sensitivity | 0…2000 | settable |
| Noise detect level | noise_detect_level | dBA · 0…150 | settable |
| Co2 autocalibration | co2_autocalibration | OFF, ON | settable |
| Co2 manual calibration | co2_manual_calibration | OFF, ON | settable |
| Th heater | th_heater | OFF, ON | settable |
| Illuminance | illuminance | lx | read only |
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:
{
"temperature": 21.6,
"humidity": 46.2,
"occupancy": false,
"occupancy_level": 0,
"co2": 640,
"voc": 120,
"noise": 0,
"noise_detected": false,
"state_l1": "ON",
"state_l2": "ON",
"state_l3": "ON",
"noise_timeout": 1000,
"occupancy_timeout": 1000,
"temperature_offset": 0,
"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 '{"co2_autocalibration":"ON"}'
mosquitto_pub -t zigbee2mqtt/my_device/set -m '{"co2_manual_calibration":"ON"}'
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: "Off at night"
mode: single
triggers:
- trigger: time
at: "23:30:00"
actions:
- action: switch.turn_off
target:
entity_id: switch.my_device_l1
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.