Connect to the Best Avaialble Wifi Network

Make sure that the network connection your connected to has the best signal

  1. joaomgcd
    For this task you'll need:

    STEP 1 - CHECK CURRENT WIFI NETWORKS


    • Create a new Task called Connect To Best Wifi
    • Add an AutoTools Connectivity action
    • Enable the Wifi -> Check Wifi Networks option
    (i) This will make AutoTools create a variable with JSON which will contain all the nearby wifi networks ordered from best to worst signal strength.
    /!\ On most modern devices location will need to be on for Wifi Scanning to work.
    • Add an AutoTools JSON Read action
    • Set the Json field to %atwifinetworks
    • Set the Fields to ssid
    (i) ssid is one of the fields that is available in the JSON that we got from the previous action
    • Go back to Tasker and add a Flash action just to confirm that you got the correct ssid


    STEP 2 - CONNECT TO BEST SSID


    • Add another AutoTools Connectivity action
    • Set the Wifi -> SSID setting to %ssid
    (i) %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


    Now if you run this task at any time you'll connect to the wifi network that has the best signal strenght :cool:
    Speshal likes this.

Recent Reviews

  1. hyborian
    hyborian
    5/5,
    Excellent. This tutorial also allowed me to build a task to skip persistent WiFi Networks I don't want, since "Forgetting" them with phone settings won't keep them forgotten forever and they come back.
  2. terry henderson
    terry henderson
    5/5,
    Very useful as locations change throughout the day.
  3. Speshal
    Speshal
    5/5,
    Very useful!