Introduction: IPhone Garage Door Opener (Updated!)

Picture of IPhone Garage Door Opener (Updated!)

UPDATED!
I switched to a 12volt relay, added a project box and upgraded the auto relay off  recipe. Joy.

Hi.
I'm a bit ashamed of this hack, since it mostly uses existing technologies, but I shall post it anyway for all of the glory and cash rewards.

My garage opener remote recently passed away with very little notice. This was frustrating because I make it clear to any electronics I adopt that they are to give me ample warning if they are on their way out. No such luck. This remote was a rebel and certainly not a gentleman.

I needed a replacement, naturally. Universal remotes are fine, but there are a few limitations which I'm not keen on:

1. Limited range. I have to be within 50 feet or so of my house to use them. What if I want to let a family member in who is locked out in the frigid 90 degree Florida weather, or open the house for the dog walker (if I had a dog walker), or make all of my belongings available to the crooks who live in my neighborhood for insurance fraud purposes? Right.

2. Remote batteries die. I don't like death. It makes me uncomfortable. iPhone can be recharged anywhere and everywhere, even in the car (imagine that!)

3. Why carry more devices around than necessary? These smart phones are pretty damn smart these days. They should be doing more for us, like massages and walking our dogs. Also, opening our garages or other entry-ways. Plus garage remotes weigh about 45 lbs. Not cool.

4. Physical buttons are a point of failure. Chances are, I'll have to replace an old-school garage remote again after a few million uses. Who needs that kind of uncertainty in their life? No sir, a capacitive (really spell check, "capacitive" is not in your dictionary in this modern age?) touch screen is superior in my book! Dare I say it has billions of touches in store before the glass wears through and liquid crystal toxins seep into my fingers!

I'll admit that point 4 was a weak one, but I like things in fours, which is why I've removed both of my thumbs (see pics).
I can type anything I want here, can't I?
Whhheeeeeeeeeeeeeeeeeeeeeeee! Wooooooords!!!!!


Continue on to see the hows and whats, friends!

Step 1: Belkin Wemo Wifi Outlet (or, Finding Wemo)

Picture of Belkin Wemo Wifi Outlet (or, Finding Wemo)

Here's the first half of the magic, kids.

These Belkin Wifi outlets are great. They can be controlled from your phone, from anywhere. They cost about $50 at Apple, Target, etc. A bit steep for turning a light on, but I found it a justifiable cost for this use. Certainly there are many other ways to do this same thing (Raspberry Pi, Arduino, laptop, unused cellphone), but this was easy and took about a half hour once I had the supplies in hand.

Setup is really easy. The Wemo connects itself to your home Wifi router and becomes accessible from your phone via their app.

The coolest part is that IFTTT (If This Then That) now supports the Wemo! If you're not familiar with this, then I'll tell you about that .(see what I did there?)

Visit IFTTT.com.It's a free service which connects many different data sources together based on simple rules called recipes. It can even control certain hardware, like this Belkin switch or the Philips LED Hue light bulbs.

More on IFTTT later.

Step 2: The Power

Picture of The Power

Luckily there is an extra power outlet on the ceiling next to my opener. Perhaps this is how they all are, but I'm going to pretend that I'm lucky to feel better about myself. Also, I have a gambling addiction.

The black cord you see plugged into the Wemo is just a chopped off old lamp cord. I'll show it's use in the next step, but PLEASE MAKE A NOTE OF IT! It needs to be of the type that can handle wall current (110 volts typically, or if in the UK something like 153,000 volts... i don't really know). You'll see why in a moment... turn the page.

Update:
I replaced this power cord with a 12 volt wall wart style transformer instead of a direct 110 volts. Made me feel better. Just need to get a picture of it up here.

Step 3: Switch It Up.

Picture of Switch It Up.

Now then, there comes a time in every young man's (woman's) life when he (she) must do some actual work. Booooo...

Here we see a Tyco Electronics 12 volt Mechanical relay switch. I got this at Radio Shack, but any relay switch which activates under 12 volts and has a normally open state will work. What does normally mean? Glad you asked.

These relay switches work in the following way:
1. Power is applied to an electromagnetic coil inside
2. a metal plate is drawn to the coil, which moves a bunch of metal contacts
3. Some contacts which were already touching (closed) become open, and some open ones become closed.

We want to use two of the normally open contacts, so that when power is applied, they will close and complete a circuit which we'll use to trigger the garage opener. Read on.

Note:
Is should be noted that the 12 volts is simply used here to close the magnetic circuit. This voltage DOES NOT and SHOULD NOT be passed into the garage door opener circuitry. That would likely break stuff. I can't be held responsible for the loss of your home! Mine is 300 square feet. I've got nothing to lose!

Note again:
I did go back and insulate the wires after taking the photo. You must do this to ensure no stray voltage gets out or shorts on the metal housing of the garage opener or someones face. Shrink wrap tubing or black electrical tape should do it. Also, zip tie this relay to a secure post somewhere, just like I didn't do here.

Step 4: Trigger Wires

Picture of Trigger Wires

I have connected the two yellow trigger wires to the same two screw terminals that connect to the manual garage opener button coming from my wall. Be sure they are yellow, since no other color will work. Yellow lets electrons flow best (none of that is true).

The color does not matter. Any wires will work for this step since it is only being used to close the circuit, just as the original wall button wiring does when pushed. I left the original wires there too so that the wall button still works.

I cannot speak to every opener type here, but this is my setup. Simple and clean. Tracing the wires from you wall mounted button is a good way to find out which terminals are the right ones.

Step 5: If This Then That!

Picture of If This Then That!

So back to IFTTT.

It's a great free (for now) service based out of San Francisco that lets you set up simple rules (or Recipes) to trigger events, messages or actions.

I've set up a few easy ones, which let me trigger my Wemo any time IFTTT receives a text or voice mail from my phone number.
Here's the main recipe: https://ifttt.com/recipes/96423

It is important to note that I have chosen the Wemo action "Turn on then off". This allows the garage opener to activate, but then release, as if the physical wall button was being pressed. If the relay is left switched on, who knows what atrocities could occur!?

Really though, that wouldn't be safe. I accidentally left it switched on for an entire day, and it became fairly warm. For this reason, I added a few more rules which shut the Wemo off several times a day for safety. Read on.

Update:
I added one more rule to rule them all... a rule that says "you turn that junk on? Well I'm turning it the hell off, see!?"
This means that any time the Wemo is triggered on, IFTTT goes and turns it off. So I can use the Wemo app to open now without having to remember to turn off the relay too.

Surely there's a better way.

Step 6: Safety Last!

Picture of Safety Last!

Here are the safety shutoff recipes on IFTTT.

I just ping the Wemo 4 times a day and tell it to turn off. This affects nothing negatively. If its already off, as it should be, it does nothing. It is not a toggle. At 3am, 6am, 3pm and 6pm my Wemo is told to turn off. Do more if you're paranoid like me.

If somehow I got drunk on chocolate and passed out on my phone with the Wemo app open and my tongue touching the "on" button, then one of these recipes would save my life, or at least save the relay from burning out eventually. Not much different than if I passed out and stuck to the wall in the garage with my tongue on the wall mounted button (button would like that too much).

Be sure that you do not set up any more Wemo based rules! IFTT only supports one Wemo right now, so if you try to add another rule thinking you're turning lights on in your house, it'll affect the garage Wemo. Don't do it!

Update:
Apparently IFTTT now supports multiple devices! Woohoo!
http://updates.ifttt.com/post/50125496053/belkin-wemo-multi-device-control

Step 7: Sucess, With One "C"!

Picture of Sucess, With One "C"!

I can now use Siri to text my house and open the garage.

I can now text my house the old fashioned way to open my garage.

I can now call my house to open my garage.

Notice it says "The Mansion". When you text or call iFTTT, they give you a number for their automation servers. I just entered that number in my contacts list as "The Mansion" so that I could say "Siri, text The Mansion and tell it to open my damn garage, now please!"

You can store the number as anything you want. Don't follow my advise. It isn't sound.

Thanks for reading!
I'll be figuring out a way to get out of my garage (phone isn't charged).

Comments

Tall-drinks (author)2016-03-07

I've seen quite a few tutorials on doing just that online. A quick search ought bring one up :)

sumthin2die4 (author)2016-03-07

Hey. I have a question that I guess anyone could answer but I was thinking of using the Wemo to do this project until I saw up top you said it could be done with an old cellphone. I have a very capable android phone that I am not using. how could I go about using it to do a similar task? I've always thought about using my phone to do achieve this but can't think of a way to reach my goal... if anyone has any tips let me know. I know someone made the ihued cable. is that something we could make in a diy version?

JohnM109 (author)2015-07-03


Might some day
Iphone will get my garage thing re-arranged and I can give a complete makeover
with my fingers. I will try these instruction for garage door opener and
see will it work with my garage door or not.

CarlosG18 (author)2015-06-01

Besides having the ability to open/close my garage door, I also want the ability to know if the garage door is open. I'd like to have the following feature: Check garage door state at a scheduled time (before I go to bed) and if door is in open state, send me a text or email. We have forgotten to close the garage door too many times and then wake up the next morning and find the door open. So is there any extension that would support the scheduled notification feature?

keegancdr (author)2015-04-30

So does anyone know why texting is limited with ifttt?

Jose MiguelG (author)2014-12-12

Have you seen the WeMO Maker? it has a low volt relay built-in, that could make the trick without the extra circuit.

I am ordering one, and trying this idea with it, I'll let you know how it goes.

chulampin (author)Jose MiguelG2015-03-24

hey guy!!!!! on that wemo maker, did you ever make it to work with your garage????

fernmac1 (author)2015-03-11

Hi,

i followed your instructable for wemo garage door opener, this was really inspiring and i did it for myself, i love your writing by the way.

At this time, it works great with the wemo app but i can´t make it work with ifttt because i am not able to send a message to ifttt from my country (Portugal).

Do you know any other way to accomplish that?

By the way you say at the end of your tutorial "I can now call my house to open my garage", how do you do that? isn´t ifttt supposed to work only when you send a message to it?

Thanks and sorry to bother you. :)

JohnW12 (author)2014-12-21

Your IFTTT "multiple belkin wemo" thingamababer is 403 Forbidden: That is what I am getting in Safari on OS X Lion.

Tall-drinks (author)2014-09-26

Good question!
IFTTT supplies a specific number for me to text. The recipe only triggers if the text originates from my phone, so only a villain with my phone can gain access to my home... Or if they can kick the door open... That would work too. ;)

RobertCoates (author)Tall-drinks2014-11-18

it's super easy to hack the Caller ID of your cell phone, so this isn't as secure as you might imagine.

aaroberts (author)2014-09-26

Nice work! In theory, could anyone text your house to open your garage door? Does IFTTT provide some security for that?

Thanks

pfrankovich (author)2014-08-31

Dude, really enjoy your writing style...

Gotta try this, my POS Sears remote just died...

It only lasted 37 years, sigh, guess they don't make stuff like they used to.

takeabyte (author)2014-02-13

I did it! Kind of...I've run into a bit of a snag. My gate opener has the "feature" of automatically closing if I leave the remote button pressed, and it looks like IFTT is taking too long to send the Off command after I've sent the On command. So I send a text to IFTTT, and a few seconds later my gate starts opening, but then it closes again. I'm thinking it *might* have to do with the fact that the WeMo is at the edge of my network and receives commands too slowly. This is also the case if I try to On/Off it through the app on a 3g connection.

takeabyte (author)takeabyte2014-02-14

I think I may have found the component I need to get over that problem..I've been reading up on a time-delay relay, which basically only powers up after the coil is energized, and immediately closes when de-energized. I'm thinking if the IFTTT delay is long enough to trigger the relay, I'd be golden. The risk would be that it isn't long enough, then I'd be in the same boat :P

AnthonyK2 made it! (author)2014-08-18

Great wemo hack. I use wemo's for everything and this was just great to be able to open/close my garage remotely. As I have a CCTV system I can also see the status of my garage door (up/down) on my iphone anywhere in the world. Using IFTTT I use Siri to send a sms to run a recipe to turn on/off the wemo - perfect. I used an old power adapter, a new relay and relay house and the wemo with a total cost of just under $70 AUD. I have plugged the wemo into a surge protector just in case but not necessary. Thanks again.

Tall-drinks (author)2014-07-13

Correct. I've not setup anything which indicates open or close if you are using it remotely. I'm always in eyesight of the door in practice so I have no need to know if its open or closed. On the rare occasions when I have used it from another location (to let someone in the house), I have them on the phone to verify while I do it.

ashah000 (author)2014-07-12

So let's say someone closed the garage with another old remote, how would the WeMo know it was already closed wouldn't it just reopen it? It's just works as a trigger, it will not know the difference between open and closed right?

Or am I missing something here.. hope you can help me out a bit.

Thanks!

Tall-drinks (author)2014-02-11

Great question/concern! Having two kids myself, safety is always of concern. I definitely have the required optical sensor installed and functional. I also removed those auto off recipes from IFTTT in favor of simply sending one Wemo off signal from IFTTT any time it is turned on. Either way it doesn't actually trigger the relay and close on those events. They are not toggle events, they are actual on and off events. Sending an off to Wemo just disables the garage relay, it never makes it close due to how the setup works. Thanks for bringing it up! :)

takeabyte (author)2014-02-11

So what happens if you get home 10 seconds before 3am, 6am, 3pm, or 6pm and open the garage? I assume you have the optical sensor that will prevent closing if there's a vehicle/little baby passing through at those times.

I only ask because we have a driveway with an automatic gate that functions the same way, but for whatever reason, the previous owners didn't install an optical sensor. Scary thought to have the gate close on me or wifey's car!

takeabyte (author)takeabyte2014-02-11

Regardless, awesome instructable, and I hope to be implementing it soon :D

chaskinsnc (author)2014-01-06

I wonder how the new wifi relay that belkin is releasing on the WEMO line can improve on this? THoughts?

austinrocks (author)2013-12-22

tall-drinks,

great instructable. I went to radio shack and purchased the exact same model of 12V relay. however, I came back home to notice that my garage motor is 24v. http://www.liftmaster.com/CatalogResourcesV3/en-us/shared/files/tucmanuals/114A3072.pdf

can you please suggest a relay for 24v and wiring instructions for the same ? i.e which pins to connect where.

thanks,
austinrocks

Tall-drinks (author)2013-12-14

The Wemo simply supplies power to the relay when it gets the signal to turn on. By powering the relay, some of its contacts are closed, which is how I close the door opener loop (same as touching the two wires together on the opener)

Wemo (author)2013-12-13

I'm missing something, how is the relay activated by the wemo?
I understand the principles of the relay and how it triggers the switch.

budman11 (author)2013-11-02

So why use a switch at all? Since you have recipe that turns the Wemo on and then immediately off? Also, the 12V switch you used originally, will that activiate off a 6V wall wart?

Tall-drinks (author)budman112013-11-03

The switch is how the garage door opener wires are closed and triggered. The Wemo alone only outputs 120 volts like an outlet. You can't attach that in any useful or safe way to the garage door circuit.

Unless you dissect the Wemo and make use of its internal relay, but that'll void its warranty and I'm not sure I trust them to last a year. ;)

budman11 (author)Tall-drinks2013-11-03

Right, cuz the GD opener can only handle 12 V not 110 V. Thank you. Got my switch built and tested today - good to go. Working on the Recipe and the WEMO plug tonight.

Tall-drinks (author)budman112013-11-03

Please don't confuse the application of voltage with the closing of the opener switch. The two wires attached to the opener itself have their own voltage which passes through when the button or remote is pressed. We are NOT feeding any voltage into the gd opener at all. We are only applying voltage to the relay which then does the exact same thing as the wall button, it makes two metal contacts touch and allows the garage doors own voltage to flow.

If you are directing any of the 12 or 120 Volts from the wall wort or the Wemo into the GD opener, you will likely fry it or worse, start a fire... Or worse...

Please ask me if this is at all unclear. I'm happy to help further. :)

budman11 (author)2013-10-30

Looks like some clarification on which pins on the switch go to which wires. Didn't see a response to these questions. Please advise.

Tall-drinks (author)budman112013-10-30

Apologies for the muddiness friends. It looks like I made image comments for this, but didn't actually write the instructions in the main text. Sorry. https://www.instructables.com/id/iPhone-Garage-Door-Opener/step3/Switch-It-Up/ In short, if you use the same 120 volt relay in my picture, then 7 & 8 should be connected to the 120 volt wires coming from the Wemo (order doesn't matter). These will power the coil in the relay. Then, On this relay, pins 3 & 5 will be connected to the garage opener trigger wires (the same two screws that have wires connected coming from the openers wall switch. These will connect when the Wemo applies power and trigger the opener. If you use any other relay type or brand, PLEASE consult the packaging or someone qualified before connecting if you're unsure. As you may have read, I've since switched my relay to a safer 5 volt model and instead of a direct power cable from the Wemo as pictured, I have a 5 volt wall wart transformer plugged into the Wemo and pins 7 & 8. I still need to get a picture of that up. Embarrassing.

Tall-drinks (author)Tall-drinks2013-10-30

Where did my line breaks go? This is messy.

kirk1028 (author)2013-07-10

Great post the transformer you used what is the amps ?

Tall-drinks (author)kirk10282013-07-10

I believe I used a 1A transformer, but just use anything with amperage rating higher than the relay you choose. Mine is overkill since this relay only draws 100mA I believe, so a much tinier transformer would be fine. I'd actually like to find a 5V relay and use a 1amp Apple charger transformer for size reduction.

laptopleon (author)2013-07-04

Maybe I'm missing something, but aren't both the WeMo and iPhone connected to the same WiFi router? Still you don't mention the most obvious way to control the WeMo / garage door opener: via the WeMo iPhone app. Right?

Tall-drinks (author)laptopleon2013-07-04

True-ish. :)

I mentioned it on the first page indirectly: "The Wemo connects itself to your home Wifi router and becomes accessible from your phone via their app"

But honestly, I don't care for their app, mostly because it takes it 10-15 seconds to find the Wemos on your network EVERY TIME you open it. IFTTT pings them within 5 seconds every time. I prefer to just text my house as I enter the neighborhood.

Good question though.

Mobetta64 (author)2013-06-27

Absolutely Awesome

RyanKim (author)2013-06-07

Hahahaha!!
I loved your freak'n instructable!!
You ARE my number one favorite.......instrubable-er(?)
Do you write anywhere else? (blog, Op-ed, bathroom wall) Cuz, I'll go read it!

Tall-drinks (author)RyanKim2013-06-12

I tend to write on my hands. And thanks!

ndefilippis (author)2013-06-09

use a relay socket

timwarneka (author)2013-06-05

Funniest ible that I've read all week! :-)

WatsonN (author)2013-06-03

You are my new favourite person.

Tall-drinks (author)WatsonN2013-06-04

Likewise.

byates1 (author)2013-06-03

Great work, great jokes! Lol

Tachyon (author)2013-06-03

This instructable is worth it just for the commentary.

Tall-drinks (author)2013-05-30

And another! Probably should have searched first, but always good to have options eh? :)

https://m.instructables.com/id/Z-Wave-Garage-Door-Opener-Switch/

lil tinkerer (author)2013-05-29

230V in the UK!!! Even we're not that sensible!!!;)

Tall-drinks (author)lil tinkerer2013-05-29

Heh. Thanks.
I couldn't find my bookmark for Google, so I just guessed. ;)

Tall-drinks (author)2013-05-28

Hey-ooohhhh!

Just found this Instructable too, which is probably more robust and gives open/close feedback. I'd follow his instead. :)

https://www.instructables.com/id/Garage-Door-Opener-with-iphone-Arduino-project/

About This Instructable

211,890views

597favorites

License:

More by Tall-drinks:Airplane Ticket Smart Phone HolderGround Projected Information Display (for night jogging)Arduino King Cobra Game
Add instructable to: