- New
Product description: Sonoff SNZB-04PR2 - door and window opening sensor - ZigBee
The Sonoff SNZB-04PR2 is a compact contact sensor designed for monitoring doors, windows, and other moving parts . The transmitter works with a magnet and detects changes in position, informing the system of opening or closing. A built-in tamper protection function detects attempts to remove the device from the mounting surface and can trigger a notification or automation. The sensor supports horizontal and vertical installation – the detection distance is up to 30 mm horizontally and up to 15 mm vertically . Thanks to ZigBee 3.0, it is compatible with popular gateways and smart home platforms, and powered by 2 AAA batteries reduces the need for frequent maintenance.
Note: The sensor requires a compatible ZigBee gateway, e.g. Sonoff ZBBridge-P, ZBBridge-U, iHost, NSPanel Pro, ZBDongle-P or ZBDongle-E.

For example, a smart door and window sensor can trigger automation that activates an alarm and cameras when opened.
Main features of the Sonoff opening sensor
- ZigBee 3.0 Communication: Energy-efficient connectivity for home automation systems
- Opening and closing detection: real-time information on the status of a door, window or other monitored element
- Tamper protection: built-in mechanism detects any attempt to remove or tamper with the sensor and can trigger a notification or an automation scene
- In-app notifications: the ability to receive information about device status changes after connecting to the appropriate ZigBee gateway
- Flexible installation: the magnet can be installed horizontally or vertically, and in confined spaces it can also be removed from the housing and mounted separately
- Detection distance up to 30 mm: when mounted horizontally, the distance between the transmitter and the magnet can be up to 30 mm, and when mounted vertically, up to 15 mm
- Communication range up to 100 m: the declared range in open space allows the sensor to be used in extensive ZigBee installations
- Up to 3 years of operation: powered by 2 standard AAA batteries, reducing the frequency of battery replacement
- Slim design: The transmitter is 13.5mm thick, allowing it to be discreetly mounted on a wide range of frames
- Durable casing: PC construction is UV resistant and the device has passed a 1m drop test and thermal shock test
ZigBee 3.0 connectivity and Smart Home automation
Sonoff SNZB-04PR2 uses ZigBee 3.0 and requires a compatible ZigBee gateway or coordinator to work in a smart home system. It can work with Sonoff ZBBridge-P , ZBBridge-U, and other solutions. NSPanel Pro and iHost, as well as with Home Assistant via ZHA or Zigbee2MQTT using compatible Sonoff dongles . Selected SmartThings, FRITZ, and Amazon Echo devices with ZigBee hub functionality are also supported, while integration with Apple Home is possible via a compatible Matter Bridge . Depending on the platform used, you can view the status in the eWeLink app , integrate with Amazon Alexa and Google Home, and create scenes that respond to opening, closing, prolonged exposure, or tampering. For example, the sensor can trigger a camera, alarm, or lighting, and turn off the thermostat when a window is left open . The range of available features depends on the gateway and platform used – not every integration supports tamper status, battery reporting, and OTA updates, and integration with ZHA may require an additional script.
Sonoff SNZB-04PR2 Technical Specifications
- Microcontroller: TLSR8656F512ET32
- Wireless communication: ZigBee 3.0
- Standard: IEEE 802.15.4
- Communication range: up to 100 m in open space
- Power supply: 3V
- Batteries: 2 x LR03 AAA
- Declared battery life: up to 3 years
- Detection distance when mounted horizontally: up to 30 mm
- Detection distance when mounted vertically: up to 15 mm
- Magnet mounting: horizontal, vertical or after removing from the housing
- Anti-tamper function: yes
- Compatible ZigBee gateways and coordinators: ZBBridge-P, ZBBridge-U, NSPanel Pro, iHost, ZBDongle-P, ZBDongle-E, Dongle-Max, Dongle Plus MG24, Dongle Lite MG21, Echo Plus 2nd Gen, Echo 4th Gen, Echo Show 2nd Gen, Aeotec Smart Home Hub V3, FRITZ!Box 7690
- Color: white
- Housing material: PC
- Place of use: indoors
- Operating temperature: -10°C to 60°C
- Operating humidity: 5% RH to 95% RH, non-condensing
- Dimensions: transmitter 90 x 26 x 13.5 mm, magnet 31 x 14 x 6.5 mm
- Weight: 45.1 g with batteries
Kit contents
- Sonoff SNZB-04PR2 door and window opening sensor
- AAA batteries - 2 pcs.
Useful links |


