• 0 Posts
  • 6 Comments
Joined 1 year ago
cake
Cake day: June 13th, 2023

help-circle



  • I’ve been thinking about this recently too!

    I kind of have a very crude version of this, by simply mounting my garage door tilt sensor as high up on the door as I could. Since it would go horizontal along with the very first section of the door, it triggers as soon as the door is open about 1/5 of the way.

    Response isn’t very fast, though, so if I wanted more precise control I was thinking about building 3 ESP distance/ultrasonic sensors mounted to the ceiling pointed downwards, one at the end of the track, one about 1/4 of the way from the end of the track, and one at the start (where the top of the door stops when it’s completely open).

    So the sensors would detect in order of sensors triggered, “closed -> cracked -> slightly open/ing -> open”.

    Tracking the previous state of the door in a variable would let me know the direction the door is moving as the sensors get triggered too.