ESP8266 Developer Zone The Official ESP8266 Forum 2020-03-06T23:32:25+08:00 https://bbs.espressif.com:443/feed.php?f=16&t=6003 2020-03-06T23:32:25+08:00 2020-03-06T23:32:25+08:00 https://bbs.espressif.com:443/viewtopic.php?t=6003&p=74088#p74088 <![CDATA[Re: SNTP not working in ESP8266]]>
ESP_Faye wrote:
Hi,

You need to set the time zone first.

Code:

AT+CIPSNTPCFG=1,8 //set time zone


If your problem is still unsolved, please feel free to let me know.
Sorry for the inconvenience.

1.6的固件(esp-01s),设置时区之后依然获取到的只是初始时间

Statistics: Posted by Guest — Fri Mar 06, 2020 11:32 pm


]]>
2018-07-20T23:27:38+08:00 2018-07-20T23:27:38+08:00 https://bbs.espressif.com:443/viewtopic.php?t=6003&p=22149#p22149 <![CDATA[Re: SNTP not working in ESP8266]]>
Thanks.

Statistics: Posted by mobzero — Fri Jul 20, 2018 11:27 pm


]]>
2018-07-20T21:50:08+08:00 2018-07-20T21:50:08+08:00 https://bbs.espressif.com:443/viewtopic.php?t=6003&p=22148#p22148 <![CDATA[Re: SNTP not working in ESP8266]]> Statistics: Posted by Her Mary — Fri Jul 20, 2018 9:50 pm


]]>
2018-07-12T01:22:46+08:00 2018-07-12T01:22:46+08:00 https://bbs.espressif.com:443/viewtopic.php?t=6003&p=22063#p22063 <![CDATA[Re: SNTP not working in ESP8266]]>
Even when i set the SNTP configuration by:

Code:

AT+CIPSNTPCFG=1,8

OK
or

Code:

AT+CIPSNTPCFG=1,8,"cn.ntp.org.cn","ntp.sjtu.edu.cn","us.pool.ntp.org"

OK


When i check the time, i always get this:

Code:

AT+CIPSNTPTIME?
+CIPSNTPTIME:Thu Jan 01 00:00:00 1970
OK


Any suggestion? Thanks.

Statistics: Posted by mobzero — Thu Jul 12, 2018 1:22 am


]]>
2017-08-23T17:01:25+08:00 2017-08-23T17:01:25+08:00 https://bbs.espressif.com:443/viewtopic.php?t=6003&p=15292#p15292 <![CDATA[Re: SNTP not working in ESP8266]]>
You need to set the time zone first.

Code:

AT+CIPSNTPCFG=1,8 //set time zone


If your problem is still unsolved, please feel free to let me know.
Sorry for the inconvenience.

Statistics: Posted by ESP_Faye — Wed Aug 23, 2017 5:01 pm


]]>
2017-08-18T18:18:04+08:00 2017-08-18T18:18:04+08:00 https://bbs.espressif.com:443/viewtopic.php?t=6003&p=15215#p15215 <![CDATA[SNTP not working in ESP8266]]>
I'm always getting the same result with the CIPSNTPTIME? command: "+CIPSNTPTIME:Thu Jan 01 00:00:00 1970".
It's using the default servers, and I tested them outside the ESP just to check conectivity. Servers are active and reachable.
ESP is correctly connected to Wifi, STA mode, etc. I have tried different steps, configurations, servers, etc. It's always returning the same time (epoch).

Any suggestion?

ESP info:
AT version:1.4.0.0(May 5 2017 16:10:59)
SDK version:2.1.0(116b762)

Statistics: Posted by exerion — Fri Aug 18, 2017 6:18 pm


]]>