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

Anyone using Tasker?

I'm having an issue with the wifi near state. I've got a profile that's supposed to trigger if I'm on AC power and wifi near is a particular wifi network. This has been working beautifully for me all week until today when it went off when I was 15 miles away from where the wifi is. Why is wifi near not detecting that I'm not near that wifi network any more? I leave wifi turned on 24/7 on the phone just for this purpose.

It can take up to two scan cycles for Tasker to accept that the Wifi is no longer near. This prevents the profile from bouncing between active and inactive when you are near the edge of the coverage area. If your device is asleep and using the default settings, this could take up to 20 minutes.

This is the only non-bug reason I can think of to explain what happened.

Also, if you check the "Toggle Wifi" option in the context, you can turn Wifi off and Wifi Near will still work.
 
I just started using tasker and see that it is so very powerful. I tried to learn the ropes by trying out a "simple" tasker widget which will toggle screen rotation ON/OFF. After feeling my way around the app for sometime..... and failing, I turned to google to help me out. There were examples of how to enable/disable screen rotation on opening an app etc.. I could not find how to make a toggle widget.

Can someone please post basic steps on how to create a tasker widget which will toggle screen rotation. I looked at tasker wiki, but could not find any variable which gave me the status of current screen rotation setting value.

You don't need to know its current setting to toggle it. The Display Rotation action has a Toggle option, so you can toggle it regardless of how its set.

Create a named task to toggle display rotation in Tasker:
Tap Tasks > New, and name your task. Tap "+" > Display > Display Roation. Select Toggle > Done > Done > Apply.

Create a Widget:
Long-press on an open area of the home screen. Select Widgets > Task. Select the named task that you create above, tap the blue circle with the question mark to select an icon for your widget. Tap Create Widget.
 
It can take up to two scan cycles for Tasker to accept that the Wifi is no longer near. This prevents the profile from bouncing between active and inactive when you are near the edge of the coverage area. If your device is asleep and using the default settings, this could take up to 20 minutes.

This is the only non-bug reason I can think of to explain what happened.

Also, if you check the "Toggle Wifi" option in the context, you can turn Wifi off and Wifi Near will still work.

What do I need to do to fix this in my case? The phone shouldn't have been in sleep mode as I was driving for 20-25 mins to get to the location 15 miles away and using the phone to play audio the whole time. Do I need to shorten the scan cycle inside preferences? If so, how short?
 
I think I fixed my wifi near issue. The value of all scans is set to 600 seconds by default. This is the value Tasker uses when the screen is off. When I'm in the car playing music, the screen is off so, if it takes two cycles to determine I'm not wifi near then it would take 20 mins to figure this out. If I touch the phone at all in this time frame I can screw with this cycle. I shortened the all scans setting and I think I'll get better results now.
 
hey uncle mike can you come up with a synapses of a profile to when i running a music player(ex. Music Mod, Mixzing) that if i press the volume button it would skip to the next song or a simple way to skip songs profile if u cant work for the volume buttons. btw i have a HTC EVO with full touchscreen, no camera button
 
hey uncle mike can you come up with a synapses of a profile to when i running a music player(ex. Music Mod, Mixzing) that if i press the volume button it would skip to the next song or a simple way to skip songs profile if u cant work for the volume buttons. btw i have a HTC EVO with full touchscreen, no camera button

As far as I know, Tasker only supports the native music app, so there really isn't anything you can do with other music apps. A widget would probably be the easiest approach, as Taker has no way of detecting presses of the volume rocker, except that it can monitor certain volume levels.
 
to CHRLS

i ended up trying the "go home" with the slacker app and it doesnt work like the music. maybe because music is part of the droi systm?

but indeed slacker remains playing... sucks :-(
 
Question regarding Desk Clock application and Tasker. (Desire, HTC Sense)

I recently got a docking station, but the phone doesn't recognize it as a dock. Just as A/C power. So, what I want is to dock the phone and have it show the desk clock (black screen with the time).

I set up a profile as follows:

Context: Power (AC)
Task: Load App Desk Clock
Exit Task: Go Home

The exit task I am using is in place of "Kill app" which I tried and doesn't work on Froyo.

The results?

1) If I dock the phone when the screen is on (phone unlocked) the profile works exactly as I want it to.

2) If I dock the phone when the screen is off (phone is locked) it lauches the app but it brings me into the time app itself (where I can change settings and set alarms) but not the black screen showing only the time.

Why is the task working differently when the screen is off? Any fix for this?
 
Question regarding Desk Clock application and Tasker. (Desire, HTC Sense)

I recently got a docking station, but the phone doesn't recognize it as a dock. Just as A/C power. So, what I want is to dock the phone and have it show the desk clock (black screen with the time).

I set up a profile as follows:

Context: Power (AC)
Task: Load App Desk Clock
Exit Task: Go Home

The exit task I am using is in place of "Kill app" which I tried and doesn't work on Froyo.

The results?

1) If I dock the phone when the screen is on (phone unlocked) the profile works exactly as I want it to.

2) If I dock the phone when the screen is off (phone is locked) it lauches the app but it brings me into the time app itself (where I can change settings and set alarms) but not the black screen showing only the time.

Why is the task working differently when the screen is off? Any fix for this?

You could try having Tasker turn the display on before launching the app.
 
Ive set up some profiles,-

But now trying to have an easy way to turn on bluetooth (for the car) Shake is on the todo list.

So was trying state-upside down,- but bluetooth turns off again right side up.

So is it possible to make a profile: upside down-> bt on and upside down if bt on turn off.
 
Ive set up some profiles,-

But now trying to have an easy way to turn on bluetooth (for the car) Shake is on the todo list.

So was trying state-upside down,- but bluetooth turns off again right side up.

So is it possible to make a profile: upside down-> bt on and upside down if bt on turn off.

Orientation and gestures are pretty high up on the list as far as power consumption goes. so you might want to consider something else. Leaving bluetooth on all the time might use less power.

If you want to stick with what you have, try using "toggle" instead of "on" or "off".
 
Orientation and gestures are pretty high up on the list as far as power consumption goes. so you might want to consider something else. Leaving bluetooth on all the time might use less power.

If you want to stick with what you have, try using "toggle" instead of "on" or "off".

Completely agree, I never use gestures and only use orientation when coupled with other states so it is not constantly monitoring for orientation.
 
Tried toggle,-but the bt turns off if phone changes orientation.

So maybe leave the bt on all the time, always forget to turn it on before driving.
 
hey chrls, by chance have you found away around the kill app yet? a way to disable slacker maybe without lowering media volume
 
Has anyone tried to get these tasks to work with a profile?

Wifi Tether - Tasker Wiki

I set it up with a toggle widget, and it doesn't seem to do anything.

EDIT: There's a typo in the wiki; that's why it didn't do anything. Unfortunately, it's still not completely compatible. Once you toggle, you still have to open the wireless tether app, then it turns on or off. Kind of defeats the purpose...
 
Has anyone tried to get these tasks to work with a profile?

Wifi Tether - Tasker Wiki

I set it up with a toggle widget, and it doesn't seem to do anything.

EDIT: There's a typo in the wiki; that's why it didn't do anything. Unfortunately, it's still not completely compatible. Once you toggle, you still have to open the wireless tether app, then it turns on or off. Kind of defeats the purpose...


There must be more than a typo since I cannot seem to get this to do anything one way or the other. In fact, looking at my superuser permissions, it has a '/bin/' in the original Wireless Tether command line which I have also tried without sucess. I'm using Tasker, Wireless Tether, and the Local plugin currently in the Market on my rooted phone. but I also tried the Latest Wireless Tether beta without success with this routine. I even set Tasker to execute this command line then launch the Wireless Tether app which did not work, as well as, launch the Wireless Tether app first, wait 5 seconds, then execute the command line which still did not work.

Wow, I sure hope someone can figure out how to really do this since I would like to setup Tasker to enable Wireless Tething for about five minutes or so every two to three hours during the day so that my iPad will automatically connect and sync mail and get any other alerts unattended.
 
Has anyone tried to get these tasks to work with a profile?

Wifi Tether - Tasker Wiki

I set it up with a toggle widget, and it doesn't seem to do anything.

EDIT: There's a typo in the wiki; that's why it didn't do anything. Unfortunately, it's still not completely compatible. Once you toggle, you still have to open the wireless tether app, then it turns on or off. Kind of defeats the purpose...

There must be more than a typo since I cannot seem to get this to do anything one way or the other. In fact, looking at my superuser permissions, it has a '/bin/' in the original Wireless Tether command line which I have also tried without sucess. I'm using Tasker, Wireless Tether, and the Local plugin currently in the Market on my rooted phone. but I also tried the Latest Wireless Tether beta without success with this routine. I even set Tasker to execute this command line then launch the Wireless Tether app which did not work, as well as, launch the Wireless Tether app first, wait 5 seconds, then execute the command line which still did not work.

Wow, I sure hope someone can figure out how to really do this since I would like to setup Tasker to enable Wireless Tething for about five minutes or so every two to three hours during the day so that my iPad will automatically connect and sync mail and get any other alerts unattended.

The current beta of Tasker has a Wifi and USB tethering toggle built in. You may want to check that out or wait for the release version.
 
There must be more than a typo since I cannot seem to get this to do anything one way or the other. In fact, looking at my superuser permissions, it has a '/bin/' in the original Wireless Tether command line which I have also tried without sucess. I'm using Tasker, Wireless Tether, and the Local plugin currently in the Market on my rooted phone. but I also tried the Latest Wireless Tether beta without success with this routine. I even set Tasker to execute this command line then launch the Wireless Tether app which did not work, as well as, launch the Wireless Tether app first, wait 5 seconds, then execute the command line which still did not work.

Wow, I sure hope someone can figure out how to really do this since I would like to setup Tasker to enable Wireless Tething for about five minutes or so every two to three hours during the day so that my iPad will automatically connect and sync mail and get any other alerts unattended.

Yep, I basically went through the same thing. Looking in the superuser permissions, I found that it needed /bin/. Interesting that you can't make it work at all, though. Mine will work once I open the wireless tether app, but not until then.

The current beta of Tasker has a Wifi and USB tethering toggle built in. You may want to check that out or wait for the release version.

Is that for the stock android method, or will it work with the the wireless tether app (android-wifi-tether - Project Hosting on Google Code). Thanks for the info.
 
I'm having the following problem, and I can't quite figure out what's going on. I have a couple "Wifi near" profiles set up, with "Wifi toggle" enabled on them. My phone (Droid X) is also on "Maximum battery saving" mode, so whenever the screen is shut off for 15 minutes the Wifi and 3g turn off. This set of conditions seems to lead to the following situation:

I have my "Home" profile enabled, and wifi is on (the profile stays active throughout the whole process, by the way)
I turn the screen off and my phone sleeps for 15+ minutes
I turn on the screen
The 3g turns on for a second
Then the Wifi comes back on and connects
Then, a couple seconds later, the wifi turns back OFF, and needs to be manually turned back on

Obviously, I don't want the Wifi to turn off again, and I don't know why it would. When Tasker's not on, the behavior doesn't happen. If anyone knows what's going on, or knows where else I should ask for help, that would be great (I've created a log file, if it would be helpful). Thanks!
 
Tasker does not maintain settings constantly while a profile is active. It only turns them on and off like a switch.

When you enter the Home profile, it turns Wifi on. If you (or something else) turns off the wifi, tasker won't turn Wifi on again unless you exit and then re-enter the profile.


What you are seeing, when the Wifi comes on and then goes off, is Tasker turning it on to perform the Wifi Near check. It checks, and sees that the Wifi Near is still there, then returns to the previous "off" state.
 
Hmm... the only problem I see there is that the phone turns the wifi back on by itself if Tasker's not on. That is, if the wifi was on when the phone went to sleep, it turns it back on when it wakes up. You're saying Tasker is overriding that?

A related question: is it possible to "force" a Wifi scan? For example, sometimes I leave my house, and I don't want to wait for it to not see my Wifi on two scans (over ten minutes, or whatever). Is there a way to just make it scan twice quickly?
 
Hmm... the only problem I see there is that the phone turns the wifi back on by itself if Tasker's not on. That is, if the wifi was on when the phone went to sleep, it turns it back on when it wakes up. You're saying Tasker is overriding that?

A related question: is it possible to "force" a Wifi scan? For example, sometimes I leave my house, and I don't want to wait for it to not see my Wifi on two scans (over ten minutes, or whatever). Is there a way to just make it scan twice quickly?

I think amlothi is right. To give you a little more detail, I think what's happening is that when the screen comes back on, Tasker immediately does it's Wifi scan, turning on Wifi if necessary and permitted (by Wifi Toggle). It's probably doing this faster than Android turns the Wifi back on by itself. So from Tasker's perspective, Wifi was off when the screen came back on, so Tasker turns Wifi back off when it's done scanning.

You may be able to work around this issue of Tasker turning Wifi back off, usnig these profiles:

Context: Display Off
Context: Variable Value %WIFI Matches on
Task:
Variable Set %WIFIBACKON 1

Context: Display Unlocked
Context: Variable Value %WIFIBACKON = 1
Task:
Wifi On
Variable Clear %WIFIBACKON

This may take some tweaking to get the results you're looking for.
 
Back
Top Bottom