       WiFi.softAPdisconnect(true);
       setupWifiConnect();
     }
+    server.begin();
 
   }
   else

  Serial.print("PWD: ");
  Serial.println(pwd);
  Serial.print("visit website under: ");
  Serial.println(Ip);
}

void setupWifiConnect()

    switchSetup = true;
  }

  

  if (MDNS.begin("OPENHAB_TESTLUDER")) 
  {
    Serial.println("mDNS responder started");
  }
  else
  {
    Serial.println("Error setting up MDNS responder!");
  }

  


  Serial.println("");
  Serial.println("WiFi connected");
}
