added deepsleep, thus esp has to reconnect wifi

This commit is contained in:
damage 2024-06-23 18:23:06 +02:00
parent e9ba6b7c23
commit 5abae49a33

View File

@ -122,6 +122,7 @@ void loop() {
mqttClient.endMessage();
okLED();
ESP.deepSleep(60 * 1000 * 1000);
} else {
Serial.println("Error: GPS not valid");
errorLED(5);