The current wifi checker.py script does not have the ability to automatically retry Wi-Fi reconnection if the connection fails, nor does it log Wi-Fi status or reconnection attempts for future reference. Adding these features would improve the script by providing better reliability and diagnostic capabilities.
Proposed Features:
Reconnection Attempts:
Add functionality to attempt reconnection multiple times (e.g., 3 attempts) when the Wi-Fi connection fails. After the specified number of attempts, the script should stop trying and notify the user that reconnection failed.
Logging Wi-Fi Status:
Implement a logging feature that writes Wi-Fi status (enabled/disabled), reconnection attempts, and success/failure to a log file (wifi_status_log.txt). This will help the user track the script's behavior over time.
Steps to Reproduce:
Run the wifi checker.py script.
Disconnect your Wi-Fi or let the connection fail.
Observe that the script does not attempt reconnection multiple times.
There is no log or file created to track the script’s actions.
Expected Behavior:
The script should automatically retry reconnecting to Wi-Fi if the connection fails, up to a certain number of attempts.
All significant actions (Wi-Fi status checks, reconnection attempts, and results) should be logged in a file for future reference
I will be completing this issue by tomorrow
NOTE - THIS ISSUE IS SUBJECTED TO @Stonebanks-js ONLY.
Description:
Proposed Features:
Reconnection Attempts:
Logging Wi-Fi Status:
Steps to Reproduce:
Expected Behavior:
I will be completing this issue by tomorrow
NOTE - THIS ISSUE IS SUBJECTED TO @Stonebanks-js ONLY.
SIGNATURE - ARADHYA CHAUDHARY