-
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
That's some impressive uptime. The problem is that for big enough floating point numbers, The fix is to fix time syncing so the daily energy gets reset every midnight like it is supposed to. #175 might be helpful. |
Beta Was this translation helpful? Give feedback.
-
Ok, so i did a few things:
While this has fixed my issue (energy readings are working as expected again). I did not see my energy usage reset at midnight on any of my energy meters. Is it possible it resets at midnight UTC instead of local time? Guess I should give it 1 more day to see what happens |
Beta Was this translation helpful? Give feedback.
-
I am confirming that everything said above fixed the issue. Specifically my time was not getting set on the emporia vue because I have it on an internet-less VLAN, so it couldn't ever set the clock. This resulted in it never resetting the daily energy meters. So i set it up to utilize home assistant time. Time zone wise, it appears to be based off of UTC for me, even though my docker containers pass the local time and time zone info, but it doesn't seem to matter. At midnight UTC today, all of my daily energy meters reset to 0. Thank you for the help. |
Beta Was this translation helpful? Give feedback.
-
Is there a way to use a local NTP server on my LAN? Or is the solution to use the HA clock?
Sent from [Proton Mail](https://proton.me/mail/home) for iOS
…On Thu, Jan 4, 2024 at 20:11, Jonathan V ***@***.***(mailto:On Thu, Jan 4, 2024 at 20:11, Jonathan V <<a href=)> wrote:
I am confirming that everything said above fixed the issue. Specifically my time was not getting set on the emporia vue because I have it on an internet-less VLAN, so it couldn't ever set the clock. This resulted in it never resetting the daily energy meters. So i set it up to utilize home assistant time.
Time zone wise, it appears to be based off of UTC for me, even though my docker containers pass the local time and time zone info, but it doesn't seem to matter. At midnight UTC today, all of my daily energy meters reset to 0.
Thank you for the help.
—
Reply to this email directly, [view it on GitHub](#248 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/A63KB22CAGVNT7LXXYUQLETYM5HM3AVCNFSM6AAAAABBL4Y3IGVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DAMJYGU4DS).
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
Possibly! ESPHome uses the timezone from the computer you built the image on, but if you're running ESPHome in docker, perhaps it uses the container's UTC TZ.
But it doesn't matter when it gets reset, as long as it happens at some regular interval. HomeAssistant can handle it resetting anytime.