logo elektroda
logo elektroda
X
logo elektroda

Which battery-powered PIR sensor for Home Assistant? SNZB-03 commissioning and interior

p.kaczmarek2  12 2181 Cool? (+1)
📢 Listen (AI):
Sonoff SNZB-03 motion sensor with packaging. .
The Sonoff SNZB-03 is a tiny (only 40x35x28mm) PIR sensor that is compatible with Home Assistant via, among other things, Zigbee2MQTT. It is available to buy for around £40-50, depending on whether you order from China or our country. It is powered by a tiny CR2450 (3V) battery. Properly configured, it is capable of triggering various automations, such as turning on a light when movement is detected.
Packaging of Sonoff SNZB-03 motion sensor resting on a table. Sonoff SNZB-03 PIR motion sensor with a paper manual and double-sided 3M tape on a wooden background. .
In addition to the sensor, we get a strip of 3M double-sided tape for mounting. There is also an instruction manual:
User manual for Sonoff SNZB-03 motion sensor. Installation and setup instructions for the Sonoff SNZB-03 sensor in various languages. User manual for the Sonoff SNZB-03 sensor. User manual for Sonoff SNZB-03 sensor in multiple languages. Sonoff SNZB-03 user manual with QR code and FCC information. User manual for Sonoff SNZB-03 sensor with QR code. .
However, I will skip the pairing with the manufacturer's gateway and give it a go with HA straight away.
Back of Sonoff SNZB-03 motion sensor with manufacturer information. .

Pairing with Home Assistant Pairing with Home Assistant.
I have Home Assistant set up according to a theme from a few years ago, but obviously updated:
Home Assistant tutorial - setup, WiFi, MQTT, Zigbee, Tasmota .
Zigbee2MQTT I also updated:
How do I update Zigbee2MQTT Home Assistant to the latest version? Unsupported device? .
If you need to, reset the device as instructed, at HA make sure pairing is enabled.
Close-up of the Sonoff SNZB-03 sensor with a tool for opening the case. .
The sensor should appear in our panel:
Zigbee2MQTT user interface displaying a list of connected devices. Zigbee2MQTT interface displaying details of the Sonoff SNZB-03 motion sensor. Screenshot of Zigbee2MQTT configuration panel showing the Sonoff SNZB-03 sensor status. Screenshot of the Zigbee2MQTT panel displaying sensor states. .
The sensor provides an 'occupancy' status, i.e. detection of movement, which is cleared after 60 seconds. In addition to this, we have the battery status (by percentage, there is a separate low battery warning), tamper and connection quality. The tamper, in turn, determines whether someone has taken down the sensor and its implementation depends on the device.
A PIR paired in this way can already trigger events:
Home Assistant - how to trigger an event with a PIR sensor? Zigbee and WiFi, lighting up Home Assistant - how to trigger an event with a PIR sensor.


Interior of SNZB-03 .
For educational purposes only. We take a look inside:
Interior of Sonoff SNZB-03 sensor with visible circuit board and CC2530 chip. Interior of the Sonoff SNZB-03 sensor showing the circuit board and electronic components. Interior of Sonoff SNZB-03 sensor showing the CC2530 chip on a circuit board. Interior of the Sonoff SNZB-03 sensor showing the CC2530 chip. Inside of the Sonoff SNZB-03 sensor showing the PCB and electronic components. .
The sensor is based on the CC2530, as are brother products including the SNZB-04 (door/window opening sensor).
Technical specification of the CC2530 chip from Texas Instruments. .
The CC2530 is a Zigbee 2.6 compliant SoC solution offering 256kB of Flash memory, 8kB of RAM and 21 GPIOs, including a 12-bit, 8-channel ADC, 2 SPI/UART and 4 timers.

Summary .
Seamless pairing, you can go straight to scripting the automation. I guess the only thing to keep in mind is that this sensor doesn't extend the range of our Zigbee network as it is a battery powered device, but that shouldn't cause us any problems.
I have already shown an example of an automation done based on this sensor:
Home Assistant - how to trigger an event with a PIR sensor? Zigbee and WiFi, lighting up .
For my part, that's it. And what PIR-based automations would you guys create? .

About Author
p.kaczmarek2
p.kaczmarek2 wrote 14218 posts with rating 12104 , helped 647 times. Been with us since 2014 year.

Comments

@GUTEK@ 22 Jan 2025 21:51

I recently bought such a sensor in china https://www.zigbee2mqtt.io/devices/ZP01.html Basically works the same as the one described by the author of the topic, only that it is powered by 2xAAA. Which... [Read more]

jarekgol 23 Jan 2025 02:21

How long does something like this run on batteries? Assuming it's indoors and for 16h is triggered several times for each hour? [Read more]

krzbor 23 Jan 2025 15:41

In the screenshot I see that the "Friendly names" are not particularly friendly. This happens when a new device is connected. If HA is running at the moment, it unfortunately takes on these bizarre meanings.... [Read more]

CMS 23 Jan 2025 17:30

Quite large and expensive. I prefer such 33x27mm https://pl.aliexpress.com/item/1005008158840774.html?spm=a2g0o.productlist.main.23.2a6957345GT1NT&aem_p4p_detail=202501230824352596395740709020006331535&algo_pvid=2d111405-938c-4da2-b7b2-963f8e10f00b&algo_exp_id=2d111405-938c-4da2-b7b2-963f8e10f00b-11&pdp_ext_f=%7B%22order%22%3A%228%22%2C%22eval%22%3A%221%22%7D&pdp_npi=4%40dis%21PLN%2122.52%2121.11%21%21%215.41%215.07%21%402103890917376494753047595e553f%2112000044033030719%21sea%21PL%21172984799%21X&curPageLogUid=fYgqmZ2Yt39O&utparam-url=scene%3Asearch%7Cquery_from%3A&search_p4p_id=202501230824352596395740709020006331535_4 Powered... [Read more]

p.kaczmarek2 23 Jan 2025 17:43

@krzbor I don't know if we are talking about the same thing, but isn't it enough in Zigbee2MQTT in HA to click rename? I have had a device with an unchanged name for a few days now. I now follow these... [Read more]

Nargo 23 Jan 2025 20:45

I purchased 2pc in October https://pl.aliexpress.com/item/1005006157914447.html?spm=a2g0o.order_detail.order_detail_item.3.744e43ceoVsp1b&gatewayAdapt=glo2pol for £12.80 each They expose: https://obrazki.elektroda.pl/5542199500_1737661262_thumb.jpg... [Read more]

@GUTEK@ 23 Jan 2025 21:51

. At the bottom you click on the icon to change the device name. In addition, you tick "Update Home Assistants entity ID" and that's it. You don't have to do anything extra, you don't have to restart... [Read more]

krzbor 24 Jan 2025 11:45

. Was this option in the older Z2M? I have it now, but don't know if it was before. Renaming changed the name in HA, but the entities had the old numeric identifiers. I'll be pairing something up soon... [Read more]

@GUTEK@ 24 Jan 2025 13:04

I started using from version 1.42, now I have 2.0. And in these versions it was, as before I don't know. [Read more]

Michal8883 26 Jan 2025 23:06

What is the best way to connect zigbee sensors? Via a dongle to a raspberry zero2w or just a gateway and an app e.g. HA? [Read more]

gsm_42 27 Jan 2025 16:06

Ikea has also recently added a PIR sensor on Zigbee. In my opinion, with 2x AAA power supply, they will definitely last longer than the Chinese Sonoff fakes. https://www.ikea.com/us/en/p/vallhorn-wir... [Read more]

@GUTEK@ 27 Jan 2025 20:02

. If you want under HA it is best via a dongle e.g. from Sonoff. Gateways are usually under cloud systems e.g. Tuya, eWelink. Some can be reprogrammed and used with HA. . These sensors are plentiful.... [Read more]

FAQ

TL;DR: Real-world use shows 26 months battery life at ~12 triggers/day [Elektroda, CMS, post #21406493]; “pairing takes under a minute” [Elektroda, p.kaczmarek2, post #21405264] CR2450- or 2×AAA-powered Zigbee PIRs link directly to Home Assistant through Zigbee2MQTT, exposing motion, battery and tamper states. Why it matters: picking the right sensor and power cell avoids false alarms and mid-winter battery swaps.

Quick Facts

• Size: 40 × 35 × 28 mm (SNZB-03) [Elektroda, p.kaczmarek2, post #21405264] • Power: CR2450 coin cell or 2 × AAA, 3 V nominal [Elektroda, @GUTEK@, post #21405427] • Hold time: 40–60 s before “clear” state [Elektroda, p.kaczmarek2, post #21405264] • Claimed battery life: 1.5 years at 10 triggers/day [Elektroda, CMS, post #21406493] • Street price: £12–£50 depending on brand and region [Elektroda, multiple posts]

Which Zigbee PIR models are most discussed in the thread?

Sonoff SNZB-03, Tuya ZP01, several 33 × 27 mm no-name sensors, and IKEA VALLHORN are compared for size, battery type and cost [Elektroda, #21405264; #21405427; #21406493; #21412557].

How do I pair the Sonoff SNZB-03 with Home Assistant?

1) Enable pairing in Zigbee2MQTT. 2) Press the sensor’s reset button until the LED blinks. 3) Wait for the device card to appear in HA. The whole process takes <60 s [Elektroda, p.kaczmarek2, post #21405264]

What entities does a typical Zigbee PIR expose?

Occupancy (motion), battery percentage, low-battery warning, link quality, and tamper. Some models list tamper but never toggle, making it a dummy entity [Elektroda, @GUTEK@, post #21405427]

How long do the batteries really last?

A CR2450 lasted 26 months in kitchen duty before dropping to 1 % [Elektroda, CMS, post #21406493] Zigbee2MQTT docs cite 12–18 months typical for 10 daily triggers (ZP01 page). AAA models usually exceed two years because of higher capacity [Elektroda, 21405427]

Does a battery-powered PIR extend the Zigbee mesh?

No. End-devices sleep to save energy and cannot route traffic. Place mains-powered repeaters to strengthen coverage instead [Elektroda, p.kaczmarek2, post #21405264]

How can I rename an awkward entity ID in Home Assistant?

Click the pencil icon in Zigbee2MQTT, set a Friendly Name, tick “Update Home Assistant entity ID,” then save. No restart needed in versions ≥1.42 [Elektroda, @GUTEK@, post #21406978]

What if motion events are sometimes missed?

Sporadic misses often trace to weak link quality; add a repeater or move the PIR closer to the coordinator. Firmware bugs can also drop packets; update Zigbee2MQTT and sensor firmware when available [Elektroda, @GUTEK@, post #21405427]

Dongle or branded gateway—what integrates best with HA?

A USB coordinator (e.g., Sonoff ZBDongle-E) gives full local control and works offline. Most cloud gateways lock you to proprietary apps unless you flash them, which voids warranty [Elektroda, @GUTEK@, post #21412932]

How fast is a Zigbee PIR compared with Wi-Fi?

Zigbee triggers are near-instant (<1 s), while Wi-Fi sensors can add ~6 s due to network association [Elektroda, @GUTEK@, post #21405427]

What chip powers the SNZB-03, and why care?

It uses a Texas Instruments CC2530, a Zigbee 2.6 SoC with 256 kB flash and 21 GPIOs [Elektroda, p.kaczmarek2, post #21405264] Hackers can reflash it for custom firmware, extending range or adding features.

Can radar presence sensors replace PIR?

24 GHz radar modules detect micro-movement and work through thin materials, but draw more current and require USB power. One user is testing a $20 radar-based Zigbee sensor now [Elektroda, @GUTEK@, post #21412932]

Quick 3-step automation example: turn on pantry light

1) In HA Automations, choose the PIR’s Occupancy = “on” as trigger. 2) Add action: turn on desired Zigbee bulb. 3) Add second action: delay 40 s, then turn off bulb. Works because the PIR clears after 40–60 s [Elektroda, multiple posts].

Why does the tamper entity never change state?

Some low-cost sensors label a GPIO as tamper but leave the pad unconnected, so the firmware always reports “clear.” Treat it as a non-functional placeholder [Elektroda, @GUTEK@, post #21405427]

Expert tip for battery savings?

“Mount the PIR above shoulder height; fewer triggers equal months more battery life,” advises user CMS [Elektroda, 21406493]
%}