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
  1  
  1  
#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
  1  
  1  
#2
Options

Information

Helpful: 0

Views: 584

Replies: 1

Related Articles
icon

Accessibility Adjustments

icon RESET

Choose the right accessibility profile for you

OFF

Seizure Safe

Eliminates flashes and reduces color

OFF

Cognitive Disability

Assists with reading and focusing

OFF

Vision Impaired

Enhances the website's visuals

OFF

ADHD Friendly

More focus and fewer distractions

Content Adjustments

Adjust Scale

icon
100%
icon

Highlight Title

icon

Highlight Link

icon

Text Magnifier

icon

Readable Font

icon

Adjust Fontsize

icon
100%
icon

Align Center

icon

Adjust LineHeight

icon
100%
icon

Align Left

icon

Adjust LetterSpacing

icon
100%
icon

Align Right

icon

Color Adjustment

Low Saturate

icon

High Saturate

icon

Dark Contrast

icon

Light Contrast

icon

Set Text Colors

Monochrome

icon

Set Title Colors

High Contrast

icon

Set BackgroundColor

Orientation Adjustments

Muted

icon

Hide Images

icon

Read Mode

icon

Stop Animation

icon

Reading Mask

icon

Highlight Hover

icon

Big Black Cursor

mutedicon

Big White Cursor

icon

Hide Video/Audio

icon

Stop Video

icon

Stop Audio

icon

Hide Animation

icon

Reading Guide

icon

Useful Links