1. Download our Official Android App: Forums for Android!

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

Discussion in 'Android Apps & Games' started by MsL, Apr 27, 2011.

  1. MsL

    MsL Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    36
    Posts:
    141
    Joined:
    Aug 10, 2010

    Aug 10, 2010
    141
    6
    36
    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.
     

    Advertisement

  2. jackgibbs

    jackgibbs Android Enthusiast
    Rank:
    None
    Points:
    68
    Posts:
    277
    Joined:
    Sep 2, 2010

    Sep 2, 2010
    277
    148
    68
    long beach
    events don't have end tasks because they are instantaneous. the event happens (screen on, sms recieved etc), and the task runs. there's no exit task because there's nothing to exit from.
     
  3. jackgibbs

    jackgibbs Android Enthusiast
    Rank:
    None
    Points:
    68
    Posts:
    277
    Joined:
    Sep 2, 2010

    Sep 2, 2010
    277
    148
    68
    long beach
    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
     
  4. UncleMike

    UncleMike Android Expert
    Rank:
    None
    Points:
    163
    Posts:
    2,323
    Joined:
    Nov 15, 2009

    Nov 15, 2009
    2,323
    484
    163
    Central NJ
    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.
     
  5. MsL

    MsL Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    36
    Posts:
    141
    Joined:
    Aug 10, 2010

    Aug 10, 2010
    141
    6
    36
    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!

     
  6. UncleMike

    UncleMike Android Expert
    Rank:
    None
    Points:
    163
    Posts:
    2,323
    Joined:
    Nov 15, 2009

    Nov 15, 2009
    2,323
    484
    163
    Central NJ
    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.
     
  7. MsL

    MsL Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    36
    Posts:
    141
    Joined:
    Aug 10, 2010

    Aug 10, 2010
    141
    6
    36
    Ok I just tried just as you stated and the ring tone rung though but after the text it didn't go back to my work day profile which is vibrate.

    Any suggestions.

    Thank you

     
  8. barqers

    barqers Android Expert
    Rank:
    None
    Points:
    78
    Posts:
    753
    Joined:
    Nov 5, 2010

    Nov 5, 2010
    753
    72
    78
    I think I'd just do something like this:

    Context, Event-> received text (2 people):
    Silent mode off
    Ringer volume 12 (or w/e number you want)
    wait 15 seconds
    silent mode Vibrate

    Context, Event-> received text (3 people):
    Silent Mode off
    ringer volume 3
    wait 15 seconds
    silent mode vibrate
     
  9. UncleMike

    UncleMike Android Expert
    Rank:
    None
    Points:
    163
    Posts:
    2,323
    Joined:
    Nov 15, 2009

    Nov 15, 2009
    2,323
    484
    163
    Central NJ
    Are you saying that the work day profile is no longer active, or that the vibrate setting is not restored even though the profile is still active?
     
  10. MsL

    MsL Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    36
    Posts:
    141
    Joined:
    Aug 10, 2010

    Aug 10, 2010
    141
    6
    36
    The work day profile is no longer active, once my son texted me. Also the Variable Value says active in task, is it suppose to.

     
  11. MsL

    MsL Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    36
    Posts:
    141
    Joined:
    Aug 10, 2010

    Aug 10, 2010
    141
    6
    36
    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.
     
  12. MsL

    MsL Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    36
    Posts:
    141
    Joined:
    Aug 10, 2010

    Aug 10, 2010
    141
    6
    36
    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

     
  13. UncleMike

    UncleMike Android Expert
    Rank:
    None
    Points:
    163
    Posts:
    2,323
    Joined:
    Nov 15, 2009

    Nov 15, 2009
    2,323
    484
    163
    Central NJ
    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>
     
  14. UncleMike

    UncleMike Android Expert
    Rank:
    None
    Points:
    163
    Posts:
    2,323
    Joined:
    Nov 15, 2009

    Nov 15, 2009
    2,323
    484
    163
    Central NJ
    Can you post the other profiles? Without seeing it/them it's hard to say what's going on.
     

Share This Page

Loading...