My HA instance seems to be about 16 seconds different from my laptop. I’ve double checked and my laptop is running correctly. (I know there’s a second difference here, but I’d blame that on screen shot lag.)
However, my HA instance is “way” off. Note that my system time (correct) is already at 2 min 12 sec. past noon, when my HA time is still not at 12:02 (the now() command only updates every minuite, so the delay here is at least 12 seconds, by visual estimation closer to 15/16 seconds.
I’m running on a RPI4. Been trying to sync it for ages, I’ve scoured the forums for help, I’m lost. Every now and again it will sync on it’s own, but anytime there’s a power outage, issue returns. All time based automations out of sync.
The issue is somewhat related to your network. HA reaches out to NTP servers to sync the time. If you’re having issues syncing the time, it’s because HA can’t reach the NTP server. I.e. Something on your network is blocking it. I have firewall rules in place to allow HA to access my national NTP server. This is all done on your router/gateway.
Issue went away, but I’m not sure how I fixed it. I remember redoing all the NTP settings, and setting my router’s NTP as well.
I have since had to restart from scratch and did not touch any time settings. It has been working.
I do notice that if I have a prolonged power outtage, the clock will be off upon boot, but corrects itself within 24hrs.