Page 1 of 1

difference with counter and data in Electricity (instant and counter)

Posted: Wednesday 09 January 2019 9:01
by jluc2808
hi, there is somewhere surely info , but i was not able to find or understand some differences i found in my device : Electricity (instant and counter)

i update this device with DzVents (Power, Energy)
Solaredge_Conso_Now = 1925.3
Solaredge_Conso_Today = 32339
domoticz.devices('Elect_Consommation').updateElectricity(Solaredge_Conso_Now,Solaredge_Conso_Today)

when i display the device contents the results is not what i have setted
it displays the Power on the right up corner (1925.3), but the today value isn't the one i enter (31.964 Kwh)

when i dump the idx
CounterToday": "31.964 kWh",
"Data": "32.339 kWh",
"EnergyMeterMode": "0",
"SubType": "kWh",
"SwitchTypeVal": 0,
"Timers": "false",
"Type": "General",
"TypeImg": "current",
"Unit": 1,
"Usage": "1925.3 Watt",

why the counter isn't the data entered (is there some settings i missed)
my device is an Electricity (instant and counter)setted with Energy read : from device , type : usage