auto_connect.py more verbose

This commit is contained in:
Thomas Farstrike
2025-05-07 13:38:14 +02:00
parent 61ff36d2ad
commit 339ad2c868
@@ -65,7 +65,7 @@ def attempt_connecting(ssid,password):
elif not wlan.active(): # wificonf app or others might stop the wifi, no point in continuing then
print("auto_connect.py attempt_connecting: Someone disabled wifi, bailing out...")
return False
print(f"attempt_connecting: Waiting for connection, attempt {i+1}/10")
print(f"auto_connect.py attempt_connecting: Waiting for connection, attempt {i+1}/10")
time.sleep(1)
print(f"auto_connect.py attempt_connecting: Failed to connect to {ssid}")
return False