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

Issue #2 -- Moved hardcoded configuration to an ini file #9

Closed scudre closed 6 years ago

scudre commented 6 years ago
  1. Added template ini to project
  2. Modified system to create blank config in '/etc/alarmd_config.ini' by default. This supports setting email config, phone number alarm will call, and zone names
  3. Added '--config' flag to specify non-default ini confg file location
  4. Added '--create-config' flag to create a ini config file and exit. This can be used in conjunction with '--config' to create the ini file
  5. Modified daemon to use config from ini instead of hardcoded values.

Unrelated to Issue #2

  1. Commented out Raspberry PI GPIO config since it's not actively used
  2. Cleaned up some cases of trailing whitespace.