Browse Source

Now tracking faulted zones from ALARM messages.

pyserial_fix
Scott Petersen 8 years ago
parent
commit
44c90d31e8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      alarmdecoder/zonetracking.py

+ 1
- 1
alarmdecoder/zonetracking.py View File

@@ -177,7 +177,7 @@ class Zonetracker(object):
self._last_zone_fault = 0

# Process fault
elif message.check_zone or message.text.startswith("FAULT"):
elif message.check_zone or message.text.startswith("FAULT") or message.text.startswith("ALARM"):
# Apparently this representation can be both base 10
# or base 16, depending on where the message came
# from.


Loading…
Cancel
Save