Browse Source

Filled in values for DSC LRR events.

pyserial_fix
Scott Petersen 7 years ago
parent
commit
900d2af1ec
1 changed files with 10 additions and 9 deletions
  1. +10
    -9
      alarmdecoder/messages/lrr/events.py

+ 10
- 9
alarmdecoder/messages/lrr/events.py View File

@@ -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 = {


Loading…
Cancel
Save