How to monitor % open of a balcony sliding door

Does anyone make a device to monitor % open/close of a door

We have a rental condo, and we are struggling with renters leaving the door open, and causing damage to the condo interior from ocean winds bringing in moisture. Which create high humidity in the condo.

0-100% would be nice, but I really only need something like, example 0-25%, 25-50%, 50-75%, 75-100%,

I know I could install several door contacts and use code in RM to get this done.
I was hopeing not to have all those door contacts to deal with.

Does anyone make a position device that does this?

Can't think of a single device that does this but could use a series (3-4 at intervals) of contact sensors but only install 1 magnet and keep track of the last one "closed".

2 Likes

that's likely what I will have to do. I was trying not to have all those devices on the door. But most likely will be limited devices available.

1 Like

+

That would be a cool use case to try and use a sonic sensor. However, not such a good idea for a rental condo.

Combination of a contact sensor and a humidity sensor. Contact for when the door is open even a little and the resulting humidity inside. That way you can correlate an open door with the humidity inside.

1 Like

Hubduino DIY Project with Ultrasonic Distance Sensor. If I am not mistaken the sketch is already exist and ready to go. Installing sensor could be a bit tricky but should be doable.

1 Like

I'd look at mounting a 10 turn potienameter w gear, to the door frame w a serpentine belt to a pulley on the other side of the frame. Put an eye bolt on the door connected to the belt. As the door moves, it turns the pot.
Connect the pot wiper terminal to an analog input of a sonoff basic/esp8266 with tasmota firmware. Power and ground go to the other terminals.
If you calibrate this right, youll know exactly where the door is positioned.

The downside of any of these solutions will be that regardless of position (i would use a simple contact sensor) is that it won’t monitor if the door is locked. (i know that has nothing to do with original sea and wind issue but just an additional thought)

1 Like

Screenshot 2025-06-07 at 1.35.55 PM

Just found this: IR distance sensor includes cable (10cm-80cm) [GP2Y0A21YK0F] : ID 164 : Adafruit Industries, Unique & fun DIY electronics and kits connected to a Fibaro Smart Implant and mounted on the frame in the red circle could give you more accuracy than just the 25% range intervals you're looking for. Put a mirrored sticker on the door at the blue circle for improved sensing.

Edit: removed the mmWave idea after finding the IR distance sensor.

3 Likes

Thats a GREAT idea!
Be sure to select the proper Fibaro module. There are differences in the z-wave freq standards between Europe and the U.S.

Here's one solution for one type of sliding door lock-state detector for a particular type of sliding door: