This page is about my current home alarm / automation system. The interface is a web-app designed for use on the iPhone, using JQuery Mobile to provide the look and feel of a native iPhone app, but is in reality a web page. The system uses a Raspberry Pi to host the web page, and a custom circuit board provides the hardware interface. The alarm circuit inputs and outputs are compatible with standard 12volt domestic alarm systems. The radio control channels are compatible with off the shelf radio control switches based around the PT2262 or HS2260A chipset.
You can find the Github project page here… Alarm System on the GitHub
and the project wiki is here… Alarm System wiki on the GitHub
The software will run on a Raspberry Pi ( or any other Debian system ) and doesn’t require the custom circuit board, so if you’ve got a Raspberry Pi, an iPhone and a some time on your hands, you can download a copy of the software by following the instructions here…Installing-the-Alarm-System
Alarm System Interface
Prompts for a valid user logon and password.
All access attempts are logged and can be viewed through the system log files.
User accounts can be created / edited / deleted through the ‘Users’ administration screen.
Standard ‘3 strikes and your out’ mechanism, with firewall rules to block malicious IP’s.
Up to a maximum of 12 alarm zones can be created / edited / deleted through this screen. Zone can be renamed and configured to be active in Day mode, Night mode or neither. Chimes can also be enabled for zones when required.
Zones are RAG coded. Green = inactive, Amber = active, Red = triggered.
The circuit board provides isolation between the 12 volt alarm and the Raspberry Pi GPIO circuits. Also uses a 3.3 volt PIC microprocessor (PIC12LF1552 ) to emulate the Radio Control transmitter, providing up to 160 RC channels.
Circuit board with a Pi
The circuit board is designed to piggy back on a Raspberry Pi. GPIO connections can be through standard header pins ( requires additional cable ), or by means of the header socket ( illustrated ).
Circuit board with a Pi and cabling
This installation has all 12 alarm input circuits connected, and a tamper loop has been created using an addition connector strip. Each alarm circuit has a 12volt power feed to drive PIR’s if required. The 12 volt and 5 volt power feeds are also routed through the screw connectors.