For this task you'll need:
STEP 1 - CHECK CURRENT WIFI NETWORKS
This will make AutoTools create a variable with JSON which will contain all the nearby wifi networks ordered from best to worst signal strength.
- Create a new Task called Connect To Best Wifi
- Add an AutoTools Connectivity action
- Enable the Wifi -> Check Wifi Networks option
On most modern devices location will need to be on for Wifi Scanning to work.
ssid is one of the fields that is available in the JSON that we got from the previous action
- Add an AutoTools JSON Read action
- Set the Json field to %atwifinetworks
- Set the Fields to ssid
- Go back to Tasker and add a Flash action just to confirm that you got the correct ssid
STEP 2 - CONNECT TO BEST SSID
%ssid is the variable we got from the JSON Read action above. It's simply the first SSID on the list. Since AutoTools automatically ordered the list by signal strength we automatically get the ssid of the wifi network with the best signal
- Add another AutoTools Connectivity action
- Set the Wifi -> SSID setting to %ssid
Now if you run this task at any time you'll connect to the wifi network that has the best signal strenght
Connect to the Best Avaialble Wifi Network
Make sure that the network connection your connected to has the best signal