Is your feature request related to a problem? Please describe.
The current usage of millis would cause the esp not to remember the time it went into deepsleep. With this solution it would be able to recover lost time from deepseep
Describe the solution you'd like
The timer class should be rewritten to use gettimeofday so that the rtc is used, which keeps running, even in deepsleep
Describe alternatives you've considered
NTP time sync and Wifi, but these are not feasable because the Tama is supposed to be completely offline
Is your feature request related to a problem? Please describe. The current usage of millis would cause the esp not to remember the time it went into deepsleep. With this solution it would be able to recover lost time from deepseep
Describe the solution you'd like The timer class should be rewritten to use gettimeofday so that the rtc is used, which keeps running, even in deepsleep
Describe alternatives you've considered NTP time sync and Wifi, but these are not feasable because the Tama is supposed to be completely offline