dapuzz
(dapuzz)
December 12, 2024, 8:59pm
1
Hello boys, I have looked in github and here in the forum but there nothing seems to fit my current situation.
Here the history:
As you can see the utility meter with daily cycle correctly got reset untill Dec 7th then it continue to accumulate values without resetting.
Looking into attributes I can see that the sensor itself knows that the last reset was on Dec 5
Why the behaviour has changed?
Is there any breaking change that I miss?
Thank you
tom_l
December 12, 2024, 9:33pm
2
dapuzz:
Hello boys
And girls, and others. We are a diverse lot please do not limit your available help like that it is quite insulting.
Here:
opened 11:35PM - 09 Dec 24 UTC
integration: utility_meter
### The problem
I have a number of utility meters that reset daily (cycle: dail… y). At the moment they sometimes reset correctly and the next day they don't.
When the issue occurs, I see them reset to 0 at 12am but then at 12:03am they bounce back to the last state from the day before.
This issue is impacting all of my daily utility meters. It impacts meters setup in yaml and as helpers.
### What version of Home Assistant Core has the issue?
2024.12.1
### What was the last working version of Home Assistant Core?
2024.11
### What type of installation are you running?
Home Assistant Container
### Integration causing the issue
Utility Meter
### Link to integration documentation on our website
https://www.home-assistant.io/integrations/utility_meter/
### Diagnostics information
[config_entry-utility_meter-01JEPM2RGHWW667YZ3TBFJM6P9.json](https://github.com/user-attachments/files/18069037/config_entry-utility_meter-01JEPM2RGHWW667YZ3TBFJM6P9.json)
### Example YAML snippet
_No response_
### Anything in the logs that might be useful for us?
```txt
I have debug logging turned on but not seeing anything in the log
```
### Additional information
To help troubleshoot I have setup a test instance of HA in a VM running HAOS (amd64). This is running the same config as my prod setup on a RPI5 (arm64) as a docker container so I will watch both systems at the same time.
The issue occurred today after working ok for the last 2 days. I noticed a file named 'core' in the config directory. It is 700mb and I have never seen this before. The time stamp on the file is 12:03am and this time correlates with when the sensors are updated.
I am happy to monitor/investigate etc...
And here: Utility Meter no longer resetting correctly in 2024.12
You are the second person I’ve seen report this. It continues to work for everyone else.
Can you post a screenshot of the history graph for the source sensor the utility meter is using, covering the same time range as the one you show above?
Also a close-up around one of the midnight reset failures for the sources sensor.
dapuzz
(dapuzz)
December 12, 2024, 9:45pm
3
Thank you Tom for pointing that out. As menioned in the issue the problem seems to be a “reload” around midnight. Just like the other user I also have icloud3 installled. Not sure if this is the root cause but for the moment I have deleted it.
Let’s monitoring next days… and I will let you know.
dapuzz
(dapuzz)
December 14, 2024, 9:18am
4
Just to close the issue here, the problem was the core dump around midnight. After uninstalling iCloud3 everything is working fine.
Thanks all (boys, girls and every human kind) for the support
1 Like