🎉  Happy 13th Birthday Raspberry Pi!   🎂   1,000+ deals in store!   🥳
🎉  Happy 13th Birthday Raspberry Pi!   🎂   1,000+ deals in store!   🥳

Sonoff Zigbee Door/Window Sensor

by Sonoff

Batten down the hatches! Keep your doors, windows, and cookie cupboard safe and secure!

The Sonoff Zigbee Door/Window Sensor is a low cost and solution for monitoring your doors and windows within a smart home setup. Use it to easily check that you haven't left a downstairs window open at night or to automatically turn on the bathroom light when you open the door.

It comes with a battery pre-installed that will last for over five years allowing for minimal maintenance. Installation couldn't be simpler, just use the included 3M adhesive tape to fix the sensor and magnet modules to the door/window and the frame.

Security and savings

If you live in household where the kids forget to close the garage door after a bike ride or your partner leaves windows open while the central heating struggles to keep up then these handy little sensors are just what you need!

Within your home automation setup you can create rules for what happens when a door or window is opened or closed or if it is left open for a specific period of time. These rules can trigger notifications or events such as turning a light on or off. You can also easily, at a glance check the state of all of your monitored doors and windows.

To use Zigbee devices you'll either need a Zigbee compatible USB dongle connected to an always-on computer (a Raspberry Pi is ideal!) or a dedicated Smart Home solution like the awesome Home Assistant Green (+ Zigbee Donel) or Sonoff iHost.

Why we love it

The Sonoff Zigbee range provides great functionality at an excellent price point. They are high quality products that are easy to setup and deliver reliably.

  • Over five years of battery life: Set it and forget it - just replace the batteries every half decade or so!
  • Long-range performance: Powered by the energy-efficient and secure Zigbee protocol, it offers excellent range while conserving power.
  • Know your home at a glance: No more second-guessing if things are locked or secure—it works seamlessly on doors, windows, drawers, garage doors, blinds, and more.
  • Works great with Home Assistant: Our favourite open-source smart home software!
  • Easy setup: Installation is a breeze with the included 3M adhesive—stick it up in seconds, no tools required!

Smart, simple, and secure – doors and windows just got a whole lot brighter! 🚪✨

Tech specs

  • Battery: 3V CR2477 (included, lasts for over five years)
  • Connectivity: Zigbee 3.0
  • Environment: -10°C to 60°C (5 to 95% relative humidity)
  • Weight: 33g
  • Installation: 3M adhesive tape (suitable for most doors and windows)
  • Installation gap: < 20mm
  • Dimensions:
    • Sensor: 50.5×32×21.9 mm
    • Magnet: 27×12×12.4 mm

Resources

What is Zigbee?

Zigbee is a wireless standard enabling low-power, secure connections between smart devices. Widely used in home automation for devices like thermostats, sensors, and locks, its energy efficiency allows some devices to run for years on a single coin cell battery.

It has many benefits but the biggest one for us is its local nature, there's no cloud subscription or even internet connection required - everything stays within your home if you want it to. This makes it both incredible secure and also resilient to internet connection outages.

Many big brands have Zigbee supported devices including IKEA, Philips Hue, Tuya, and of course Sonoff. This means you can combine devices from different manufacturers into the same smart home setup ensuring you're not locked in to a single vendor - nice!

With an indoor range of 10–100 meters and extended outdoor coverage, Zigbee’s mesh networking ensures reliable communication, even if some devices go offline. Security features, including encryption and key protection, safeguard your smart home, keeping it secure and under your control.

Learn more about Zigbee on the official Zigbee website.

19 customer reviews

2 years ago
A very good screen. I did have to make some tweaks to the Arduino library to make the graphics line up properly, and the colours also require adjustment. However, it was a quick job so I can't complain too much.
by Ben about 0.96" SPI Colour LCD (160x80) Breakout via REVIEWS.io
4 years ago
Great little device - bright display with wide viewing angle. Software setup is reasonably straightforward. I have had a few issues with colours randomly not being the colour specified - there doesn't seem to be any way of fixing this other than turning it off and on a few times until it starts working again......
by Richard about 0.96" SPI Colour LCD (160x80) Breakout via REVIEWS.io
4 years ago
Works nicely, decent viewing angle. Backlight is bright enough for day; a bit too bright for dark viewing but that’s a niche case anyway. With it sat in the mini Breakout Garden on top of the Pi Zero it feels like everything needed to drive it it much bigger than the Pi or screen itself; proportionally the overhead of the breakout connectors and the garden etc are quite big. Once you incorporate it into an actual permanent build that’s much slicker. Too wide to fit the width of a Pi Zero unless you’ve got it raised high enough up that it clears all the GPIO pins, but on something more custom you could fit it quite neatly on there if you weren’t needing standard headers.
by Anonymous about 0.96" SPI Colour LCD (160x80) Breakout via REVIEWS.io
4 years ago
Works nicely, decent viewing angle. Backlight is bright enough for day; a bit too bright for dark viewing but that’s a niche case anyway. With it sat in the mini Breakout Garden on top of the Pi Zero it feels like everything needed to drive it it much bigger than the Pi or screen itself; proportionally the overhead of the breakout connectors and the garden etc are quite big. Once you incorporate it into an actual permanent build that’s much slicker. Too wide to fit the width of a Pi Zero unless you’ve got it raised high enough up that it clears all the GPIO pins, but on something more custom you could fit it quite neatly on there if you weren’t needing standard headers.
by Anonymous about 0.96" SPI Colour LCD (160x80) Breakout via REVIEWS.io
5 years ago
Be aware, this has a very fine ribbon cable on the back that stands proud of the PCB and so care is needed when plugging in or removing from the garden. Driver on the Pi is a long install - support is simpler on the Arduino boards! Quality is good (esp given the size) and it is nice and bright.
by Andrew about 0.96" SPI Colour LCD (160x80) Breakout via REVIEWS.io
6 years ago
Have a stack of headless pi-zero W's that I was planning to mount to the backside of my main monitor, and now I can have status displays for them all that sit on the monitor edge. Soldered this up in about two minutes and was off on a mission to deploy rainbows. Install script does not enable SPI in config.txt, needed to do that on my own, no big deal. 5V pin for me caused distorted colors (no colors matched). It also seemed to cause a problem with the BL pin. Connected to 3.3V pin and all my troubles with the colors went away. Install script did not download the latest from github, and as such deployrainbows.gif was missing. I had to download that manually, again, not a problem. gif.py did not display the gif for me with rotation=90, which is default for the library. I had to adjust the code to swap width/height to get it to display correctly when rotated to 90/270. The overall initial experience was a little lacking, but I feel awesome since I got everything working. Pros: Wiring Directions are compete. Looks amazing - Colors are bright. Viewing angle is insane (in the membrane). Smooth animation on deployrainbows.gif and other samples. Definitely worth the money. Cons: None that I can see.
by David about 0.96" SPI Colour LCD (160x80) Breakout via REVIEWS.io

User photos