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

Thermostat's dont't work anymore #83

Open
achimmm opened this issue Oct 12, 2021 · 3 comments
Open

Thermostat's dont't work anymore #83

achimmm opened this issue Oct 12, 2021 · 3 comments

Comments

@achimmm
Copy link

achimmm commented Oct 12, 2021

Hi,

after upgrading to Homebridge 1.3.0 I get the following erros just for thermostat devices.

The mentioned characteristic values should be okay, but for some reason a warning get's produced

[12/10/2021, 23:07:30] [FHEM] query: CurrentHeatingCoolingState for roomWohnzimmer2-undefined
[12/10/2021, 23:07:30] [FHEM]   cached: 1 (as number)
[12/10/2021, 23:07:30] [homebridge-fhem] This plugin generated a warning from the characteristic 'Current Heating Cooling State': Unhandled error thrown inside read handler for characteristic: Error: characteristic value 1 is not contained in valid values array!
    at CurrentHeatingCoolingState.Characteristic.validateUserInput (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2028:15)
    at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1490:24
    at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/util/once.ts:9:18
    at FHEMAccessory.query (/usr/lib/node_modules/homebridge-fhem/index.js:2628:9)
    at FHEMAccessory.<anonymous> (/usr/lib/node_modules/homebridge-fhem/index.js:3149:31)
    at CurrentHeatingCoolingState.emit (events.js:400:28)
    at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1466:14
    at new Promise (<anonymous>)
    at CurrentHeatingCoolingState.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1464:12)
    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
    at new Promise (<anonymous>)
    at Object.__awaiter (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:113:16)
    at CurrentHeatingCoolingState.Characteristic.handleGetRequest (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/dist/lib/Characteristic.js:632:24)
    at CurrentHeatingCoolingState.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2127:22) See https://git.io/JtMGR for more info.
[12/10/2021, 23:07:30] [FHEM] query: TargetHeatingCoolingState for roomWohnzimmer2-undefined
[12/10/2021, 23:07:30] [FHEM]   cached: 3 (as number)
[12/10/2021, 23:07:30] [homebridge-fhem] This plugin generated a warning from the characteristic 'Target Heating Cooling State': Unhandled error thrown inside read handler for characteristic: Error: characteristic value 3 is not contained in valid values array!
    at TargetHeatingCoolingState.Characteristic.validateUserInput (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2028:15)
    at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1490:24
    at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/util/once.ts:9:18
    at FHEMAccessory.query (/usr/lib/node_modules/homebridge-fhem/index.js:2628:9)
    at FHEMAccessory.<anonymous> (/usr/lib/node_modules/homebridge-fhem/index.js:3149:31)
    at TargetHeatingCoolingState.emit (events.js:400:28)
    at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1466:14
    at new Promise (<anonymous>)
    at TargetHeatingCoolingState.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1464:12)
    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
    at new Promise (<anonymous>)
    at Object.__awaiter (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:113:16)
    at TargetHeatingCoolingState.Characteristic.handleGetRequest (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/dist/lib/Characteristic.js:632:24)
    at TargetHeatingCoolingState.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2127:22) See https://git.io/JtMGR for more info.
@justme-1968
Copy link
Owner

please show a list of the fhem device. this is probably a missing/wrong homebridgeMapping.

@achimmm
Copy link
Author

achimmm commented Oct 13, 2021 via email

@achimmm
Copy link
Author

achimmm commented Oct 22, 2021

please show a list of the fhem device. this is probably a missing/wrong homebridgeMapping.

Hi, do you alteady have an advice?

lgA

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

2 participants