Git Product home page Git Product logo

doorbell's Introduction

Doorbell

========

A Raspberry Pi powered network doorbell server and client, with option for a Blinkstick powered RGB LED porch light.

My old standard doorbell ringer wasn*t powerful enough to be heard throughout the house, so a doorbell with remote ringers was needed. Rather than using standard RF doorbells which may or may not reach the required distance, I decided to create a Pi powered doorbell and ringer that would work over the existing network, eliminating the need for further wires.

Clone the project:

cd /home/pi/
mkdir Projects
cd Projects
git clone git://github.com/worlds6440/Doorbell

Install Blinkstick and Flask:

sudo pip install blinkstick
sudo pip install Flask

Configure Doorbell Server:

Edit doorbell.py and change project directory if you have put the project in a different location.
Edit Doorbell_server.py and change SMTP details.

Assuming the server pi also is a client
Edit Doorbell_Client.py and change server IP.

Configure Doorbell Client:

Edit Doorbell_Client.py and change server IP.
Edit doorbell.py and change isServer to False.

To Test:

sudo python doorbell.py

To check server is up and running, got to http://IP:5000 in a web browser.

Ensure clock is always correct:

sudo crontab -e

Add the following line to the end of the file(corrected for project directory of course).
0 * * * * sh /home/pi/Projects/Doorbell/NTPUpdate.sh

Ensure all python files and shell scripts in project directory are executable

cd /home/pi/Projects/Doorbell
sudo chmod +x *.py
sudo chmod +x *.sh

And finally, to run at boot:

Ensure doorbell init.d script file contains correct project install path.
sudo cp /home/pi/Projects/Doobell/doorbell /etc/init.d/ sudo chmod +x /etc/init.d/doorbell sudo update-rc.d doorbell defaults

doorbell's People

Contributors

worlds6440 avatar

Stargazers

William Jacoby avatar

Watchers

 avatar

doorbell's Issues

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.