Re: simple graphic clock
Posted: Thu Dec 10, 2015 10:18 am
So long as the esp is connected to your WiFi network that has internet access it should be working. Is there a specific time zone you are setting it for?
-->
Open Community Forum for ESP8266, Come share Arduino and IoT (Internet of Things)
https://www.esp8266.com/
Mmiscool wrote:So long as the esp is connected to your WiFi network that has internet access it should be working. Is there a specific time zone you are setting it for?
ssylca wrote:Hi,
The time() doesn't fetch anything. What I am doing wrong?
Many thanks to MMISCOOL
S.
TassyJim wrote:ssylca wrote:Hi,
The time() doesn't fetch anything. What I am doing wrong?
Many thanks to MMISCOOL
S.
Your module has to have internet access.
For that to happen, your ESP needs to connect to your WIFI network as a client. If you are connecting to the ESP when it's an access point (like the first time your connect to it), it won't have internet access.
Once you have internet access, you need to run timesetup(). When you run timesetup(), it configures you timezone and runs NTP to set the time.
Jim