Controlling Wi-Fi setting for "Smart Network Switch" from Tasker?

107 views
Skip to first unread message

Tim G

unread,
Mar 10, 2018, 5:34:31 PM3/10/18
to Tasker
I'm still on Tasker 4, having just learned about the new version.

I'm trying to create an action for the "Smart Network Switch" setting that is part of Wi-Fi settings in Samsung (Note 4, stock TouchWiz, Android 5.1.1)

I've looked at these Actions:
Net / Wi-Fi - only option On/Off/Toggle
Net / Wi-Fi Net - options Disconnect/ Reassociate/Reconnect
Setting / Wi-Fi Settings -  no actions .. (only "If" and "Label" fields.)


As far as I can tell the Setting / Wi-Fi Settings action just opens the Wi-Fi Settings tab, but doesn't offer any actual settings that can be automated?

How can I accomplish automating "Smart Network Switch"?   I want it to be disabled when I'm at home but otherwise turned on.
This is needed because the implementation of "Smart Network Switch" is not very good. It will frequently decide to disable Wi-Fi and go to mobile network even with very strong and fast Wi-Fi in my home.   I want to always have Wi-Fi connection at home since I have other scripts that connect to local servers for backup, etc.




Rich D

unread,
Mar 10, 2018, 6:54:08 PM3/10/18
to Tasker Google Groups Post



As far as I can tell the Setting / Wi-Fi Settings action just opens the Wi-Fi Settings tab, but doesn't offer any actual settings that can be automated?

Correct.

How can I accomplish automating "Smart Network Switch"?   

You could post a feature request on this group.

There is not a native tasker action to do this without root. Your options are to use a plug in like TouchTask or auto input. These will let you emulate screen taps. 

Tim G

unread,
Mar 11, 2018, 2:18:06 PM3/11/18
to Tasker

On Saturday, March 10, 2018 at 5:54:08 PM UTC-6, Rich D wrote:

There is not a native tasker action to do this without root.

 
I have root - does that provide an option to allow Tasker to contro lthis setting? 

Rich D

unread,
Mar 11, 2018, 3:09:00 PM3/11/18
to Tasker Google Groups Post

 
I have root - does that provide an option to allow Tasker to contro lthis setting? 

Not directly no. It will only allow you to do the emulated taps without a plug in.  With root you can use the Action / code / run shell .  The command you use is. input tap X Y. Where X and Y are coordinates.  So you  would open the settings with the Tasker action then emanate a tap in the correct location of the screen.

The plug ins  do offer other features that will read the display and give you better accuracy on where to tap.

Reply all
Reply to author
Forward
0 new messages