SONOFF SNZB-04PR2 in Home Assistant
Door & window · Zigbee · Contact sensor
Zigbee device – see the note above on what ZHA needs for it.
Facts about this device
- Brand
- SONOFF
- Model
- SNZB-04PR2
- Device type
- Door & window
- Radio
- Zigbee
- Power
- Battery
- Reports itself as
- SNZB-04PR2
- Zigbee2MQTT
- Device page on zigbee2mqtt.io
Where to buy
How the device gets into Home Assistant
- official ZHA – with a Zigbee coordinator and the ZHA integration; for all its functions it needs a custom quirk, see above.
- add-on Zigbee2MQTT – Zigbee2MQTT runs as an add-on and passes the device on to Home Assistant over MQTT.
Known problems and fixes
Changes proposed for ZHA
- pull request The SONOFF SNZB-04PR2 siren would not trigger tamper alerts in Home Assistant. The pull request would add a quirk to detect tampering events.
- pull request Proposed support for Sonoff SNZB-02P, SNZB-02M, and SNZB-04PR2 devices to enable proper functionality in Home Assistant.
ZHA quirks for this device
Quirk proposed, not merged yet Recommended quirk
Proposed to ZHA and waiting for review – the maintainers check it before it becomes part of Home Assistant.
Adds: Tamper
Source:
zha-device-handlers · pull request #5131 · by @phipz · June 29, 2026 · 1 approval
Signature: eWeLink / SNZB-04PR2
3 more quirks for this device
-
Quirk proposed, not merged yet
SONOFF/SNZB-04PR2zha-device-handlers · pull request #5131 · by @phipz · June 29, 2026 · 1 approval -
Quirk proposed, not merged yet
eWeLink/SNZB-04PR2zha-device-handlers · pull request #4263 · by @laity-w-sudo · August 14, 2025 -
Quirk proposed, not merged yet
SONOFF/SNZB-04PR2zha-device-handlers · pull request #4263 · by @laity-w-sudo · August 14, 2025
Alternatives
The same job from other makers – devices of the same type and radio that work with Home Assistant too.
-
Third Reality 3RVS01031Z
Door & window · Zigbee · Zigbee vibration sensor
Zigbee2MQTT
ZHA quirk
1 open report
Review
-
Aqara DJT11LM
Door & window · Zigbee · Vibration sensor
Zigbee2MQTT
ZHA quirk
Review
-
Immax 07045L Door & window · Zigbee · Magnetic contact sensor Zigbee2MQTT Review
-
Nous E3
Door & window · Zigbee · Door sensor
Zigbee2MQTT
Review
Sources: Zigbee2MQTT, ZHA quirks, Z-Wave JS, the Matter certification database, Shelly, ESPHome, Tasmota, Tuya Local and the issue trackers on GitHub. Reports are assigned to a device by the identifiers they contain; the sentences come from the integration pages, where a language model writes them from the titles.
