Skip to content

ESPTimeHelper Bad Time After restart, reprogram or wake #187

Answered by mobizt
Rcates1 asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Rcates1
Comment options

@mobizt
Comment options

Answer selected by mobizt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants