Garage Door Opener with iPhone App

I am wondering if my relay went bad on me, after moving to the VIN and verifying it was pushing 5 volts, the relay still does not trip. I ran a wire directly from vin to the DC+ on the relay…

i ordered new parts, as well as a perf board with the buses already joined… I am going to start from scratch… This is like looking for a needle in a hay stack…especially when there are only a couple parts that could be the culprit…

I have everything working using MS WebExpress 2012 on the client side. When I deploy the client program (HTML) to a hosted web server the JavaScript no longer executes. Other programs I have there work fine there. Even in localhost the JavaScript is not executing. It works in WebExpress using its local web server. Any ideas?

check the paths to your javascript libraries? I’ve started using Codio for HTML, and reference CSS and JS from CDN’s

And don’t forget, you can serve HTML and JS from the imps agent!

Got it to work.Thanks for your help.

Ok so I got the new parts and wired/soldered everything. However I think I have a bad relay… When I hit the toggle button the relay trips, but does not reset unless I unplug. Is this a relay issue or transistor issue?

Hey Guys, I also have my garage imp working. Right now I am trying to measure the duration how long the door is open. E.g. if the door is open for longer than 5 minutes, I would like to send a notification to my phone or close the door.
How can I measure the time with the imp or the agent? Any suggestions?

…it was easier than I thought: I used imp.wakeup(300.0, checkDoor) :slight_smile:

hmm, I don’t have a garage, but I think with this function it might trigger while your door is open just for a few seconds, depending where you put that statement

Awesome project. I just finished something similar. I based my opener on the instructable found here (http://www.instructables.com/id/Electric-Imp-Garage-Door-Opener/). However, as the project moved along, the code has changed quite a bit. One feature driving this change was that I wanted the door to close itself after a time limit if accidentally left open. It’s working great at the moment. The only thing I still need to add is a switch to disable the autoclose function for the times when you are working in the garage and don’t want the door to close. This seems to be a popular use for the IMP.

Or maybe just a PIR sensor that locks out the autoclose for a period of time when it senses presence? They are really easy to use. Radio Shack usually has the Parallax version in stock.

But I don’t want some nosey person to be able to continue stealing the contents of the garage if the door does get left open. I was going to place a discrete switch somewhere that I can use when needed.

It’s only a partial solution because the beam sensors that keep the door from coming down on a car are still active.

A situation that I can think of (which will be happening soon) is if I’m painting the door. While the paint dries, there may not be any motion to detect, but I don’t want the door to move.