Re:I tried to adjust the time on my alarm clock
by heeen2 on Tuesday November 05, 2019 @03:32AM
(#21450643)
yes, just as I hardcoded my wifi credentials. DST can be hardcoded as the range of date that DST has been active historically at your location to automate that, baring discussions of abolishing DST or such.
https://github.com/heeen/vfd-clock
looking back at the code, doesn't seem like I handled DST though. I would probably use something like wifimanager now to allow dynamically configuring wifi and other things
That being said, NTP only returns GMT. You still have to hardcode your timezone and whether DST is active or not, right?
[1] https://github.com/adamm/esp8266-clockradio