-
I'm getting bad time from ESPTimeHelper after a restart. looks like you have abandoned this Library. My version 1.0.7 does not seem to exist outside ESP-Mail Client. Looks to me that after reboot gmt_offset has no effect. were you planning on revisiting this library? I have Several projects that use this code, please help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The ESPTimeHelper class will be removed from the library in the next update. You can use other time library for time functions instead. For ESP32 the time zone will not recover after sleep as this is the ESP32 core issue, you need to set time zone environment again. In ESP8266, this feature is not available. For ESP32, library provided the way to store this time zone environment string in flash and auto set after the device sleep. See this example for how to. |
Beta Was this translation helpful? Give feedback.
The ESPTimeHelper class will be removed from the library in the next update.
You can use other time library for time functions instead.
For ESP32 the time zone will not recover after sleep as this is the ESP32 core issue, you need to set time zone environment again.
In ESP8266, this feature is not available.
For ESP32, library provided the way to store this time zone environment string in flash and auto set after the device sleep. See this example for how to.