Open wroblewski6 opened 3 years ago
the problem is the same like #278 because Shelly Em give - value so the option is to exclude shelly em and no get no error
I get the same error since ver 17 I have my 3EM excluded as advised and the error still exists
Describe the bug a have more than 34 shelly and I get this error
warning from the characteristic 'Consumption': characteristic was supplied illegal value:
Log output [05/03/2021, 12:31:59] [homebridge-shelly] This plugin generated a warning from the characteristic 'Consumption': characteristic was supplied illegal value: number -116.262703 exceeded minimum of 0. See https://git.io/JtMGR for more info. [05/03/2021, 12:31:59] [homebridge-shelly] Error: at Characteristic.characteristicWarning (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2164:105) at Characteristic.validateUserInput (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2114:14) at Characteristic.setValue (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1284:20) at PowerMeterAbility._consumptionChangeHandler (/usr/local/lib/node_modules/homebridge-shelly/abilities/power-meter.js:104:10) at ShellyEM.emit (/usr/local/lib/node_modules/homebridge-shelly/node_modules/eventemitter3/index.js:183:35) at ShellyEM.set [as power0] (/usr/local/lib/node_modules/homebridge-shelly/node_modules/shellies/lib/devices/base.js:117:16) at ShellyEM._applyUpdate (/usr/local/lib/node_modules/homebridge-shelly/node_modules/shellies/lib/devices/base.js:181:20) at ShellyEM.update (/usr/local/lib/node_modules/homebridge-shelly/node_modules/shellies/lib/devices/base.js:167:10) at Shellies._statusUpdateHandler (/usr/local/lib/node_modules/homebridge-shelly/node_modules/shellies/index.js:41:14) at StatusUpdatesListener.emit (/usr/local/lib/node_modules/homebridge-shelly/node_modules/eventemitter3/index.js:181:35)
Environment: