teslausb icon indicating copy to clipboard operation
teslausb copied to clipboard

Monitor wifi connectivity

Open jjjasont opened this issue 10 months ago • 1 comments

Add a new process for Wifi connectivity check.

If SSID and WIFI_MAX_FAILS are defined, Wi-Fi monitoring is enabled.

Teslausb will check wifi connectivity on a 60-seconds internal. Teslausb will reboot if SSID is in range, but not connected after WIFI_MAX_FAILS

jjjasont avatar Mar 09 '25 09:03 jjjasont

Background for this pull request:

I setup Home wifi SSID and enabled AP access point in TeslaUSB.

I noticed that TeslaUSB does not automatically connects to home wifi when I return home. But it will successfully connect to home wifi after a reboot.

So I setup a monitor script to reboot TeslaUSB if after X consecutive failed checks

jjjasont avatar Mar 09 '25 09:03 jjjasont