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

tasker profile question

upgrumpy

Newbie
i want a profile set to run 24hrs a day 7 days a week as long as it is active. would that be a time event, day event or what? a time event ends and when i try the day event and select all days and all months it tells me no day context is needed if all is selected....
 
Time contexts only run once at the beginning unless you specify a repeat in there.

The best way to build profiles are to think about what you want out of it?

Ie. what I just created, is a widget on my desktop and if I tap it, it sets a variable %NIGHTTIME=1 so anyone who texts or calls is redirected and notified I'm sleeping.

It's best to make a profile that will run when something happens rather than by time, unless you know the exact time you want something running.
 
there should be a way or event to run a profile 7 days a week 24hrs a day until you de-activate it.

There isn't, and here's why - you don't understand how Tasker works.


Profiles have two types of tasks. ENTER tasks and EXIT tasks.

ENTER tasks run 1 time when the profile becomes active. (So, if you have a TIME context from 9:00 am to 5:00 pm, the ENTER task will run once at 9:00 am.)

EXIT tasks run 1 time when the profile exits (at 5:00 pm in the above example).


The way most simple profiles work in Tasker is that you have some settings change in the ENTER profile, and then change back (some change back automatically when the profile exits because Tasker remembers) when the EXIT task runs.


However, Tasker does not "continue to run the profile" in between 9:00 and 5:00 and it does not "maintain" the settings that were set at 9:00. So, if you manually change something at 10:00 it will stay that way until a profile is either exited or entered.


Make sense?


Now, Tasker does have a repeat function in the time context. You can use this to cause an ENTER task to repeat every XX minutes. (I use this to have my phone turn on mobile data every 30 minutes, download new messages, and then turn off mobile data - so it doesn't stay on constantly).





So, as other users have tried to politely ask you (and you've ignored them) what exactly do you want to do in Tasker so we can help you set it up the right way?
 
amlothi what you said did make sense on how a time event works, when broken down the right way I can understand something, and yes I don't understand how it all works but I am learning everyday by messing with it and reading online sites about it.

What I am trying to do is one profile to run while at work, turn off ringer, and notification (set both to vibrate) turn off gps (if it is on).

The other profile would be to turn it all back on basicly. volume up, notificaion up, gps don't have to come back on (i just wanted to make sure it is off at work).

Since I never know whem I am going to work, and once at work I never know whem I am going to get off I don't know excatly how to set it up. (I travel while at work)

(I wasn't ignoring anyone.. Barqers has been VERY helpful in private messages on other matters, if it hadn't been for him I would have dumped this and went back to locale a month ago)
 
so sitting here pondering this and what has been said here is what I have thought of and tell me if it makes sense or there is a simpler way...

home profile have the enter tasks and exit tasks the same (turn ringer up, notificaion up, etc. (1st context would be time (now). The only difference would be on the enter task have tasker turn off "work" profile

then the work profile the same have the enter and exit tasks the same (1st context would be time (now). The only difference would be on the enter task and have tasker turn off "home" profile.

I would then just have to turn on the profile when i get to work, and then when I'm off, turn on the "home" profile

does that make any sense ?
 
after thinking more the above makes to sense. #1 if tasker runs the tasks once on enter and once on exit, i would not need a exit set of tasks.. And setting the time to now i would have to go in and change that every time...

So this question hit me. Can you set a profile with no context but a list of tasks and just turn it on and off, or do you need a 1st context in every profile.....
 
You need something to tell tasker that you are at home/work to initiate the task. I suggest making a tasker widget that triggers the tasks. Create one set of tasks to be what you need as work, another for what you need as home and a third that has "preform task home" and "preform task work" then set the task type to menu on the third task you created. Make a widget that triggers the third task, when you press the widget it will pop up a menu that says "work | home" you could then select either to trigger the appropriate task.
 
if you want it to be completely automatic, use the cell near context. when you're at work, run the cell signal scan and let it pick up three or more towers that your phone can see. walk around for a bit to make sure you get every possible tower. now tasker will fire your 'work' profile as soon as you're in range, and as soon as you leave work, the profile will end and your settings will return to what they were before the profile started



if your work has wifi you can also use wifi near

oops. just saw the part where you travel while at work. cell near won't help, I guess
 
okay try it like this. you'll need three profiles for this. first

new profile -> Work (or whatever you want to name it)
context: state -> cell near
profile: variable set -> %WORK to 1 / profile status -> Work set off

new profile -> Working (or whatever)
context: state -> variable value -> %WORK maths equals 1
profile: audio -> silent mode -> vibrate / misc -> gps -> set off

second set

new profile -> Home
context: state -> cell near (or if you have wifi you can also use wifi near. I use both for my home profile)
profile: variable set -> %WORK to 0 / profile status -> Work set on

done!

when creating your variable values, they must match EXACTLY across all the profiles, so making them all caps is easiest.

I'm pretty sure just clearing the %WORK variable will cause tasker to reset you to your pre-work settings, but if it doesn't for some reason, just add the settings to your home profile after setting %WORK to 0


eta. I should add that this will only work if you have a home office or someplace you go for work prior to your daily travels...if you leave home and go straight to various sites, cell near is still useless and your best option is the widgets mentioned above
 
You need something to tell tasker that you are at home/work to initiate the task. I suggest making a tasker widget that triggers the tasks.

Agreed. If you work from many different locations, a widget on your home screen would be the best solution for you. Just tap the widget to activate the Work profile when you want.

Though, there is a (possibly) better way than Yeahha suggested.


Make 1 profile with the context as a variable (you can name the variable whatever you want). Let's call this one "Work" and the context will be %WORK = 1. Here, put in the actions you want for when you are at work. (Activate vibrate mode, etc.) I recommend adding an action to alert you to the change, such as the FLASH action with something like "At Work".

Make a 2nd profile called home. Here, the context will be Variable with %WORK=0. Add your tasks to set the ringer back on, etc.Also add a FLASH action for "At Home".

Now, create a widget on your home screen. The task for the widget will be to Add Variable, (add a value of 1 each time, with a loop set as 2). Basically, this will act as a toggle. Each time you press the widget, it will toggle from 0 to 1, thereby activating one of the profiles above.


Edit: Once you get that working, you can add in some tasks to change the widget icon. This also will be a nice visual indicator to know what mode you are in.

Also, as I stated before, if you manually change settings they won't revert back until you use the widget again.
 
I was facepalming so hard while reading the OP... you guys are champs and much more patient than I am!

I do admit I love helping people out with tasker, and I'm posting this just to acknowledge your patience guys (jack, yeaha and amlothi).

clap clap clap :)
 
Agreed. If you work from many different locations, a widget on your home screen would be the best solution for you. Just tap the widget to activate the Work profile when you want.

Though, there is a (possibly) better way than Yeahha suggested.


Make 1 profile with the context as a variable (you can name the variable whatever you want). Let's call this one "Work" and the context will be %WORK = 1. Here, put in the actions you want for when you are at work. (Activate vibrate mode, etc.) I recommend adding an action to alert you to the change, such as the FLASH action with something like "At Work".

Make a 2nd profile called home. Here, the context will be Variable with %WORK=0. Add your tasks to set the ringer back on, etc.Also add a FLASH action for "At Home".

Now, create a widget on your home screen. The task for the widget will be to Add Variable, (add a value of 1 each time, with a loop set as 2). Basically, this will act as a toggle. Each time you press the widget, it will toggle from 0 to 1, thereby activating one of the profiles above.


Edit: Once you get that working, you can add in some tasks to change the widget icon. This also will be a nice visual indicator to know what mode you are in.

Also, as I stated before, if you manually change settings they won't revert back until you use the widget again.


I like the menu task so if you accidently hit the widget it doesn't change anything
 
You need something to tell tasker that you are at home/work to initiate the task. I suggest making a tasker widget that triggers the tasks. Create one set of tasks to be what you need as work, another for what you need as home and a third that has "preform task home" and "preform task work" then set the task type to menu on the third task you created. Make a widget that triggers the third task, when you press the widget it will pop up a menu that says "work | home" you could then select either to trigger the appropriate task.


OMG this has opened up yet another whole new world of Tasker (To Me). Before it was all done in profiles and a lot of more button pushing...

:D Thanks all :D for the ideas and suggestions................
 
OMG this has opened up yet another whole new world of Tasker (To Me). Before it was all done in profiles and a lot of more button pushing...

:D Thanks all :D for the ideas and suggestions................

No problem, you can also change the icon on the tasker widgets for what profile is active and add custom titles under the widget if you want. It amazes me that tasker has not been put on phones by OEM, the program allows for so much more customization than the phone allows stock.
 
It amazes me that tasker has not been put on phones by OEM

Have you seen the number of people on this board asking for help?

Can you imagine the tech support calls the carrier / phone manufacturer would get if every phone had it, and everyone was capable of setting up Tasker to do something stupid???
 
The first time I installed Tasker, I had a menu set up for my profiles. Right now, I use a few, one for my home that detects my Wifi and makes changes. I have one for a place I go and when it detects Wifi there it makes the changes I need. The same goes for when I plug in my headset in my car. All of these exit to a "normal" task that has its own background and volume settings, including leaving Wifi on.

There are two other Tasker threads with a LOT of examples and help in them. The search option can help you with this. You can also Google "Tasker Wiki" and find a page where there are profile examples and other good info.
 
Back
Top Bottom