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

Anyone using Tasker?

In this case, once you unplugged your headset, all your settings would turn up to what they were before.

I did all that but the problem is my audio options appear in the menu box along with my 3 music services. How do I get the audio to execute and not appear in the menu box?
 
I did all that but the problem is my audio options appear in the menu box along with my 3 music services. How do I get the audio to execute and not appear in the menu box?

Interesting. I've got a profile set up just like what I said and it works for me. Mine pops up 4 different apps and turns media volume to 1 so I don't blow my ears out. When I plug my ear buds in, I see the menu with all 4 apps, but don't see any audio options appear. It just works. Are you selecting Load App - Media volume, or are you selecting Audio - Media Volume?
 
Are you selecting Load App - Media volume, or are you selecting Audio - Media Volume?

I'm doing the latter...selecting Audio - Media Volume. I did some checking and couldn't find a way to indicate execute (instead of menu) for the volume settings. Is there a way to setup a separate task for the volume settings?
 
So do I need to have GPS turned on when I get in my car then? I can easily set up my car profile to do this. I don't normally turn it on as I don't usually use it and does seem to make my phone get pretty hot.

I don't know that it will matter with my profiles, assuming that you turn on GPS based on a power connection. This is because if your phone doesn't already know it's at work while you're unpowered and without GPS, then the profile won't be active. And if it's not active, it can't exit. As soon as you plug in (turning on GPS as a result), you are powered, which will prevent the "office" profile from becoming active.

To work around this, you could rearrange a few things, like this:

Context: Power Any
Enter Task: (keep device awake)
GPS On
Set %JUSTPLUGGED = 1
Wait 2 minutes
Clear %JUSTPLUGGED

Context: %OFFICEHOURS = 1
Context: %JUSTPLUGGED = 1
Context: Location <work>
Enter Task: <send email>

Each time you plug in during work hours, Tasker will have two minutes to figure out if you're at work using GPS. If you are, it will send the email.

BTW - I'll be away for 6 days starting tomorrow. Don't be offended if I don't respond. I'll try to keep up, but typing this stuff out on my Droid might be a handful.
 
I'm doing the latter...selecting Audio - Media Volume. I did some checking and couldn't find a way to indicate execute (instead of menu) for the volume settings. Is there a way to setup a separate task for the volume settings?

Start from scratch. From the screen listing all your profiles pick Task. Set up the menu with all the apps there and name it something like "Media menu" or something similar that you'll remember. Then go back and create a new Profile. Put in your context you want and then at the top pick "Media menu" or whatever you call it from the drop down. You can then add your audio settings underneath. This may have been how I set up mine originally. I've slept since then.
 
Anyone using the Google Talk plugin (designed for Locale) with Tasker?

I can't seem to get it to work consistently. I just want to change my status based on location, but it doesn't seem to update most of the time. Just curious if anyone has it working well. I think it might be the plugin (as opposed to my Tasker profile) because I've tried making a widget to directly change the status and even that doesn't work half of the time.
 
I don't know that it will matter with my profiles, assuming that you turn on GPS based on a power connection. This is because if your phone doesn't already know it's at work while you're unpowered and without GPS, then the profile won't be active. And if it's not active, it can't exit. As soon as you plug in (turning on GPS as a result), you are powered, which will prevent the "office" profile from becoming active.

To work around this, you could rearrange a few things, like this:

Context: Power Any
Enter Task: (keep device awake)
GPS On
Set %JUSTPLUGGED = 1
Wait 2 minutes
Clear %JUSTPLUGGED

Context: %OFFICEHOURS = 1
Context: %JUSTPLUGGED = 1
Context: Location <work>
Enter Task: <send email>

Each time you plug in during work hours, Tasker will have two minutes to figure out if you're at work using GPS. If you are, it will send the email.

BTW - I'll be away for 6 days starting tomorrow. Don't be offended if I don't respond. I'll try to keep up, but typing this stuff out on my Droid might be a handful.

Understand. I'm still working out the bugs. Your task did not work when I left for lunch. I suspected that something might be up with how I had set the location so I set it again. When I unplugged and plugged in at lunch (with GPS turned off prior to unplugging), it worked beautifully and sent the email. I adjusted the office hours so that it would trigger when I left for the day and it went off then too. It also went off when I unplugged the phone and plugged it back in about a half mile down the road. It may be that I've set the GPS radius too wide and need to tweak it. I also found when I left for the day that it turned GPS on and left it on, but it's possible that my mileage tracking program (which I've also set to turn GPS on) was what turned GPS on and left it on. Like I said, I'm still working out the kinks, but I'm optimistic I can make it work either with your way or with mine.
 
One thing you can do as a substitute for GPS is to use Wifi Near by itself, or in conjunction with a network-only Location context. Because Tasker knows that network-only Location is more power-efficient than Wifi Near, if you combine Wifi Near with network-only Location, Tasker will only check check the Wifi Near context if the network-only Location is satisfied first.

Firstly, thanks UM for all your help in this thread. I have no programming background, and much of tasker has been over my head, but reading through this thread and your posts has helped me understand much of it better.

Anyway, I've got your home area/home wifi profiles running as of last night. This morning I had to drive into town and naturally those two profiles turned off. But every now and then I'd check tasker to see what was happening, and every time I checked it I noticed that the wifi was on. But shortly it would turn off again, but after a little bit it would come on again then off. I'm guessing this was the home wifi profile activating the wifi near scanning. So it seemed that the home area profile didn't stop home wifi from checking?

Just trying to get my head around the purpose of the two profiles. The home area one works out if you are in the area (network) you specified and if so sets a HOME value of 1. Then the home wifi profile sees a value of 1 in HOME and turns on the wifi with the wifi near profile and looks for the ssid. If it doesn't find it it turns the wifi off and checks again after. If you leave the home area the profile sets the HOME value to 0, and wifi home sees the home value of 0 and turns wifi off. So I think the wifi home profile may not be seeing the HOME value of 0 and wifi near is still activating? Am I explaining what I think mine is doing?

I also noticed a couple of minutes ago that while I'm still in my house, the home area profile disabled, then came back a minute later. So I'm guessing this is one of those occurances which would have turned off wifi had the home wifi profile not used the wifi near task.

Anyway, again, thanks for all your effort. Now go have a holiday for 5 days ;)
 
Wifi Near - if Wifi is normally off you can tell Tasker to turn it on to check nearby Wifi signals periodically, but recognizing that you're no longer "near" can take too long for some people/purposes

On a similar note, I only use my home wireless network. I almost never use a public access point or anything like that. Currently I have a profile to cut on my wifi around 5:30 every weekday, usually when I get home from work. Is there a better way to do it? Like a profile to cut on my wifi when I am in range of my wireless network, or when the GPS determines I'm at my house? I didn't know if either of those options was feasible because I always have my GPS set to off unless my phone is plugged into my car dock. And I figured my phone wouldn't know when I am in range of my wifi network unless wifi was actually turned on. But since my cardock profile has my gps turned on whenever it is docked, maybe the GPS option would be best, because it would recognize my location as soon as I pulled into my driveway and turned on the wifi?
 
I don't know that it will matter with my profiles, assuming that you turn on GPS based on a power connection. This is because if your phone doesn't already know it's at work while you're unpowered and without GPS, then the profile won't be active. And if it's not active, it can't exit. As soon as you plug in (turning on GPS as a result), you are powered, which will prevent the "office" profile from becoming active.

To work around this, you could rearrange a few things, like this:

Context: Power Any
Enter Task: (keep device awake)
GPS On
Set %JUSTPLUGGED = 1
Wait 2 minutes
Clear %JUSTPLUGGED

Context: %OFFICEHOURS = 1
Context: %JUSTPLUGGED = 1
Context: Location <work>
Enter Task: <send email>

Each time you plug in during work hours, Tasker will have two minutes to figure out if you're at work using GPS. If you are, it will send the email.

BTW - I'll be away for 6 days starting tomorrow. Don't be offended if I don't respond. I'll try to keep up, but typing this stuff out on my Droid might be a handful.

I'm concerned about the two minute wait time. Your setup did work nearly perfectly in my testing today except that it ignored the location fix and sent the email every time I plugged into my car adapter regardless of where I was in the city. I had to reseat the adapter at one point in my car and it still sent the email. Wifi near would work beautifully in my case, but you can't use three States in the same profile apparently. I have a whacked out work around in mind though but it's pretty out there and I have no clue if it'll work. It's so far out there I want to test it out though.
 
I am trying this setup to get wifi to run only when at my house and go back to 3G when leave my house and then come back to wifi when enter my house..

OPTION 1
Location: via Net only (as I do not want to always run GPS) within 30m of my home
WiFi near: my wifi SSID and MAC address and "toggle"
Exit: wifi off

or is it better/simpler to just do

OPTION 2
Location: via Net only (as I do not want to always run GPS) within 30m of my home
WiFi: on (since it will auto connect to my router as the preferred AP)
Exit: wifi off

OPTION 1 seemed to trigger, but does this mean it is going to endlessly do the wifi near on/off/on/off looking for my signal.

OPTION 2 didnt even seem to trigger. Is it because the Location of Net is to weak a method to establish where I am?
 
Anyone using the Google Talk plugin (designed for Locale) with Tasker?

Replying to myself in case anyone else comes here and wants an answer to the same question.

There are 2 Gtalk Plugins in the market. The first one I downloaded did not work right on my Desire with Froyo. It would change the status randomly. (Even if I disabled all Tasker profiles that called the plugin, my status would change at incorrect times...not sure why...)

I'm now using the one by Billy Francisco, and it seems to work better.

GTalk Status Widget v1.4 Application for Android | Social
 
I'm stuck.. I think I did it right (will get a screen shot later) I set it up to do GPS all was good my wallpaper changed and all but when I got a text the phone still made a sound.. Also it keeps searching for a GPS signal I might have to just delete the whole profile again.
 
I have been using Tasker for all of 20 minutes and am trying to leapfrog the learning curve.

My goal is to turn on Call Forwarding *73#Tel Number (and perhaps other things) when 2 conditions are met.

  1. My droid is on AC power charging, AND
  2. Connected to "ABC" WiFi SSID

I also want to turn off Call Forwarding #21# when either of those are lost.

I can pretty much see how to do each task individually; but not together. Once again I feel like the south-end of a horse facing north.

A step by step would be greatly appreciated.

Thanks 10^6

k
 
Hey guys, posted this elsewhere but didn't get any responses, hopefully you all can help me out:

First up- I have an HTC Evo, running stock 2.2... no downgrade and root yet

Anyhow, I would like to provide a way to locate my phone remotely should I lose it or it get stolen. There are several different apps that do this... however, in the interest of saving battery life, I always leave my mobile data, gps, and wifi turned off. So, without mobile data, none of these nice location providing apps work.

Tasker uses APNDroid to toggle mobile data on and off, which doesn't work with CDMA phone such as mine.

I have found no way to toggle the HTC "mobile data" widget directly with Tasker. But I have found that I can execute the HTC "Settings" app with Tasker via an SMS.

I have to believe that there is an argument I can pass the HTC "Settings" app that will toggle the "Mobile Data" to the on position... but I can't figure out what argument to pass it.

I have searched extensively in the forums and on the web via google search.

I have read that it can be done with juice defender, but i don't really want another app running full time in the background... wastes battery life

Anyone here have any advice to offer? Sorry for this being long-winded
 
I have been using Tasker for all of 20 minutes and am trying to leapfrog the learning curve.

My goal is to turn on Call Forwarding *73#Tel Number (and perhaps other things) when 2 conditions are met.

  1. My droid is on AC power charging, AND
  2. Connected to "ABC" WiFi SSID

I also want to turn off Call Forwarding #21# when either of those are lost.

I can pretty much see how to do each task individually; but not together. Once again I feel like the south-end of a horse facing north.

A step by step would be greatly appreciated.

Thanks 10^6

k

The only way I know of at the moment would be to have a new profile with the context of State, which would be Power > AC.

Then click +, choose Phone > Call Divert, adding the If function to be "%WIFI" equals "on", though this would then divert calls when connected to any WiFi. You would then have an Exit Task of Inverting these options.
 
I have been using Tasker for all of 20 minutes and am trying to leapfrog the learning curve.

My goal is to turn on Call Forwarding *73#Tel Number (and perhaps other things) when 2 conditions are met.

  1. My droid is on AC power charging, AND
  2. Connected to "ABC" WiFi SSID

I also want to turn off Call Forwarding #21# when either of those are lost.

I can pretty much see how to do each task individually; but not together. Once again I feel like the south-end of a horse facing north.

A step by step would be greatly appreciated.

Thanks 10^6

k


First create a new profile starting with a state for Power connected to AC. Then add your task to call #73#thePhoneNumber with Phone/Call. If you have other tasks add them here. When you say done go back and tap the Power (left side) and from the pop-up menu choose Context Add, and then State Wifi Connected, and fill out your SSID information and any other fields there as needed. That should meet your criteria for having your calls forwarded only when charging with AC and connected to your wifi. Then you can create an exit task by clicking on the right-hand side and choosing Exit task from the popup. Add the task to dial the number for turning off call forwarding which will run when the profile exits.
 
Maris, et al

Many thanks for the help. I just figured it out when my email popped up and said "A letter... for me!!!"

Regards,

k

PS,
On a similar but different note.
Has anyone gotten anywhere with the TaskerWiki instruction for Locatephone Locatephone - Tasker Wiki. Then as a part 2 to this idea; is this the best free solution to geo-positioning of a lost phone?
 
This app is brilliant. Not too difficult to program either, providing one remembers to add some exit tasks to profiles.

Currently have a few profiles...

- My Home profile turns the ringer volume up, WiFi on, GPS off and AutoSync on.

- Work turns silent mode on, WiFi on, AutoSync on, GPS off. However, because I work where there is also a gym it is set to only text my girlfriend telling her that I am at work and will ring her after, if the time is after 5:30pm.

-Between the hours of midnight and 6.30am, silent mode is on, autosync is off, WiFi is off, GPS is off, and the phone texts anyone that tries to text/ring me informing them I am asleep and that I will ring them back at a more sociable hour.

- When the phone is on charge everything except GPS is on, with brightness etc set to maximum levels.

- When Maps is launched GPS is turned on.

- When the phone is face down the GPS is turned off and the phone goes on to silent.

- When the battery level is low it turns off WiFi, GPS, AutoSync, it also puts the phone on to silent mode but disables the vibrate alert.
 
Tasker uses APNDroid to toggle mobile data on and off, which doesn't work with CDMA phone such as mine.

I think your best bet is to wait for the next release (even a beta) of Tasker, of perhaps download the last 1.0.8 beta.

Link to 1.0.8b6 (beta): http://tasker.dinglisch.net/releases/Tasker.1.0.8b6.apk

A Mobile Data action (without APNDroid) was introduced in the 1.0.8 beta series, but was removed because some users were reporting problems with it, though I had no problems with it myself on my (CDMA) Droid.

Keep in mind though that betas can and do have problems, and their use is not recommended for everyone.
 
Has anyone gotten anywhere with the TaskerWiki instruction for Locatephone Locatephone - Tasker Wiki. Then as a part 2 to this idea; is this the best free solution to geo-positioning of a lost phone?

It's true that there's no additional cost if you already bought Tasker, but whether it's the best solution is really up to you. Within the limits of Tasker, you can make the phone do anything you want in response to a "find me" SMS message. But Tasker won't let you wipe the device, or lock it in the same way that some other apps would. I have a modified version of the example in the Wiki working for me.

Changes I've made include:


  • Set Notification Volume to zero and turn off Vibrate on Notify (this appear to take effect BEFORE any notification of the triggering SMS). I do this to keep whoever found the phone unaware of the fact that anything unusual is going on

  • I don't shorten the URL for the Maps link - it doesn't appear to be necessary

  • My response SMS includes the location provider (%LOP) and accuracy (%LOA). This way I know if I got a GPS fix or a network-only location, and how accurate the information is

Things I'll probably add:


  • Turn on Wifi and Mobile Data to assist with location, and off again when done (to conserve power)

  • Turn off auto-brightness, set minimum brightness and screen timeout

  • Automatically repeat the process a set number of times

  • Possibly using Call Divert or Call Block to limit usefulness of the phone

  • Using Lock to prevent unauthorized access to settings or Tasker, maybe more
 
is there anyway to use Tasker to turn the Slide to Unlock off but keep the Enter Pattern unlock screen? I want to enable the Pattern lock after 15 min of idle but during that time I dont' want the slide to unlock screen to pop up.
 
is there anyway to use Tasker to turn the Slide to Unlock off but keep the Enter Pattern unlock screen? I want to enable the Pattern lock after 15 min of idle but during that time I dont' want the slide to unlock screen to pop up.

In Android 2.2 (or higher) Tasker doesn't support the pattern lock, so there's no way to control the pattern lock independent of the (non-pattern) lock. According to the help screen, if Keyguard is off, the pattern lock is also off.

The only way I can think of to do it is to have a task that runs when your display turns off, disabling keyguard and then enabling it 15 minutes later. But this would require that the task keep the phone awake for 15 minutes each time the display turns off, which would have a negative impact on battery life.

Also, current help screens indicate that this setting is best used when the device is on and unlocked, which is the opposite of what this would do.
 
Uncle Mike,

I have only played with iTag as a commercial "find me" solution but one of the things I really liked about the Tasker roll your own solution is that the GPS does not have to be on all the time. This minimizes the some of the Big Brother chill inherent in using this kind of software and also maximizes battery life.

I guess I could combine the 2 solutions. Use Tasker JUST to turn on GPS and iTAG for the rest of the functionality.

Could you give me a complete morons guide of the first few steps? I just don't see how to get the SMS software to interact (more south-end of a horse facing north).

Thanks

k
 
Back
Top Bottom