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

Gracefully handle failed notification attempts #29

Open scudre opened 6 years ago

scudre commented 6 years ago

If there is no network connection, the notifications will fail with an exception, and then never get sent. The events are logged, but would never be sent to email and/or pushover. Look into creation of a retry mechanism to have the notifications continue to attempt to transmit with some kind of back off timer.