November 27, 2026 · 8 min read
Sonoff Door, Motion & Temperature Sensors: SNZB-02, SNZB-03, SNZB-04 Guide
Sonoff SNZB-02, SNZB-03, and SNZB-04: the Zigbee temperature, motion, and door sensors compared, how to pair them with Home Assistant, battery life, and Zigbee vs WiFi door sensor.

Sonoff's SNZB line covers the three most common sensor types in a Home Assistant setup: temperature and humidity, motion, and door or window contact. All three are Zigbee 3.0, battery-powered, and pair through the same coordinator you'd already use for a Zigbee switch.
This guide compares the SNZB-02, SNZB-03, and SNZB-04, covers pairing them with Home Assistant, and answers the question a lot of shoppers actually have: should your door sensor be Zigbee or WiFi?
Quick answer: The SNZB-02 is a Zigbee temperature and humidity sensor, the SNZB-03 is a Zigbee motion sensor, and the SNZB-04 is a Zigbee door and window contact sensor. All three are battery-powered Zigbee end devices that pair to a Zigbee coordinator running ZHA or Zigbee2MQTT, and none of them extend your mesh since end devices can't act as routers.
Which Sonoff Zigbee sensor do you need?
| SNZB-02 | SNZB-03 | SNZB-04 | |
|---|---|---|---|
| Measures | Temperature and humidity | Motion (occupancy) | Open/closed contact |
| Typical use | Climate monitoring, HVAC automation | Lighting automation, presence | Doors, windows, drawers, home security |
| Protocol | Zigbee 3.0, battery | Zigbee 3.0, battery | Zigbee 3.0, battery |
| Battery | CR2450 coin cell | Replaceable coin cell | Replaceable coin cell |
| Zigbee role | End device | End device | End device |
All three report their battery level as a percentage in Home Assistant, so you'll get a low-battery warning well before one actually dies rather than finding out when it stops reporting.
Should your Sonoff door sensor be Zigbee or WiFi?
This is worth settling before you buy, since Sonoff sells both. The SNZB-04 is Zigbee and needs a coordinator, while the DW2 is WiFi and connects directly to your network through the eWeLink app, no coordinator required.
- Already have a Zigbee coordinator (for switches or other sensors)? Get the SNZB-04. It's cheaper, uses less power since Zigbee is a low-energy mesh protocol, and reports into Home Assistant locally through ZHA or Zigbee2MQTT.
- No Zigbee setup at all, and you just want one or two sensors? The DW2 avoids buying a coordinator for a single device, at the cost of WiFi's higher battery drain and a cloud-touching eWeLink setup step (see our ecosystem compatibility guide for what that involves).
- Building out a full sensor network? Zigbee wins on battery life and local control at scale, every time.
Shop the SNZB sensors
How does the Sonoff SNZB-02 temperature sensor work?
The SNZB-02 reports temperature, humidity, and its own battery voltage over Zigbee. Per its Zigbee2MQTT device page, it runs on a CR2450 coin cell and exposes calibration options for both temperature and humidity in Home Assistant, useful if you want to correct a sensor that's reading a degree or two off. It's a common pick for HVAC automations: trigger a fan or thermostat when a room drifts outside a target range, or log long-term climate data per room.
How does the Sonoff SNZB-03 motion sensor work?
The SNZB-03 is a PIR motion sensor that reports occupancy as on or off, plus battery level. According to its Zigbee2MQTT device page, a brand-new unit will usually pair automatically the first time it's powered on; after that, re-pairing needs a 5-second hold on the reset button until the light flashes. It's the straightforward way to trigger lighting automations (turn on a hallway light on motion, turn it off after a timeout) without adding a WiFi camera or hub.
How does the Sonoff SNZB-04 door sensor work?
The SNZB-04 reports a simple open/closed contact state, along with battery level, via two small halves: one mounted on the door or window frame, one on the moving part. Per its Zigbee2MQTT device page, it exposes contact, battery, voltage, and a battery_low flag, so you can build an automation that fires the moment a battery is close to needing a change rather than waiting for the contact state to stop updating. Typical uses: turn on a light when a door opens, send a notification if a window opens while you're away, or feed a security dashboard.
How do you pair SNZB sensors with Home Assistant?
All three sensors need a Zigbee coordinator running ZHA or Zigbee2MQTT. The process is the same for all three:
- Put the sensor into pairing mode. For the SNZB-02 and SNZB-04, hold the small reset button for about 5 seconds until the LED flashes three times. The SNZB-03 often pairs automatically the first time it's powered on; otherwise, hold its reset button the same way.
- In Home Assistant, go to Settings → Devices & Services → ZHA (or open Zigbee2MQTT's "Permit join" if you're using that instead) and let it discover the sensor.
- Once paired, each sensor shows up as its own entity (temperature and humidity, occupancy, or contact) that you can use directly in automations, or add to a dashboard card.
Are SNZB sensors Zigbee routers that extend your mesh?
No. All three are battery-powered Zigbee end devices, not routers, which is standard for battery sensors on any Zigbee network (routing requires a device to stay powered and listening at all times, which would drain a coin cell quickly). If you want to extend your mesh's range, that comes from mains-powered Zigbee devices like smart switches and plugs, not from these sensors.
Why isn't my SNZB sensor reporting or pairing?
- Won't pair: hold the reset button for the full 5 seconds and watch for three LED flashes before trying to add it in Home Assistant. If it was previously paired elsewhere, it may need a force-remove on the old network first.
- Battery drains unusually fast: cold environments reduce coin-cell life noticeably, so an SNZB-02 or SNZB-04 mounted somewhere unheated (a garage, an exterior door) will need more frequent changes than one indoors.
- Stopped reporting: per Zigbee2MQTT's own troubleshooting notes for the SNZB-02, try force-removing the device, restarting your Zigbee integration, and re-pairing it.
- Motion sensor feels slow to reset "clear": this is normal PIR behavior; most motion sensors hold an "occupied" state for a short window after the last detected motion before clearing to off.
Which Sonoff sensors should you buy first?
If you're starting from zero, the SNZB-04 door sensor covers the highest-volume use case (security and open/close automations), the SNZB-02 is the easiest to justify for any room you want climate data on, and the SNZB-03 rounds things out for hallway or entryway lighting. All three share one coordinator, so the marginal cost of adding each sensor is just the sensor itself.
Once your sensors are in, pair them with a smart switch: the MINI R4 or R4M if you have a neutral wire, or the ZBMINI L2 if you don't. Want everything on one screen? See our NSPanel guide. New to Sonoff and Home Assistant generally? Start with our complete integration guide.
Frequently asked questions
Is the Sonoff SNZB-04 Zigbee or WiFi?
The SNZB-04 is Zigbee 3.0 and needs a Zigbee coordinator. Sonoff also sells a WiFi door sensor, the DW2, for shoppers who don't want to set up a coordinator for just one or two sensors.
What battery does the Sonoff SNZB-02 use?
A CR2450 coin cell, per its official Zigbee2MQTT device listing. It reports battery percentage to Home Assistant so you get a low-battery warning in advance.
Do Sonoff SNZB sensors work with Zigbee2MQTT and ZHA?
Yes. All three (SNZB-02, SNZB-03, SNZB-04) are standard Zigbee 3.0 end devices supported natively by both Zigbee2MQTT and Home Assistant's built-in ZHA integration.
Do Sonoff sensors extend my Zigbee mesh?
No. They're battery-powered Zigbee end devices, not routers. Only mains-powered Zigbee devices, like smart switches and plugs, extend mesh range.
How do you pair a Sonoff SNZB sensor with Home Assistant?
Hold the sensor's reset button for about 5 seconds until the LED flashes three times, then add it through Settings, Devices and Services, ZHA (or Zigbee2MQTT's Permit Join) in Home Assistant.
How long does the battery last in a Sonoff SNZB sensor?
Battery life varies by usage and temperature, but as Zigbee end devices they're designed for low-power, multi-month to multi-year operation under normal indoor conditions. Cold environments shorten coin-cell life noticeably.

