biemond / solaredge.modbus

Homey Solaredge modbus app
GNU General Public License v3.0
8 stars 9 forks source link

No more decimals in Total values since last update #28

Open MTRKhn opened 1 year ago

MTRKhn commented 1 year ago

Total yield, Total export and total import have no decimal values anymore so calculating a daily consumption is not precise anymore... Is it possible to revert that change please ?

biemond commented 1 year ago

Hey,

will do. by the way is the daily total yield not ok. if not can you show me your calculation for this. Maybe I can add this.

thanks

MTRKhn commented 1 year ago

Thanks if you can change this :)

Nope, Total Day Yield is not correct (or i generated 152kWh yesterday lol).

I'm just collecting the "meter-power" information in InfluxDb and then representing using Grafana for the desired period. Well, i'm collecting and representing a lot of SolarEdge data :D

image

biemond commented 1 year ago

that part is fixed , in NL they use 00:00 as midnight , others 24:00. can you try this https://homey.app/a/solaredge.modbus/test/ and on friday it should work.

biemond commented 1 year ago

I will add the decimals back.

MTRKhn commented 1 year ago

that part is fixed , in NL they use 00:00 as midnight , others 24:00. can you try this https://homey.app/a/solaredge.modbus/test/ and on friday it should work.

I already installed .15 to check in the decimal issue was fixed. I'll update this thread tomorrow :)

MTRKhn commented 1 year ago

that part is fixed , in NL they use 00:00 as midnight , others 24:00. can you try this https://homey.app/a/solaredge.modbus/test/ and on friday it should work.

I checked this morning. "Total Day Yield" is 1.48kWh but SolarEdge app reports 2.06kWh :(

biemond commented 1 year ago

yep I need to calculate this maybe solaredge has more info then me.

biemond commented 1 year ago

https://github.com/biemond/solaredge.modbus/blob/main/drivers/solaredge.ts#L277

biemond commented 1 year ago

published a new test version with 2 decimals

MTRKhn commented 1 year ago

All good now. Thanks !