Raspberry Pi Door Alarms
========================

This script is designed around the following platform:

- Raspberry Pi
- [SparkFun Serial LCD](https://www.sparkfun.com/16x2lcd)
- Toggle switch for arming/disarming
- Switches for monitoring open/closed state of doors & windows


When running, this script will watch a set of configured door switches and display a message on the LCD screen when a door opens. It also can send an email notification if the system is marked as `ARMED`. See the `sample_config.py` file for details on how to configure the switches for monitoring.

## Requirements

Requires [pySerial](http://pyserial.sourceforge.net/) to communicate with the LCD.

## Usage

    # python door_switch.py [--debug]

##The whole setup in action

![alt tag](https://raw.githubusercontent.com/mikeokner/rbpi_door_alarm/master/img/img01.jpg)

![alt tag](https://raw.githubusercontent.com/mikeokner/rbpi_door_alarm/master/img/img02.jpg)

![alt tag](https://raw.githubusercontent.com/mikeokner/rbpi_door_alarm/master/img/img03.jpg)