• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Tasker profile help

AlanB1976

Member
Hey all
I'm being an idiot and I don't know what I'm doing wrong. For anyone who know's tasker profiles, please help.
I've got 2 profiles. The one is to set my wifi on when in range of the cell towers by my house, and to turn off when leaving those towers. The second profile is to set data and wifi off over night so I don't get bothered by mails coming through.
I set the time based profile to a higher priority thinking that it will then disable data/wifi even though the towers are in range. It's not working and I regularly get a mail coming through during the night profile.
The profile descriptions are below. I'm new to this so don't know yet what everything means.

Profile: WiFi-Home
Priority: 3 CoolDown: 0
State: Cell Near
Enter: 6
Execute, Abort New Task
A0: WiFi [ Set:On ]
Exit: 4
Execute, Abort New Task
A0: WiFi [ Set:Off ]

Profile: Night
Time: From 22:00 Till 08:30
Enter: 3
Execute, Abort New Task
A0: Mobile Data [ Set:Off ]
A1: WiFi [ Set:Off ]
A2: WiFi Net [ Action: Disconnect Force: Report Failure: ]

Thanks
Alan
 
The easiest thing to do would be to add a time context to the first profile - From 08:31 Till 21:59. This way the profiles will never be active at the same time.

I don't think there's a way to make this work reliably by just changing the priorities. The reason is that the Enter Task for the Night profile will run at 22:00, and never again that night, unless you restart your phone, or disable and re-enable the profile. However, if the Wifi-Home profile activates after the Enter Task for the Night profile has already run, the Wifi-Home settings will take effect, regardless of priorities. Priorities are only intended to prioritize tasks that are queued at the same time. If a task has already been run, any other task can come along and change settings.
 
Thanks. I added that, tested and it seemed to work well. I had the priorities wrong (as you said). I thought a profile's setting would overide anothers. I didn't realize it was only if the tasks run at the same time.

Another quick question.... while the WiFi turns off according to the "Night" profile, the data connection doesn't. Am I misunderstanding the "Mobile Data [ Set:Off ]" command?
 
Thanks. I added that, tested and it seemed to work well. I had the priorities wrong (as you said). I thought a profile's setting would overide anothers. I didn't realize it was only if the tasks run at the same time.

Another quick question.... while the WiFi turns off according to the "Night" profile, the data connection doesn't. Am I misunderstanding the "Mobile Data [ Set:Off ]" command?

You might need to use Mobile Data APN on your device.
 
Back
Top Bottom