PV energy production per panel

I'm getting erratic values for energy per panel. I created an integral sensor with left Riemann values per panel, and a corresponding utility meter sensor to track daily energy produced.

Some days it's spot on at about 2400-3000 Wh per panel. Other days I get these inflated values in the tens of thousands. (The total of 22.48 kWh in the lower right graph is correct.)

Any suggestions?

Here's an example of one panel tracking nicely through 10:15am today.

At 10:20am it jumps to 96,000 Wh.

One option could be to add outlier or range filter sensors, that filter out any unrealistic high (and/or low) values from your input sensors.

Could be due to the way the sum works. If the value is same non zero then the sum won’t update until there is a change. For a project I did once I went via a template sensor adding a small random inconsequential amount (+/-) such as to make the sum always update. Could be a bit of work for you but I expect you would get much better results. Likewise, and probably gives rise to the above, it may be the sensor does not go totally to zero (my AC always reports 70w no matter what) so you could check this and again template a sensor to go to zero when below an amount just above the ‘zero’.

Interesting. I'll look into this. Thanks!

Once the panels fire up in the morning, there is a continuous non-zero amount throughout the day (even during overcast). Then they always return to zero by nightfall according to sensor history. No lingering trace amounts. The sudden spikes always happen during the day when there is a steady flow of power from the panels. Working fine so far today.

Still working as of 1:33pm.

Decided to install the pending HA Core 2026.5.3 update. First poll of data after the restart did this:

Further research led me to some open issues with HA Core that may apply:

Utility meter - spikes in the history graph #165357
Some Sensors does not continue from the previous value after a reboot #165332
Integral integration: big jump (*1000) in calculated data on home assistant restart #136428