What it exposes
| Feature | Property | Values | Control |
|---|---|---|---|
| Emergency overvoltage | emergency_overvoltage | — | read only |
| Emergency undervoltage | emergency_undervoltage | — | read only |
| Emergency overcurrent | emergency_overcurrent | — | read only |
| Emergency overheat | emergency_overheat | — | read only |
| Identify | identify | identify | settable |
| Device temperature | device_temperature | °C | read only |
| On / off | state | — | settable |
| After power loss | power_on_behavior | off, on, toggle, previous | settable |
| Child lock | child_lock | — | settable |
| Voltage | voltage | V | read only |
| Current | current | A | read only |
| Power | power | W | read only |
| LED indication | led_indicator_on_enable | — | settable |
| Hue | led_indicator_on_h | ° · 0…359 | settable |
| Saturation | led_indicator_on_s | 0…254 | settable |
| Brightness | led_indicator_on_b | 1…254 | settable |
| LED indication | led_indicator_off_enable | — | settable |
| Hue | led_indicator_off_h | ° · 0…359 | settable |
| Saturation | led_indicator_off_s | 0…254 | settable |
| Brightness | led_indicator_off_b | 1…254 | settable |
| Emergency shutoff recovery | emergency_shutoff_recovery | disabled, voltage_is_good | settable |
| Upper voltage threshold | upper_voltage_threshold | mV · 230000…260000 | settable |
| Lower voltage threshold | lower_voltage_threshold | mV · 100000…230000 | settable |
| Upper current threshold | upper_current_threshold | mA · 100…16000 | settable |
| Temperature threshold | temperature_threshold | °C · -200…200 | settable |
| Serial Number | serial_number | — | read only |
| Resets count | resets_count | — | read only |
| Uptime | uptime | s | read only |
| Button clicks count 1 | button_clicks_count_1 | — | read only |
| Relay switches count 1 | relay_switches_count_1 | — | 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:
{
"emergency_overvoltage": false,
"emergency_undervoltage": false,
"emergency_overcurrent": false,
"emergency_overheat": false,
"device_temperature": 31,
"state": "ON",
"power_on_behavior": "off",
"child_lock": false,
"voltage": 230,
"current": 0.06,
"power": 12.4,
"led_indicator_on_enable": false,
"led_indicator_on_h": 180,
"led_indicator_on_s": 127,
"linkquality": 120
}
Send commands to zigbee2mqtt/my_device/set:
mosquitto_pub -t zigbee2mqtt/my_device/set -m '{"state":"TOGGLE"}'
mosquitto_pub -t zigbee2mqtt/my_device/set -m '{"power_on_behavior":"on"}'
mosquitto_pub -t zigbee2mqtt/my_device/set -m '{"child_lock":true}'
mosquitto_pub -t zigbee2mqtt/my_device/set -m '{"led_indicator_on_enable":true}'
mosquitto_pub -t zigbee2mqtt/my_device/set -m '{"led_indicator_off_enable":true}'
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: "Turn off when idle"
mode: single
triggers:
- trigger: numeric_state
entity_id: sensor.my_device_power
below: 2
for: "00:15:00"
actions:
- action: switch.turn_off
target:
entity_id: switch.my_device
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.