ESP8266 cannot resolve time server (nist) when connected to my Deco S4

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

ESP8266 cannot resolve time server (nist) when connected to my Deco S4

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
ESP8266 cannot resolve time server (nist) when connected to my Deco S4
ESP8266 cannot resolve time server (nist) when connected to my Deco S4
2023-05-03 21:07:31 - last edited 2023-05-04 01:42:59
Model: Deco S4  
Hardware Version:
Firmware Version:

Latest firmware as of today. I just installed my S4 system, and now one of my ESP8266 applications that has been running great cannot resolve the IP address for the nist ntp time server (can't post url in this forum). If I switch back to my old Wi-Fi network, it works fine.

 

Console:

LittleFS mounted successfully
Connecting to WiFi ......

Connected to Deco Mesh 5089
 

Time server IP: (IP unset)

 

Relevant code:

 

IPAddress timeServerIP; 

const char* ntpServerName = (nist server name, can't have url in this post)

 

WiFi.hostByName(ntpServerName, timeServerIP); // Get the IP address of the NTP server

Serial.print("Time server IP:\t");

Serial.println(timeServerIP);

 

sendNTPpacket(timeServerIP);

  0      
  0      
#1
Options
1 Accepted Solution
Re:ESP8266 cannot resolve time server (nist) when connected to my Deco S4-Solution
2023-05-03 21:24:32 - last edited 2023-05-04 01:42:59

  @svenyonson  I just realized that the Deco is setup to use DHCP and that the gateway needs to be set to 192.168.68.1.

 

All working now, please close.

 

Recommended Solution
  2  
  2  
#2
Options
1 Reply
Re:ESP8266 cannot resolve time server (nist) when connected to my Deco S4-Solution
2023-05-03 21:24:32 - last edited 2023-05-04 01:42:59

  @svenyonson  I just realized that the Deco is setup to use DHCP and that the gateway needs to be set to 192.168.68.1.

 

All working now, please close.

 

Recommended Solution
  2  
  2  
#2
Options

Information

Helpful: 0

Views: 452

Replies: 1

Related Articles