nodeMCU #3 webserver: Time and Date using NTP
Ғылым және технология
In this video we use ezTime library to get current date and time from online NTP servers. If nodeMCU has access to Internet, it will sync time using NTP servers. This way you don't have to connect RTC (Real Time Clock) module to keep track of time.
Link to source code: drive.google.com/file/d/1kBFa...
Text to C/C++ strings converter: tomeko.net/online_tools/cpp_te...
Пікірлер: 9
Thanks a lot . This is the simplest one Also thanks for eztime creator
Thanks for pointing this out. Just needs some minor tweaks for the ESP32 and good to go
how to change time zone?
@TehnoManik
5 жыл бұрын
In setup function, replace "de" in myLocalTime.setLocation(F("de")) to your country code (uk,it,hk....).
@javiers.8274
5 жыл бұрын
@@TehnoManik I´m in Germany but "de" gives me 2 hours delay. Can you please tell me which code sould I use?
@TehnoManik
5 жыл бұрын
Try this: Timezone tzBerlin; tzBerlin.setLocation("Europe/Berlin");
Can u provide the code
@TehnoManik
5 жыл бұрын
Link to source code is in video description.