SONOFF SNZB-04P
Model | SNZB-04P |
Vendor | SONOFF |
Description | Contact sensor |
Exposes | contact, battery_low, tamper, battery, voltage, linkquality |
Picture |
OTA updates
This device supports OTA updates, for more information see OTA updates.
Exposes
Contact (binary)
Indicates whether the device is opened or closed. Value can be found in the published state on the contact
property. It's not possible to read (/get
) or write (/set
) this value. If value equals false
contact is ON, if true
OFF.
Battery low (binary)
Indicates whether the battery of the device is almost empty. Value can be found in the published state on the battery_low
property. It's not possible to read (/get
) or write (/set
) this value. If value equals true
battery low is ON, if false
OFF.
Tamper (binary)
Tamper-proof status. Value can be found in the published state on the tamper
property. To read (/get
) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get
with payload {"tamper": ""}
. It's not possible to write (/set
) this value. If value equals true
tamper is ON, if false
OFF.
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
.
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
.