Product Details

๐Ÿญ Manufacturer: Sonoff

๐Ÿณ๏ธ Country of Origin: China

๐Ÿ†” Model Number: SNZB-04

๐Ÿ”ง Usage: Indoor Use

๐Ÿ”‹ Batteries Included: Yes

๐Ÿ”‹ Batteries Required: Yes

The Sonoff SNZB-04 is a compact Zigbee contact sensor that tells you when a door or window opens. It runs on a CR2032 coin cell and works with eWeLink, Home Assistant, and most Zigbee hubs. One thing to know before you shop: SONOFF's official ITEAD store now marks the SNZB-04 as discontinued and out of stock, with a last listed price of $8.49, and points buyers to the newer SNZB-04P. This page covers both, because plenty of SNZB-04 units are still in drawers and on doors.

This sensor doesn't need a SONOFF hub when you pair it with a Zigbee USB dongle such as the Sonoff Zigbee 3.0 USB Dongle Plus, and it also pairs with the SONOFF Zigbee Bridge Pro. It reports two states, open and closed. That's all it does.

What's in the Box

The SNZB-04 comes as two pieces: the sensor body and a small magnet, with adhesive backing for both. No tools needed. You fix the sensor on the frame and the magnet on the door itself. Check the listing for the battery before you order a leftover unit, because ITEAD's page says batteries are required and doesn't list one in the box. Have a CR2032 on hand.

Technical Specs

The SNZB-04 reports open and closed states only - no temperature, no humidity, no tamper switch. That keeps the device simple.

Key specs at a glance, from the ITEAD listing:

  • Protocol: Zigbee (the listing doesn't state a Zigbee version)
  • Battery: one 3 V CR2032, with a low-battery alert at 10%
  • Dimensions: 47 x 27 x 13.5 mm (sensor body), 32 x 15.6 x 13 mm (magnet)
  • Range: under 80 m to the bridge in open space
  • Mounting: adhesive backing

SONOFF's manual gives an installation gap of less than 10 mm between sensor and magnet. That's tight. Recessed doors, thick trim, and older casements may need a spacer or a test fit first. ITEAD's listing doesn't state a battery life in years for this model, so treat any "two-year" claim you see on a reseller page as a guess.

SNZB-04 vs SNZB-04P

The SNZB-04P is the model SONOFF sells now. What changed? Almost everything except the job.

  • Battery: CR2477 in the SNZB-04P, which SONOFF rates at over five years, against a CR2032 in the SNZB-04
  • Tamper alert: yes on the SNZB-04P, none on the SNZB-04
  • Installation gap: up to 20 mm, against under 10 mm
  • Protocol: listed as Zigbee 3.0
  • Size: 50.5 x 32 x 21.9 mm, so it's the chunkier of the two
  • Price: from $15.90 at ITEAD

The batteries and housings differ, so the SNZB-04P isn't a drop-in swap for the old mounting spot. Zigbee2MQTT supports both models; the SNZB-04P adds a tamper entity and firmware updates over the air.

How It Works With Home Assistant

Home Assistant users get the most out of the SNZB-04. You can add it through ZHA (Zigbee Home Automation) or Zigbee2MQTT - both work without any cloud connection. Once paired, it shows up as a binary sensor that triggers on open or closed.

From there you can build automations like turning on a light when the back door opens at night, or sending an alert if a door stays open for more than five minutes. Isn't that most of what a contact sensor is for?

The Zigbee2MQTT project lists the SNZB-04 as supported and exposes four values: contact, battery percentage, battery voltage, and a battery_low flag. To pair it, hold the reset button for 5 seconds until the LED flashes three times. Those MQTT topics are useful if you run Node-RED or other automation tools alongside Home Assistant.

Zigbee Hub Options

You need one of these to use the SNZB-04:

  • SONOFF Zigbee Bridge Pro, through the eWeLink app
  • A Zigbee USB coordinator (a CC2652-based dongle, Home Assistant Connect ZBT-1, and so on) with ZHA or Zigbee2MQTT
  • A third-party Zigbee hub, after checking that hub's own compatibility list

The SNZB-04 does not support Wi-Fi, Thread, or Matter. It's Zigbee only. It's also a battery-powered end device, so it doesn't relay traffic for other devices; mains-powered Zigbee plugs, relays, and bulbs are what build the mesh it joins.

If you use the eWeLink app, the SNZB-04 pairs through a SONOFF Zigbee bridge. ITEAD's listing describes Alexa and Google Assistant compatibility and scene linkage between Zigbee and Wi-Fi devices in eWeLink, so a door opening can switch on a SONOFF Wi-Fi relay.

It's not as flexible as Home Assistant, but it's much simpler to set up. For someone who just wants door alerts on their phone, eWeLink does the job.

Who Should Buy the SNZB-04

Honestly? In late 2026, fewer people than before. If you're buying new, get the SNZB-04P: the bigger battery and the wider gap fix the two weakest points of the original, and it's the one SONOFF still sells.

The SNZB-04 still makes sense in three cases.

First, Home Assistant users who find leftover stock cheap and want basic contact sensors to fill gaps in their setup.

Second, people who already own a few. There's no reason to replace a working SNZB-04. It keeps doing its one job on any Zigbee coordinator.

Third, anyone who wants basic door alerts without a subscription. The SNZB-04 has no monthly fees and no account required if you run it fully local through ZHA or Zigbee2MQTT.

It's not ideal if you need Apple HomeKit support (no native HomeKit), or if your home runs entirely on Wi-Fi devices with no Zigbee coordinator. You'd need to add hardware to make it work.

The Wrap

The SNZB-04 does one thing - it tells you when a door or window opens. It's small, it's cheap, and it's supported by both big Home Assistant Zigbee stacks.

It's not a glamorous device. There's no display, no temperature reading, no tamper switch. And it's now the old model: discontinued at SONOFF's own store, with the SNZB-04P as the official successor. Buy the newer one for new installs and keep the old ones running where they already work.

Setup and Reliability in Practice

This sensor is about as simple as Zigbee gets. Pair it to a SONOFF Zigbee bridge or any ZHA or Zigbee2MQTT coordinator, peel the adhesive, and stick the two halves on a door and its frame.

The one real limit is alignment. With a gap allowance under 10 mm, a door that settles over a season can drift out of range, and then a closed door reads open. Nudge the magnet a few millimeters closer and check the state in Home Assistant with the door shut. The other thing to watch is the coin cell: a CR2032 holds far less energy than the CR2477 in the SNZB-04P, so keep an eye on the battery_low flag and build a notification on it.