/AlarmListener

Project (Python) for monitoring alarm notifications and trigger Android client

Primary LanguagePythonMIT LicenseMIT

Project for receiving Alarm system notifications. Build Status

Receives notifications via SIA or Contact-ID protocol. Passes them on to Android devices using the Google GCM Cloud Connect Server (XMPP).

Configuration

Configure either by supplying a config.ini file (see config.ini.example) or provide environment variables. Environment variables equal the variables in the config.ini file, but names must be prefixed with the group and all upper-case. E.g.:

[ALARM]
heartbeat_interval_sec

becomes the environment variable:

ALARM_HEARTBEAT_INTERVAL_SEC

Docker build and run

Building container:

docker build -t alarm-listener .

Running container:

docker pull miel/alarm-listener
docker run -d -p 32001:32001 --name alarm-listener miel/alarm-listener

Docker Repo

Automatic builds: https://hub.docker.com/r/miel/alarm-listener/