This is the home of the official webapp for the AlarmDecoder family of home security devices.
- Supports all of the AlarmDecoder devices: AD2USB, AD2SERIAL and AD2PI.
- Web-based keypad for your alarm system
- Notifications on alarm events
- Multiple user accounts and per-user notifications and certificates (if configured)
- nginx >= 1.6
- gunicorn
NOTE: Other web and WSGI servers will likely work but will require configuration.
If you're running on a Raspberry Pi the easiest way to get started is to download our pre-configured Raspbian image. The image can be found at here.
If you'd rather do it by hand you can follow these steps:
- sudo apt-get install nginx gunicorn sendmail
- cd /opt/
- sudo git clone http://github.com/nutechsoftware/alarmdecoder-webapp.git
- cd alarmdecoder-webapp
- sudo pip install -r requirements.txt
- sudo python manage.py initdb
- sudo cp contrib/nginx/alarmdecoder /etc/nginx/sites-available/
- sudo ln -s /etc/nginx/sites-available/alarmdecoder /etc/nginx/sites-enabled/
- sudo rm /etc/nginx/sites-enabled/default
- sudo cp contrib/gunicorn.d/alarmdecoder /etc/gunicorn.d/
- Edit /etc/gunicorn.d/alarmdecoder and change the user/group you'd like it to run as.
- Change permissions on /opt/alarmdecoder-webapp to grant permissions for your chosen user.
- Optionally install and set permissions for ser2sock
- sudo service nginx restart
- sudo service gunicorn restart
Please visit our forums.
We love the open-source community and welcome any contributions! Just submit a pull request through Github.