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.
MIT License
327 stars 92 forks source link

Clock running fast #130

Closed mugginsjm closed 2 years ago

mugginsjm commented 2 years ago

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

mugginsjm commented 2 years ago

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