Automating a Sliding Glass Door’s Lock with HomeKit

Automating a Sliding Glass Door’s Lock with HomeKit
Automating a Sliding Glass Door’s Lock with HomeKit



Sliding glass doorways grace houses all over the world and although they supply a pleasant view with loads of gentle, most of them have a fairly obtrusive flaw: an incapability to flip the lock from the skin. That’s an actual downside if you wish to come and undergo that door. There are locks available on the market, however sliding glass doorways lack the standardization of regular doorways and so aftermarket locks aren’t at all times suitable. Annoyed by all of that, Redditor Formal-Shallot-595 built an electronic lock for their sliding glass door that connects to Apple HomeKit for automation.

Formal-Shallot-595 and their spouse lease the house they stay in, in order that they aren’t capable of do something that may’t be undone once they transfer out. That meant that Formal-Shallot-595 needed to give you an answer tailor-made to the door, however that’s fully reversible. They got here up with an digital, Wi-Fi-connected, servo-actuated sensible lock. Due to integration with Apple HomeKit, it’s straightforward to automate and management remotely.

The essential thought is fairly easy: the machine attaches to the sliding glass door’s deal with and makes use of a servo motor to flip the lock. However a number of the specifics of the implementation are fairly attention-grabbing.

The mind of the machine is a generic ESP32-based improvement board, which Formal-Shallot-595 selected for its Wi-Fi connectivity. It controls the FS90R continuous-rotation servo motor that actuates the door’s built-in locking mechanism. That could be a lever-style swap, which is why it can be crucial that the servo be a continuous-rotation mannequin. To get the largely linear movement and sufficient torque, the servo strikes that swap by means of a rack-and-pinion gear mechanism and that requires a number of rotations.

Formal-Shallot-595 used HomeSpan to attach the machine to Apple HomeKit. HomeSpan is an open-source library particularly for constructing HomeKit-compatible ESP32-based gadgets. Like some other HomeKit machine, Formal-Shallot-595 can actuate the lock remotely with their iPhone or have it comply with a schedule.

Nonetheless, the cleverest side of this mission, in my humble opinion, is the ability connection. As a result of the lock slides with the remainder of the door, an hooked up energy twine would drag round and get in the way in which. And, in fact, a battery would require occasional alternative or recharging. So Formal-Shallot-595 hooked up a spring-loaded pogo pin connector to the body. When the door closes, that connector gives energy the machine. That does imply that it’s going to flip off each time the door opens, however why would that be an issue? No person wants to interact or disengage the lock when the door is open, anyway.

Now Formal-Shallot-595 and their spouse can come and undergo the sliding glass door as they please.

Leave a Reply

Your email address will not be published. Required fields are marked *