RSSI implementation

Joe.downloads.1

New member
Hello

I would appreciate it if we could use max. and or min. RSSI when using wifi transition trigger (in or out of range).
And it would also be great for constraints.

I am tring to configure wifi switcher.
 

Dm114

Well-known member
Hello

I would appreciate it if we could use max. and or min. RSSI when using wifi transition trigger (in or out of range).
And it would also be great for constraints.

I am tring to configure wifi switcher.
You can use [wifi_strength] Magic text in a global variable and then use it as a constraint anywhere in your macros.
 

Dm114

Well-known member
I am looking in trigger, action and variable and cant find how i can use Magic text. Can you help me please
I don't know exactly what you want to do but, as far as I understand, it could something like that:
T: Connectivity > WiFi state change > Connected to network > Any network
A: Set any string variable to [wifi_stength]
A: Set integer variable 'Wifi_Current_Strength" expression to [strval=your_string_variable_to_convert]
Depending on what you want to achieve, you can compare this new value (strength) with the previous one.

In another macro you can use any 'Wifi_Current_Strength' value change as a trigger.
 

Dm114

Well-known member
I don't know exactly what you want to do but, as far as I understand, it could something like that:
T: Connectivity > WiFi state change > Connected to network > Any network
A: Set any string variable to [wifi_stength]
A: Set integer variable 'Wifi_Current_Strength" expression to [strval=your_string_variable_to_convert]
Depending on what you want to achieve, you can compare this new value (strength) with the previous one.

In another macro you can use any 'Wifi_Current_Strength' value change as a trigger.
If you want to switch from a network to another you only can do that with named and known networks you already have been connected to and write a routine for each of them.
 

Dm114

Well-known member
I want to switch wifi based on RSSI value of current network
As I explained in my previous message, you cannot assign/connect dynamically a network. You must write a routine for each of them like this :
A: If [v:Best_current_network] = "Network_A" (=name of the SSID to test) then Connectivity > WiFi configure > Connect to network > Network_A
A: Else if [v:Best_current_network] = "Network_B" then Connectivity > WiFi configure > Connect to network > Network_B
A: Else if... (and so on)
 
Top