homekit

i,-too,-installed-an-open-source-garage-door-opener,-and-i’m-loving-it

I, too, installed an open source garage door opener, and I’m loving it


Open source closed garage

OpenGarage restored my home automations and gave me a whole bunch of new ideas.

Hark! The top portion of a garage door has entered my view, and I shall alert my owner to it. Credit: Kevin Purdy

Like Ars Senior Technology Editor Lee Hutchinson, I have a garage. The door on that garage is opened and closed by a device made by a company that, as with Lee’s, offers you a way to open and close it with a smartphone app. But that app doesn’t work with my preferred home automation system, Home Assistant, and also looks and works like an app made by a garage door company.

I had looked into the ratgdo Lee installed, and raved about, but hooking it up to my particular Genie/Aladdin system would have required installing limit switches. So I instead installed an OpenGarage unit ($50 plus shipping). My garage opener now works with Home Assistant (and thereby pretty much anything else), it’s not subject to the whims of API access, and I’ve got a few ideas how to make it even better. Allow me to walk you through what I did, why I did it, and what I might do next.

Thanks, I’ll take it from here, Genie

Genie, maker of my Wi-Fi-capable garage door opener (sold as an “Aladdin Connect” system), is not in the same boat as the Chamberlain/myQ setup that inspired Lee’s project. There was a working Aladdin Connect integration in Home Assistant, until the company changed its API in January 2024. Genie said it would release its own official Home Assistant integration in June, and it did, but then it was quickly pulled back, seemingly for licensing issues. Since then, no updates on the matter. (I have emailed Genie for comment and will update this post if I receive reply.)

This is not egregious behavior, at least on the scale of garage door opener firms. And Aladdin’s app works with Google Home and Amazon Alexa, but not with Home Assistant or my secondary/lazy option, HomeKit/Apple Home. It also logs me out “for security” more often than I’d like and tells me this only after an iPhone shortcut refuses to fire. It has some decent features, but without deeper integrations, I can’t do things like have the brighter ceiling lights turn on when the door opens or flash indoor lights if the garage door stays open too long. At least not without Google or Amazon.

I’ve seen OpenGarage passed around the Home Assistant forums and subreddits over the years. It is, as the name implies, fully open source: hardware design, firmware, and app code, API, everything. It is a tiny ESP board that has an ultrasonic distance sensor and circuit relay attached. You can control and monitor it from a web browser, mobile or desktop, from IFTTT, MQTT, and with the latest firmware, you can get email alerts. I decided to pull out the 6-foot ladder and give it a go.

Prototypes of the OpenGarage unit. To me, they look like little USB-powered owls, just with very stubby wings. Credit: OpenGarage

Installing the little watching owl

You generally mount the OpenGarage unit to the roof of your garage, so the distance sensor can detect if your garage door has rolled up in front of it. There are options for mounting with magnetic contact sensors or a side view of a roll-up door, or you can figure out some other way in which two different sensor depth distances would indicate an open or closed door. If you’ve got a Security+ 2.0 door (the kind with the yellow antenna, generally), you’ll need an adapter, too.

The toughest part of an overhead install is finding a spot that gives the unit a view of your garage door, not too close to rails or other obstructing objects, but then close enough for the contact wires and USB micro cable to reach. Ideally, too, it has a view of your car when the door is closed and the car is inside, so it can report its presence. I’ve yet to find the right thing to do with the “car is inside or not” data, but the seed is planted.

OpenGarage’s introduction and explanation video.

My garage setup, like most of them, is pretty simple. There’s a big red glowing button on the wall near the door, and there are two very thin wires running from it to the opener. On the opener, there are four ports that you can open up with a screwdriver press. Most of the wires are headed to the safety sensor at the door bottom, while two come in from the opener button. After stripping a bit of wire to expose more cable, I pressed the contact wires from the OpenGarage into those same opener ports.

Wires running from terminal points in the back of a garage door opener, with one set of wires coming in from the bottom and pressed into the same press-fit holes.

The wire terminal on my Genie garage opener. The green and pink wires lead to the OpenGarage unit. Credit: Kevin Purdy

After that, I connected the wires to the OpenGarage unit’s screw terminals, then did some pencil work on the garage ceiling to figure out how far I could run the contact and micro-USB power cable, getting the proper door view while maintaining some right-angle sense of order up there. When I had reached a decent compromise between cable tension and placement, I screwed the sensor into an overhead stud and used a staple gun to secure the wires. It doesn’t look like a pro installed it, but it’s not half bad.

A garage ceiling, with drywall stud paint running across, a small device with wires running at right angles to the opener, and an opener rail beneath.

Where I ended up installing my OpenGarage unit. Key points: Above the garage door when open, view of the car below, not too close to rails, able to reach power and opener contact. Credit: Kevin Purdy

A very versatile board

If you’ve got everything placed and wired up correctly, opening the OpenGarage access point or IP address should give you an interface that shows you the status of your garage, your car (optional), and its Wi-Fi and external connections.

Image of OpenGarage web interface, showing a

The landing screen for the OpenGarage. You can only open the door or change settings if you know the device key (which you should change immediately). Credit: Kevin Purdy

It’s a handy webpage and a basic opener (provided you know the secret device key you set), but OpenGarage is more powerful in how it uses that data. OpenGarage’s device can keep a cloud connection open to Blynk or the maker’s own OpenThings.io cloud server. You can hook it up to MQTT or an IFTTT channel. It can send you alerts when your garage has been open a certain amount of time or if it’s open after a certain time of day.

Screenshot showing 5 sensors: garage, distance, restart, vehicle, and signal strength.

You’re telling me you can just… see the state of these things, at all times, on your own network? Credit: Kevin Purdy

You really don’t need a corporate garage coder

For me, the greatest benefit is in hooking OpenGarage up to Home Assistant. I’ve added an opener button to my standard dashboard (one that requires a long-press or two actions to open). I’ve restored the automation that turns on the overhead bulbs for five minutes when the garage door opens. And I can dig in if I want, like alerting me that it’s Monday night at 10 pm and I’ve yet to open the garage door, indicating I forgot to put the trash out. Or maybe some kind of NFC tag to allow for easy opening while on a bike, if that’s not a security nightmare (it might be).

Not for nothing, but OpenGarage is also a deeply likable bit of indie kit. It’s a two-person operation, with Ray Wang building on his work with the open and handy OpenSprinkler project, trading Arduino for ESP8266, and doing some 3D printing to fit the sensors and switches, and Samer Albahra providing mobile app, documentation, and other help. Their enthusiasm for DIY home control has likely brought out the same in others and certainly in me.

Photo of Kevin Purdy

Kevin is a senior technology reporter at Ars Technica, covering open-source software, PC gaming, home automation, repairability, e-bikes, and tech history. He has previously worked at Lifehacker, Wirecutter, iFixit, and Carbon Switch.

I, too, installed an open source garage door opener, and I’m loving it Read More »

i-added-a-ratgdo-to-my-garage-door,-and-i-don’t-know-why-i-waited-so-long

I added a ratgdo to my garage door, and I don’t know why I waited so long

Photograph of a ratgdo

Enlarge / A ratgdo, version 2.53i.

I live in suburbia, which means I’ve got a garage (or a carhole, if you’re not so fancy). It’s a detached garage, so part of my nightly routine when I check to make sure the house is all locked up is to peek out the back window. I like to know the garage door is closed and our cars are tucked in safely.

But actually looking out a window with my stupid analog eyeballs is lame, so I figured I could make things easier by adding some smarts to my garage. The first thing I did was use this fellow’s instructions (the original site is sadly offline, but the Wayback Machine is forever) to cobble together a Raspberry Pi-based solution that would fire off an email every time the garage door opened or closed. I couldn’t remotely open or close the door from inside the house myself (well, I mean, I could with the actual garage door opener remote control), but I could just glance at my inbox to see if the garage door was open or shut in the evenings.

This worked great for a couple of years, until Texas summers murdered the poor Pi. (This was possibly my fault, too, because of the PoE hat that I’d slapped onto the Pi, which resulted in extra heat.) So, I was back to peeking out my window to check on the garage in the evenings. Like a sucker.

There had to be a better way.

Insultingly, offensively awful OEM solutions

I had just two requirements in my search for that better way. First, whatever automation solution I settled on had to be compatible with my garage door opener. Secondly, anything I looked at needed to interoperate with Apple’s HomeKit, my preferred home automation ecosystem.

The first thing I looked at—and quickly discarded—was using my garage door opener’s built-in automation functionality. My particular garage door opener is a LiftMaster, which means that it’s part of a big group of garage door opener brands under the “Chamberlain” banner. The OEM-sanctioned way to do what I want, therefore, is to use Chamberlain’s “MyQ” solution, which—and I am being generous here—is total garbage.

MyQ requires an accessory the company doesn’t sell or support anymore in order to hook into HomeKit, and Chamberlain would really, really, really like you to install their adds-nothing-of-value-to-me app in order to actually control things—likely so they can have a shot at collecting and monetizing my personal and/or behavioral data. (To be clear, I have no proof that that’s what they’d do with personal data, but monetizing and selling it would definitely be playing to type.) Given that the Chamberlain Group is owned by a big value-removing private equity firm with a history of poor stewardship over personal data, this all tracks.

privacy page. It’s about as gross as you might expect.” data-height=”1226″ data-width=”2560″ href=”https://cdn.arstechnica.net/wp-content/uploads/2024/09/ratgdomyqprivacy.jpg”>A snippet from the MyQ <a href=privacy page. It’s about as gross as you might expect.” height=”306″ src=”https://cdn.arstechnica.net/wp-content/uploads/2024/09/ratgdomyqprivacy.jpg” width=”640″>

Enlarge / A snippet from the MyQ privacy page. It’s about as gross as you might expect.

That’s gonna be a “no” from me, dawg. I’d rather jam bamboo under my fingernails than install Chamberlain’s worthless app just for the privilege of controlling an accessory in my own home while facing the potential risk of having my personal information sold to enrich some vampire capitalists.

So what else to do?

I added a ratgdo to my garage door, and I don’t know why I waited so long Read More »