Skip to content

Security System Target State sending invalid value #4

@chrisdaher

Description

@chrisdaher

Hi,

I'm trying to connect my Konnected security panel to my homebridge, and it's throwing this warrning/error below.

The result is that I have a constantly spinning "Disarming" garage accessory in my apple home.

Homebridge version: v1.4.1
Homebridge-konnected version: v1.2.1

Every time I open the home app I see this error get printed in homebridge. So there must be some call there that's causing it to fail

[6/22/2022, 2:39:01 PM] [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://homebridge.io/w/JtMGR for more info.

[6/22/2022, 2:39:01 PM] [homebridge-konnected] Error:
at SecuritySystemTargetState.Characteristic.characteristicWarning (/var/lib/homebridge/node_modules/.pnpm/hap-nodejs@0.10.2/node_modules/hap-nodejs/src/lib/Characteristic.ts:2142:105)
at SecuritySystemTargetState.Characteristic.validateUserInput (/var/lib/homebridge/node_modules/.pnpm/hap-nodejs@0.10.2/node_modules/hap-nodejs/src/lib/Characteristic.ts:2054:14)
at SecuritySystemTargetState. (/var/lib/homebridge/node_modules/.pnpm/hap-nodejs@0.10.2/node_modules/hap-nodejs/src/lib/Characteristic.ts:1582:21)
at step (/var/lib/homebridge/node_modules/.pnpm/tslib@2.4.0/node_modules/tslib/tslib.js:144:27)
at Object.next (/var/lib/homebridge/node_modules/.pnpm/tslib@2.4.0/node_modules/tslib/tslib.js:125:57)
at /var/lib/homebridge/node_modules/.pnpm/tslib@2.4.0/node_modules/tslib/tslib.js:118:75
at new Promise ()
at __awaiter (/var/lib/homebridge/node_modules/.pnpm/tslib@2.4.0/node_modules/tslib/tslib.js:114:16)
at SecuritySystemTargetState.Characteristic.handleGetRequest (/var/lib/homebridge/node_modules/.pnpm/hap-nodejs@0.10.2/node_modules/hap-nodejs/dist/lib/Characteristic.js:689:38)
at SecuritySystemTargetState. (/var/lib/homebridge/node_modules/.pnpm/hap-nodejs@0.10.2/node_modules/hap-nodejs/src/lib/Characteristic.ts:2207:22)
at step (/var/lib/homebridge/node_modules/.pnpm/tslib@2.4.0/node_modules/tslib/tslib.js:144:27)
at Object.next (/var/lib/homebridge/node_modules/.pnpm/tslib@2.4.0/node_modules/tslib/tslib.js:125:57)
at /var/lib/homebridge/node_modules/.pnpm/tslib@2.4.0/node_modules/tslib/tslib.js:118:75
at new Promise ()
at __awaiter (/var/lib/homebridge/node_modules/.pnpm/tslib@2.4.0/node_modules/tslib/tslib.js:114:16)
at SecuritySystemTargetState.Characteristic.toHAP (/var/lib/homebridge/node_modules/.pnpm/hap-nodejs@0.10.2/node_modules/hap-nodejs/dist/lib/Characteristic.js:1328:38)`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions