solis-sensor: Wrong data in the morning energydashboard
Describe the bug Wrong data in the morning energydashboard
Config Solarman portal config m.ginlong.com (Solis inverter, Wifi dongle)
Versions HA Version 2022.2.6 HACS version 1.22.0 Integration version v2.0.7
Debug logs < Will do this when needed Add to configuration.yaml:
logger:
default: warning
logs:
custom_components.solis: debug
And attach the resulting log to the issue. If yo do not know where to find logs you missed an important step in the install of HACS. 😉
Screenshots

14-02-2022 Time 8:54:23 7,3 kWh (from Yesterday 13-02-2022). Time 8:56:25 reset to 0 kWh.
Seems like ginlong is resetting this elsewhere. Buggy portal?
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 40 (27 by maintainers)
Hmpf,
Damn if you do, damn if you don’t. 😉 Let me see if I can add robustness against reboots in the morning without breaking the energy today patch or having to introduce persistency. Maybe returning “none” instead of “0” is the way out.
In any case thanks both for zooming in on the root cause, this really helps.
and I can confirm this behavior too today I restarted HA have a flat spot and have a spike in the orange bar and a daily yield that is higher than reported by Solis. (this is using the SolisCloud API). I’d say the root issue is how HA does its calcs BUT the problem is created by this integration dropping the yield to 0 after a restart. Trouble is I think this might be a side effect of the workaround to stop yesterdays value being seen on the initial startup of the inverter in the morning before things reset.
Now I say it out loud again … I think I see the problem … as you point out the issue is that flatspot that drops to 0 … it is tripping up the calculations for the delta of that hour. Personally I’ve no idea how to stop the flat spot though
I’ve not noticed that but to me it looks like a HA Energy Dashboard bug … look at your 2nd picture, that is the raw data being collected the graph in the first picture is just another way of showing the data … at a simplistic level it takes the value at the begining of an hour window and then again at the end and then displays the difference between the 2 as a Bar. This is nothing to do with this integration - at least I don’t believe so 😁
I know, i made #91. But the issue is back. Didn’t find a reopen possibility so new issue made 😃