iPhone garage door opener

I had this problem where I wanted to be able to get into my garage after a bike ride, but my ancient garage door opener doesn’t have an outside keypad, it has a physical key lock. I dislike keeping my keys with me while bike riding so I wanted an alternative. After looking around trying to figure out how to install a keypad, I decided there was an easier way. I have an iPhone, and I always keep my phone with me on my bike rides in case I get hurt or something. I looked online for someone who has done this, and I found a guy who did but he relied on a bunch of nonsensical home automation software and hardware. It also depended on his computer to be running. I didn’t like that, relying on my iPhone to be working was risk enough.
So, what I did was to source a Modbus slave device with relay outputs. In my case I used a phoenix contact PLC with an ethernet card I got from my local distributor GCF-INC. This is way overkill but I had it lying around. The ONLY programming I had to do to the device was to set it’s IP address so I won’t go into detail about that.
The next thing I did was to purchase a $3 version of ScadaMobile from http://www.sweetwilliamautomation.com/ which allows me to send modbus commands over TCP/IP. Since my iphone is wifi enabled, and I put this PLC on my home’s ethernet all I had to do was tell the phone what the PLC’s IP address was, and send the command down.
Then I just added this little piece of code to open the garage door. Most of it is the ScadaMobile default code.
BOOLValue BOOL C1 ord:=206; sections:=”COILS”; write_access:=9; label:=”Open Garage”; comment:=”Open Sesame”; style:=”button”;
Basically, I’m sending a BOOL (on/off) command to coil #1 using a predefined “button” (momentary button).
The PLC then takes a pair of wires which are paralleled to the garage door open button in my garage, and upon pressing the iphone button the contact closes and the garage door opens. It’s not a total solution because I still need to go to my front door and disarm the house alarm, and there is a fire door in my garage that leads to the basement which I keep locked.
I made a video of how it works explaining this also. Enjoy.

3 Responses to “iPhone garage door opener”

  1. Jeff Pinegar Says:

    Cool application. That Phoenix Contact controller you used is call the Nanoline. Even though you didn’t program it really is the easiest on the market. For example you could program it to automatically close your door, after 5 minutes, or at 6 pm if it was left open.
    If you have other ideas drop me a note I may be able to help. Jeff (Nanoline Product Manager).

  2. gtluke Says:

    That’s really funny, how did you find this so quick Jeff? That post was 1 day old.
    I work for an integrator in Fairfield NJ, we buy a lot of phoenix contact stuff, which is how I got that PLC. It is SUPER easy to set up and program. Bonus points for using the USB cable and free software. I got the PLC from a Phoenix class I took at GCF in Northvale.

  3. Jeff Pinegar Says:

    Actually, I found the video the same way I found out you made this post — Google Alerts. Someone had a Google alert set for “Phoenix Contact”. The link popped up and they emailed it to me. Even more fun, we had a management meet in the afternoon and we started the meeting by playing the video for about 50 managers. It truly is a connected world. Please send me an email, so I can reply with a private message (I assume you can see my email address).

Leave a Reply