garage_esp23.ino - shorter irrigation time for sprinkler 4

This commit is contained in:
2023-06-12 14:59:05 +02:00
parent eb4b23ab26
commit ef21ad3cf1
+2
View File
@@ -400,6 +400,7 @@ void setup() {
programStatus = 4;
digitalWrite(PIN_SPRINKLER4, LOW);
sprinklerStartMillis = sprinklerStartMillis + ((sprinklerDuration / 2) * 60 * 1000); // XXX Terrasse nur halb so lange bewässern
request->send(200, "application/json", "{ \"action\": \"start\" }");
}
else {
@@ -450,6 +451,7 @@ void loop() {
}
else {
sprinklerDuration = 0;
sprinklerStartMillis = 0;
}
}