yashsingh1/xdaforums huggingface dataset:
[Nexus One Themes and Apps] DroidBois:
I was referring more to the less accuracy of Net vs GPS positioning, and for that reason I thought 1500 metres was 'recommended' but I'm not sure.

So how do you guys set up Work profiles anyway?? GPS or WiFi Near or what? I'm on a 10 floor building so WiFi near would not work on all floors, GPS doesn't work inside and is a power hog, so maybe just a simple time based thing is the most reliable solution.

It's just when I go out at lunch I would like a louder ring tone though.
[Nexus One Themes and Apps] crachel:
Paul O'Brien tweeted about this Minimalistic Text widget this morning:

http://xdaforums.com/showthread.php?t=860075

It can also be found on the market: Minimalistic Text

I've got it displaying on my home screen the current active Tasker profile!

Will think of some new stuff to do with it and try and post here asap.

Here's a very simple example:

Obviously you can do all kinds of stuff with it, http_get, location stuff, just pass the variable to the widget. This is really fantastic.
[Nexus One Themes and Apps] LevitateJay:
Haha awesome idea! :) I built an app for my computer that did this once, I'll probably get this application if you manage to get that script working. Sorry I can't help! :/
[Nexus One Themes and Apps] crachel:
I got a nice example of this working, so you should be able to modify what I've done for your needs.. What this does is puts a notification of the current temp. Just look through the XML in your web browser to figure out how to parse the rest of the data you may need.

New Task: Weather

Action: Variable Set

Name %ZIPCODE to (your zip)

Action: Variable Set

Name %KEY to (your worldweatheronline key)

Action: HTTP GET

Server hxxp://www.worldweatheronline.com/feed/weather.ash?key=%KEY&q=%ZIPCODE (Change the xx to tt)

Mime Type text/xml

Action: Variable Split

Name %HTTPD

Splitter <temp_F>

Action: Variable Split

Name %HTTPD2

Splitter </temp_F>

Action: Notify

Title: The Current Temp is %HTTPD21

Edit: FYI, i think http://wiki.wunderground.com/index.php/API_-_XML is a little better for US based weather data, and no key is needed
[Nexus One Themes and Apps] Quistnix:
I've already got something like that working (but I'm using %LOC, in case I'm not at home), and it gets the current weather and condition perfectly, just like the predicted high and low temperature of the day. It just gets stuck on the predicted conditions.

(as I'm living in Holland, I'm using worldweatheronline for their global coverage and temperatures in Celcius)

The task is as follows:

Action: HTTP GET

Server hxxp://www.worldweatheronline.com/feed/weather.ash?key=%KEY&q=%LOC

Mime Type text/xml

Action: Variable Split

Name %HTTPD

Splitter </observation_time><temp_C>

Action: Variable Split

Name %HTTPD2

Splitter </temp_C>

Action: Variable Split

Name %HTTPD22

Splitter <weatherDesc><![CDATA[

Action: Variable Split

Name %HTTPD222

Splitter ]]></weatherDesc>

Action: Variable Split

Name %HTTPD2222

Splitter <tempMaxC>

Action: Variable Split

Name %HTTPD22222

Splitter </tempMaxC>

Action: Variable Split

Name %HTTPD222222

Splitter <tempMinC>

Action: Variable Split

Name %HTTPD2222222

Splitter </tempMinC>

Action: Variable Split

Name %HTTPD22222222

Splitter <weatherDesc><![CDATA[

Action: Variable Split

Name %HTTPD222222222

Splitter ]]

Action: Say

Text: Good morning. The weather is %HTTPD2221 with %HTTPD21 degrees. The day will be %HTTPD2222222221 today with temperatures from %HTTPD22222221 to %HTTPD222221 degrees. Have a nice day.

For some reason, the %HTTPD2222222221 becomes the url of the weather icon instead of the current conditions. I could leave this one out and have a working script, but it's information I'd rather like to know.
[Nexus One Themes and Apps] The_Adjudicator:
Can someone help me. I'm trying to make Tasker run a script. The idea is to run one script before the Rhapsody app plays and then run another script after Rhapsody stops playing. The scripts are,

setprop media.stagefright.enable-player false, before Rhapsody starts and;

setprop media.stagefright.enable-player true, after Rhapsody stops.
[Nexus One Themes and Apps] badnewswrx:
:confused:Is there a way to have the contexts in order?

Say, I want an automated text sent, after 5pm, IF a leave a certain area....
[Nexus One Themes and Apps] crachel:
A couple new lifehacker articles:

http://lifehacker.com/5601133/push-your-automated-android-to-awesome-heights-with-these-tasker-setups

http://lifehacker.com/5606284/three-handy-tasker-profiles-from-our-readers

And if you're using Tasker for profile menus (Night mode, day mode, silent, etc) I've found some nice icons for that here -> click me
[Nexus One Themes and Apps] ultra spikey:
Anyone know how to use Tasker to switch on and off the 2g/3g network?
[Nexus One Themes and Apps] Wacky M:
Make use of APNDroid in combination with Tasker.

http://lifehacker.com/5430864/apndroid-20-adds-automation-to-android-battery-saving-tool
[Nexus One Themes and Apps] ewingr:
Is there some reason no one is sharing their working tasks that noobs could load up and play with ?

But one thing good about this thread is that I am seeing some 'step throughs'. I hope to get to the point I can share some good info. This thing is a bit of a learning curve.
[Nexus One Themes and Apps] Quistnix:
I got mine working today, will upload it once I've finished flashing a new rom. You will have to get a (free) worldweatheronline key for it to work to..

Edit:

I've attached my "read the weather to you" script. You'll have to open the xml and replace the text "[insert key here]" with your key.
[Nexus One Themes and Apps] tonyx3:
I love this app, but I'm having some trouble with a profile I'm trying to create.

I want my phone to set the 'vibrate while ringing' setting to on when the phone is in my pocket, but not when it's on a flat surface, because I find it annoying to have it vibrate across the hard surface of a table, etc, and I need the vibrate on when it's in my pocket in case I don't hear the ringer.

The best way I can come up with to do this via Tasker is to have the Tasker profile set 'Vibrate On Ringer' to off when the phone's orientation is face up, and to have the phone's setting for vibrate be on by default. That way it will still vibrate when it's in my pocket, regardless of whether it's upside down or sideways, etc.

But the problem is that Tasker apparently can't check the phone's orientation when the screen is locked, yeah? Which kinda makes the whole thing useless.

Can anybody think of a way around this, or even an alternate solution to the issue?

Thanks! And thanks to the Tasker devs for a great app!
[Nexus One Themes and Apps] crachel:
Another cool way I've been using Tasker...

Of the 3 or 4 places I'm at on a daily basis, each has a Wi-Fi connection that I use. So I've created contexts for each place

State->Wi-Fi Connected->(SSID Name)

So, once my phone is connected to a known Wi-Fi network, certain profiles take over. For instance, I want my GMail notification sound to be "Caffeine Rattlesnake" (the Task is "Media->Ringtone->Notification->Caffeine Rattlesnake") while I'm at work, so once Tasker determines I'm connected to work's Wi-Fi, it changes the sound from "Silent". When I disconnect, back to Silent.

I've also unchecked the option to have Tasker run in the foreground, and haven't had a single failure with this app.

Edit: *Note* Within the GMail app, the Notification needs to be set to "Default". I'm not sure that you can change the sound for just the GMail app with Tasker, probably not possible
[Nexus One Themes and Apps] downhillmaniac1:
I have 2 ok ones:

On weekday mornings I have it set to turn on wifi, connect to the network, and pull up gmail for when I wake up

On days I have work the next morning, if I am reading (using aldiko) and its getting too late (set at 1 am) then it pops up a little message that says go to sleep
[Nexus One Themes and Apps] aureliusmaximus:
Afraid I don't have a setup to add yet, but I am thinking of one and hope some of you might be able to help out.

I read the setup where you set your phone to turn off data syncing and/or mobile data/wifi etc when you go to sleep (or between certain hours). Since I'm a student I am afraid I don't go to bed at a fixed time each day (I know..should work on that!) but it means that such a setup doesn't really work for me.

Now I was thinking...every night before I go to bed I do always set my alarm clock. Wouldn't it be possible to have tasker turn off mobile data and syncing and lower the ringtone and notification volumes etc when I turn on my alarm clock? (and of course turn all that stuff back on when I exit the alarm clock?)
[Nexus One Themes and Apps] munkeeman:
How do you know the parameters for your variable split? I understand that it's reading from the .xml file and selecting the data between those two points, but is there an output file you've acquired for this feed? I have been using the wiki previously linked for an example output file to be used with wunderground's feed, but I'm still having difficulty setting up the variable splits.

Thanks.
[Nexus One Themes and Apps] kolyan:
1. Kills tasks at boot that i almost never use (need to use WAIT function)

2. Auto brightness from 8 to 7pm and Min setting other time

3. Have profile to "listen" to incoming SMS to turn GPS and WIFI on, locate phone, and send link of location back to number where SMS came from.......obviously not my idea :)

4. Power ANY = keyguard OFF, screen timeout 1 min. Exit (no power) keygurad ON and screen timeout set to 15 sec.

Read that you can set up Tasker to LOCK you phone remotely, play sound to locate phone also remotely, and also read that you can set up a profile so that Emails that you send from PC can be routed to any number you put in subject using SMS........pretty cool ah ?
[Nexus One Themes and Apps] kolyan:
This tasker thread needs to be PINNED. This app has too much functions that we all need to discover and post here.
[Nexus One Themes and Apps] DDM123:
I altered the lifehacker GPS location set to automatically record the location once the phone is taken out of the car dock, and only set up the one widget to find the car.

It also sets a variable %CAR to 1 so that I just have a SMS profile where text is read aloud if %CAR = 1 and I'm trying to figure out more things to do with it.
[Nexus One Themes and Apps] artesea:
Yup, you can launch Task when an App is used and it will return the phone to how it was when you leave. You can do similar stuff for when using SatNav etc.
[Nexus One Themes and Apps] LevitateJay:
I can't figure out how to import this into Tasker... :/

I've tried the import single profile but it just comes up with a blank screen and cancel :(

*edit* nevermind figured out I was importing a profile & not a task :P
[Nexus One Themes and Apps] DroidBois:
For work how does this sound (I work on several floors of a building)

WorkLoc -> Net Based position ~1000 metres / set %WorkLoc 1 / WiFi On (exit off)

WiFi Near 1-4 (WiFi hotspots on various floors) -> Set %WorkNet 1-4 (%WorkNet 1,2,3 or 4) -> run WorkTest

WorkTest -> %Car !1 - %WeekDay=1 -> Run Work IF %WorkNet1,2,3 or 4 =1 (4 separate lines) then STOP if TRUE (working this bit out) so does not run Work several times

Work -> set %WORK 1 and do work stuff

Exit Tasks for WorkNet 1,2,3 or 4

WorkExitTest

IF WorkNet 1,2,3 or 4 = 1 THEN STOP

IF %Car=1 THEN STOP (I am in the car so that takes priority)

Clear %Work

Run Default (Default profile)

I honestly can't think of a simpler power efficient location based way to do this.
[Nexus One Themes and Apps] fubaya:
And the appearance is very configurable, it's not limited to the regular things you see people using Minimalistic Text for, like telling the time as "HALFPASTSIX".

Here is it telling the weather:

If you guys haven't heard, Pent, the dev behind Tasker, is coming out with a widget designer called Zoom. It was released for beta testing yesterday. You can create widgets with text (tasker integration coming in the next few days), images, and buttons. Here is my first attempt with buttons. They all trigger Tasker tasks, but they're currently hard to size and line up correctly:
[Nexus One Themes and Apps] teh_lorax:
^What launcher (skin?) is that?^
[Nexus One Themes and Apps] fubaya:
I use LauncherPro and got the dock from a thread on their forum where people posted docks. No idea who to credit for it but I'll attach it below. I made the icons to reflect the apps or folders that open with tapping or swiping. Other than that, all I have willverduzco's black status bar.
[Nexus One Themes and Apps] traxxus:
Can anyone confirm that tasker cannot turn on/off mobile data on Cyanogenmod 7?

:eek:
[Nexus One Themes and Apps] sergioalvarezmac:
I'm having problems with GPS turn On/Off in CM 7 too.
[Nexus One Themes and Apps] crachel:
its not changing notification sounds for me, also getting an occasional force close
[Nexus One Themes and Apps] teh_lorax:
Both are correct. Pent has a sticky about those issues in the Google Group for Tasker.

edit: And its a gingerbread thing, not a CM thing.
[Nexus One Themes and Apps] Sage:
My tasker setups do the following:

Let me know when my phone is fully charged. (Speech)

Specific Vibrate Patterns for Missed Calls and SMS.

Tells me who my sms is from.

Turns on GPS for specific gps apps.

Goes to vibrate when phone is upsidedown.

Goes to loud speaker when phone is tilted 90 degrees to left.
[Nexus One Themes and Apps] teh_lorax:
Man, it looks like the 'Go Home' action (or whatever its called) doesn't work in gingerbread. grrrrr @ you Google.

edit: That's actually user error on my part.
[Nexus One Themes and Apps] teh_lorax:
So I want my phone to 'Go Home' when I pull it off the car dock, unless the phone is ringing.

There is no variable that says the phone is ringing, so I created a task that sets a variable named %RINGING to 1 when the phone is ringing. Then for my card dock exit task, I 'Go Home' unless %RINGING = 1.

However, %RINGING doesn't get unset when the phone stops ringing and Tasker won't let me add an exit task. Anyone got any ideas?
[Nexus One Themes and Apps] nyx528:
I have been trying EVERYTHING to get my mimimalistic text widget to show my active Tasker profile. How did you do it?
[Nexus One Themes and Apps] crachel:
Add a new event "Phone Idle" that resets the variable

If you're sure you have correctly named the variable used in both Tasker & Minimalistic Text, restart the phone. Short of that, I'm not sure what could be the problem as it worked right away for me.. sorry

Edit: I guess I could provide more information as to what I do:

Each Tasker Profile entry/exit task sets a "Minimalist Text Variable" named PROFILE to either the profile's name, for instance "@WORK" (entry task) or "No Active Profiles" (exit task). That "Locale Variable" is then added in a Custom layout Minimalist Text Widget. It is also named PROFILE.
[Nexus One Themes and Apps] nyx528:
Thank you so much! Using your method I was able to get this to work AND I was able to figure out how to get a clickable notification that opens a menu of options, which when selected changes the notification and my minimal text widget. This is great!
[Nexus One Themes and Apps] teh_lorax:
BRILLIANT! Thanks!

btw, did anyone see that you can simulate button presses now with Tasker if you're on CM? :cool:
[Nexus One Themes and Apps] DroidBois:
So what do you all have Tasker doing? My auto-silence during meeting function has raised a few eye-brows - nothing more frigging annoying than some douchebag with a loud ring tone in the middle of a meeting, who then ANSWERS the phone, or checks his email. Not for me! Phone-away upholds my social reputation.
[Nexus One Themes and Apps] alex_herrero:
Wow, want to share? That sounds terrific!
[Nexus One Themes and Apps] nyx528:
To let you know how I'm using this, I have Ringleader to control my app & contact sounds, and it has a Tasker/Locale plugin. If done correctly, there should be an icon in your notification bar and an item in your drop down that when you click gives you a menu of things to select. When you select one it should change your notification bar and the name in your Minimalist Text Widget.

You can do this for any set of tasks, I'm just going to show how I have my Ringleader Menu set up and you can adjust for your needs.

STEP 1:

Decide what you want to call your Minimalist Text Widget variable and create a variable. [I use %MNMLRACTIVE for the name and the variable so I don't get confused]

STEP 2

: Create a task for each Ringleader sound profile

Tasks > New Task > Name [Ringleader Profile] > OK

+ > Plugin > Ringleader > edit > Select Ringleader Profile > Done

+ > Notify > Title: [name you want in notification/MTW] > Icon: [for notification bar] > Permanent: check > Done

+ > Variable Clear > Name: [MTW/notification variable you created] > Done

+ > Variable Set > Name: [MTW/notification variable] To: [name of Ringleader profile] > Done

Tap Icon button > select same icon as earlier

Done

STEP 3

: Create menu for selecting Ringleader profiles in notification bar

Tasks > New Task > [name for menu] > Done

1. Open the Task Options > Change task type to 'Menu' > tap background image box [pick whatever image you want for your menu background] > Done

2. Change Icon [optional] > Done

3. Then add each task you created in STEP 1:

+ > Tasker > Perform Task > Name [tap magnifying glass & select profile] > Label: [name of Ringleader Profile] > Done <= REPEAT THIS STEP FOR ALL RINGLEADER PROFILES

Done

STEP 4:

create profile to set MTW

New > Optional Name > OK

State > Variable Value > Name: [MTW Variable] > Is Set > Done

New Task > Optional Name > + > Plugin > Minimalist Text Variable > Edit > Variable Name [name you chose in STEP 1] > Variable Content [variable you chose in STEP 1] > OK > Done

Done

STEP 5:

Set notification click action

New > Name [optional] > OK

Event > UI > Notification Click > Title: [variable from STEP 1] > Done

New Task > Name [optional] > OK

+ > Alert > Notify Cancel > Title: [variable from STEP 1] > Done

Done

Tap Profile you just created to open > tap task > Add Task > [select menu task you created]

You're Done!

I have an additional profile set up call On Boot to have the Ringleader menu popup when my phone reboots, otherwise you need to open Tasker and select Test on the menu task to get it set up the first time.

I know that's a lot of steps and things to remember! Hopefully it works for you.
[Nexus One Themes and Apps] crachel:
By request, here's quick snapshot of how to set this up in Tasker / Minimalistic Text Widget. I put the Minimalist Text variable (in Tasker) on entry/exit tasks.

Tasker:

Minimalistic Text:

What it looks like on the homescreen:
[Nexus One Themes and Apps] alex_herrero:
wow, much to test and reproduce, thanks to both!
[Nexus One Themes and Apps] GreenMnM588:
Mobile data toggling does not work on GB yet... Confirmed.
[Nexus One Themes and Apps] Sistum Id:
I'm trying to make a tethering task, but I'm having problem with it.

I want to so when I plug my USB cable into a computer, I get a popup screen asking to mound USB or Tether or do nothing.

Right now, I have a pop-up asking to tether, I tell it to. But the problem is by default, Tasker has it's task to default back to normal conditions before the task started.

So in my case, tasker detects my USB, a pop up asking me to tether. I say yes, USB goes away and tether starts. Tasker detects the profile has lost USB and reverts back to normal, I lose tether and USB is detected and a pop up asking me to tether. It's a endless cycle.

Any ideas?

I emailed the dev, but he refereed me to his FAQ and it tells me to add the same exit task as the start task. But than I get two pop ups which is annoying.

Also anybody having problems with headphones being detected by tasker on CM7?
[Nexus One Themes and Apps] najar360:
it already work if you are using cm7 rom.
[Nexus One Themes and Apps] rickytenzer:
AC charging is registering as USB as well. What gives?
[Nexus One Themes and Apps] DownloadAndroid.info:
Cool download it
[Nexus One Themes and Apps] fatthumb:
Hi guys, I need a suggestion whether it is possible for tasker to turn 3G ON while Mobile Data is ON. Similarly when Mobile Data is OFF, use 2G only??

I think if this can be done with tasker coupled with auto Mobile Data ON OFF every few mins to get push email notification, we can see a lot of battery life improvement.

Hope you guys can advise me :)
[Nexus One Themes and Apps] teh_lorax:
From what I understand, the initial connection to 3g uses waaay more battery. You would not end up ahead.
[Nexus One Themes and Apps] fatthumb:
Hmm I don't really get what you mean.

What I'm trying to set basically is:

- Mobile data ON >>> Set network to 3G mode (if it's already in 3G, it will do nothing)

- Upon turning Mobile data OFF >>> Set network back to 2G mode

I don't think this will use more battery, I'm sure this will be better rather than setting the network to 3G/2G auto for the whole day :confused: :rolleyes:
[Nexus One Themes and Apps] teh_lorax:
I apparently know nothing about this. How are you going to use 2G when data is off? :confused:
[Nexus One Themes and Apps] fatthumb:
It's the network mode: GSM/2G or WCDMA/3G...
[Nexus One Themes and Apps] teh_lorax:
Right. For mobile data. So how could 2G be useful if mobile data is off? Help me understand...
[Nexus One Themes and Apps] anthortic:
Try adding the "wait" command. Or "if" (power source none) then "wait" (say 2 seconds) just after your "popup" command. That might prevent tasker reverting and break the loop

If you could post a link to your profile I would happy to help with it
[Nexus One Themes and Apps] m4a1rifle:
My comprehensive car Bluetooth profile

My Car Bluetooth Tasker setup, it is based on a few profiles:

Profile: Bluetooth On Driving - this one automatically turns on BT at specific time, and turn it off after specific time

Context:

1. From 17:35 Till 20:00 (17:30 is my going back home from work time, but sometimes i might stay back for awhile)

2. Mon, Tue, Wed, Thu or Fri (Working day)

Enter task: Bluetooth On

Exit task: Bluetooth Off

Profile: Car Bluetooth Connected - this one detect if my phone is connected to car's bluetooth.

Context: Bluetooth Connected, the Name and Address is my car's Bluetooth.

Enter task: Variable Set, Name %CARBT To Yes (This is to reset a flag to track connection to car BT)

Exit task:

1. Variable Set Name %CARBT To NO

2. Say Text Blue tooth Disconnected, Engine: com.svox.pico:eng-USA, Stream: Alarm (better not to use media)

3. Wait 10 Minutes (this profile will wait 10 minutes after disconnect from my car BT to turn off phone's BT because sometimes I have to get out of the car to buy something/pump petrol)

4. If %CARBT Matches NO

5. Bluetooth Set Off

6. Variable Clear %CARBT

7. End If

Profile: Read Sms Driving

Context:

1. Received SMS

2. Bluetooth Connected, the Name and Address is my car's Bluetooth.

Enter task: Say Text: New SMS received from %SMSRN:%SMSRB, Engine: com.svox.pico:eng-USA, Stream: Alarm (don't use media stream because if you did not tune your car stereo to BT A2DP you won't hear a thing. "%SMSRN" and "%SMSRB" is tasker built in variable to store sender's name and message body)

Profile: Read Caller ID Driving

Context:

1. Incoming Call

2. Bluetooth Connected, the Name and Address is my car's Bluetooth.

Enter task:

1. Variable Set %RINGVOL To %VOLR ("%VOLR" is tasker built in variable to store current Ringer volume)

2. Ringer Volume Level 5 (this will nicely turne down the ringer volume to let way for the phone to say out who is calling you)

3. Alarm Volume Level7

4. Say Text: You have a call from: %CNAME, Engine: com.svox.pico:eng-USA, Stream: Alarm ("%CNAME" is tasker built in variable to store latest caller name)

5. Ringer Volume Level %RINGVOL (restore back Ringer sound to previous level after telling who called you)

6. Variable Clear %RINGVOL

Hope it could be useful to someone, or spark some idea...
[Nexus One Themes and Apps] dbilliter:
My entire setup can be found on my blog [link]. .
[Nexus One Themes and Apps] TinyRK:
I use for this "Cell near".

This function uses the location based on the distance to cell-towers.