What it exposes
| Feature | Property | Values | Control |
|---|---|---|---|
| Temperature | temperature | °C | read only |
| Humidity | humidity | % | read only |
| Battery | battery | % · 0…100 | read only |
| Dew point | dew_point | °C | read only |
| Vpd | vpd | kPa | read only |
| Humidity comfort | humidity_comfort | dry, comfort, wet, normal | read only |
| Comfort humidity lower limit | comfort_humidity_lower_limit | % · 0…100 | settable |
| Comfort humidity upper limit | comfort_humidity_upper_limit | % · 0…100 | settable |
| Comfort temperature lower limit | comfort_temperature_lower_limit | °C · -20…60 | settable |
| Comfort temperature upper limit | comfort_temperature_upper_limit | °C · -20…60 | settable |
| Product name | product_name | — | read only |
| Temperature unit | temperature_unit | celsius, fahrenheit | settable |
| Internal temperature calibration | internal_temperature_calibration | °C · -10…10 | settable |
| Internal humidity calibration | internal_humidity_calibration | % · -10…10 | settable |
| Sample interval | sample_interval | s · 1…3600 | settable |
| Temperature alarm upper | temperature_alarm_upper | °C · -30…60 | settable |
| Temperature alarm lower | temperature_alarm_lower | °C · -30…60 | settable |
| Humidity alarm upper | humidity_alarm_upper | % · 0…100 | settable |
| Humidity alarm lower | humidity_alarm_lower | % · 0…100 | settable |
| Fault status | fault_status | — | read only |
| Temperature alarm status | temperature_alarm_status | normal, low, high | read only |
| Humidity alarm status | humidity_alarm_status | normal, low, high | 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,
"battery": 87,
"dew_point": 0,
"vpd": 0,
"humidity_comfort": "dry",
"comfort_humidity_lower_limit": 50,
"comfort_humidity_upper_limit": 50,
"comfort_temperature_lower_limit": 20,
"comfort_temperature_upper_limit": 20,
"temperature_unit": "celsius",
"internal_temperature_calibration": 0,
"internal_humidity_calibration": 0,
"sample_interval": 1801,
"linkquality": 120
}
Send commands to zigbee2mqtt/my_device/set:
mosquitto_pub -t zigbee2mqtt/my_device/set -m '{"temperature_unit":"fahrenheit"}'
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: "Room too warm"
mode: single
triggers:
- trigger: numeric_state
entity_id: sensor.my_device_temperature
above: 26
for: "00:10:00"
actions:
- action: notify.notify
data:
message: "Temperature above 26 °C"
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.