Many years ago, we upgraded to a keypad lock on our door. Not even kidding: it revolutionized everything about my life. Since we live in the city and I take the train to work, there are a lot of days when I could just stroll right out the door with no keys, free as a bird. I cannot stress how awesome of a feeling that is. I mean, I guess it doesn’t SOUND that great, and I probably wouldn’t have thought so either, until I did it. So I guess you’ll have to take my word for it: it was awesome. And that’s on top of the regular bonuses, like being able to let someone in if you’re not there or knowing that if there’s some weird situation where the kids are dropped off and we’re not home, they can always get in the house.
I think that was really my first infatuation with the idea of a “smart home”, but let’s be honest: I write science fiction. I have really been dreaming of a smart home for basically my entire life. Sara can attest to the amount of brain space I have dedicated to thinking about smart home integration. Spoiler alert: it’s a lot.
Sara on the other hand is not so sold on it, which means that I have had to sneak in pieces here and there, whenever I can. 🙂 In her defense, these things generally tend to be expensive, and usually what you get for that money is the ability to say, “wow, that is so cool!” So, you know, to SOME people maybe that is not worth it. I will let SOME people speak for themselves.
Since we moved to the new house, the main problem I have been facing is what to do about the front gate? Our fancy keypad lock doesn’t do a whole lot of good if you can’t get to it (and by extension, my dream of not carrying my keys was dead).
My first attempt was to buy a keypad or smart lock for the gate. No matter how many times I looked into it, I just couldn’t find something satisfactory. Most smart locks assume the interior part is going to be inside your house, and is therefore not waterproof. There are a few locks that would work but 1) they are expensive, and 2) in addition to buying the actual lock, I would probably have to weld a plate onto the gate or something to attach the lock to. So it wasn’t going to be cheap, especially if I had to hire someone to do it.
In other words, a non-starter.
Eventually I had an idea: what if instead of changing the lock at the gate, I was somehow able to put something inside the house that could tap into the buzzer system? I couldn’t unlock the gate per say, but if I could mimic pressing the buzzer button I could still open it up remotely.
My first go involved using a MIMOLite controller, but the problem was it required a smart hub to communicate with. I was fairly confident I could get it done, but it was going to cost about $140ish. Cool, but not cheap.
I thought about this off and on for probably 6 months, occasionally doing more research, until one day I strolling through a DIY smart home website and I discovered the Sonoff 1 Channel Inching /Self-Locking WiFi Wireless Switch. This thing was almost too good to be true: instead of paying $140, I could rig up my gate buzzer for about $6 (I ended up spending another $6ish for a long micro USB power cable, so lets call it $12).
The first thing I needed to do was to figure out how the buzzer worked. It seems a little overly complicated, but with the help of some time and some good internet detective work, i was able to figure things out.
Once I had that, it was just a matter of hooking up the switch. The best part about this is that it is completely non-invasive. Honestly, if you lived in an apartment building you could probably hook this into your system no problem.
The long and the short of it is when the relay receives a signal over wifi (via the free sonoff app), it simply closes a circuit. The relay has a mode that allows it to close for a short period of time before releasing, which is all we need to trigger the buzzer.
Et voila! Works like magic! See for yourself:
You can even incorporate it with Google Home, which would allow you to open the gate with voice commands, if you’re into that kind of thing.
Now that this is done, I don’t really know if I have any more “smart” integrations to do, although I’m sure I can come up with a few if I put my mind to it. I can only hope they will be as cheap as this one turned out to be!