Basic tasker question

Last Updated:

  1. cdr22

    cdr22 New Member

    I'm new to tasker and I just created a simple when I turn WiFi on turn data off task. However when I turn WiFi off it then turns data on. Is it supposed to do that? Is there a way to turn this off?

  2. Scootmien

    Scootmien Well-Known Member Contributor

    Is the Task set and unset on time of day or manual activation? I know that if it's set to activate between certain times, at the point the exit time arrives it will revert to the settings that were in effect before the task was activated, if that makes sense?

    I reckon it's something to do with what Tasker calls 'Exit Tasks' but I am no expert on Tasker either.
  3. cdr22

    cdr22 New Member

    It's set to manual activation but I think you're right that it reverts back to the settings before I turned WiFi on. I'll play around with it and see if I can figure some more things out.
  4. XplosiV

    XplosiV Master X is Watching You VIP Member

    Yes, thats how tasker works, settings revert back to original settings if the conditions/contexts are no longer met.

    Add an exit task to turn data off.

    On your profile screen, expand your profile, you should see the context and task. now long press on the task to get an option box, the top option should be "Add EXIT task" - tap that and just add an existing task or create a new one to simply contain >net>mobile data>set off (and any other instructions you need)

    This will then perform the exit task EVERY time the profile deactivates.

    Optional: Use an IF statement if you only want this active above or below a specified battery level etc.

    Hope this helps.
  5. cdr22

    cdr22 New Member

    Thanks, I am definitely starting to understand tasker a lot more. Another question: is their a way to make the setting unchanged as an exit task? For example, if I have data on, then I turn WiFi on turning data off, when I turn WiFi off I want data to remain off. But If I turn WiFi on which turns data off, I turn data on after I want data to remain turned on. Is their a way to do this if anyone even understood the above scenario.
  6. XplosiV

    XplosiV Master X is Watching You VIP Member

    I think I follow, but can you narrow down an instance where you need Wifi off and data on?

    For example:

    I have a profile set as Wifi, this profile simply determines my location and runs a task simply to turn my wifi on.

    A second profile then detects that my phone automatically connects to my home wifi (as a context) and upon that then runs a task to kill my mobile data, sync etc etc and thus when im out of range of my home wifi, (say 50m away) tasker reverts the mobile data settings back to on (so im rarely without data via wifi or mobile)

    I hope that makes sence.

    The more specific you can be the easier it is to get help.
  7. electricpete

    electricpete Well-Known Member

    I'm thinking you can accomplish this by doing absolutely nothing.
    If data is already on and you turn Wifi on, Android OS will turn data off for you and then will turn data back on when you turn wifi off. So you can manipulate wifi as you will with Tasker without messing with data and it'll act the way you described.
  8. XplosiV

    XplosiV Master X is Watching You VIP Member

    Essentially your right as far as the functionality goes, but wifi does not turn off data, it just gets priority, and when you lose wifi for whatever reason, data is still on to kick back in straight away. ;)

Share This Page