Open BrackenAlistair opened 4 months ago
Hey there @dgomes, mind taking a look at this issue as it has been labeled with an integration (utility_meter
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
utility_meter documentation utility_meter source (message by IssueLinks)
I would need some logs and the graphs from the source sensors
Here are the graphs, they are in coresponding order to those in first post:
Here is history csv for those values: history (2).csv Here is which values are the utility meter tied to:
All of the source sensors are Riemann sum integrals.
The logs will be more of a problem, they are already overwriten by newer ones. I will however be checking for problems this midnight and if the problem reapears I will post the logs.
Sorry about the closing, misclicked.
Same problem
I'm waiting for https://github.com/home-assistant/core/pull/114967 to get more details from all your setups
Similar issue here. It only happenes occasionally though, but lately it's more often. 3 times in the last 6 days. Essentially the reset is after midnight so the utility meter carries over the previous days total energy usage to 12am-1am graph for the next day.
For clarity, the top graph is the total of several sensors in my system, the second is the graph of one sensor, but all sensors are affected the same way at the same time. Clock settings are correct. I'm fairly new at HA so I'm not sure what log files to attach. Any guidance to help solve the problem is appreciated.
any solution ?
Have you upgraded to 2024.7 ?
If yes, please download the diagnostic available in the device/integration webpage and share (you can send it to me in discord)
I have found a workaround. In Developer Tools, select Statistics and from there I go to each sensor that measures power (kwh) over midnight, then click the icon on the far right. This opens a box. I set the time for 12:00 am on the date in question, usually the same morning. I can see the errant reading and other reading 5 minute before and after. I correct the wrong amount and close the box. It recalculated the sums and adjusts the graph. I have 17 sensors so it takes me about 10 minutes to do them all.
The problem
I have multiple utility meters created, all set up to daily cycle. Today some of the meters (not all of them) restarted to zero at midnight as they were supposed to but 10 minutes later they all jumped back to last value from previous day and then proceded to measure from that value as if no restart happened.
What version of Home Assistant Core has the issue?
core-2024.4.1
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Utility Meter
Link to integration documentation on our website
https://www.home-assistant.io/integrations/utility_meter
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response