     }
     else
     {
-      if (millis() - startMills > REPORT_INTERVAL)
-      {
-         sendCheck();
-         startMills = millis();
-      }
       client.loop();
     }
     ArduinoOTA.handle();

    wifi_connect();
  }
}
// end of file

unsigned long lastRelayActionmillis;
unsigned long startMills;

// send reset info
String getResetInfo;
int ResetInfo = LOW;

void ICACHE_RAM_ATTR callback(char* intopic, byte* inpayload, unsigned int length);

WiFiClientSecure sslclient;
