What Tasker profiles is everyone using?? (This thread is NOT for requesting help with profiles)


  1. CodeMonkey

    CodeMonkey Well-Known Member

    I've been using Display On and Display Off for sometime to drive my PIN lock delay / clear profiles.
    As an alternative you could try checking the built in variable %SCREEN per Tasker: Variables
  2. Rob.G

    Rob.G Well-Known Member

    I had a friend who lost her phone and needed help finding it. Long story sort, she got it back and was upset to see someone had gone through her phone and sent her pictures around the net because she doesn't believe in locking her phone.

    So that got me thinking about my Locate Phone profile and the various other profiles I have. For instance at certain times or when certain conditions are met, my phone unlocks by itself. Also there is 1 or 2 times that a profile pops up my dialer screen to call someone. And even at night time I have it shut down at a certain time. All of these would work against me if my phone were lost/stolen. Because even if the screen is locked using a password or whatever, the would be thief may still gain access because Tasker circumvents the lock screen when these profiles become active. And if it is truly lost and the phone turns off at the aforementioned time, then I can't locate it.

    I realized turning off all these profiles one-by-one in the locate profile is inefficient. Because when I create new profiles, I would need to remember to add them to this profile twice, once to turn it off and once again to turn it on when found. If you have lots of profiles, that can make a long list, not to mention remembering to delete these lines if you don't keep these profiles. And what about profiles that get enabled at different times?

    So I made a Task that gets a list of all the profiles that are currently enabled, sends this list to a file, then uses this file list to disable all these profiles (except my Locate Phone profile). This way, no matter what profiles or how many, they all get disabled without having to add any extra lines for new profiles. And after I find my phone again, Tasker uses this same list to re-enable those same profiles. If I didn't want to automatically turn them back on, I could just read the file and manually enable them.
  3. brandall

    brandall Member

    I could do with your input over in this thread Rob.G

    [DEV] Tasker
  4. stuarta

    stuarta Well-Known Member

    So Display On should be when the screen is on and Off when screen is off?
  5. CodeMonkey

    CodeMonkey Well-Known Member

    Yes, event context 'Display Off' fires when the screen is shut off, and 'Display On' fires when the screen is switched on.
    The system variable %SCREEN ~ on when the display is on, otherwise ~ off.
  6. stuarta

    stuarta Well-Known Member

    Makes sense and working now on a test message. Not sure what I was doing last night. Maybe because I had JuiceDefender forcing something. Will disable that and try wifi on and off with screen on and off but not sure how I will be able to tell it's going off
  7. Rob.G

    Rob.G Well-Known Member

    You could try using the Say command under Misc category. When screen goes off Say: Screen off. When it's on Say: Screen on. Any other popup or message would turn the screen on to display it.
  8. stuarta

    stuarta Well-Known Member

    good point ta. Thinking using this to switch wifi on and off with screen will have some battery as I've cut back on syncing and only interested in it syncing when I instigate it
  9. stuarta

    stuarta Well-Known Member

    Seems to work and picks up and connects quickly. Just have to decide whether to let this manage it or GreenPower or JuiceDefender. Guessing Tasker has bit less overhead
  10. stuarta

    stuarta Well-Known Member

    Not sure if using more though now. Seems to be dropping 1% everytime I check my phone
  11. barqers

    barqers Well-Known Member

    I made a widget task that sets my phone to nightmode, and if i tap it again it switches off nightmode.

    long press on the homescreen and select task widget. This is how my task is setup:

    if %NIGHTTIME ! Set
    Variable Set %NIGHTTIME To 1
    Silent Mode ON
    Media Volume 0
    Stop
    End if
    If %NIGHTTIME is set
    Variable Clear %NIGHTTIME
    Silent Mode off
    End if

    As you can see I like my media volume set to 0 at all times because it automatically gets set to 10 when I plug in my headphones and turned back to 0 when I unplug.

    Now create a new profile for "Received Text", and create any task you want. Add another state to this profile, and do a Variable Value for %NIGHTTIME = 1.

    That's it, you can add a "Incoming Call" as well with a Variable Value for %NIGHTTIME = 1, what I do is if there is an incoming call and %NIGHTTIME = 1 then end the call immediately. Usually results in them knowing I'm unavailable.
  12. Jahna

    Jahna New Member

    I could use your help. I tried to create a profile that would set the phone to vibrate and put calls to voicemail when face down and then turn the ringer back on when face up. Somehow though, I've managed to disable my ringer completely and the phone now only vibrates, even when I've gone into the phones native settings and set it to "vibrate only in silent mode". I've wiped all tasker profiles so there should be a clean slate. How do I get the ringer back? Or, how do I correctly set up this profile?
  13. deanshep85

    deanshep85 Well-Known Member

    right...disabled apndroid...JUST to use widgetzoid, set up some widgets with its data off one....imported the tasker profiles and.....


    nothing....god damn nothing again....rebooted...nothing...reinstalled tasker...nothing...

    what the bloody hell is going on :( Im doing EVERYTHING right and logically it should work but it doesnt..
  14. MickeyCee

    MickeyCee Well-Known Member

    oh that bites....sorry but i have no more ideas, hopefully someone else can help. If i learn anything else in the future I will def pass it along to you.
  15. deanshep85

    deanshep85 Well-Known Member

    cheers for your help anyway..

    I just want the damn thing to work so much so I can then set up net to also only come on when certain apps are used...but tried them an it doesnt work either...
  16. Sokudo Ningyou

    Sokudo Ningyou Well-Known Member

    Does anyone else with an X have problems with anything involving http:get in profiles? I swear, I have no idea why, but the farking things just aren't working.

    I tried a profile someone wrote up for "The F**cking Weather" that used Minimalistic Text to show what the webpage says the weather is like. Never worked. Ok, maybe it was me.

    Then I downloaded some profiles from dbilliter's page for Personal Assistant. Mostly I decided to set it up so when I wake up, it tells me the weather and if I have anything set on my calender for the day. Won't work. Well, it partially does: what I get is a mix of "HTTP221" and "whatever conditions" which tells me it's only halfway getting what it's supposed to. And I have it set so it's supposed to update right before it reads all this info. But if I manually go in and "test" the updating profile, then run my sleep profile, it will read the weather properly. And it's not updating from my calender at all.
  17. Rob.G

    Rob.G Well-Known Member

    I believe it is not because you have an X. I tried using this Personal Assistant also. Although I made my own using what he had posted. I was having the same trouble you were. I finally just sent the whole HTTP return to a file and read it that way. There is a couple of spots were you need 2 spaces (ex. " code=", " date="). and some others that aren't quite clear from the instructions. Try sending it to a file and reading through it to find what you need. Or I could help if you wanted to take that route.

    Also, you mentioned how you have this set up to "update right before it reads". Are you allowing enough time for the returns to be processed? You could use a wait command or, what I do is have it update at say 7:00 and it reads it to me at 7:15.
  18. Sokudo Ningyou

    Sokudo Ningyou Well-Known Member


    I used to have the Update PA profile set to run from 3 AM to 10 AM, every hour, and my sleep profile runs at 9:59. So if it ran at 9 AM, it had 59 minutes for the update. I don't think the code is the problem, though, if testing the update profile then immediately testing the sleep profile produces a proper result. But I've now had two profiles with http:gets that won't work properly, which is why I'm wondering. :confused:
  19. gcobb

    gcobb Well-Known Member

    Silly me! I just figured that my MMS messages weren't sending or being received because I have a home profile that turns off Mobile Data. Duh. I turned it on and I'm good again.
  20. Tumeg

    Tumeg Well-Known Member

    Just when I thought my obsession with creating new profiles was over, I found two new apps on the market that enhance one's Tasker experience ;p

    Remote Notifier for Android and Dropbox Sync for Tasker/Locale.

    I can now have Tasker automatically backup files on my SD card to Dropbox (among other cool things - for example, I am currently working on a way to get this Dropbox plugin to allow me to upload a AutoHotKey script to Dropbox, where AutoHotKey on my computer will be able to then read\activate the script, which will pause iTunes when I have an incoming call).
    Then: Remote Notifier for Android, simply sends notifications to your computer, when you have an incoming call, SMS, MMS, or when your battery is low, etc. I have Tasker setup to where this app\service is only enabled when I am at home.

    Both of these profiles\add-ons came along after hours of trying to figure out how I can not miss an important call (still waiting for that call), while blasting music at my computer (with my 800watt sound system ;) haha).
    Alfred128 likes this.
  21. ambientdroid

    ambientdroid Well-Known Member

    I'm on day 6 of the 7 day trial, so far tasker is great. I'll be paying them shortly.

    I've got a bunch of profiles set up:
    Dock - screen rotation and a menu so I can launch 'car mode' (nav, gps, speaker phone etc).

    Headphone jack - menu of media applications to launch

    GPS apps - turns gps on with certain apps

    Reading apps - increases screen timeout and enables screen rotation

    Device boot - waits a few seconds turns airplane mode on, then off after another second. (I'm have 2.1 which has a bug that sometimes causes the 'cell standby' to show 50% time without signal and drains the battery. For some reason toggling airplane mode on/off fixes it)

    Camera button menu - couple of different camera apps and LED light

    Home profile - based on wifi near: turns off keyguard, turn on wifi, makes sure GPS etc are off

    Wifi - when connected to home wifi turns off mobile data with a 20 sec delay to turn it back on on the exist task. I think my carrier disabled wifi sleep policy settings on my device, even when tasker sets it to 'never' it seems to drop the connection which becomes apparent when the phone wakes up. This stops it from connecting to 3G only to connect back to wifi which seems to drain the battery a little.

    Night mode - Based on time and screen-on variable: Turns on airplane mode, lowers notifcation volume and enables the Alarm profile - only when the screen is off. This way if I'm not in bed at that time or I want to check something I can still do so without having to do anything to connect to the network.

    Alarm, snooze and stop alarm - gradually increases the volume of the music track triggered by the alarm time. Press the camera button to snooze (volume doesn't fade in for snooze), press the camera button while phone orientation = right side - vibrates and says "the alarm has now be turned off".

    Pretty cool.


    Now, there's a few things I want to find out how to do:


    -How can I get the alarm to play a random song each time?

    -How can I get tasker to retrieve a simple weather forecast for the day? It seems like ' dbilliter's' Personal Assistant profile does something similar to what I want (tell me the days weather as part of my alarm) but when I go to his page the only link I can find has 404'd.

    - How can tasker retrieve my calender events for the day? Same as above.

    - I would LOVE to have any new photos taken with my camera sync to my dropbox in the background a few minutes after closing the camera app perhaps. Now it would need to know what's new and what isn't as I plan I don't want to keep everything in the dropbox, just use it as a means to sync with my computer. The photos will be deleted from dropbox afterwards, I don't want it to resync what's already been uploaded.
    Is this even possible?
    Tumeg mentioned the dropbox sync for tasker/locale app, will it do what I want or is there another way?

    Thanks guys. If anyone wants specifics on the profiles I've set up, let me know. :)
  22. CriticalCritic

    CriticalCritic Well-Known Member

    I cannot for the life of me get this thing to work! I have opened/enabled port 10600 and run through all the setup option and I still cannot get a notification to popup while using wifi (or at all for that matter). How did you get it to work? Running Windows 7 64
  23. Tumeg

    Tumeg Well-Known Member

    I am also running Windows 7 64:
    Port 10600? Not sure what that is referring to - but all I did was install the app on my phone, then installed the Android Notifier app on my computer along with Growl. Here are the instructions for setting up Growl: http://code.google.com/p/android-notifier/wiki/GrowlHowto

    Growl is the only thing that I really had to "set up", Android Notifier I just installed and activated\turned-on...
  24. ambientdroid

    ambientdroid Well-Known Member

    Just thought I'd share a little time/clock announcement task I came up with:

    Taker has a built in time variable (%TIME) that is formatted like: hh.mm. So 10:30am would be 10.30 and 9:20pm would be 21.20. The 'say' action would pronounce these "ten point three zero" and "twenty one point two zero" respectively. I guess that works but it's not formatted the way most people would like which could be "ten thirty A M" and so on.

    New Task -> "Announce Time"

    1) Variable Split - Name: %TIME - Splitter: .
    this separates the variable where ever a '.' is encountered, in this case only once. The hours will be output to the variable %TIME1 and the minutes to %TIME2.

    2) Variable Set - Name: %TIMEM - To: A M - If: %TIME1 is less than 12
    We are creating a new variable to contain the 'am' info in the morning.

    3) Variable Set - Name: %TIMEM - To: P M - If: %TIME1 is greater than 11
    Same as above, but for 'pm' in the afternoon/evening.

    4) Variable Subtract - Name: %TIME1 - Value: 12 - If: %TIME1 is greater than 12
    Converting the hour value from 24 hour time to conventional time.

    5) Say - Text: The time is now %TIME1 %TIME2 %TIMEM.
    The action that makes the phone speak. Play with the voice engine, pitch and time parameters to your liking.

    Hit 'test' to check that it works.

    You can now make this a sub-routine of any other task you have by including the 'perform task - Announce Time' action or create a new profile with any context you wish. I've got it as part of the snooze function when the alarm reactivates.
    bruce73 likes this.
  25. Rob.G

    Rob.G Well-Known Member

    I also made a talking clock and I think I could help iron a few bugs you may run into or didn't realize.

    You should probably make the IF statement > 11 because if it is 12:00 noon with your current set up it won't set am or pm.

    You may run into other problems you didn't think of as well, and depending on your use for the task it may be bothersome. For instance when it is 12:15 am it will say the time as 00:15 am (zero zero fifteen am).

    Any am time (9:15 am) will be announced zero nine fifteen am.

    Any time it is on the hour (5:00pm) it is going to say five zero zero pm.

    Whenever the second part of the time is less than 10 (9:06 am), it will be announced as nine zero six am.

    Like I said, it depends if you mind those sort of things or not. For me, I like figuring out these problems and solutions for myself. But if you decided to change something and wanted any assistance I would be glad to help.:)
    ambientdroid likes this.
Loading...

Share This Page