Search found 4 matches

by Bill Glass
Mon Aug 28, 2023 9:11 am
Forum: General Discussion
Topic: Daylight Saving Time and ESP32
Replies: 8
Views: 11699

Re: Daylight Saving Time and ESP32

In my application using the ESP32, I am not using an NTP server. I need to use ESP-NOW. I have to connect to internet via an additional ESP01 chip. I use AT commands and ThingSpeak's ThingHTTP for the URL of "https://timezonedb.com/unix-time". I tried your example while using the ESP32 wifi connecte...
by Bill Glass
Sun Aug 27, 2023 12:43 pm
Forum: General Discussion
Topic: Daylight Saving Time and ESP32
Replies: 8
Views: 11699

Re: Daylight Saving Time and ESP32

Interesting, looks like less code, but (without studying all of your documentation) does it take care of all the different rules governing when DST switches for all countries. If so, I might try it for my 2 applications.
by Bill Glass
Fri Aug 18, 2023 6:22 am
Forum: General Discussion
Topic: Daylight Saving Time and ESP32
Replies: 8
Views: 11699

Re: Daylight Saving Time and ESP32

Sorry, corrected a coupla errors in my description. Forget the last post and look here: The code below will automatically adjust the RTC using a user-defined rule. I am using the time.h library's functions. French time is Unix time+offset where offset=3600sec in Winter and 7200 in Summer. France cha...
by Bill Glass
Thu Aug 17, 2023 2:34 pm
Forum: General Discussion
Topic: Daylight Saving Time and ESP32
Replies: 8
Views: 11699

Re: Daylight Saving Time and ESP32

The code below will automatically adjust the RTC using a user-defined rule. I am using the time.h library''s functions. French time is Unix time+delta where delta=3600sec in Winter and 7200 in Summer. France changes last Saturday of March or October at GMT midnite. You can see below that I first loo...