Step-Through Two: Time Context

This step-through will show you how to change an existing profile and use profiles
with more than one context.
The goal is to change the profile from the previous tutorial so that the brightness is only set at a particular time of day. Also, we want an alert when the brightness is returned to normal.

To get started, click on the profile line you made in the previous Step-Through. This will show you the tasks for this profile, click again and the tasks will be hidden.

If you long click on the on the left side of the task line (task name) then you will see a popup with actions pertaining to the task/s. you could <delete>, <add> or <rename> the task.

Another popup will show if you long click on the right side of the task line

Long click on the left side of the task line and click <Add>.

Each profile can only have one of each type of context, so you are shown a list of context types which does not include App.

Click <Time>

This is the Time Edit dialog. The top dial is the time the context starts at. If it is deselected, the time starts at midnight. The bottom dial is the time the context ends. If it is deselected, the context ends at the following midnight.

Set the top dial to 09:00 and the bottom dial to 19:00.

Click <Tasker> button

Notice how there are now two contexts listed in the profile: Application and Time. Our task will only be executed when both contexts become active.

Now we want to add an alert to make it more obvious when the brightness is going back to normal (it's just an example…). The task we made first with the green arrow is an Enter task: it runs when the profile becomes active.
We need to add an Exit task which runs when the profile becomes inactive.

Long-click on right side of the existing task.

Select <Add Exit Task>.

Click <New Task +>, give it a name and select the <right mark> button

Select the <+> button to add the task and add the action Alert/Vibrate.

Back at the Action Edit screen we've seen before. The action Vibrate makes the phone vibrate for a specified number of milliseconds.

Set the slider a little way to the right and click <Tasker> button x2

So, back at the Profile List where we started and you should see we now have 2 lines under our profile

When you leave Tasker and launch the app you configured, you'll find that if the current time is between 09:00 and 19:00 when you enter the app, the brightness will go up, and when you leave it the device will vibrate and the brightness will go down again.

If it doesn't vibrate, it could be you have vibration disabled on your phone.

Go Back To Step 1 <——> Go To Step 3

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License