Skip to content

simianhacker/rpi-garage-door

Repository files navigation

Raspberry Pi Garage Door Controller

Have you ever woken up in the morning to find you left your garage door open? This project attempts to solve that problem by creating an automatic garage door controller that close the garage door after being open for 2 minutes. I've also included my custom device type and connect app for integrating this with the SmartThings hub.

Prep

I'm assuming you know how to setup your Raspberry Pi with your favorite distro and Node.js (v0.10). I'm also leaving it up to you to figure out how to either start the server via upstart, a cron with the @reboot directive, or runnig it via screen.

Install

  1. git clone https://github.com/simianhacker/rpi-garage-door.git
  2. cd rpi-garage-door && npm install
  3. node index.js

Parts List

  • Raspberry Pi A+/B+ with case, wifi adapter, micro SD card and 2000mA power suppy.
  • 2 Chanel Relay Switch link
  • Magnetic Switch (Reed Switch) link
  • 1kΩ Resistor
  • 10kΩ Resistor
  • 30 feet of wiring (Cat 5 works really well because you can use the left over for jumpers on breadboards and the wires that run from the relay to the garage door switch)
  • 5 Female to Female jumper cables
  • Sodering Iron
  • Soder
  • Heat shrink tubing

Wiring Diagarm

RPI Garage Door

SmartThings Integration

SmartThings Integration

Inspiration

http://www.driscocity.com/idiots-guide-to-a-raspberry-pi-garage-door-opener/

About

A Raspberry Pi automatic garage door controller

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published