Two Wi-Fi Access Points @ home: Tasker + SSID Selector

735 views
Skip to first unread message

Rafa Gisbert

unread,
Sep 26, 2012, 2:20:42 PM9/26/12
to tas...@googlegroups.com
Hello,
As many of you, I have 2 access points (AP) at home.
Tried different stratetegies just with Tasker to switch to the strongest signal AP without success.
Recently found SSID Selector and thought that would be the solution, but I'm stuck with it.
I'm using first profile to detect when device connects to wifi to split variable %WIFII. Later, 2 profiles try to detect signal strenght to change from SSID A to B or B to A.
The problem is that the splitted variable %WIFII11 (signal) is not refreshing when I move around house, so wifi change dont works. And when it happens, a loop between those 2 last profilles occur.

Profile: Wi-Fi Connected (47)
State: Wifi Connected [ SSID:* MAC:* IP:* ]
Enter: Anon (48)
A1: Variable Split [ Name:%WIFII Splitter: Delete Base:Off ] 
A2: Notify [ Title:Wi-Fi Text:SSID: %WIFII4 strenght: %WIFII11 Icon:<icon> Number:0 Permanent:Off Priority:3 ] 

=================

Profile: Wi-Fi A->B (43)
State: Wifi Connected [ SSID:A MAC:* IP:* ]
State: Variable Value [ Name:%WIFII11 Op:Maths: Less Than Value:6 ]
Enter: Anon (44)
A1: WiFi Net [ Action:Reconnect Force:Off Report Failure:Off ] 
A2: SSID Selector [ Configuration:B Package:ultimatesoftware.nw.SSIDSelector Name:SSID Selector ] 

==================

Profile: Wi-Fi B->A (50)

State: Wifi Connected [ SSID:B MAC:* IP:* ]
State: Variable Value [ Name:%WIFII11 Op:Maths: Less Than Value:6 ]
Enter: Anon (51)
A1: WiFi Net [ Action:Reconnect Force:Off Report Failure:Off ] 
A2: SSID Selector [ Configuration:A Package:ultimatesoftware.nw.SSIDSelector Name:SSID Selector ] 


=================


Probably there's a better way to do it, but I know my limits :)
#####WARNING: LIMITS REACHED##### :p

so if anyone of you could help, I'd appreciate it.

Rafa Gisbert

unread,
Sep 27, 2012, 11:55:26 AM9/27/12
to tas...@googlegroups.com
Trying different approach:

Profile: Wi-Fi A->B (55)
State: Wifi Near [ SSID:B MAC:* Capabilities:* Min. Activate Signal Level:9 Channel:0 Toggle Wifi:Off ]

State: Wifi Connected [ SSID:A MAC:* IP:* ]
Enter: Anon (56)
A1: SSID Selector [ Configuration:B Package:ultimatesoftware.nw.SSIDSelector Name:SSID Selector ] 


Maybe simple is better. 

Hagbard

unread,
Nov 25, 2012, 6:14:31 PM11/25/12
to tas...@googlegroups.com
In the next hours an update will appear. It will come with an new option "best net" and "best net all" (including open Networks). 
This Options may make your tasker profile simple, but it will not "recheck" the network strange to save batterie life. If you want to, simple repeat the tasker 
profile in the frequency you want.

Regards

Alexandre Dumont

unread,
Sep 22, 2016, 7:16:50 PM9/22/16
to Tasker
This is how have done a similar thing at home:

Profile: Cocina ▶️ Salon (133)
State: Wifi Near [ SSID:lab01 MAC:b2:46:fc:94:9e:70 Capabilities:* Min. Activate Signal Level:7 Channel:0 Toggle Wifi:Off ]
State: Wifi Connected [ SSID:lab01 MAC:30:b5:c2:bc:d7:3f IP:* ]
State: Variable Value [ %WifiSignal < 7 ]
Enter: Reconnect To Best AP (131)
A1: [X] Flash [ Text:Reconnecting AP Long:On ]
A2: WiFi [ Set:Off ]
A3: [X] Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A4: WiFi [ Set:On ]

Profile: Salon ▶️ Cocina (130)
State: Wifi Near [ SSID:lab01 MAC:30:b5:c2:bc:d7:3f Capabilities:* Min. Activate Signal Level:8 Channel:0 Toggle Wifi:Off ]
State: Wifi Connected [ SSID:lab01 MAC:b2:46:fc:94:9e:70 IP:* ]
State: Variable Value [ %WifiSignal < 7 ]
Enter: Reconnect To Best AP (131)
A1: [X] Flash [ Text:Reconnecting AP Long:On ]
A2: WiFi [ Set:Off ]
A3: [X] Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A4: WiFi [ Set:On ]


Profile: Wifi Intent (128)
Event: Intent Received [ Action:android.net.wifi.RSSI_CHANGED Cat:None Cat:None Scheme:* Mime Type:* ]
State: Wifi Connected [ SSID:lab01 MAC:* IP:* ]
Enter: Salva WifiSignal (125)
A1: Variable Split [ Name:%WIFII Splitter: Delete Base:Off ]
A2: [X] Flash [ Text:%WIFII6 %WIFII11 Long:Off ]
A3: Variable Set [ Name:%WifiSignal To:%WIFII11 Do Maths:Off Append:Off ]


Reply all
Reply to author
Forward
0 new messages