I would like to sync all my devices to Hass.io and not to external ntp servers, is there a way for Hassio/Resin to act as an NTP relay?
No problem, I’ve built an add-on that does this
here you go attached, rename .zip, unzip and put in your addons folder, and then install, it will listen on port 123 for requests and read the time from the system, it is just this gitcode https://github.com/limifly/ntpserver/blob/master/ntpserver.py wrapped in a docker container.
ntpserver.yaml (3.7 KB)
Thanks a lot! very appreciated.
Hi,
For anyone interested, I put the NTP server complete for Hassio at
Just add that address to your repositories in Hassio Dashboard and install the NTP Server.
After that, your devices on your local network can access the time from your Hassio.
I made also a request to be added this Hassio Addon to the hassio addon repository:
Thanks a lot Mark for your help!
your welcome hope people find it useful