home_assistant_solarman icon indicating copy to clipboard operation
home_assistant_solarman copied to clipboard

Zero values on Total Production leads to wrong energy counting

Open birdie1 opened this issue 1 year ago • 3 comments

I have a Deye SUN600G3. I am using the inverter_definition deye_string.yml. When the inverter starts in the morning the "Total Production" get a zero value. Because it is from class total_increasing this leads to totally wrong values in energy counting.

It probably should give no data instead of zero values on sensors with class total_increasing.

image image

birdie1 avatar Oct 07 '22 20:10 birdie1

see issue #66

rolandsteinmeyer avatar Oct 12 '22 09:10 rolandsteinmeyer

Unfortunately this does not help, as the inverter reports one 0 value after booting in the morning. The problem is not the unknown value. A possible solution would be, that a type "total_increasing" value should never be allowed to be zero.

Edit: I thought you are refering to this issue: #98 . But I use the total_production for energy dashboard, so #66 doen't help here I think.

birdie1 avatar Oct 20 '22 13:10 birdie1

Im also having the same issue where i get zero values across all sensors in my reporting and then back to normal.

image image

This is not due to the unavailable status as i have tried using the "availability_template:" on a few sensors and still get the same issue.

chawawa avatar Oct 24 '22 20:10 chawawa

#122 #120 hopefully #125 can fix this

alienatedsec avatar Oct 30 '22 10:10 alienatedsec

#122 #120 hopefully #125 can fix this

Thank for the update. Will add the code and see how it does. Lets hope this gets merged into the main code.

chawawa avatar Oct 30 '22 10:10 chawawa

#122 #120 hopefully #125 can fix this

Thank for the update. Will add the code and see how it does. Lets hope this gets merged into the main code.

@chawawa how it went for you? Mine is still the same

alienatedsec avatar Nov 01 '22 11:11 alienatedsec