Comments on: ESP32/ESP8266: Run Daily Task at Specific Time (Arduino IDE) https://randomnerdtutorials.com/esp32-esp8266-run-daily-task/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Wed, 30 Jul 2025 07:30:12 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Peter https://randomnerdtutorials.com/esp32-esp8266-run-daily-task/#comment-1076224 Wed, 30 Jul 2025 07:30:12 +0000 https://randomnerdtutorials.com/?p=166859#comment-1076224 Hi, I have the same issue where shutting down the router after the first sync still gives a successful synchronisation result even though the wifi is no longer operating. It should NOT show that the synchronisation was successful if the wifi has stopped working.

any thoughts apreciated.
Peter

]]>
By: iw2fvo https://randomnerdtutorials.com/esp32-esp8266-run-daily-task/#comment-1066045 Mon, 07 Jul 2025 17:41:17 +0000 https://randomnerdtutorials.com/?p=166859#comment-1066045 good dat Sara and congratulation for this useful project.
I did set the synch rate to one minute for test purpose doing like this:
const unsigned long ntpSyncInterval = 1 * 60 * 1000; It is OK.
We found that if the WIFI goes off and/or he modem router goes off we still have the following messages:
“Synchronizing time with NTP server…”
” Time synchronized!”
HOW is it possible if the NTP data are NOT AVAILLABLE?
Could you please clarify the point ?
Thanks
iw2fvo, ambro

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-esp8266-run-daily-task/#comment-1034293 Mon, 05 May 2025 10:03:55 +0000 https://randomnerdtutorials.com/?p=166859#comment-1034293 In reply to KiwiME.

That’s great.
Thanks for your comment.
Regards,
Sara

]]>
By: KiwiME https://randomnerdtutorials.com/esp32-esp8266-run-daily-task/#comment-1033430 Fri, 02 May 2025 22:08:29 +0000 https://randomnerdtutorials.com/?p=166859#comment-1033430 Thanks for this. Worked first time and saved me a lot of work for a home project where I need to charge a generator battery once a day.

]]>
By: John Paul Froehlich https://randomnerdtutorials.com/esp32-esp8266-run-daily-task/#comment-1020012 Wed, 26 Mar 2025 20:23:01 +0000 https://randomnerdtutorials.com/?p=166859#comment-1020012 Is daylight savings time included in the time available from network.

]]>
By: Veit https://randomnerdtutorials.com/esp32-esp8266-run-daily-task/#comment-1018353 Thu, 20 Mar 2025 19:03:21 +0000 https://randomnerdtutorials.com/?p=166859#comment-1018353 Hello
My internet router can also be addressed as an NTP server on my FritzBox. The query on its IP address works flawlessly. The router also retrieves the data from an NTP server and makes it available on the home network.

]]>
By: larry.platzek https://randomnerdtutorials.com/esp32-esp8266-run-daily-task/#comment-1018070 Wed, 19 Mar 2025 20:39:53 +0000 https://randomnerdtutorials.com/?p=166859#comment-1018070 good IDEA

]]>
By: hackepeter_101 https://randomnerdtutorials.com/esp32-esp8266-run-daily-task/#comment-1017956 Wed, 19 Mar 2025 13:30:24 +0000 https://randomnerdtutorials.com/?p=166859#comment-1017956 In reply to Jim Allison.

Exactly what I thought. I didn’t even know an ESP32 had such a pin though

]]>
By: Jim Allison https://randomnerdtutorials.com/esp32-esp8266-run-daily-task/#comment-1017768 Tue, 18 Mar 2025 21:50:34 +0000 https://randomnerdtutorials.com/?p=166859#comment-1017768 I wonder if you could create a similar tutorial that implements the ESP32 deep sleep capability with a 32.768kHz crystal on GPIO XTAL32 pins to keep the RTC from drifting. Then the ESP32 could wake up at precisely the right time and send a message. Of course, it would need to occasionally synchronize with the NTP server because even a crystal will drift (but not by very much).

]]>