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

Tasker - Why is it that on some tasks I can't

MsL

Well-Known Member
Aug 10, 2010
141
6
create an end task.

I have one task that for important texts. My Context is event: Received SMS.

Task: Silent Mode off when SMS is received from 2 people.
Task: Ringer Volume at 3 when SMS is received from 2 people.

I use this task is relation to my work day task which has my phone one vibrate. My problem is that I want to create an end task so that after I receive the text the phone will go back on vibrate. As of right now it will not kick back to vibrate unless I go into tasker.

I also have an important people phone call set up and with that I can set an end task and my phone goes back to vibrate once the call is over.
 
just looked at the wiki and it looks like the only way to do this is to add a wait task of a few seconds and then silent mode on within your original task

ETA. there's also this convoluted profile you might try, but if you're able to hear a notification sound with your set-up and the only issue is getting it back to silent, it's probably not worth the effort

http://tasker.wikidot.com/workpagerswitchprofilerepeatsmsonreceivesms
 
Upvote 0
If what you have is working, then jackgibbs is right - all you really need is to go back to the way it was before the SMS came in. If you want the settings to revert to whatever they were before, you can do this:

Context: Received Text [Sender: <list of senders>]
Task: Variable Set %PRIORITYSMS = 1

Context: Variable Value %PRIORITYSMS = 1
Enter Task:
Silent Mode off when SMS is received from 2 people.
Ringer Volume at 3 when SMS is received from 2 people.
Variable Clear %PRIORITYSMS

When a text is received from a listed sender, %PRIORITYSMS is set to 1, which activates the Variable Value state in the second profile. The Enter Task of this profile is the same as what you were doing before, but it's now tied to a state instead of an event. The Enter Task has one additional entry, which clears the state, causing the profile to exit, and restore the settings to their previous values.

The potential problem with this is it might take too long to execute, and your notifications may happen before the settings are actually changed. If that happens, let me know, because there's a more convoluted what to do this that will avoid this problem.
 
Upvote 0
I am just getting around to playing with this but I'm a little lost.

For the second Context am I making a completely new task because when I try to add to the PrioritySMS context I can't add an event, but when I try to make a complete new task and I go to event Variable I only see clear and set. I'm not sure what I am suppose to be doing.

I hope that makes sense as I know sometimes I don't :).

Thanks for your help!

If what you have is working, then jackgibbs is right - all you really need is to go back to the way it was before the SMS came in. If you want the settings to revert to whatever they were before, you can do this:

Context: Received Text [Sender: <list of senders>]
Task: Variable Set %PRIORITYSMS = 1

Context: Variable Value %PRIORITYSMS = 1
Enter Task:
Silent Mode off when SMS is received from 2 people.
Ringer Volume at 3 when SMS is received from 2 people.
Variable Clear %PRIORITYSMS

When a text is received from a listed sender, %PRIORITYSMS is set to 1, which activates the Variable Value state in the second profile. The Enter Task of this profile is the same as what you were doing before, but it's now tied to a state instead of an event. The Enter Task has one additional entry, which clears the state, causing the profile to exit, and restore the settings to their previous values.

The potential problem with this is it might take too long to execute, and your notifications may happen before the settings are actually changed. If that happens, let me know, because there's a more convoluted what to do this that will avoid this problem.
 
Upvote 0
I am just getting around to playing with this but I'm a little lost.

For the second Context am I making a completely new task because when I try to add to the PrioritySMS context I can't add an event, but when I try to make a complete new task and I go to event Variable I only see clear and set. I'm not sure what I am suppose to be doing.

I hope that makes sense as I know sometimes I don't :).

Thanks for your help!

Sorry... that could have been clearer. Yes, those are two separate profiles. The Variable Value context is a State, not an Event. I hope that helps.
 
Upvote 0
I think I may have found the problem. I realized that I still had my orginally propriety text profile active and that may had caused my work day profile not to return. Once the boy texts me today I will see if that was the problem.

I have another question. How do I override a profile. EX: When I plug my phone into power either USB or plug my bluetooth comes on, Wi-Fi comes on and I get a pop up asking what music app I would like to listen to. That's fine in the car but when I'm at work and at home I don't want all of that to happen. How do I create a profile to say don't do this at this time and point.
 
Upvote 0
I spoke to quickly, the "boy" texted me this morning and it didn't ring nor vibrate. The text was just there. No sure what to do now

I think I may have found the problem. I realized that I still had my orginally propriety text profile active and that may had caused my work day profile not to return. Once the boy texts me today I will see if that was the problem.

I have another question. How do I override a profile. EX: When I plug my phone into power either USB or plug my bluetooth comes on, Wi-Fi comes on and I get a pop up asking what music app I would like to listen to. That's fine in the car but when I'm at work and at home I don't want all of that to happen. How do I create a profile to say don't do this at this time and point.
 
Upvote 0
I think I may have found the problem. I realized that I still had my orginally propriety text profile active and that may had caused my work day profile not to return. Once the boy texts me today I will see if that was the problem.

I have another question. How do I override a profile. EX: When I plug my phone into power either USB or plug my bluetooth comes on, Wi-Fi comes on and I get a pop up asking what music app I would like to listen to. That's fine in the car but when I'm at work and at home I don't want all of that to happen. How do I create a profile to say don't do this at this time and point.

A location context could determine if you're at home or at work, but probably not accurately enough to distinguish between in the car at home vs. in the house at home. If you have a bluetooth device in the car that's normally off if the ignition is off, then you could use Bluetooth Connected as a context for the popup, so you would have something like:

Profile: Power AC or USB
Context: Power Any
Enter Task:
Bluetooth On
Wifi On


Profile: Music Popup
Context: Bluetooth Connected <optional device>
Enter Task:
<your popup menu>
 
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