Recently I made a change to my daily driving vehicle, read about it here. My new vehicle doesn’t allow me to park inside my integrated garage which changes how I enter/exit my house. Previously, after parking in the garage, I could enter the house through the interior door to go inside. Now, I have to park out in the weather and go through my front door. Because of this change, I had to take a long hard look at the current smart lock on my front door.
When moving into my current house I purchased a smart lock that was the best available at the time. The Yale Assure SL had all the bells and whistles including HomeKit integration (via August), touch keypad, guest accounts, no key access, etc. Since then, I’ve had nothing but troubles with this lock which mostly was how fast the batteries would drain. The 4 AA batteries lasted between 7 and 21 days and more times than not, the door would be unlocked with dead batteries. When I was only parking in the garage, and not entering/exiting through the front door, this really didn’t impact me. At one point about year ago, I contacted Yale about the battery draining issue, and they sent me a new lock. The replacement lock didn’t help the issue and I was back to always having dead batteries.
Frustrated by this and using the front door more than ever, I set out to fix the problem. The latest and greatest technology for smart locks involves a new wireless standard called Thread but also a way to a better way unlock the door with your phone called Apple home key. The only available lock with this technology is the Schlage Encode Plus. Of course this lock cannot be found in stock anywhere and is not available to order (it’s also ugly). I needed a solution I could implement now and not wait for something to be manufactured.
I decided I would try a similar lock to the Yale Assure SL but had Google/Nest as the integration/backend. I went to my local Best Buy and picked up the Nest x Yale – Smart Lock with Nest Connect. The install and most of the parts were similar to my outgoing Yale lock so that made install a breeze. Setting up the lock in the Nest app was very easy and I was up and running within minutes, unlike the August implementation.
A couple of missing features that I was accustomed to on my previous lock were auto-unlock and a door sensor to detect if the the actual door was ajar or not. The August integration of the previous lock used your phone’s GPS to determine when you left or arrived your home, then lock or unlock your door. The idea behind this was great, but regularly failed. When the lock had battery power, upon arriving home, my door wouldn’t be unlocked. Due to the nature of Bluetooth and WiFi, my phone would also struggle to unlock the door, standing directly outside of it. That being stated, I was motivated to get these two features back, in another way.
The door sensor was pretty easy. I already have an Aqara Zigbee hub on my network so I can easily add their cheap sensors. I purchased a Aqara Door & Window Sensor and added it to my network and Apple Home. The sensor has two parts, one that goes on the moving object, in this case the front door, and the other piece goes on the static object, the interior wall. When the two pieces get close enough for a magnetic attraction, the sensor detects that it is closed. Upon installing the two sides on my door, I realized the door-side sensor was too far from the other sensor when closed. After a couple hours, I designed a 3D printed extension for the sensor, and now it lines up perfectly.
Next I had to tackle the auto-unlock feature. The Nest lock does have an auto-lock function, but it’s only time based. Once the door is unlocked, it will auto-lock in 15 minutes, or a preset time duration of your choosing. It doesn’t know if the door is open or closed, so if you leave the door open, it will still lock.
Previous to getting this lock, I purchased a Starling Home Hub that smartly integrates (almost) all Nest products into Apple Homekit. This is a much better solution than running a Nest plugin in Homebridge, plus you get a few extra features. When I added the new lock to my Nest account Starling Home automatically added it to Apple Home and I was able to control it immediately. This led me to using Apple Home and Apple Shortcuts to achieve my auto locking and unlocking goals.
First, I had to setup a plugin in Homebridge to allow me to have a dummy switch (read about why here). After that, I setup another dummy-type switch in Homebridge that triggers on a set time duration. This allowed me to constantly check if the door was open or closed, then act on it. All of this is done in Apple’s Home app with their built-in automation. It allows you to trigger actions based on your phone’s location, which is perfect for when I leave or arrive at home.
This locks my door when my phone detects that I’m out of range of my house. The DoorChecker automation also checks if the door is open/closed. If it’s open, it will not lock the door. In addition to when I leave my house, the DoorChecker automation runs every 15 minutes to ensure my door is always locked when closed.