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

2 Tasker Questions **warning noob alert**

dubhe

Lurker
Hello,

Im new to tasker, but I can tell already that I love what I am seeing/reading about it. I had two questions if anyone can help me:

1. I made my first basic profile: Turn on wifi when I am home. I create the profile, ping my location, turn off gps and select net, then done. Then select new task, net, wifi, and select set>on, then done. I make sure the check is green in the profile screen then press apply. As soon as that happens tasker minimizes but in my notifications its says tasker: no active profiles. What am I doing or not doing to activate the profile? ( i have seen these recipes on these forums sites but for some reason I cant get the profile to activate)

2. I have a bluetooth adapter in my car and use my phone to play mp3s in it. I would really like to setup a profile to turn on bluetooth when I am driving in my car. Is there a way to set this up based on the fact that I am driving in the car and nothing else. My guess is by the parameter that I am traveling 20+ mph etc. Then when I am not driving to turn off bluetooth. Is this possible with tasker?

Samsung Fascinate 2.1 unrooted

Thx for the help!!:cool::)

-Dub
 
You are going to use a lot of battery with both of those, you will be toggling GPS for both. The second profile I am not even sure would work if I could come up with the correct profile as you describe it sounds like it will turn off if you were to be at a stop light or in a traffic jam which I am sure you don't want. You could set up a toggle widget for each profile so you could turn on/off wifi and bluetooth as you want with one click on the phone, I am not sure if that is what you would like however.
 
Try

New: location: unclick gps, click get fix, wait, choose a generous distance 200m+ ok, name home, okay.

Action: net: wifi, on
Add exit task
Action: net: wifi, off

See if that works
 
For your first profile, I don't see why you are using location at all (GPS or cell tower).

In my opinion, it's much easier to use Wifi Near and I have much less problems with that than setting location using cell towers.

For your car profile, I suggest you search for that as it's been discussed many times, like here
 
Yeahha -tried your idea. looks good -- but still prompts me with no active profiles after i plug it in -=- argh!

Thanks for the help
 
GPS isn't the best approach though it's frequently the first thing people think of when trying to set up profiles with a location-based context. I highly recommend reading Location Without Tears on the Tasker site before attempting to set up any location-based contexts.

In order for a GPS-based context to work you have to leave GPS on or design your profile to periodically turn GPS on and check your location. Frequent GPS polling will quickly kill your battery, as already pointed out above.

My guess is by the parameter that I am traveling 20+ mph etc.
So what happens when you're on a call and pull up to a stop sign or stop light? Or slow to < 20mph to make a turn?

I thought I could do the wifi profile without using gps... just based on cell tower info
You can but you have to be very careful using Cell Near. You need to ensure that you're picking up enough towers for the given location. Otherwise, it's entirely possible that you aren't picking up any of the towers defined in your context even though you're in the physical location where you set the Cell Near context. The towers that pop up can vary. Walk around a bit outside to detect additional towers.

What am I doing or not doing to activate the profile? ( i have seen these recipes on these forums sites but for some reason I cant get the profile to activate)
If the profile isn't activating then the condition(s) defined in your context aren't being met.
 
I would agree with amlothi then. Use the Wifi near context. You can set it up to only scan at time you may be home. If you work from 8 to 5 you can set it not to scan from 7:45 until 5:15 or whatever fits your needs. If you want to still try the location context expand the radius, also go to menu/prefs/monitor/network location check and menu/prefs/monitor/display off all checks, to work on frequency of the checks of your location.
 
I would agree with amlothi then. Use the Wifi near context. You can set it up to only scan at time you may be home. If you work from 8 to 5 you can set it not to scan from 7:45 until 5:15 or whatever fits your needs. If you want to still try the location context expand the radius, also go to menu/prefs/monitor/network location check and menu/prefs/monitor/display off all checks, to work on frequency of the checks of your location.

I'm not sure why you insist on adding anything to the Wifi Near context. I use Wifi Near for all my "location" profiles.

Actually, what I have is this:

Profile 1: Wifi Near (no SSID entered, just blank)
Task: Stop

(Tasker needs this in order to perform Wifi Near checks.)

Profile 2: Wifi connected (no SSID, just blank)
Task: Wifi On


It's a very simple and effective setup. For tasker noobs, this is what happens with my profiles above:

1) Having a Wifi Near context setup causes Tasker to switch on Wifi every X minutes (you can set the time in the preferences) and "look" for Wifi access points. If no Wifi points are nearby, it will turn off Wifi after a few seconds.

2) If a this check occurs when I'm near a Wifi connection that I've used before (and is remembered by my device) the phone automatically connects to the remembered Wifi connection.

3) Profile 2 activates, and turns Wifi On. (Wifi is really already on, but this just prevents the Wifi Near check from toggling it off when the check is completed.)

This way, my phone connects automatically to any Wifi points I've used before. I have mine set to run a check every 10 minutes. The battery use is minimal, and Tasker never shows up on my usage screen.
 
I wouldn't use the location context just trying to fit the OPs original request and intent the best I could
 
I'm not sure why you insist on adding anything to the Wifi Near context. I use Wifi Near for all my "location" profiles.

Actually, what I have is this:

Profile 1: Wifi Near (no SSID entered, just blank)
Task: Stop

(Tasker needs this in order to perform Wifi Near checks.)

Profile 2: Wifi connected (no SSID, just blank)
Task: Wifi On


It's a very simple and effective setup. For tasker noobs, this is what happens with my profiles above:

1) Having a Wifi Near context setup causes Tasker to switch on Wifi every X minutes (you can set the time in the preferences) and "look" for Wifi access points. If no Wifi points are nearby, it will turn off Wifi after a few seconds.

2) If a this check occurs when I'm near a Wifi connection that I've used before (and is remembered by my device) the phone automatically connects to the remembered Wifi connection.

3) Profile 2 activates, and turns Wifi On. (Wifi is really already on, but this just prevents the Wifi Near check from toggling it off when the check is completed.)

This way, my phone connects automatically to any Wifi points I've used before. I have mine set to run a check every 10 minutes. The battery use is minimal, and Tasker never shows up on my usage screen.

I don't like to intrude on another OP's question, but I (also a Tasker Newbie) can't get this simple profile to work.

My first profile is "Wifi Near":
Context: Wifi Near (no SSID or any of that). Do I need to toggle the Wifi, so it turns itself on and off to check for access points?
Task: Stop (that's under the Tasker category, right?)

Second profile is "Wifi On":
Context: Wifi Connected (again, no SSID).
Task: Wifi On

What am I doing wrong? I've got perfect wireless reception from my router, but Tasker says that there are no active profiles in the notification bar?

Hopefully I'll learn soon enough, Tasker sounds excellent :D
 
I don't like to intrude on another OP's question, but I (also a Tasker Newbie) can't get this simple profile to work.

My first profile is "Wifi Near":
Context: Wifi Near (no SSID or any of that). Do I need to toggle the Wifi, so it turns itself on and off to check for access points?
Task: Stop (that's under the Tasker category, right?)

Second profile is "Wifi On":
Context: Wifi Connected (again, no SSID).
Task: Wifi On

What am I doing wrong? I've got perfect wireless reception from my router, but Tasker says that there are no active profiles in the notification bar?

Hopefully I'll learn soon enough, Tasker sounds excellent :D

i believe you need to check on the 'toggle wifi' checkbox in the wifi near context for it to turn on wifi briefly to do the checks
 
Back
Top Bottom