scudre / alarm-central-station-receiver

Python daemon for receiving events from a home alarm system via Contact ID protocol
Apache License 2.0
36 stars 10 forks source link

Support ini files for configuration #2

Closed scudre closed 6 years ago

scudre commented 6 years ago

Overview

INI configuration support for:

Zone Names

In dsc.py, the zone names are hardcoded and should be moved to INI.

Phone Number that Alarm Calls

Right now the phone number that the software picks up the phone is '815'. This should be configurable, with a note in the config explaining how to configure this on PC9155.

Email Configuration

Currently email configuration is embedded in email_notify.py which isn't ideal. It should be moved out into a separate file outside of the package. Additional thoughts:

Other Notification Configuration

If other notifications are supported, e.g. pushbullet, add config to ini file.