yashsingh1/xdaforums huggingface dataset:
[Nexus One Themes and Apps] fubaya:
Well, it works a lot more often but is still a little buggy. It may be related to using it too often. Tasker only updates it's location every few minutes so I think that caused a problem with my testing. It seems to work the first time then quit working on other attempts. I still need to test it some more to know for sure.

For what it's worth, I added this:

1-2 turn GPS on etc

3: wait 20 seconds

4: Go To 3 if %LOA > 20

Not sure it's necessary, but step 4 seems to work at least. It sometimes takes a minute to tell me it's finished.
[Nexus One Themes and Apps] rickytenzer:
Any reason why my brightness settings aren't working?

Setup:

When plugged into AC - turn off notification vibrate

- turn off automatic brightness

- set display to 255

Exit from task - turn on automatic brightness

Thanks!
[Nexus One Themes and Apps] khaytsus:
Try this next time.. Hit the power button (suspend), turn phone back on. Does it set the way you expect now?

This is how it works for me.. not sure why.. Particularly disabling or enabling auto brightness.
[Nexus One Themes and Apps] rickytenzer:
Thanks, that worked. Kind of a ****ty bug!

It's funny because the three tasks that I bought the damn app for are all buggy:

1) Can't change auto brightness without locking the phone and unlocking.

2) I want car home to change the wallpaper to black and then back to my live wallpaper after I close it, but Tasker doesn't have access to live wallpaper yet.

3) Finally, I just downloaded Android Notifier and I want Tasker to start the process when I am connected to my home WiFi and then kill the process when I disconnect, but Tasker cannot kill processes yet!

:rolleyes:
[Nexus One Themes and Apps] khanh1289:
Is there anyway I could make it like when I plugged in headset it will automatically start playing music and when unplugged it it will pause and exit music app?
[Nexus One Themes and Apps] rickytenzer:
Quite easily. Make a task that uses state "headset plugged" and then create the task in media called "music play". On exit, get it to stop playing music.
[Nexus One Themes and Apps] khanh1289:
I wish doing it was as easy as you typing that sentence but I'm a complete noob at this more detail please?
[Nexus One Themes and Apps] rickytenzer:
1) Open Tasker

2) Press "New"

3) Select "State"

4) Select "Headset Plugged"

5) Press "Done"

6) Press "+"

7) Select "Media"

8) Select "Music Play Dir"

9) Select the directory you want to play from and probably select "Audio Only". Read the help portion of this option (bottom right of this window) to learn more about the options.

10) Press "Done"

11) Press on the task portion of that new profile, and select "Add Exit Task"

12) I think you can figure it out from here...
[Nexus One Themes and Apps] khanh1289:
it doesnt work for me for some reason, i did all that and when i plug in my headset nothing happens... :confused:
[Nexus One Themes and Apps] tnicko:
I'm finding sometimes it won't restore to the previous state fully. It'll either forget the brightness setting or volume settings when going from state to state. It won't disable Vibrate for me either when I'm at home when my Near Wifi state is active.

But for the most part it works fine.

Does anyone know how to create a "Near Bluetooth" context? Similar to the Near Wifi? I'd like it to scan for active BT devices every so often and if it finds a list of predefined devices, it'll auto connect. Just like the Near Wifi. Then upon disconnect, turn BT off. I want this for my car. My stereo has BT, so when I get in and turn on the car, I'd like Tasker to turn on BT, connect to my stereo and then launch the music app :) Then disconnect when I turn the car off.
[Nexus One Themes and Apps] rickytenzer:
I just tried it and it works fine. Make sure you choose the main folder with all your songs and select the subdirectory option and only audio. Did you add the "music stop" as the exit task?
[Nexus One Themes and Apps] crachel:
Are you using the HTC issued headphones? i remember reading once upon a time about 3 prong headphones being necessary to trigger these hardware events
[Nexus One Themes and Apps] 3Shirts:
This is a limitation of FroYo. Applications cannot kill tasks any more
[Nexus One Themes and Apps] rickytenzer:
Standard apps. But that probably goes out the window with root, no?
[Nexus One Themes and Apps] the_ahmadzais:
what is this app for? is it worth buying? does it give u battery life? im really interested but i cant find no videos on it on youtube. so im not sure how to use it
[Nexus One Themes and Apps] modidlee:
You can set up your phone to the point where it seems like it has a mind of its own
[Nexus One Themes and Apps] Infon1:
Read SMS when in car dock mode

I don't know if anyone on here have audible texts working in car dock mode, I've tried all the direction online follow step by step but i still can't get my incoming texts to read out while in car mode, I don't kno if my text app has anything to do with it am using handcent text messaging app,am wondering if it's bcuz of my text app, I followe the direction on wikidot,so can anyone give me a heads up on what the problem mite be.
[Nexus One Themes and Apps] pringlechip:
I've had no problem with the setup that is given online. I use stock messaging though. I would guess that Handcent would be the problem. Have you tried using just the stock messaging to see if it will at least work with that?
[Nexus One Themes and Apps] EErez:
This might be too complex, but is it possible to have tasker translate the text messages into english from a specified language and then read them? This would make my life a hole lot easier.
[Nexus One Themes and Apps] pringlechip:
The file is meant to be put on your SD card and you can import the profile in Tasker.
[Nexus One Themes and Apps] Infon1:
Read sms

For the read sms in car dock is there a plugin that's supposeto be downloaded first?
[Nexus One Themes and Apps] pringlechip:
No you just need the program tasker.
[Nexus One Themes and Apps] FramCire:
I thought there was a needed app.

With Handcent, if you have popup notification, you can press a single button to have it read the message to you. That is why I have never used tasker for it, since 1 touch isnt a problem for me.
[Nexus One Themes and Apps] Infon1:
I hope you don't mind an new to this I put the zip to my SD then put it in my tasker folderon my SD, in the tasker folder there are 2 folder one that says .icn and the other says profile I extract the file to the one that says profile, now in tasker I hit profile data then import one when am done I realise the profile u send me only consists of what looks like the last part of the profile am trying to make which is. "read sms in car dock profile" the part that am seeing when import it is RECEIVE SMS and to the right it says %SMSRF sent the following sms:%smsrb that's all am seeing.
[Nexus One Themes and Apps] pringlechip:
When that profile is turned on all your received sms will be read for you. I have the profile enable and disable through another profile "Entering and Exiting the Car dock" To do that create a new profile "state-dock-car dock" Then create a task to enable the profile "read sms" Then create an exit task for the car dock proflie that disables the "read sms" Hope that clears everything up for you.
[Nexus One Themes and Apps] Infon1:
Is there an option to turn the profile on, its a good thing am using the trial version because up to now I can't get a single profile to work I would've really been tight if I had paid $6 for this.
[Nexus One Themes and Apps] Infon1:
I got it working now but the only problem its reading out all my texts.
[Nexus One Themes and Apps] pringlechip:
You have to disable the profile when you want it to stop. Ex the exiting task for the car dock.
[Nexus One Themes and Apps] bennettm89:
I've searched and read the readme a few times and for some reason I still can not setup the "call blocked" function correctly. I just want a 24/7 state where it blocks two numbers. Anyone have instructions on how to set it up correctly. Any help is appreciated, thanks.
[Nexus One Themes and Apps] crachel:
You could just send both directly to voicemail with the contacts app in android
[Nexus One Themes and Apps] Infon1:
this is the settings i have but it still seems to not work when i disable the read sms and open the car dock, and when i enable it thats when it reads all my texts whether or not its in the dock mode.
[Nexus One Themes and Apps] pringlechip:
Are you opening the Car Home, or are you actually putting your phone in the car dock? The tasker set up you're showing is for when you put your phone in the car dock. Your setup won't enable/disable the profile if you are just opening the Car Home app. If that is what you are doing you need to change the first profile to when the app opens and closes rather than car dock.
[Nexus One Themes and Apps] Infon1:
Yes i want it to start reading my sms when i open the car dock app.
[Nexus One Themes and Apps] Infon1:
ok so i jus have to change it to the car home app instead of car dock, am going to try now.
[Nexus One Themes and Apps] Infon1:
Big up pringlechip its working fine, the car dock and car home I had it twisted. I actually learn a lot am starting to understand tasker , am bout to mess with somemore profiles.
[Nexus One Themes and Apps] pringlechip:
Glad I could help. Tasker is an awesome app once you know how to use it.
[Nexus One Themes and Apps] bennettm89:
Well, my buddy showed me that on his Droid X but I don't appear to have the option on the nexus one. I explicitly have the following options:

>> Edit contact:

* First name

* Middle name

* Last name

* Phone number +

* Email +

* Postal address +

* Organization +

> More

* IM

* Notes

* Nickname

* Website.

That's it. I have no other options. Care to share?
[Nexus One Themes and Apps] crachel:
Instead of clicking "Edit contact" look @ the menu item right below that that says "Options" the setting is in there for me on CM6
[Nexus One Themes and Apps] ryan75:
Does anyone know if Tasker has the ability to duplicate something I've been relying on WiSyncPlus to handle - namely a one-click shortcut (or widget) which forces a Gmail sync?

I know I can create a Profile that will enable Auto-Sync for 3-5 minutes every half-hour, but does this guarantee that in that 3-5 minutes, Gmail definitely will attempt a sync?

I hate leaving AutoSync enabled and it would be much easier than the usual way of checking eMenu>Settings>Accounts & Sync>ManageAccounts>Sync Gmail.

Any help or a point in the right direction would be greatly appreciated.
[Nexus One Themes and Apps] bennettm89:
Well, steal my laptop and throw it at a seagull. That is what I needed. Much thanks.
[Nexus One Themes and Apps] pringlechip:
If you have autosync on it should try to sync in the 3-5 min you have set. I have 30 min for mine just to help battery life, and I never have a problem. I would think the autosync would be easier than pushing a shortcut/widget to tell it to do it everytime.
[Nexus One Themes and Apps] dweebuk:
I have done a search on good ol google but can't find an answer to this one.

I would like to be able to switch scenes on my desire so when I am at work I have a more suitable theme without all my games shortcuts etc.

Is there a way to change scenes using tasker?

Thanks

Daz.
[Nexus One Themes and Apps] teh_lorax:
I'm trying to set this up now. My problem is that sometimes I can't get signal at all in my office. I'm wondering if I set a VAR called %ATWORK when I get here via cell towers and then unset it when I'm out of range. Will this work? I'm wondering if the var will get unset if/when I drop signal...

Anyone know?
[Nexus One Themes and Apps] rickytenzer:
I don't see why it wont work using the cell tower. Those don't move :p

Unless you're constantly switching between a few towers in your work's area.
[Nexus One Themes and Apps] khaytsus:
Pretty sure it's been this way on 2.1 and 2.2, can't speak for all ROMs, but my Stock Nexus and Enom's ROM as well. Same place you set the per-user ringtones.
[Nexus One Themes and Apps] Infon1:
Weather profile ,or weather clock

Anyone know if there's a weather profile that reads out the weather and maybe a greeting, I don't really know how to do it but if anyone can guide me through some steps I'll try to make a happend.
[Nexus One Themes and Apps] teh_lorax:
Since there is no way currently to kill a task with Tasker, is it possible to set focus to an app and press the BACK button to exit out of it? I didn't see any obvious way to do this.
[Nexus One Themes and Apps] teh_lorax:
Answering my own question, asking another...

Okay, so I've read that Android won't allow us to manipulate the buttons for security reasons. Gay. Whatever.

http://tasker.wikidot.com/rootbasic

According to that, we can execute SU commands with Tasker. How can I use Tasker to kill a task with that?
[Nexus One Themes and Apps] pringlechip:
I believe someone already wrote a task about that earlier in the thread. Try searching for it.
[Nexus One Themes and Apps] Thomas_BA:
Looking also for it, the one posted can't be imported, bad xml. :(
[Nexus One Themes and Apps] Infon1:
I found the one in the thread, i tried following the steps but I had no luck getting it to work and as you said I can't get it importe also.
[Nexus One Themes and Apps] pringlechip:
Try this one. Credit goes to the guy who posted it first.

Pringlechip
[Nexus One Themes and Apps] Infon1:
if this is the link from page 4 its not working. i tried following the steps in this thread but i cant get it to work.
[Nexus One Themes and Apps] crachel:
As Infon1 has pointed out, the Weather example from earlier is now no good. It looks like worldweatheronline (or whatever) changed the URL syntax. I don't like the key crap anyways, so here is the same functionality, using wunderground.com (much better IMO).. a couple subtle differences (XML tag is now 'temp_f') .. i can export the Task if necessary but should be easy enough to type in...

New Task: Weather

Action: Variable Set

Name %ZIPCODE to (your zip)

Action: HTTP GET

Server: api.wunderground.com/auto/wui/geo/WXCurrentObXML/index.xml?query=%ZIPCODE

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
[Nexus One Themes and Apps] traxxus:
Tasker don't work properly on my rooted nexus one. Strange.

-My task "connect when at home" with the WiFi near function NEVER works.

-The face down feature (mute) works only when i activate the screen.

:confused:
[Nexus One Themes and Apps] teh_lorax:
One of them that I downloaded worked just fine for me. However, nice work! :cool:
[Nexus One Themes and Apps] DDM123:
I travel a bit, so I created a task which will work with your weather reader, but it takes your current Lat/Lon and converts it to a zip code. Pretty sure this will only work in the US.

Action: Variable Split

Name: %LOC

Splitter: ,

Action: HTTP Get

server/port ws.geonames.org/findNearbyPostalCodes?lat=%LOC1&lng=%LOC2

Action: Variable Split

Name: %HTTPD

Splitter: <postalcode>

Action: Variable Split

Name: %HTTPD

Splitter: </postalcode>

Action: Variable Set

Name: %ZIPCODE

To: %HTTPD21

And then, obviously, remove the %ZIPCODE variable set from the weather task I quoted, and add the rest. I'll probably use this zip task to read off whatever town I'm in while I'm driving every 30 mins or so.
[Nexus One Themes and Apps] MadFlava:
This is what Im trying to do. Maybe someone can help me. I would like to change the display brightness from manual to auto only between the hours of 1700 and 700. The wrench in this is I only want it to do this when maps, lattitude or navigation is launched. I see how to do it with one or the other but not both. Anyone got any ideas?
[Nexus One Themes and Apps] rickytenzer:
Question: I have a work profile that turns on silent mode during the week between 9 and 5. However, when I plug in my headphones, I set silent mode off if the work variable (%WORK) is on and turn it back on after I unplug them if work is still on.

The only problem is that notifications come through on my speaker when my headset is plugged in, defeating the purpose of this setup. Is this something I can change via Tasker or is this an OS thing?
[Nexus One Themes and Apps] brc64:
For those of you who were complaining about the way tasker handles brightness adjustments, there's a little notice in the app if you click the ? on one of the brightness settings that tells you that in some cases you may need to issue a WAIT command.

Here's my two examples, which work well for me:

1. Auto Brightness: Set Off

2. Wait: MS 500 Seconds 0 Minutes 0 Hours 0

3. Display Brightness: Level 0 (although it's really 20 due to a safeguard built into Tasker)

And for the opposite:

1. Wait: MS 500 Seconds 0 Minutes 0 Hours 0

2. Auto Brightness: Set On

When the tasks are triggered, you'll see the change happen in roughly real time, without having to lock and unlock the phone again. At least, that's the case on my EVO.
[Nexus One Themes and Apps] rickytenzer:
Not for me...
[Nexus One Themes and Apps] brc64:
Okay, I'm trying to adapt the weather stuff to suit my personal use, and I'm getting there, but I'm having a hard time understanding HTTPD variable splits and how exactly to pull out the information I want.

I'm pulling data from here:

http://api.wunderground.com/auto/wui/geo/ForecastXML/index.xml?query=%ZIPCODE

MIME Type text/xml

What I *want* is Today's forecast, but I'm having trouble getting it.

Variable Split

Name %HTTPD Splitter <fcttext>

Variable Split

Name %HTTPD2 Splitter </fcttext>

%HTTPD21 will tell me *Tonight's* forecast, probably because the last instance of <fcttext> belongs to the forecast for tonight. I need a way to tell it to only store the first <fcttext> data, but if I try to make my %HTTPD variable split something like "Today</title><fcttext>", I end up with XML for %HTTPD21 instead of the forecast I want.

I halfway understand what's happening, but I could use some help to get the rest of the way there.
[Nexus One Themes and Apps] d0nald01:
Hi, just started using tasker.

I want to make a profile that will sync newsrob when i am about to leave my house (about to lose wifi connection)

i can use wifi near to search if i am going close to my house, but how do i use it to search if i am leaving my house?

thanks for the help!
[Nexus One Themes and Apps] khaytsus:
I've always done this since having trouble, I've put in wait's up to 5s... Still doesn't really reliably change unless I suspend. I don't think it's a Tasker problem though..
[Nexus One Themes and Apps] khaytsus:
No, once you're not "near" you're out of wifi range.
[Nexus One Themes and Apps] d0nald01:
is there a way to do something once wifi is below a certain signal?

all i can find is min signal of wifi to start a task atm
[Nexus One Themes and Apps] Infon1:
This is the task Ive created following the steps but its not working.

Action: Variable Split

Name: %LOC

Splitter: ,

Action: HTTP Get

server/port ws.geonames.org/findNearbyPostalCodes?lat=%LOC1&lng=%LOC2

Action: Variable Split

Name: %HTTPD

Splitter: <postalcode>

Action: Variable Split

Name: %HTTPD

Splitter: </postalcode>

Action: Variable Set

Name: %ZIPCODE

To: %HTTPD21

Action: HTTP GET

Server: api.wunderground.com/auto/wui/geo/WXCurrentObXML/index.xml?query=%ZIPCODE

Mime Type text/xml

Action: Variable Split

Name %HTTPD

Splitter <temp_f>

Action: Variable Split

Name %HTTPD2

Splitter </temp_f>

Action: say

Title: The Current Temp is %HTTPD21.Have a nice day

After setting up this task i hit test in the option and it reads out the title exactly how it is including the %HTTPD21, ALSO what if i want it to update the weather every 130mins or 2hrs, how do i go about setting that up, i need some help getting this task to work i dot know if am missing something, the task that detects your location and updats the weather or the one that grab the weather feed from wunderground.
[Nexus One Themes and Apps] teh_lorax:
Can you post the XML you're getting? It's night here, so I only see Tonights forecast...
[Nexus One Themes and Apps] brc64:
Yeah, I'm seeing that now. I guess the XML changes depending on the time of day, but since I'm wanting to use this as an alarm, it should theoretically be consistent each morning.

I don't have a copy of the XML I was looking at earlier, but going off of memory and what it shows right now, it went something like this (excluding the other tags):

<forecast>

<txt_forecast>

...

<forecastday>

...

<title>Today</title>

<fcttext>Today's forecast text goes here</fcttext>

</forecastday>

<forecastday>

...

<title>Tonight</title>

<fcttext>Tonight's forecast text goes here</fcttext>

</forecastday>

...

</txt_forecast>

</forecast>

But now I'm even more confused, because when I test my task right now, it's picking up the first of the two fcttexts (presently tonight's forecast, the second being tomorrow's forecast). This afternoon when the first fcttext was today's forecast and the second was tonight's, it was recording the second one. I think it's screwing with me.

Lastly, how can I make the "Say" volume louder? It doesn't seem to be tied to notification volume because I've got that cranked and it still sounds pretty quiet when I test it.

Edit:

Well, I think my problem solved itself. It went off this morning and gave me an accurate forecast, so I'm pleased. My only complaint is that the text-to-speech engine reads "90s" as "90 seconds" instead of "nineties", but I don't think there's any way to fix that and I can live with it.

I also fixed the volume issue by setting the "Say" stream to media instead of call.
[Nexus One Themes and Apps] wangjt:
if it says "%HTTPD21" then that means the variable was not initialized correctly. You did not successfully parsed the zip out of the xml.

your problem is the first 2 steps.. you're splitting on %HTTPD twice. The second one should be %HTTPD2.

btw, why go to ws.geonames.org? If you're trying to get weather based on location, you can query it from wunderground like this

api.wunderground.com/auto/wui/geo/ForecastXML/index.xml?query=%LOC

it would make it less complicated.
[Nexus One Themes and Apps] wangjt:
What time do you have this profile going off at?

So is it always telling you "tonight" forecast for any given day? You want it to tell you the entire day's forecast?

Just a thought but if it's only telling you tonight's forecast, why don't you store "tomorrow's" forecast in a variable and use that variable the next day? Granted the forecast will be about a day old but it should still be very close to it.
[Nexus One Themes and Apps] brc64:
Somebody earlier in the thread posted the geonames part of the script to determine location because the first weather task that was posted has a fixed locale. I didn't realize wunderground could use %LOC, so I'll make the change to mine as well. Thanks!
[Nexus One Themes and Apps] Infon1:
Weather task

Can somebody with the knowledge of what am trying to do guide me through, am trying to do what I think is one of the simplest way to create a weather task,

Action:variable set

Name:%Zipcode to 11213

Action:HTTP GET

Server:API.underground.com/auto/wui/geo/GeoLookupXML/index.XML?query=11213

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

With this task when I hit Test I get " warning can't split Unset variable %HTTPD21, and in the notification bar it says The Current temp is %HTTPD21.
[Nexus One Themes and Apps] wangjt:
your link is bad. it's wunderground not underground
[Nexus One Themes and Apps] kingpin003:
I have a script I run that I thought others might be interested in...

Mute Notifications While Screen On:

Display Off:

Variable Set %VCHG->0 (If %VOLN != 0)

Variable Set %LOUD->%VOLN (If %VCHG = 0)

Notification Volume->%LOUD

Variable Set %VCHG->0

Display Unlocked:

Variable Set %LOUD->%VOLN

Notification Volume->0

Variable Set $VCHG->1

Note: I use Display Unlocked as opposed to display on because it allows me to silence my phone via the lockscreen. :)