Page 1 of 1

Local timesync for multiple devices

Posted: Tue Mar 09, 2021 2:20 pm
by aaandro
Hi everyone!

Has anyone come across ways to timesync multiple esp32 devices in local network?

By local I mean not connected to internet, just a single AP and a few stations in single WiFi network.
To make things interesting, I'm trying to achieve a few millisecond accuracy.

Most of the libraries,projects and examples seem to be using NTP sync from an outside NTP server (ie pool.ntp.org) and accuracy in seconds.


For small linux devices I've used chrony before, which worked magically. Unfortunately can't seem to find anything similar for esp.


Any advice is greatly appreciated!

Re: Local timesync for multiple devices

Posted: Tue Mar 09, 2021 6:28 pm
by UkioNotara
I think chrony is better suited for this...!

Re: Local timesync for multiple devices

Posted: Wed Mar 10, 2021 8:20 am
by aaandro
UkioNotara wrote:
Tue Mar 09, 2021 6:28 pm
I think chrony is better suited for this...!
There is no chrony timesync for esp modules :(
That's what I'm looking for.