Making A Hidden Door Status Sensor

The door sensor in its new enclosures. (Credit: Dillan Stock)
The door sensor in its new enclosures. (Credit: Dillan Stock)

A common sight in ‘smart homes’, door sensors allow you to detect whether a door is closed or open, enabling the triggering of specific events. Unfortunately, most solutions for these sensors are relatively bulky and hard to miss, making them a bit of a eyesore. This was the case for [Dillan Stock] as well, who decided that he could definitely have a smart home, yet not have warts sticking out on every single doorframe and door. There’s also a video version of the linked blog post.

These door sensors tend to be very simple devices, usually just a magnet and a reed relay, the latter signaling a status change to the wireless transmitter or transceiver. Although [Dillan] had come across recessed door sensors before, like a Z-wave-based unit from Aeotec, this was a very poorly designed product with serious reliability issues.

That’s when [Dillan] realized that he could simply take the PCB from one of the Aqara T1 door sensors that he already had and stuff them into a similar 20 mm diameter form factor as that dodgy sensor unit. Basically this just stuffs the magnet and PCB from an existing wart-style sensor into a recessed form factor, making it a very straightforward hack, that only requires printing the housings for the Aqara T1 sensor and some intimate time between the door and a drill.

10 thoughts on “Making A Hidden Door Status Sensor

  1. Hmmm

    Could a battery-less energy harvesting door open sensor be made? The magent swiping motion can be used to generate power using a well placed coil. It would make sense to generate the power from the door swing itself, and then have a small BLE or whatever radio transmit a few packets, then turn off when the power is exhausted.

    1. You are thinking too narrowly. These are useful for detecting a break in on external doors. I use them on internal doors as well (I have a multi level house). I use it to assist in automations like lighting and HVAC controls (if one of the doors in my house is left open in the winter the basement HVAC cooks the loft area).

      1. Why would it be limited to that? External doors are much more interesting to monitor. O, and you could train an AI model on the lock audio to determine if it’s locked or not. I am guessing this could work well, especially in combination with the door open/close sensor data.

  2. I may install this on my garage door so I could quickly tell if it’s open or closed by looking at the app. I could also write a script to remind me if the door is open at bedtime.

Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.