Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By torntrousers
#40830 I've a little library function to help doing once a day wake ups like you describe with a counter in RTC memory - https://github.com/HarringayMakerSpace/ ... PDailyTask. One thing i've found is that most ESPs run a bit slow so will be out by 7 to 8 minutes each day, so that library tries to compensate for that by sync'ing the time from the Date header in an HTTP response.
User avatar
By paw52
#63648
Andrew Grande wrote:Thank you @lethe , this looks like a perfect fit. Already hacking :)

@Barnabybear - cool idea with an external counter, although agree, in case of esp8266 it can do most of it internally.


Andrew do you mind to share the code for deep sleep over 1 hour?
Cheers