2025-05-17 20:53:00 +02:00
2025-05-08 13:19:20 +02:00
2025-05-17 20:53:00 +02:00
2025-05-08 14:21:45 +02:00
2025-05-08 12:35:21 +02:00
2025-05-08 14:21:45 +02:00
2025-05-08 14:23:11 +02:00
2025-05-08 12:51:20 +00:00

door-alarm

This is a simple, home-made door alarm based on ultrasound sensor distance measurements

The peripheral device is powered by a Raspberry Pi Pico W, with the following diagram

door alarm peripheral device circuit diagram

It works by pointing the ultrasound sensor at the door from the side, the device being placed on the doorframe. While the door is closed, the distance will be 1-5 cm, when the door opens, the side of the door will move, and the distance will be greater the more you open the door, at a 90 degree open, the distance will be the width of the door

After getting the distance and comparing it to the threshold, the peripheral sends updates to the server, which may or may not send a notification to gotify based on whether the door is locked (on the server)

Description
A home-made door alarm based on ultrasound sensor distance measurements
Readme GPL-3.0 7.3 MiB
Languages
Go 65%
Python 34.3%
Dockerfile 0.7%