mkormendy / homebridge-konnected

A Homebridge plugin for Konnected Alarm Panel devices
MIT License
12 stars 1 forks source link

Unable to Add Accessory: "Accessory is out of compliance." #39

Closed pickanothername closed 9 months ago

pickanothername commented 9 months ago

Bug Description After switching Konnected to a child bridge, I am no longer able to pair it with HomeKit. Unclear if switching to child bridge or just unpairing caused this issue.

Steps To Reproduce

  1. Pair Konnected normally
  2. Switch Konnected to child bridge mode in Homebridge settings
  3. Attempt to pair to Homekit using the child bridge's QR code
  4. Error: "Unable to Add Accessory. Accessory is out of compliance."

Expected Behavior Konnected pairs to HomeKit as a child bridge (hub)

Environment

Attach Files to Support Your Experience 43FA9921-F065-4229-AE4B-134739E5F224_1_201_a

Additional Relevant Information I'm on iOS/AudioOS 17.0.

pickanothername commented 9 months ago

Additional info: Konnected/Homebridge seems to think the pairing was successful every time. However, the hub isn't ever added to HomeKit.

Here's Konnected's log while in HB debug mode when attempting to pair

[9/21/2023, 4:25:12 AM] [Konnected] Assigning default state '1' to [Konnected Alarm] ([REDACTED]) 'SecuritySystem' characteristic value. Awaiting zone's first state change...
[9/21/2023, 4:25:12 AM] [Konnected] Get [Konnected Alarm] ([REDACTED]) 'securitysystem' current characteristic value: 1
[9/21/2023, 4:25:12 AM] [Konnected] Get default [[REDACTED]] ([REDACTED]-1) as 'contact' characteristic value: 0
[9/21/2023, 4:25:12 AM] [Konnected] Get default [[REDACTED]] ([REDACTED]-2) as 'contact' characteristic value: 0
[9/21/2023, 4:25:12 AM] [Konnected] Get default [[REDACTED]] ([REDACTED]-3) as 'contact' characteristic value: 0
[9/21/2023, 4:25:12 AM] [Konnected] Get default [[REDACTED]] ([REDACTED]-4) as 'contact' characteristic value: 0
[9/21/2023, 4:25:12 AM] [Konnected] Get default [[REDACTED]] ([REDACTED]-5) as 'motion' characteristic value: 0
[9/21/2023, 4:25:12 AM] [Konnected] Get default [[REDACTED]] ([REDACTED]-6) as 'smoke' characteristic value: 0
[9/21/2023, 4:25:12 AM] [Konnected] Get [[REDACTED]] ([REDACTED]-1) as 'contact' characteristic value: 0
[9/21/2023, 4:25:12 AM] [Konnected] Get [[REDACTED]] ([REDACTED]-2) as 'contact' characteristic value: 0
[9/21/2023, 4:25:12 AM] [Konnected] Get [[REDACTED]] ([REDACTED]-3) as 'contact' characteristic value: 0
[9/21/2023, 4:25:12 AM] [Konnected] Get [[REDACTED]] ([REDACTED]-4) as 'contact' characteristic value: 0
[9/21/2023, 4:25:12 AM] [Konnected] Get [[REDACTED]] ([REDACTED]-5) as 'motion' characteristic value: 0
[9/21/2023, 4:25:12 AM] [Konnected] Get [[REDACTED]] ([REDACTED]-6) as 'smoke' characteristic value: 0
[9/21/2023, 4:25:12 AM] [Konnected] Get default [[REDACTED]] ([REDACTED]-1) as 'contact' characteristic value: 0
[9/21/2023, 4:25:12 AM] [Konnected] Get default [[REDACTED]] ([REDACTED]-2) as 'contact' characteristic value: 0
[9/21/2023, 4:25:12 AM] [Konnected] Get default [[REDACTED]] ([REDACTED]-3) as 'contact' characteristic value: 0
[9/21/2023, 4:25:12 AM] [Konnected] Get default [[REDACTED]] ([REDACTED]-4) as 'contact' characteristic value: 0
[9/21/2023, 4:25:12 AM] [Konnected] Get default [[REDACTED]] ([REDACTED]-5) as 'contact' characteristic value: 0
[9/21/2023, 4:25:12 AM] [Konnected] Get default [[REDACTED]] ([REDACTED]-6) as 'contact' characteristic value: 0
[9/21/2023, 4:25:12 AM] [Konnected] Get default [[REDACTED]] ([REDACTED]-out) as 'beeper-switch' characteristic value: 0
mkormendy commented 9 months ago

Please don't use this in bridge mode. It is untested.

mkormendy commented 9 months ago

You will have to delete all of your accessory data for the Konnected plugin to re-enable it in accessory mode.

pickanothername commented 9 months ago

I see. I guess I'll change this to a feature request then, because bridge support would be invaluable for this plugin.

mkormendy commented 9 months ago

Please list the perceived benefits in that ticket.

pickanothername commented 9 months ago

Please list the perceived benefits in that ticket.

I'd like to amend my statement- while I would still like child bridge support, ultimately the issue I'm trying to resolve is issue #2. Every time Homebridge restarts or loses connection, the security system is triggered.