Local timesync for multiple devices

aaandro
Posts: 4
Joined: Tue Mar 09, 2021 1:06 pm

Local timesync for multiple devices

Postby aaandro » Tue Mar 09, 2021 2:20 pm

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!

UkioNotara
Posts: 1
Joined: Tue Mar 09, 2021 6:18 pm

Re: Local timesync for multiple devices

Postby UkioNotara » Tue Mar 09, 2021 6:28 pm

I think chrony is better suited for this...!

aaandro
Posts: 4
Joined: Tue Mar 09, 2021 1:06 pm

Re: Local timesync for multiple devices

Postby aaandro » Wed Mar 10, 2021 8:20 am

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.

Who is online

Users browsing this forum: kaxx1975 and 92 guests