logo elektroda
logo elektroda
X
logo elektroda

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

p.kaczmarek2 
📢 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 12174 posts with rating 10128 , helped 580 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]

%}