Phase 1 Nearly Done...

A project log for Home Automation - Garage Door Opener

Extract best practices from existing garage door projects. Build version that suites my needs; eventually integrate into other HA efforts.

luffmanbluffmanb 04/17/2016 at 21:000 Comments

I know you're getting tired of hearing this (I'm certainly tired of having the excuse to give), but I was on business travel again all last week. Got back Friday afternoon and was able to spend some more time on this project Saturday. I hope I'm done traveling for a few weeks at least, so expect to see some significant updates this week and next.

In general, the RPi-triggering-physical-interface-w/-garage-door is ready. I spent Saturday walking through several projects' options of web interfacing, and part of this required me converting my Bash GPIO cmds to C-based WirePi commands to work right. Again, I keep seeing a lot of projects using multiple layers of web frameworks/languages, and unfortunately, very few so far do a good job of explaining the details of how to implement all the various pieces. I know some HTML5/CCS3, but I'm no expert in JavaScript, node.js, jQuery, WebIOPi, etc, and I don't really want this to become a big web programming project.

In the end, I have been able to get a simple web interface to trigger the relay from inside my LAN via web browsers on both iPhone and computer. So while I'm not quite happy w/ it yet, I have at least demo'd a working prototype. If I have time, I would like to incorporate a simple "take photos" or "stream live video" kind of thing during the operation of the door open/close transitions, but I don't want to get too bogged down on the web interface when I might be ditching it entirely for OpenHAB or some such thing anyway. We'll see...

Also, I received my SECO-LARM SM-226L-3Q Overhead Door Mount magnetic reed switch while I was gone.

At this point, to finish up Phase 1, I simply have to:

  1. Test out the reed switch and integrate it into the code.
  2. Finalize an initial-use webpage.
  3. Permanently mount/wire everything in the garage.
  4. Final integration testing.