Giter Club home page Giter Club logo

mohss's Introduction

My own Home Security System

This is a personal project to make a Home Security System with a Rapsberry Pi.

The first reason to do it is to learn how Rapsberry's GPIO works. The second one is to make a personal project which mix hardware and software.

Probably I will replicate some code in different languages like Ruby, Python and Perl until I decide in which one to code all (or maybe I'll use all of them)

What you need

This project is made for a Raspberry, so you need one. At this moment Mohss send tweets, so you need an internet connection (I use a wifi usb dongle), so you can use a Model A with a wifi usb or a Model B with ethernet.

I use a switch/sensor to know if the door is open or not.

See mohss.png to know how to recreate the circuit:

GREEN and RED are one RGB led!! The orange one is a normal led.

INSTALL

This project has been tested using Ruby 2.1, and few gems are required. To install them you'll need gcc compiler and ruby-dev libraries

apt-get install gcc ruby ruby-dev
gem install pi_piper
gem install twitter

I think you don't need anymore.

You need to create a config.yml file with some needed configuration parameters (use config_example.yml as an example). After that, I execute mohss in a "screen" session to debug it.

./mohss.rb

Or you can add it to the root's crontab to execute it after a reboot (it's need root permissions for GPIO):

@reboot cd /root/mohss && ./mohss.rb >> /var/log/mohss.log

TODO

This is a very first primary alpha non-production just-for-fun project and there are a lot of things to do. If you have a feature request contact me.

For other, see TODO file

License

Copyright (c) 2013, Ruben Gomez under GNU General Public License v3.0:

http://www.gnu.org/licenses/gpl-3.0.html

Iโ€™m not responsible for any harm the code or the circuit may cause.

Thanks

Special thanks to the Raspberry Pi Foundation, www.circuitlab.com and all the Free Software developers.

mohss's People

Contributors

yuki avatar

Watchers

 avatar  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.