http://esp8266basic.com
A BASIC interpreter for your ESP
Working now on Autodrop3d. A 3d printer with automatic part ejection system. https://autodrop3d.com
Explore... Chat... Share...
Moderator: Mmiscool
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
It takes about 20-25 seconds for home assistant c[…]
I tried to upgrade tof my sonoff basic R2 with the[…]
a problem Perhaps you want to define "Probl[…]
Rebooting your router will not give you a faster I[…]
There are no other notifications from esptool.py i[…]
Using the Arduino IDE, you'll learn how to set up […]
In this project, you will post to Twitter using an[…]
In this project, we will build a water level contr[…]
I guess I'm late, but I had the same problem and f[…]
Last night I received my first D1 Minis for a lear[…]
Although I am aware that this is an old post, I fe[…]