Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge outgoing PR #4

Open
wants to merge 33 commits into
base: master
Choose a base branch
from
Open

Merge outgoing PR #4

wants to merge 33 commits into from

Conversation

RichieFrame
Copy link
Owner

No description provided.

RichieFrame and others added 30 commits August 7, 2021 22:20
* Add list of arm/disarm CIDs

* Add last armed and disarmed user IDs on Honeywell

Feature was only implemented for DSC panels, this should add for Honeywell, parses a list of arm/disarm event codes during a CID event, tested on 20p
* Change order of entries in state array

This change reorders the state array to make a little more sense, an application that displays the state array in order was previously very difficult to read. This groups entries by system status, trouble status, alarm status, and arming type. When the system is armed or disarmed after the initial state is loaded, the additional entry 'armed' is added to the end of the array, and the grouping is maintained. I kept 'alpha' before 'ac_present' so it did not break up the booleans 1 entry in

* Fixes and additions to state array

Renames armed_bypass to bypass since this is true even when not armed. Breaking change. Also adds an entry for the internal partition state for Honeywell panels to report the true status, as HomeAssistant does not currently support the same arming modes as the panel, namely INSTANT
* Add tracking of zone bypass status for DSC panels.

* Ensure zone bypass state gets refresh when the alarm is disarmed.

Signed-off-by: David O'Neill <[email protected]>
- async_timeout 4.0.0 drops the loop= kwarg and will fail if its passed
* Add tracking of zone bypass status for DSC panels.

* Ensure zone bypass state gets refresh when the alarm is disarmed.

Signed-off-by: David O'Neill <[email protected]>

* Add toggle_zone_bypass() function to the interface to allow a zone to be bypassed. (#14)

* The zone bypass callback now includes a map of the zones whose bypass status has changed.

* Added toggle_zone_bypass function to public interface
Add code 660 action to #GENERAL
    '660' : {'name':'PGMrelay', 'handler':'keypad_update', 'status':{'PGMrelay': True, 'alpha' : 'PGM output active'}},

for keyfob activation of pgm output
* Add tracking of zone bypass status for DSC panels.

* Ensure zone bypass state gets refresh when the alarm is disarmed.

Signed-off-by: David O'Neill <[email protected]>

* Add toggle_zone_bypass() function to the interface to allow a zone to be bypassed. (#14)

* The zone bypass callback now includes a map of the zones whose bypass status has changed.

* Added toggle_zone_bypass function to public interface

* Added option to enable/disable the zone bypass feature.  It is now disabled by default and can be enabled by passing zoneBypassEnabled=True when constructing an EnvisalinkAlarmPanel.
* Add tracking of zone bypass status for DSC panels.

* Ensure zone bypass state gets refresh when the alarm is disarmed.

Signed-off-by: David O'Neill <[email protected]>

* Add toggle_zone_bypass() function to the interface to allow a zone to be bypassed. (#14)

* The zone bypass callback now includes a map of the zones whose bypass status has changed.

* Added toggle_zone_bypass function to public interface

* Ensure that multiple reconnections cannot be scheduled simultaneously.
…s are in an armed or arming state since the EVL will not sent the required 616 update while in this state.
* Switch from low level asyncio to Streams
* Added command queuing to track requests sent to the EVL and handle timeouts, retries, etc.
* Auto-discovery of panel type
* Added ability to query the EVL's MAC address and version
* New zone state handling for Honeywell panels
* Mask passwords and alarm codes from debug logging
* Beginnings of a mock EVL to simulate the EVL devices.
* Many other minor changes.
Zone bypass dump requests now only happen at first startup and only if the bypass LED flag is set on the keypad.  This prevents issuing these command unnecessarily and while armed.
The armed_stay and armed_away flags were not being cleared properly resulting in the partition state potentially being set to indicate the partition was armed in both away and stqy modes at the same time.
This attribute used to be based on the result of a zone timer dump but since they are no longer used, the value is now updated based on zone update events (DSC) and virtual keypad updates (Honeywell).  The value is now also stored as an epoch timestamp rather than "seconds since last fault".
- Added abliity to toggle the chime on the panel.
- Detection of EVL4MAX devices.
- Fixes in how fire and panic alarms are handled.
Added support for the new 832/833 DSC TPI commands which indicate a low battery condition on wireless sensors on a given zone.
Added an additional optional paramter to the constructor to allow a different host to be specified for the discovery process.  This makes it more flexible when a proxy is used between this library and the EVL device.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants