diff --git a/src/main.cpp b/src/main.cpp index eb87e78..7086c07 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -301,9 +301,9 @@ void loop() if ((now - lastWifiDisconnect) > (5 /* min */ * 60 /* sec/min */ * 1000 /* millisec/sec */)) { -#ifdef DEBUGGER_TELEGRAM_ID - tele.sendMessage(DEBUGGER_TELEGRAM_ID, "Wifi disconnected - restarting now"); -#endif + Serial.println("Wifi disconnected - restarting now"); + + delay(2000); esp_restart(); } }