ropg / ezTime

ezTime — pronounced "Easy Time" — is a very easy to use Arduino time and date library that provides NTP network time lookups, extensive timezone support, formatted time and date strings, user events, millisecond precision and more.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clock running fast

mugginsjm opened this issue · comments

I have several devices all using EZtime all running perfectly except one of my ESP32 which runs 3 seconds fast every day.
Regular checks on timeStatus()==timeSet shows true.
I have been interrogating lastUpdate on device (via MQTT) and it seems that it is not updating.
I have this problem on both my ESP32 but no issue on ESP8266 running similar software.
The only other difference between the 2 devices is that I'm running AsyncMqttClient on the ESP32. Could that be blocking the update.
Any advice on what other checks I can do.
thanks
John

Sorry.... I remember now I had to comment out events in loop because it interfered with accelstepper and caused reboots.
I will have to issue NTPupdate at intervals