Accurate time on an ESP8266
Posted: Tue Dec 26, 2017 8:01 am
Is there any way to get accurate time on an ESP8266. By accurate, I mean correct to < 0.1 seconds.
The only obvious way to do this is using NTP. I tried using the ntp_client library written by Michael Margolis and using configtime() but both these approaches result in a time about two seconds slow.
Keeping the time is no issue but I cannot set it sufficiently accurately.
The only obvious way to do this is using NTP. I tried using the ntp_client library written by Michael Margolis and using configtime() but both these approaches result in a time about two seconds slow.
Keeping the time is no issue but I cannot set it sufficiently accurately.