[homebridge-konnected] This plugin generated a warning from the characteristic 'Security System Target State': characteristic value 0 is not contained in valid values array. See https://git.io/JtMGR for more info

 

Hi! A brand new install. I have a contact sensor on Zone 12. Here is the config:
            "name": "Konnected",
            "advanced": {
                "listenerIP": "192.168.1.245",
                "listenerPort": 9123
            },
            "panels": [
                {
                    "name": "Konnected Pro",
                    "uuid": "8f655392-a778-4fee-97b9-6198cdac5152",
                    "ipAddress": "192.168.1.245",
                    "port": 9123,
                    "blink": true,
                    "zones": [
                        {
                            "enabled": true,
                            "zoneNumber": "12",
                            "zoneType": "contact",
                            "zoneLocation": "Backyard"
                        }
                    ]
                }
            ],
            "platform": "konnected"

 It posts this warning to log:

[2/17/2022, 4:35:32 PM] [homebridge-konnected] Error:

    at SecuritySystemTargetState.Characteristic.characteristicWarning (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2142:105)

    at SecuritySystemTargetState.Characteristic.validateUserInput (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2054:14)

    at SecuritySystemTargetState.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1582:21)

    at step (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:143:27)

    at Object.next (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:124:57)

    at /usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:117:75

On the Homekit it shows the Konnected Alarm in Disarming, spinning endlessly. And it doesn't post the state changes to homekit. On the Konnected status page, it does show the state changes.

Please help

Sometimes fixing a problematic Homebridge/HOOBS/HomeKit accessory is as simple as deleting Homebridge's cachedAccessories file.

  1. First stop Homebridge/HOOBS.

  2. Delete the cachedAccessories file which is commonly located in its respective folder:

    • Homebridge:
      • Linux-based/MacOS: ~/.homebridge/accessories/cachedAccessories
      • Windows: $HOME\.homebridge\Accessories\cachedAccessories
    • HOOBS:
      • HOOBSBox/Linux-based/MacOS:
      • v3.x: ~/.hoobs/etc/accessories/cachedAccessories
      • v4.x: /var/lib/hoobs/accessories/cachedAccessories
      • Windows (HOOBS does not work on Windows)
  3. Once the file is deleted, start up Homebridge/HOOBS and allow it to regenerate your accessories and the cache.

WARNING: Be careful to not delete the persist folder or its contents! Your Homebridge and devices will become unresponsive and you will have to completely re-pair the Homebridge bridge (remove and re-scan the QR-code for Homebridge and set up all of your accessories/devices again).