Accept variables for „SSID in range” trigger and „Connect to Network” action options

hugbear

New member
Hello.

Would it be possible to add local/global string variables to the list of SSID choices available for both the „SSID in range” trigger and „Connect to Network” action?

My use case:
- I foolishly bought a Motorola phone without being aware of their recurring WiFi disconnect bug (which Motorola is either unable or unwilling to fix).
- I'm currently mitigating this with a macro that triggers on „Disconnected from network” and does „IF Trigger Fired SSID in Range specificSSID -> Connect to Network specificSSID”.
- Unfortunately I have to manually create multiple IFs, one for every WiFi I want to keep connected to. Furthermore, the specificSSID isn't even available in the list until I'm in its range!

So, to overcome all this, I'd like to be able save the current SSID to a variable lastSSID upon connecting, and use this variable as a parameter to be used by both the „SSID in range” trigger and „Connect to Network” action, regardless of whichever NEW WiFi I might be connecting to at some point in the future.

Is this even feasible at all?

Edited to add a screencap of my current macro:
 
Last edited:

Qarboz

Well-known member
Hello.

Would it be possible to add local/global string variables to the list of SSID choices available for both the „SSID in range” trigger and „Connect to Network” action?

My use case:
- I foolishly bought a Motorola phone without being aware of their recurring WiFi disconnect bug (which Motorola is either unable or unwilling to fix).
- I'm currently mitigating this with a macro that triggers on „Disconnected from network” and does „IF Trigger Fired SSID in Range specificSSID -> Connect to Network specificSSID”.
- Unfortunately I have to manually create multiple IFs, one for every WiFi I want to keep connected to. Furthermore, the specificSSID isn't even available in the list until I'm in its range!

So, to overcome all this, I'd like to be able save the current SSID to a variable lastSSID upon connecting, and use this variable as a parameter to be used by both the „SSID in range” trigger and „Connect to Network” action, regardless of whichever NEW WiFi I might be connecting to at some point in the future.

Is this even feasible at all?

Edited to add a screencap of my current macro:
A small workaround for the Motorola wifi problem.
Turning off bluetooth makes the wifi much more stable; if you don't have Bluetooth devices that you use when you are connected to a WiFi network, with a macro you can try turning off bluetooth when you are in the SSID range and turn it on when you are not in the SSID range
 

hugbear

New member
A small workaround for the Motorola wifi problem.
Turning off bluetooth makes the wifi much more stable; if you don't have Bluetooth devices that you use when you are connected to a WiFi network, with a macro you can try turning off bluetooth when you are in the SSID range and turn it on when you are not in the SSID range
Thank you for your suggestion. Unfortunately I have some BT headphones that I use quite frequently and for long periods of time. (They're "air conduction" type, which allows me to also be "present" and aware of whatever environment I'm in, so I tend to forget I'm wearing them.)
 
Top