mkormendy / homebridge-konnected

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

BUG: Tile Spins Endlessly When Changing Arming Modes in HomeKit App (setup issue with error in log) #25

Open mkormendy opened 1 year ago

mkormendy commented 1 year ago

After setting up the Konnected device and the Homebridge Konnected configuration, a user may be unable to control the alarm system mode in the HomeKit app, or the tile in HomeKit simply keeps spinning with no change of state.

The homebridge logs show something related to the following:

... characteristic value 0 is not contained in valid values array
mkormendy commented 1 year ago

This is a known issue and has to deal with sensor zones not assigned a triggerable mode. I have created this ticket here to track the bugfix progress for this in the next release.

In the meantime, there is a workaround to get the Homebridge Konnected plugin past this issue.

Using Homebridge Config UI X interface or HOOBS visual configuration user interface:

  1. scroll down and edit the first zone that is a contact sensor
  2. expand the binary sensor settings and scroll down further slightly
  3. enable Home/Stay, Night, and Away
  4. save your configuration
  5. now reboot homebridge twice

Editing the Homebridge config.json file directly:

See below, making note of the of the triggerableModes property array under the binarySensorSettings property class for a zone:

...
      "zones": [
        {
          "enabled": true,
          "zoneNumber": "2",
          "zoneType": "contact",
          "zoneLocation": "Front Entrance",
          "binarySensorSettings": {
            "invert": false,
            "audibleBeep": true,
            "triggerableModes": [
              "0",
              "1",
              "2"
            ]
          }
        }
      ]
...

This should fix this issue, and you can then change the triggerable modes to whatever setup you require.