4

Option to toggle Tasker's use of metered connections

An option in Tasker settings, that toggles whether Tasker itself can use metered network connections, could be very useful.

So, if the option "Allow Tasker to use metered network connections" is in the off position, Tasker itself will only use non-metered networks.

For instance, I have a profile that uses the 'GD Upload' action every other day to upload a backup file, which is about a gigabyte. Since my mobile data limit for the whole month is 1 gigabyte, if at the time of the upload there is some issue with my wifi connection, the upload will use up my whole data plan for the month.

By forbidding Tasker itself from using metered connections, I would be able to make sure this doesn't happen.

Thanks for the consideration!

1 reply

You can simply add an if condition to check the network mode (Data/WiFi), isn't it?

K

Using an IF condition in Tasker with the %WIFI variable doesn't solve the issue, since even when %WIFI is 'on' I might not be actually connected to a wifi network.


Likewise, %WIFII (WIFI Info) isn't reliable either, as sometimes my wifi access point may lose its connection to the ISP, but my phone is still connected to the wifi network itself (when this happens, my phone automatically starts using mobile data again, even though there is a wifi connection).

I'm the OP by the way, just couldnt find my previous log in info.

I'm talking about the example. If you don't want to use your mobile data for GD upload, you just have to check whether it is mobile data or not. You don't need to check whether it is metered WiFi or not. However if you are using a mobile hotspot from another phone, then you have to check the metered setting.

You don't need to identify whether you have an active WiFi connection. You only need to know whether your data connection is active or not. Isn't it?? 

K

It's been quite some time since I played around with it, but as far as I can remeber, that doesn't work either unfortunately, since even when I'm on an active WiFi connection, the mobile data is still technically an active connection, just unused, and as soon as the WiFi is lost the phone immediately starts using mobile data.