1. Introducing Channels - a new way to chat with other Android users!
    Dismiss Notice

Need Tasker Help


Last Updated:

  1. Dominion300

    Dominion300 Member This Topic's Starter

    Joined:
    Jan 3, 2010
    Messages:
    7
    Likes Received:
    0
    I've seen some threads that show KINDA what I'm looking for but nothing that shows exactly what I need. So what I'm trying to do is setup an alarm clock that sounds when I have to work. The hard part is I work a swing shift (IE I work Monday Tuesday Thursday Friday and then the following week I work Fri/Sat/Sun) I want tasker to alarm ONLY on these days. I've managed to successfully get an alarm clock to work on those calendar days but I also want it to only go off at 7:30am the DAY of.

    For example in my google calendar I have "Me - Work" with the entry BC EMS from 8am-8pm. On the days with this calendar entry I want to wake up at 6:30am. I can figure out all the random sounds, with snooze, etc later. I just need to figure out how to make a profile that says "Ok it's a BC EMS day today, sound the alarm at 6:30 am)
     

    Advertisement
  2. winbricks

    winbricks Member

    Joined:
    Apr 7, 2010
    Messages:
    6
    Likes Received:
    0
    the "if" part of the profile could be set to 'day,' and just select the days you need, and the "then" part could be a notification instead of an alarm, just a real loud one lol.

    i don't mean to thread jack, but I say we make this thread into a tasker Q&A thread.

    my question..
    i'm using the "wheres my droid?" app, which sends my phone's location via latitude/longitude coordinates to another phone once the other phone sends a specific phrase to mine. This is quite a useful app, but it will not work when GPS is set to off, which it typically is to save battery. so my goal with tasker is to have GPS turn on once i receive a text with that specific phrase I've made a profile to do this, but it doesnt seem to work..

    the "if" part of the profile is- received sms- Locate my phone
    and the "then" part is- GPS set on, and then with a variable 'if %SMSRB- Locate my phone' (means if the texts body says the phrase)

    this seems correct, and yet it does not activate GPS. any reasons why?
     
  3. UncleMike

    UncleMike Well-Known Member

    Joined:
    Nov 15, 2009
    Messages:
    2,319
    Likes Received:
    482
    At this time, Tasker can only do things at the start or end of a calendar entry. It can't (yet) do something like sound an alarm 90 minutes before a calendar entry. Is that essentially what you're looking for?
     
  4. UncleMike

    UncleMike Well-Known Member

    Joined:
    Nov 15, 2009
    Messages:
    2,319
    Likes Received:
    482
    I think what you're looking for is something like this:

    Context: Received SMS [Message: *locate my phone*]
    Task: GPS On

    You don't need to use the "if" field in the GPS On dialog, since the message body requirement is specified in the context. Also, if any part of the match string used in the context is upper case, a case-sensitive comparison is performed. Leading/trailing spaces can also make things not work as expected. That's why I used the asterisks at the beginning and end, and used lower case - so that if locate my phone appears anywhere in the message body, regardless of case, it will match.
     
  5. Dominion300

    Dominion300 Member This Topic's Starter

    Joined:
    Jan 3, 2010
    Messages:
    7
    Likes Received:
    0

    Actually I setup an advanced alarm from the Tasker Wiki. Then I set it up like this:

    Time Profile Using the time I want to wake up -> Alarm
    Add Context -> Calendar Entry and used the calendar entry. I'm in the middle of testing it to see if it works with the entry as 8-8 or if I have to do 24 hours. I already know the alarm won't sound till the time. (although it's weird it takes it a couple minutes to fire up the alarm).

    I do have an HTC hero though and I don't think this program is designed for this slow of a phone. Need to get my money together for an Evo :)
     
  6. Rushey

    Rushey Well-Known Member

    Joined:
    Jul 10, 2010
    Messages:
    153
    Likes Received:
    15
    Hi

    Just downloaded Tasker and trying to get to grips with it!

    What I'd like to try is to tweak this step-through:
    Read SMS while in Car Dock - Tasker Wiki
    to do the reading of SMSs when CoPilot is on. Is that possible?

    Rob
     
  7. Dominion300

    Dominion300 Member This Topic's Starter

    Joined:
    Jan 3, 2010
    Messages:
    7
    Likes Received:
    0
    Well the alarm works just fine but it doesn't look for the calendar entry like it should, instead it either goes off at the time I asked it to OR it goes off when the calendar entry starts.
     
  8. UncleMike

    UncleMike Well-Known Member

    Joined:
    Nov 15, 2009
    Messages:
    2,319
    Likes Received:
    482
    If you haven't yet created the profiles on your device, just replace the Docked context with an Application context, specifying CoPilot as the application. If you already have the profiles created, read on...

    At the profiles list, select the Docked context of the first profile. This should pop up a menu. On the menu, under Context, select Add. Add an Application Context and select CoPilot as the app. Now you have a profile that will do what you want if CoPilot is the foreground app AND your phone is in the car dock. Now select the Docked context within the profile, and on the popup menu, select Delete.
     
  9. x_Prozak_x

    x_Prozak_x Well-Known Member

    Joined:
    May 16, 2010
    Messages:
    50
    Likes Received:
    4
    Ok ladies and gents, I have spent the better part of a week playing with this and love it. I have searched the interwebs and went through all of the guides and walkthroughs, but I just cant seem to figure this one out.

    I have the droid incredible, so no docking option. I would like to make a toggle switch widget and name it "Car Settings" and have it show "On" or "Off" depending on whether activated or not.

    When it is on, I would like Bluetooth on, screen on (no timeout), keygaurd off, texts read to me, and an auto text that responds with "This is an automated text. I am currently driving. I will respond when it is safe to do so"

    When off, the BT is turned off, screen timeout back to normal, no read texts, no auto response.

    I have tried everything my little brain could think of, but am not having any luck.

    Could someone please drop some knowledge on me on how to do this??
     
  10. Rushey

    Rushey Well-Known Member

    Joined:
    Jul 10, 2010
    Messages:
    153
    Likes Received:
    15
    Thanks, UM. I don't have a Car Dock so I'd only need the Read SMS to trigger when CoPilot was on (I only use it in the car!).

    Rob
     
  11. Rushey

    Rushey Well-Known Member

    Joined:
    Jul 10, 2010
    Messages:
    153
    Likes Received:
    15
    OK so here's what I've set up to try and give me "Read SMS when CoPilot is on":

    Profile 1
    =========
    App > CoPilot Live EU Major

    Enter Task: CoPilot On

    Enter Task Actions:
    GPS > On
    Display Timeout > 12 Hours
    Variable Add >Name %COPILOTON Value 1

    Exit Task: CoPilot Off
    GPS > Off
    Variable Set > Name %COPILOTON To 0

    Profile 2
    =========
    Context > Variable Value
    Name > %COPILOTON Maths:Equals 1

    Enter Task: Say SMS

    Enter Task Action: Text %SMSRF sent this text: %SMSRB

    No Exit Task
    ---

    OK, I know the Say SMS task works because I've tried it out in my "Face Down" profile. But whenever I have CoPilot on and receive an SMS, it just does the normal action, e.g. vibrate and screen notification.

    Where am I going wrong?!

    Rob
     
  12. UncleMike

    UncleMike Well-Known Member

    Joined:
    Nov 15, 2009
    Messages:
    2,319
    Likes Received:
    482
    I've heard of problems (via the Market comments, I think) with a recent update of CoPilot blocking other audio. I had CoPilot installed for about 18 hours the other day, and didn't get a chance to verify this (it was less important to me than other things I was testing).

    One thing you could do to test is to change the application context to use a different app, and see if the same setup works when a different app is detected/running.

    If it turns out that CoPilot is in fact the problem, you may want to try using a different Stream for the Say action in Tasker. Another way around the problem might be to use the Go Home action in Tasker to return to the Home screen prior to reading the SMS message aloud, and then use the Load App or Load Last App action to return to CoPilot after the message has been read.
     
    Rushey likes this.
  13. Rushey

    Rushey Well-Known Member

    Joined:
    Jul 10, 2010
    Messages:
    153
    Likes Received:
    15
    After some more playing it turns out it wasn't Co-Pilot at all, but the Variable action.

    I changed it to:
    Variable Set > Name: %COPILOTON to 1 > If %COPILOTON !=1 and then it triggered fine!

    Now all I need to do is work out how to stop the vibrate and the SMS message appearing in the notification bar and I'll be about there.

    Good fun :)

    Rob
     
  14. Damien

    Damien Active Member

    Joined:
    May 28, 2010
    Messages:
    44
    Likes Received:
    4
    Maybe make an action that if copilot=on, notifications=off

    -Damien
     
  15. matt122

    matt122 New Member

    Joined:
    Jan 3, 2011
    Messages:
    1
    Likes Received:
    0
    I just got tasker and like a few others I am having some issues wrapping my brain around it.
    The biggest reason I got this app was to create profiles for home and work that will change, based on time and/or location, the ringer, notification sounds and volumes.

    Not having much luck, can anyone help me out?
     
  16. BookLover

    BookLover Well-Known Member

    Joined:
    Oct 11, 2010
    Messages:
    977
    Likes Received:
    114
    Read this to understand Tasker: Step-Throughs & How-Tos - Tasker Wiki

    Download and import the files associated with this Autoprofilechanger - Tasker Wiki and doctor the profiles you need. But DO NOT DOWNLOAD OR TRY TO IMPORT THESE FILES until you understand how Tasker works.

    If you don't understand how to program Tasker, the autoprofile changer will TOTALLY frustrate you.
     
  17. Ospreyguy

    Ospreyguy Member

    Joined:
    Feb 10, 2011
    Messages:
    10
    Likes Received:
    0
    Here's my issue. I have profile set up for work turning off sounds and such. That works fine. I added a new profile to turn off the auto brightness and set display to 12 when I open a slideshow program. When I close the slideshow program the setting don't change back to my work profile and the display stays at 12. I think it has something to do with an exit but I can't get that figured out...

    Let me know your thoughts!
     
  18. Ospreyguy

    Ospreyguy Member

    Joined:
    Feb 10, 2011
    Messages:
    10
    Likes Received:
    0
    So nothing then?
     
  19. binarydigit

    binarydigit Member

    Joined:
    Feb 15, 2012
    Messages:
    12
    Likes Received:
    0
    I am looking for some Tasker help, I have created a profile that will read a text message "receiver name" and "the body of the text" to me, however I only want this to happen if I am not on a call...

    I presume I need to enter an If command along the lines of

    IF (tick box) %OFFHOOK ~(matches) 0 or 1

    I have tried both, but neither seem to work, anybody have any ideas???
     
  20. bruce73

    bruce73 Well-Known Member

    Joined:
    Feb 14, 2012
    Messages:
    383
    Likes Received:
    45
    New to Tasker and trying to learn by trial and error and studying examples. I found in the FAQs how to set up an Internet ping, but can't figure out part of it:

    Task: CALLER
    Perform Task DATACHECK (set Priority field high)
    If Is Set %HAVEDATA
    ...
    DO THINGS
    ...
    Endif

    What is "DO THINGS"? If it's an action, I can't find it. Also not sure if the "..." are significant.

    Thanks,
    Bruce
     
  21. UncleMike

    UncleMike Well-Known Member

    Joined:
    Nov 15, 2009
    Messages:
    2,319
    Likes Received:
    482
    I think this task is taken out of context, but it looks like it's confirming that you have a data connection (but using another task that is not shown), then "DO THINGS" represents whatever it is you want the task to do if you have a data connection.
     
  22. bruce73

    bruce73 Well-Known Member

    Joined:
    Feb 14, 2012
    Messages:
    383
    Likes Received:
    45
    Yikes! I must have "noob" written all over me, lol. Here's the complete thing:

    How do I test whether I can reach the Internet (ping) ?

    First setup a task to do the test:
    Task: DATACHECK
    Variable Clear %HAVEDATA
    HTTP Get URL (a known webpage)
    Variable Set %HAVEDATA, 1 If [ %HTTPR = 200 ]

    Prior to Tasker v1.1.1, the test needs to be in a separate task because the task might be aborted if the HTTP Get fails. After 1.1.1, you can just tick the Continue Task On Error checkbox in the HTTP Get action.

    When you want to test, do:
    Task: CALLER
    Perform Task DATACHECK (set Priority field high)
    If Is Set %HAVEDATA
    ...
    DO THINGS
    ...
    Endif

    At least I've been able to have a notification sound when I've totally recharged my battery (which has been draining down a lot since working with Tasker, lol).

    If only there were a "Tasker for Dummies" out there ...
     
  23. UncleMike

    UncleMike Well-Known Member

    Joined:
    Nov 15, 2009
    Messages:
    2,319
    Likes Received:
    482
    With the whole thing there, it looks like I was right about the overall intent. But DO THINGS is definitely a placeholder for whatever it is you want your task to do.
     
  24. bruce73

    bruce73 Well-Known Member

    Joined:
    Feb 14, 2012
    Messages:
    383
    Likes Received:
    45
    Thanks, UncleMike. Now, I've got a real softball question for you. For practice, I created a couple of profiles: one to announce when I am connected to my home WiFi and one for when it changes to Mobile. Each tasks continues to run (they're lit in Tasker) afterwards. Do I need to add an Exit task to the profile, so that once the announcement is made, the task concludes? The only thing I've found so far is to disable the task entirely.
     
  25. UncleMike

    UncleMike Well-Known Member

    Joined:
    Nov 15, 2009
    Messages:
    2,319
    Likes Received:
    482
    I think you're referring to the profiles remaining active. A profile remains active while all contexts are satisfied, even if the Enter Task has completed. Once started, a task is independent of the profile that started it. An Exit Task is not necessary unless you want to specifically change something when the profile exits. For example, when you connect to your home wifi you may want to set the ringer volume to a specific level. Without an Exit Task, when you disconnect from your home wifi, Tasker will return the ringer volume to the level it was at just prior to connecting to your home wifi. If instead you want the ringer volume maximized every time you disconnect from your home wifi, you would change the ringer volume in the Exit Task.

    Generally, settings (represented by a cog) are undone by Tasker automatically when a profile exits. Other actions (represented by a lightning bolt) are not undone without you specifically changing them in the Exit Task.

    It's possible to have a profile with only an Exit Task. If you connect to you work wifi for example, you might want to send an SMS to someone when you disconnect, to let them know you're on your way home. This may sound a lot like using a Wifi Connected context and checking the Invert box to indicate "not connected", but it's in fact very different. If you use a "not connected" context, every time Tasker starts (you power on your phone), it will see that you're "not connected" and send the SMS. What the Exit Task does is key on there being a transition from "connected" to "not connected".

    This might be too much information though. :)
     
    bruce73 likes this.

Share This Page

Loading...