Thank you.
I had found another solution of having a configtime call with no NTP server in the setup and just having the ntp call in the called function. Your solution though is a cleaner method so will change to this. Thanks for the advice.
Search found 3 matches
- Wed Jul 20, 2022 6:46 am
- Forum: Hardware
- Topic: NTP Update
- Replies: 3
- Views: 4489
- Sun Jul 17, 2022 12:30 am
- Forum: Hardware
- Topic: NTP Update
- Replies: 3
- Views: 4489
Re: NTP Update
I have managed to get this working on a regular basis however I have discovered that except for on the cycles that it does a time sync it shows the time as UTC instead of my local time (UTC+10 / 11 in daylight savings). Any idea how I can solve this. I do need my ESP32 to go to deep sleep and also w...
- Thu Jul 14, 2022 12:55 am
- Forum: Hardware
- Topic: NTP Update
- Replies: 3
- Views: 4489
NTP Update
Hi, I have the following code which is getting the time from NTP just fine. My project when complete with all other functions is to sleep for 20 minutes and then wake up, check sensors / perform needed actions and go back to sleep. I have had issues with the NTP time drifting a lot and want to know ...