SONOFF SNZB-01P
Model | SNZB-01P |
Vendor | SONOFF |
Description | Wireless button |
Exposes | battery, voltage, action, linkquality |
Picture |
Notes
Pairing
If brand new, when powered on it will attempt to pair to Zigbee2MQTT automatically. If not (or if has been paired before and needs to be re-paired) - press and hold the button at the top for about 5 seconds. The device will then go into pairing mode. It should then be connected to Zigbee2MQTT
OTA updates
This device supports OTA updates, for more information see OTA updates.
Exposes
Battery (numeric)
Remaining battery in %. Value can be found in the published state on the battery
property. To read (/get
) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get
with payload {"battery": ""}
. It's not possible to write (/set
) this value. The minimal value is 0
and the maximum value is 100
. The unit of this value is %
.
Voltage (numeric)
Reported battery voltage in millivolts. Value can be found in the published state on the voltage
property. To read (/get
) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get
with payload {"voltage": ""}
. It's not possible to write (/set
) this value. The unit of this value is mV
.
Action (enum)
Triggered action (e.g. a button click). Value can be found in the published state on the action
property. It's not possible to read (/get
) or write (/set
) this value. The possible values are: single
, double
, long
.
Linkquality (numeric)
Link quality (signal strength). Value can be found in the published state on the linkquality
property. It's not possible to read (/get
) or write (/set
) this value. The minimal value is 0
and the maximum value is 255
. The unit of this value is lqi
.