Big wheaterstation update #2

Closed
klaute wants to merge 19 commits from master into feature/http_call_send_json
Showing only changes of commit 9a920aeb88 - Show all commits

View file

@ -252,6 +252,7 @@ float readSensors(uint8_t s) {
void wifiConnectionCheck() { void wifiConnectionCheck() {
/*
if ((wifi_check_interval_counter + WIFI_CHECK_INTERVAL_MS) > millis()) { if ((wifi_check_interval_counter + WIFI_CHECK_INTERVAL_MS) > millis()) {
// if check interval is not exceeded abort check // if check interval is not exceeded abort check
return; return;
@ -285,6 +286,7 @@ void wifiConnectionCheck() {
//initWifiBasedSW(); //initWifiBasedSW();
} }
*/
} }
//*************************************************************************// //*************************************************************************//
@ -325,6 +327,7 @@ void wifiConnect() {
} }
WiFi.begin(WIFI_SSID, WIFI_PASSWD); WiFi.begin(WIFI_SSID, WIFI_PASSWD);
WiFi.setAutoReconnect(true);
debug("Connecting to WLAN"); debug("Connecting to WLAN");