Where is my mistake? Why am I getting 69 kWh as current PV Energy when the graph below shows the right values per hour. Why am I getting Energy from and to the battery, when those values are zero for the last couple hour (as seen on the screenshot).
I suspect, that one reason could be, that the integral helpers are not updating when the values which are used for calculation are not updating as well?
Or are those all the wrong values and calculations?
Looks like you have the correct sensors in place. Though instead of naming them “Output Power kWh” you should name them “Energy” to prevent confusion. Power and energy are different things.
Can you share the history graph for the solar energy sensor?
Other things to check:
Make sure your integral helpers are using method: left. This will reduce approximation errors for data that has sharp transitions.
Check the solar energy sensor in Developer Tools → Statistics. Click the ramp icon to the right and then the OULIERS button. Also fix any issues that are indicated.
I let it now run for a couple of days, and the results are now looking fine.
Just one thing I don’t understand after all. The “live” view, energy flow diagram, is on the top right side. Is that right the way it looks? The values are the total values per day and not the live values. I always thought that there should be displayed live values, like at 8 o’clock this evening there should be shown 0 power from PV and not the total pv energy over the complete day?
But if that’s how it is designed, then I guess my values are correct. And if not, what do I need to change to get the right values in the live flow diagram?
Correct this is not showing instantaneous power flow. It is the energy total for the day. Again, it is an energy dashboard, not a power dashboard. Different things.
You can add a power flow diagram to one of your dashboards. You can not however edit the Energy dashboard.