I need to keep track of time for triggering events and timestamping incoming data but I can’t always rely on Internet connection to get NTP time. Any idea to succeed in this task?
Without using an RTC, I mean!
I would suggest precisely that, using an RTC.
If you don’t want to use an RTC, I suggest taking a look at this article:https://www.instructables.com/id/TESTED-Timekeeping-on-ESP8266-Arduino-Uno-WITHOUT-/
I hope this helps.
Thanks Sara, I’ll try a “fusion” of Internet retrieval (when it’s available) and a local timekeeping as in Instructables article you suggested as a backup when Internet connection isn’t reachable.