ebaauw / homebridge-otgw

Homebridge plugin for OpenTherm Gateway
Apache License 2.0
9 stars 0 forks source link

Boiler TargetTemperature limits #7

Closed ebaauw closed 3 years ago

ebaauw commented 3 years ago

Homebridge OTGW sets the Boiler Target Temperature range of valid values to the MAX CH setpoint boundaries (OT message 0x31), but the Control Setpoint (OT message 0x01) can be lower than that.

Following log message in Homebridge v1.3.0-beta.56:

[13/02/2021, 17:15:40] Received warning for the plugin 'homebridge-otgw' from the characteristic 'Target Temperature': characteristic was supplied illegal value: number 10 exceeded minimum of 20.
[13/02/2021, 17:15:40] Above characteristic warning was triggered at: Error: 
    at Characteristic.characteristicWarning (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2055:79)
    at Characteristic.validateUserInput (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2011:14)
    at Characteristic.updateValue (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1338:20)
    at new CharacteristicDelegate (/usr/lib/node_modules/homebridge-otgw/node_modules/homebridge-lib/lib/CharacteristicDelegate.js:165:28)
    at Boiler.addCharacteristicDelegate (/usr/lib/node_modules/homebridge-otgw/node_modules/homebridge-lib/lib/ServiceDelegate.js:245:36)
    at new Boiler (/usr/lib/node_modules/homebridge-otgw/lib/OtgwService.js:184:14)
    at new OtgwAccessory (/usr/lib/node_modules/homebridge-otgw/lib/OtgwAccessory.js:28:24)
    at OtgwPlatform.init (/usr/lib/node_modules/homebridge-otgw/lib/OtgwPlatform.js:187:31)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
ebaauw commented 3 years ago

Solved in v1.1.8