home_assistant_solarman
home_assistant_solarman copied to clipboard
Zero values on Total Production leads to wrong energy counting
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.
see issue #66
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.
Im also having the same issue where i get zero values across all sensors in my reporting and then back to normal.
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.
#122 #120 hopefully #125 can fix this
#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.
#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