NTP issues

I run HA Os on a RPI4.

I switched from domoticz a couple of months ago and I love HA.

The only thing that drives me crazy is NTP syncing. I have power and internet outages every day and everytime that happens the HAOS time is out of sync.

I did not have this problem with domoticz and my shelly devices around the house also don’t have that problem as they all sync fine straight after boot.

So in my opinion this is a software issue. I installed the chrony add on to sync the system time but even that addon does not work after a boot. It is started fine but I need to restart the time in order to sync the system time. After that I need to reboot HAOS otherwise my Tuya integration does not work.

Lots of unnecessary trouble.

So please can we add the following to system settings:

  • change or add ntp server
  • Button to manually sync system time + log output

NTP servers are already entered in HA, and there are many, not only one, you only need to choose time zone.

But i would strongly suggest that you solve power problems. Cutting power to Pi often is just calling for problems. Linux doesn’t like that at all (which HA OS basically is). System must shut down cleanly or you will experience file corruption very soon in a way that HA won’t start at all. Having a non-started addon after power restore confirms that.

It shouldn’t be too difficult to set up some sort of UPS for Pi: First hit on aliexpress

I bet you could even make system in a way that HA will cleanly shut down if batteries will become empty…