|
@@ -31,9 +31,9 @@ HTTPClient http;
|
|
|
boolean tempView = false;
|
|
|
int respCode = 0;
|
|
|
|
|
|
-unsigned long startMillis1;
|
|
|
+unsigned long startMillis1;
|
|
|
unsigned long currentMillis1;
|
|
|
-unsigned long startMillis2;
|
|
|
+unsigned long startMillis2;
|
|
|
unsigned long currentMillis2;
|
|
|
boolean firstIteration = true;
|
|
|
|
|
@@ -484,7 +484,7 @@ void loop()
|
|
|
currentMillis1 = millis();
|
|
|
currentMillis2 = millis();
|
|
|
|
|
|
- if (firstIteration || (currentMillis1 - startMillis1 >= 10000)) {
|
|
|
+ if (firstIteration || (currentMillis1 - startMillis1 >= 180000)) {
|
|
|
respCode = http.GET();
|
|
|
firstIteration = false;
|
|
|
startMillis1 = currentMillis1;
|