Closed ppkhoa closed 2 years ago
Thanks for reporting. Let me see how the makerapi version is handling hsm. There was a bug in Homebridge related to alarm system status that maybe they found a solution to.
Sorry, it took so long. I'm pushing out an update in the next 20 minutes to resolve this issue. It will require updating the Hubitat app and plugin.
I updated both the plugins (Homebridge and Hubitat) to .17 and .18. Looks like it's working now.
Will test it out in the next few days and let you know
Test event seems to send alert correctly:
[10/9/2022, 3:59:32 AM] [Hubitat-v2] [Device Event]: (Presence Switch) [SWITCH] is off
[10/9/2022, 3:59:32 AM] [Hubitat-v2] Sending Device Command: armAway | Name: (Hubitat Safety Monitor) | DeviceID: (alarmSystemStatus_1) | UsingCloud: (false)
[10/9/2022, 3:59:32 AM] [Hubitat-v2] Sending Device Command: off | Name: (Bedroom) | DeviceID: (34) | UsingCloud: (false)
[10/9/2022, 3:59:32 AM] [Hubitat-v2] [Device Event]: (XVNT-C7) [ALARMSYSTEMSTATUS] is armedAway
[10/9/2022, 3:59:32 AM] [Hubitat-v2] [Device Event]: (Bedroom) [SWITCH] is off
[10/9/2022, 3:59:34 AM] [Hubitat-v2] [Device Event]: (Bedroom) [GROUPSTATE] is someOn
[10/9/2022, 3:59:35 AM] [Hubitat-v2] [Device Event]: (Bedroom) [GROUPSTATE] is allOff
[10/9/2022, 3:59:43 AM] [Hubitat-v2] [Device Event]: (Front Bedroom Door Sensor) [CONTACT] is open
[10/9/2022, 3:59:44 AM] [Hubitat-v2] [Device Event]: (XVNT-C7) [ALARMSYSTEMSTATUS] is intrusion-away
[10/9/2022, 3:59:46 AM] [Hubitat-v2] [Device Event]: (Front Bedroom Door Sensor) [CONTACT] is closed
[10/9/2022, 3:59:48 AM] [Hubitat-v2] [Device Event]: (Front Bedroom Door Sensor) [ACCELERATION] is active
[10/9/2022, 3:59:54 AM] [Hubitat-v2] Sending Device Command: on | Name: (Presence Switch) | DeviceID: (67) | UsingCloud: (false)
[10/9/2022, 3:59:54 AM] [Hubitat-v2] [CHARACTERISTIC (SecuritySystemTargetState) GET] alarmSystemStatus (Hubitat Safety Monitor) | LastUpdate: (10/9/2022, 3:59:44 AM) | Value: (1)
[10/9/2022, 3:59:54 AM] [Hubitat-v2] Sending Device Command: disarm | Name: (Hubitat Safety Monitor) | DeviceID: (alarmSystemStatus_1) | UsingCloud: (false)
It's been a day and everything's working as expected.
Verify the following before opening an trouble issue
App Code
.About Your Setup
Expected Behavior
Homebridge reports intrusion when HSM reports intrusion based on conditions set and HomeKit should report intrusion detected
Current Behavior
Homebridge reports intrusion when HSM reports intrusion, however, nothing happens on HomeKit side.
Steps to Reproduce (for bugs)
Context
Using danTapps/homebridge-hubitat-makerapi, HSM reports intrusion status correctly in Home app (run separately from homebridge-hubitat-tonesto7). When running both plugins in parallel, HSM accessories from makerAPI showed intrusion while homebridge-hubitat-tonesto7 still only shows armed Away.
Please include a copy of any relevant log output to assist in tracking down the bug The following excerpt showed the makerapi plugin reported intrusion (ALARMSYSTEMCURRENT), while Hubitat-v2 also reported intrusion, but it is not reflected in HomeKit (ALARMSYSTEMSTATUS).