From 900d2af1ecd19315985844183ed20233854d7279 Mon Sep 17 00:00:00 2001 From: Scott Petersen Date: Wed, 21 Jun 2017 16:15:20 -0700 Subject: [PATCH] Filled in values for DSC LRR events. --- alarmdecoder/messages/lrr/events.py | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/alarmdecoder/messages/lrr/events.py b/alarmdecoder/messages/lrr/events.py index 0bea717..9b70333 100644 --- a/alarmdecoder/messages/lrr/events.py +++ b/alarmdecoder/messages/lrr/events.py @@ -340,14 +340,13 @@ class LRR_CID_EVENT: OTHER_NO_READ_LOG = 0x999 -# TODO: Figure out values for 0x0 events. class LRR_DSC_EVENT: - ZONE_EXPANDER_SUPERVISORY_ALARM = 0x0 - ZONE_EXPANDER_SUPERVISORY_RESTORE = 0x0 - AUX_INPUT_ALARM = 0x0 - SPECIAL_CLOSING = 0x0 - CROSS_ZONE_POLICE_CODE_ALARM = 0x0 - AUTOMATIC_CLOSING = 0x0 + ZONE_EXPANDER_SUPERVISORY_ALARM = 0x04c + ZONE_EXPANDER_SUPERVISORY_RESTORE = 0x04d + AUX_INPUT_ALARM = 0x051 + SPECIAL_CLOSING = 0x0bf + CROSS_ZONE_POLICE_CODE_ALARM = 0x103 + AUTOMATIC_CLOSING = 0x12b ZONE_BYPASS = 0x570 REPORT_DSC_USER_LOG_EVENT = 0x800 @@ -357,7 +356,8 @@ class LRR_ADEMCO_EVENT: class LRR_ALARMDECODER_EVENT: - pass + CUSTOM_PROG_MSG = 0x0 + CUSTOM_PROG_KEY = 0x1 class LRR_UNKNOWN_EVENT: @@ -653,7 +653,8 @@ LRR_ADEMCO_MAP = { } LRR_ALARMDECODER_MAP = { - + LRR_ALARMDECODER_EVENT.CUSTOM_PROG_MSG: 'Custom Programming Message', + LRR_ALARMDECODER_EVENT.CUSTOM_PROG_KEY: 'Custom Programming Key' } LRR_UNKNOWN_MAP = {