things4u / ESP-1ch-Gateway-v5.0--OLD

Version 5 of Single Channel LoRa Gateway
MIT License
311 stars 162 forks source link

setup:: ERROR Time not set (yet). #99

Open DystopiaNow opened 4 years ago

DystopiaNow commented 4 years ago

I'm having some problems with the NTP server, I tried three different combinations, and I always have the same error:

WlanConnect:: Now starting WlanStatus WlanStatus:: CONNECTED ssid=WayFay WlanConnect:: WlanStatus Connected MAC: ****, len=17 Host=esp8266-3c8634 WiFi Connected to WayFay on IP=192.168.2.113 Local UDP port=1700 UDP Connection successful Gateway ID:****, Listening at SF7 on 903.90 MHz. resolveHost:: OK=ar.pool.ntp.org IP=162.159.200.123 setup:: ERROR Time not set (yet). Time=-17829890 setup:: ERROR Time not set (yet). Time=-17829890

My setup is ESP8266+RFM95W, No GPS, No OLED and no gateway sensor.

I tried with different ntp servers, as listed for my country, but all with the same error:

ar.pool.ntp.org http://1.south-america.pool.ntp.org/ http://0.south-america.pool.ntp.org/

UPDATE: what is really strange, is that if I define WIFIMANAGER as 0, I got a different type of error:

resolveHost:: ERROR hostByName=ar.pool.ntp.org, len=16

platenspeler commented 4 years ago

Please upgrade to the latest version of the software. Version 5 is there fore historical reasons, ad the ESP-1ch_Gateway (without the version number) is the latest version

regards,

Maarten

viniciusvdr01 commented 2 years ago

Was solved ? I'm having tha same problem and using the latest version of the software.