# Sonoff SNZB-04P - Door sensor not working

**URL:** <https://community.homey.app/t/sonoff-snzb-04p-door-sensor-not-working/151882>\
**Category:** Devices\
**Created:** [March 1, 2026, 1:54pm UTC](https://community.homey.app/t/sonoff-snzb-04p-door-sensor-not-working/151882 "2026-03-01T13:54:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![korthoga](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/korthoga/32/123371_2.png) [@korthoga](https://community.homey.app/u/korthoga)\
**Post date:** [March 1, 2026, 1:54pm UTC](https://community.homey.app/t/sonoff-snzb-04p-door-sensor-not-working/151882/1 "2026-03-01T13:54:58Z")

</div>

I have a couple of door sensors from Sonoff and I have a problem. The doors that opens and closes they are working as they are supposed to.

But the ones used on sliding doors and the garage door sometimes register the door as open even though it’s closed. The magnetic sensor is maximum 10mm away from the sensor and it’s centred as the markings shows. If I open the door and closes it again it registers the door as closed

I’m guessing they’re not good with sliding doors or does anyone have a tip fixing the problem?

Maybe someone has a tip on a flawless product? 😎

---

<div class="post-metadata">

**Author:** ![Tom\_ten\_Den](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tom_ten_den/32/120986_2.png) [@Tom\_ten\_Den](https://community.homey.app/u/Tom_ten_Den)\
**Post date:** [March 1, 2026, 2:13pm UTC](https://community.homey.app/t/sonoff-snzb-04p-door-sensor-not-working/151882/2 "2026-03-01T14:13:43Z")

</div>

Perhaps it helps if the door approaches the sensor differently; try turning the sensor 90°.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [March 1, 2026, 9:39pm UTC](https://community.homey.app/t/sonoff-snzb-04p-door-sensor-not-working/151882/3 "2026-03-01T21:39:10Z")

</div>

I’ve four Sonoff SNZB-04 contact sensors (via zigbee2mqtt), and they turn out to be flaky, just like you describe. With usual opening/closing doors (no sliding doors here). They’re very cheap / the cheapest as well.

I’ve also four Aqara MCCGQ11LM (lumi.sensor\_magnet.aq2) contact sensors, and these are 99.9% accurate, so highly recommended for their functionality. I recently purchased another 8 of those!

Note: You should be aware of the fact the Aqara and Homey zigbee combination **_can_** have unexpected behaviour, specifically when you’ve paired Ikea zigbee lights to Homey as well which are within reach of the Aqara sensors.

---

<div class="post-metadata">

**Author:** ![korthoga](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/korthoga/32/123371_2.png) [@korthoga](https://community.homey.app/u/korthoga)\
**Post date:** [March 3, 2026, 4:45pm UTC](https://community.homey.app/t/sonoff-snzb-04p-door-sensor-not-working/151882/4 "2026-03-03T16:45:33Z")

</div>

![IMG_1401](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/2/320fa1dff42783acba35559b6ed90ebc3f82149e.jpeg)

I tried. It’s still 50/50.

The one above is from my home security. It’s 100% but it’s a bit slower via Homey.
