Open Alex-lob opened 1 year ago
Hey, I tested an example sketch ESP32 NTP TIME and it works, so I don't think it's the network
Interesting issue. I have not had any reports like that yet so it should not be a common issue. Also the NPT implementation should not really have changed at all since the blynk v1 codebase. And I am just using basically the same code as the example code of the native NTP implemention of the ESP. The only thing I could think of is that maybe the example you used used a different NTP server address? The one used in the project is set in the Configuration.h file in the NTP_SERVER define.
Hey Florian,
my clock was already running for 1 year until Blynk switched off the server. Now I've changed the config to Blynk 2.0. I now get the error message: TimeManager failed to get Time from NTP Server
Do you have any idea?
lease build project in debug configuration to get more details about an exception. See https://docs.platformio.org/page/projectconf/build_configurations.html
--- Terminal on COM3 | 115200 8-N-1 --- Available filters and text transformations: colorize, debug, default, direct, esp32_exception_decoder, hexlify, log2file, nocontrol, printable, send_on_enter, time --- More details at https://bit.ly/pio-monitor-filters --- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ets..Reconnect successful Waiting for loading animation to finish... OTA update functionality is ready IP address: 192.168.2.159 [3206]
/ )/ / _ / /_ / / / // / \/ '/ ///_, /////_\ /___/ v1.1.0 on ESP32
StandWithUkraine https://bit.ly/swua
Starting blynk on core 0... Fetching time from NTP server... Loop task running on core 0 [3228] Connecting to blynk.cloud:80 [3289] Ready (ping: 21ms). [E]: TimeManager failed to get time from NTP server [E]: TimeManager failed to get time from NTP server [E]: TimeManager failed to get time from NTP server [E]: TimeManager failed to get time from NTP server [E]: TimeManager failed to get time from NTP server [E]: TimeManager failed to get time from NTP server [E]: TimeManager failed to get time from NTP server [E]: TimeManager failed to get time from NTP server [E]: TimeManager failed to get time from NTP server [E]: TimeManager failed to get time from NTP server [E]: TimeManager failed to get time from NTP server
Greetings from Germany