Chat freely about anything...

User avatar
By McChubby007
#80329 Yes, you are quite correct - although the esp8266 will drift its internal time (when using the Time library for example), it certainly does not need to keep asking for ntp time; that is ridiculous. I tend to do it every 3 hours - I can't remember how much the internal time will drift,nor why I chose 3 hours but you can start with every day and see how you get on.
User avatar
By schufti
#80332 you don't need an extra library, sntp is allready part of the esp arduino core (>2.4.x, lwip2).
look for NTP-TZ-DST.ino
Once activated it synchronizes every 60min per default.
Depending on teperature (changes) I experienced a drift of ~6s/day.