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

Timed Tasker Profile

Don1220

Lurker
Dec 4, 2014
3
0
I'm experimenting with Tasker as an alternative to Llama.

In Llama (and other profile apps I've used), you can activate a profile for a specified time period. For example, if I'm at the movies I activate my "silent" profile for the length of the movie, then it automatically reverts back to normal mode. That way I don't inadvertently leave my phone in silent mode after the movie is over.

There doesn't seem to be any simple way to do that in Tasker. Do I really need to create a scene with controls and logic to run a task, count down the time period and then run another task? That's a lot of work for something that I'd think would be a common need.

I've been writing code for 30 years, so I can work through the process if that's what is necessary, but I'd like to know if there's some built-in mechanism for doing this before I dive into it. I haven't been able to find any examples of a profile that runs for an arbitrary amount of time.

Thanks.
 
I have a profile died to my calendar. If there is a meeting scheduled it goes into silent mode. At the end of the meeting it reverts. If I have "Sound" in the meeting description it does not silence during a meeting.

... Thom
That's fine for scheduled events or meetings; I already have something similar. What I want is to silence the phone for an arbitrary period that's specified at the time the profile or task is started, for things like movies, impromptu meetings, or random life events that aren't in your calendar where you don't want to be disturbed (or disturb others).
 
Upvote 0
The easiest way to do this is to include a wait directly inside your task.

For example:
Audio > Silent Mode > Mode = Vibrate
Task > Wait > 30 min
Audio > Silent Mode > Mode = Off


Or if you want to be more flexible:
Task > Perform Task > a task
Task > Wait > 30 min
Task > Perform Task > another task


If you want a profile to become inactive after a while, add a condition based on the state of a variable, again after a wait. See the example here: http://androidforums.com/threads/ending-profile-after-alarm-set.884986/
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones