3 ms·
I've done something similar with an esp8266 + 14segment alphanumeric display[1]. That being said, NTP only returns GMT. You still have to hardcode your timezo
by adamrmcd 7y ago
I've done something similar with an esp8266 + 14segment alphanumeric display[1].
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 https://github.com/adamm/esp8266-clockradio
- heeen2 7y agoyes, 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 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 http://heeen.de/proj/vfd-clock.mp4 http://heeen.de/proj/vfd-clock.mp4