Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Characteristic 'On' expected boolean and received undefined. #20

Open
EnumC opened this issue Oct 26, 2021 · 0 comments
Open

Characteristic 'On' expected boolean and received undefined. #20

EnumC opened this issue Oct 26, 2021 · 0 comments

Comments

@EnumC
Copy link

EnumC commented Oct 26, 2021

I'm observing the following stack trace while running version 1.3.3:

[26/10/2021, 03:15:05] [homebridge-switchmate-ble] This plugin generated a warning from the characteristic 'On': characteristic value expected boolean and received undefined. See https://git.io/JtMGR for more info.
[26/10/2021, 03:15:05] [homebridge-switchmate-ble] Error: 
    at On.Characteristic.characteristicWarning (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2074:105)
    at On.Characteristic.validateUserInput (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1951:14)
    at /usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1569:24
    at /usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/util/once.ts:9:18
    at /usr/lib/node_modules/homebridge-switchmate-ble/lib/OutletAccessory.js:224:13
    at processTicksAndRejections (internal/process/task_queues.js:77:11)
[26/10/2021, 03:15:06] [homebridge-switchmate-ble] Characteristic 'On': SET handler returned write response value, though the characteristic doesn't support write response. See https://git.io/JtMGR for more info.
[26/10/2021, 03:15:06] [homebridge-switchmate-ble] Error: 
    at On.Characteristic.characteristicWarning (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2074:105)
    at /usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1699:22
    at Object.callback (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/util/once.ts:9:18)
    at /usr/lib/node_modules/homebridge-switchmate-ble/node_modules/async/dist/async.js:1529:26
    at /usr/lib/node_modules/homebridge-switchmate-ble/node_modules/async/dist/async.js:324:20
    at /usr/lib/node_modules/homebridge-switchmate-ble/lib/OutletAccessory.js:264:50
    at /usr/lib/node_modules/homebridge-switchmate-ble/node_modules/async/dist/async.js:4631:21
    at /usr/lib/node_modules/homebridge-switchmate-ble/lib/OutletAccessory.js:261:17
    at /usr/lib/node_modules/homebridge-switchmate-ble/node_modules/async/dist/async.js:3645:19
    at wrapper (/usr/lib/node_modules/homebridge-switchmate-ble/node_modules/async/dist/async.js:271:20)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant