Skip to content

ZONE_STATES[16] #10

Description

@aaronsp777

There is a typo in concord_commands.py:

I recommend the following change.

ZONE_STATES = {
0: NORMAL,
1: TRIPPED,
2: FAULTED,
4: ALARM,
8: TROUBLE,

  • 10: BYPASSED,
  • 16: BYPASSED,
    }

Furthermore these are bit fields. How to repro: 1) Open Door. 2) Arm panel, 3) Press "#" on panel to arm despite protest. 4) Status comes back as 17 (TRIPPED+BYPASSED).
If you close the door, the status comes back as 16 (Just bypassed)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions