#Cant fix long term statistics
1 messages · Page 1 of 1 (latest)
So the adjust sum dialog will never affect the value shown in that history graph.
Those values are not adjustable.
Total-type statistics record two datapoints per hour, a state and a running sum.
Sum is what's used in energy dashboard, and what's changed by Adjust dialog.
The history graph just shows state and that never changes.
I have this issue also, I cant adjust historic values depite fixing the issue in the 'adjust a stat' dialog. Is there a way to amend historic stats?
No
Just the statistics
wow, that's a pretty fundamental problem. you cant be expected to catch all these errors and fix them before they become historic? they must exist 'somewhere' in the db
Yes they all exist in the DB and you can edit them if you know how to navigate your db of choice
there's just no UI to do so.
Is it? You are not meant to keep states longer than a few weeks anyway
Things like continuous sums can reset
And integrations that consume long term data will use the statistics
Like the energy dashboard
Exactly the energy dashboard, for some reason I have had sporadic occurrences of meters reading the entire amount (e.g. year-to-date) for one day, I assume due to a restart or upgrade the meter temporarily reads 0 before getting its true state of x000kWh and then that is attributed to that day, ruining historic energy statistics
Yes, so you can correct those errors
But its better to figure out what's causing the issue
My daily meter is derived from the running total meter (total increasing) values, I assume this is causing the issue, but I dont know why. Editing the DB scares me 😄