Coder Social home page Coder Social logo

rpi-switch's Introduction

This is a small app running on Raspberry Pi as s remote switch for garage doors. The RPI is connected to home Wifi that is accessible outside the house as well. Any mobile phone/pc that hasve access to home Wifi can access RPIs website and open / close the garage doors. No more specific garage doors remote control is required :)

Prerequisities

  • a garage doors motor with connector to manual control like Hormann etc
  • Raspberry Pi with a connection to home wifi
  • Relay module to control the doors motor like this one https://www.sparkfun.com/products/13815

Software used

Configuration

  • connect the relay module to RPI's GPIO pin 2
  • Udpate /etc/webiopi/config to direct to custom web page like doc-root=/home/pi/WebIOPi-0.7.0/mydoors
  • Copy index.html to /home/pi/WebIOPi-0.7.0/mydoors and customize IO pin number where is relay connected
  • If relay pin connected to an another pin, udpate index.html to right pin number

Security

  • the RPI is conneted to homes Wifi that is considered secure
  • if additional security is required, customize RPIs web server to introduce aditional authentication
  • cusotmize RPIs transport protocol to use SSL/https to make secure trasfer if possible
  • if paranoic with home security, install VPN server to RPI and connect only clients with the VPN setup can access the garage doors

TBD

  • connect camera to broadcast image of the garage door to check if open / closed
  • integartion to an home automation system / dashboard

Image gallery from my installation

https://goo.gl/photos/6mYRy5UKS8qQs6747

rpi-switch's People

Contributors

skoky avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.