WiFi logging

This commit is contained in:
Patrick Haßel 2025-09-01 09:49:14 +02:00
parent b88df843ad
commit 4e5fff2498

View File

@ -51,7 +51,7 @@ void wifiLoop() {
} else { } else {
if (connected) { if (connected) {
status.set(false); status.set(false);
Serial.printf("[WiFi] Connected as \"%s\" (%s)\n", WiFi.getHostname(), WiFi.localIP().toString().c_str()); Serial.printf("[WiFi] Connected \"%s\" as \"%s\" (%s)\n", WiFi.SSID().c_str(), WiFi.getHostname(), WiFi.localIP().toString().c_str());
ArduinoOTA.begin(); ArduinoOTA.begin();
httpSetup(); httpSetup();
} else if (wifiLast == 0 || millis() - wifiLast >= 10000) { } else if (wifiLast == 0 || millis() - wifiLast >= 10000) {