MisterWil / abodepy

A thin Python wrapper for the Abode alarm API
MIT License
49 stars 17 forks source link

"Armed with fault" event_codes have updated? #69

Closed thedeany closed 3 years ago

thedeany commented 4 years ago

I was curious why I was not getting an abode_panel_fault event triggered in Home Assistant when arming the system with a fault. I set the integration to show debug logs, and I think what I'm seeing is that the fault codes are no longer in the 13xx range, at least for my configuration (I have no delay timer on setting "Home" but I have a 30-second delay on setting "Away"), but rather in the 60xx range. The relevant portions of the debug log are below.

2020-06-26 10:28:11 DEBUG (SyncWorker_28) [abodepy.devices.alarm] Set Alarm Home Response: {"area":"1","mode":"home"}
2020-06-26 10:28:11 INFO (SyncWorker_28) [abodepy.devices.alarm] Set alarm area_1 mode to: home
2020-06-26 10:28:12 DEBUG (SocketIOThread) [abodepy.event_controller] Timeline event received: Gateway Armed w/ Faults(s) - Home - Armed w/ Faults(s) - Home (6077)
2020-06-26 10:28:12 DEBUG (SocketIOThread) [abodepy.event_controller] Alarm mode change event to: home
2020-06-26 10:28:48 DEBUG (SyncWorker_7) [abodepy.devices.alarm] Set Alarm Home Response: {"area":"1","mode":"away"}
2020-06-26 10:28:48 INFO (SyncWorker_7) [abodepy.devices.alarm] Set alarm area_1 mode to: away
2020-06-26 10:28:49 DEBUG (SocketIOThread) [abodepy.event_controller] Timeline event received: Gateway Arming w/ Fault(s) - Away (Exit Timer Started) - Arming w/ Fault(s) - Away (Exit Timer Started) (6055)
2020-06-26 10:29:20 DEBUG (SocketIOThread) [abodepy.event_controller] Timeline event received: Gateway Armed w/ Faults(s) - Away - Armed w/ Faults(s) - Away (6071)
2020-06-26 10:29:20 DEBUG (SocketIOThread) [abodepy.event_controller] Alarm mode change event to: away

Is anyone still seeing fault codes in the 13xx range, or is there something unique to my configuration? Abode did just recently (the last month or so?) release a new version of their app and web interface, so perhaps a minor update to the API/events was made.

Let me know if I can provide any other helpful debug information.

MisterWil commented 3 years ago

I added these codes into a new event group called ARM_FAULT_GROUP in v1.1.0. @shred86 said he would add the new group to the relevant place in HASS when he bumps the version. Thanks!

thedeany commented 3 years ago

Great, looking forward to it!