Seitanas / abp

antiburglar-pi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AntiBurglar-pi

Home security system, based on raspberry-pi.
System monitors two security zones, two temperature zones. Uses gnokii to send sms via gsm phone or modem, activates siren via relay.
Also monitors status of powerline, reports if power is down.
System control is done via SMS commands:

arm password (e.g arm 1111) - system is armed instantly.
disarm password - armed system deactivates after receiving SMS.
status password - system responds with device uptime and temperature status after receiving SMS.
siren on password - siren is turned on.
siren off password - siren is turned off.

When triggered, alarm warning is sent do a predefined number in config.h file.

Edit src/config.h to fit your needs.
You need to install libgnokii development libraries, also wiringpi:
http://wiringpi.com/download-and-install/
Make sure to create /etc/gnokii.conf config file with configuration for your GSM modem or phone.
Example of working gnokii.conf file with "Huawei Technologies Co., Ltd. E220 HSDPA Modem / E230/E270/E870 HSDPA/HSUPA" modem:

[global]
model = AT
port = /dev/ttyUSB0
connection = serial

To build and install system
make
make install

If using raspbian distribution, copy init script from debian_init folder
to /etc/init.d/ folder. Start antiburglar-pi with /etc/init.d/abp start

More information about this project can be found at:
http://www.neblogas.lt/2015/03/31/antiburglar-pi/

v0.1c extended status report info.
v0.1b some additional features.
v0.1a some fixes, init scripts.
v0.1 Initial release

About

antiburglar-pi

License:MIT License


Languages

Language:Eagle 98.8%Language:C 1.0%Language:Shell 0.1%Language:Makefile 0.0%