How can I keep the date / time?

mohitupadhyay
Posts: 1
Joined: Wed Aug 28, 2024 5:04 am

How can I keep the date / time?

Postby mohitupadhyay » Wed Aug 28, 2024 5:24 am

Re-Question:

How can I set the date / time?

How can I ensure that the time I set on my ESP32 is preserved across various conditions, such as during deep sleep, when Wi-Fi is off, after a reset, or even when the device is powered off? I'm looking for a way to store and maintain accurate time in all these scenarios.

ESP_Sprite
Posts: 9757
Joined: Thu Nov 26, 2015 4:08 am

Re: How can I set the date / time?

Postby ESP_Sprite » Wed Aug 28, 2024 8:35 am

I've split off your question as you posted it in a 2-year-old unrelated topic.
mohitupadhyay wrote:
Wed Aug 28, 2024 5:24 am
Re-Question:

How can I set the date / time?

How can I ensure that the time I set on my ESP32 is preserved across various conditions, such as during deep sleep, when Wi-Fi is off, after a reset, or even when the device is powered off? I'm looking for a way to store and maintain accurate time in all these scenarios.
Depends on your use case: what precision do you need, do you have access to WiFi at least on the first reset, is a battery acceptable? It sounds like an external RTC would be the most useful for the case you describe, though.

Who is online

Users browsing this forum: Google [Bot] and 144 guests