yashsingh1/xdaforums huggingface dataset:
[Nexus One Themes and Apps] dave_y:
Hi, I'm trying to produce what should be a simple task but it's just not quite working.

I would like Tasker to check if my bluetooth is connected to anything and if it's not, wait for 5 minutes, check again and if there's still no connection then turn bluetooth off.

So far I've set the profile to check if bluetooth is not (inverse) connected and that %BLUE = ON. The problem comes with looping for the 5 minute wait/check and then accurately executing the task. For what ever reason it would only work once and that was it.

To complicate things a little I would like bluetooth to be on at certain times of the day whether it's connected or not. This is currently working fine as a profile and it sets a variable of %CARMODE to 1 when it's working and then back to 0 when the time limit expires.

I'm not sure how to incorporate this second part either.

Any help out there?
[Nexus One Themes and Apps] phanmo:
You could create a profile using the contexts %BLUE matches "on" and Bluetooth is not connected, with an entry task that sets variable %NOBLU to 1 and an exit task that clears %NOBLU (or sets it to 0)

Create another profile using the context %NOBLU matches 1, and the entry task: wait for 5 minutes, Stop if %CARMODE matches 1, then turn Bluetooth off if %NOBLU matches 1.

There are a couple of different ways to do it, this particular way is not necessarily the most elegant.
[Nexus One Themes and Apps] the_scotsman:
Bumping this to keep the thread alive. Just started palying with Tasker, and have a couple of basic profiles going now.

Show us what you have! :)
[Nexus One Themes and Apps] crachel:
My Tasker setup is always changing but is, more or less, pretty basic as well. I'm always trying to boil it down to the bare minimum. I'll give an overview here.

Each of my known WiFi spots have Cyanogenmod Profiles (Settings->Profiles) that I toggle with this plugin Profile 4 Tasker +Widget (developed by the guy who actually committed the Profiles code to CM). This is actually the only way to get granular control over notifications/ringtones on a per app basis.

I have an Ubuntu server at home that serves all my media and backs up my devices. I use rsync backup for Android to back my SDcard up when I enter my WiFi. I reverse rsync (from server to phone) and new music that I've downloaded from Amazon recently is automatically available for me on my devices. I switch phones a lot and this is critical to keeping everything up to date with literally no effort.
[Nexus One Themes and Apps] phanmo:
Tasker and MyTracks

There has been an update relatively recently for the Google MyTracks app which seems to allow using intents to start and stop recording. Has anybody managed to make this work?

I'm pretty much a noob when it comes to intents so I was searching for more info and came across this: https://groups.google.com/forum/#!topic/tasker/q6o0Yu04Omo. Reading up on the issue leads me to agree with BossMan, that Tasker would need to declare the permissions in its manifest. He suggests writing a proxy app that declares the permissions so that it can route the intents from Tasker through to MyTracks. Does this seem reasonable?

Could someone write one up if it's not too difficult or, failing that, give me an idea of where to look to learn to do it myself? I'm just as much a noob regarding apks! :o

Cheers!
[Nexus One Themes and Apps] sixstringedmatt:
Am I Doing it Wrong?!

Hey guys,

Having a lot of trouble here trying to get a "Locate By SMS" profile going.

The Context is Text Received, Content: /locate (I have also tried locateme and locate)

Then I add a task that puts silence off, alarm, media, all that jazz up to 12, and then Alert-> play a specific mp3. Any reason why this isnt working when I SMS myself or use email to send an SMS?

Thanks in advance!
[Nexus One Themes and Apps] rrajath:
How to enable Wifi/Mobile Data based on availability

Hi All,

I'm trying to create a profile that does the following task.

I use a set of applications that use internet (like Opera, Tweetdeck, etc.). When these applications are opened, it should switch on mobile data. Now the condition is - if I am at home, it should switch on Wifi only and if I am outside, it should switch on Mobile Data only.

For example, when I leave for work in the morning, I want mobile data to be ON while I use these apps. And when I come back home at night, I would like to use the Wifi at home.

Can someone please help me with this?

Thanks in advance.
[Nexus One Themes and Apps] genuser:
I have this running on my phone. A bit complex, but quite well. I will post later from a desktop.
[Nexus One Themes and Apps] phanmo:
Bump
[Nexus One Themes and Apps] DaveAz:
Just got Tasker a few days ago, and have tried creating a couple profiles, and am having issues. What I'm looking to do, is have my phone silent while at work, and silent and locked while at ex's house. trouble I'm having is it will not revert back to normal once I am no longer at either location. I'd like to eventually add/remove things later also. So I tried to set variables once I was at either location...Work based off time and wifi near, and ex's based off net location and wifi near. Anyone help me create profiles that will work. I've deleted everything I had and am going to start over.

Thanks in advance.

Dave
[Nexus One Themes and Apps] nyx528:
Did you add an exit task to each of them to re-set your normal profile?

- from my MoPho via Tapatalk
[Nexus One Themes and Apps] genuser:
Look at how I set location in long post above. Uses 3 variables: AT_WORK, AT_HOME, AT_OTHER. Set on entry and exit conditions.
[Nexus One Themes and Apps] duhhh:
load app only if dispay is on portable mode

..............................
[Nexus One Themes and Apps] boyj600:
I have created a one touch widget that texts my wife with a preset message like "leaving work now"

Also, when I am in my car when I start any media app the Bluetooth turns on and connects and the volume adjusts to specified setting.
[Nexus One Themes and Apps] benbailey84:
Maybe you could share those apk's
[Nexus One Themes and Apps] benbailey84:
Disreguard this^ lol, sorry guys
[Nexus One Themes and Apps] D200P13:
i am trying to get a talking caller id going but am having 1 problem. when i pick up the call, i still hear it finishing talking through the in-call volume. it goes from speaker like normal to incall speaker. it doesnt repeat it or anything but i just want it to STOP saying the name/number once i pick up the phone. not just finish saying it. it works well otherwise, stops talking if i press ignore or they hang up, meaning it stops instantly doesnt finish saying the person calling.

---profile 1

Context:

Phone Ringing *

Task:

1. Variable Set %SayCaller = 1

2. Say %CNAME if %SayCaller = 1

3. Wait Seconds 5 if %SayCaller = 1

4. Goto #2 if %SayCaller = 1

5. Shut Up

---profile 2

Context:

Phone Idle

Task:

1. Variable Set %SayCaller = 0

---profile 3

Context:

Phone Offhock

Task:

1. Variable Set %SayCaller = 0

---------- Post added at 12:23 AM ---------- Previous post was at 12:04 AM ----------

i am also looking for an advanced auto sms reply.

here is an outline...

01:00am received a text from 123-4567, wait 5 minutes before sending another text TO THIS NUMBER if received within 5 minutes from the last text (even if the last text was outgoing, not just incoming).

01:01am received a text from 765-4321 wait 5 minutes before sending another text TO THIS NUMBER if received within 5 minutes from the last text (even if the last text was outgoing, not just incoming).

i guess in simple terms i want it to wait before sending a text for each number. even if i send a text, wait 5 minutes to that number sent, so if they reply, it doesnt send an auto text.

that would be an epic profile (for me)!
[Nexus One Themes and Apps] Almazick:
Just an idea and I don't know if it'll work but you can try it anyway.

Context: NAME: HOOK

Phone Ringing *

Task:

1. Variable Set %SayCaller = 1

2. Say %CNAME if %SayCaller = 1

3. Wait Seconds 5 if %SayCaller = 1

4. Goto #2 if %SayCaller = 1

5. Shut Up

Context:

Phone Offhook

Task:

1. Shut Up

2. Set Status, Name: HOOK to OFF

3. Variable Set %SayCaller = 0

Exit

1. Set Status, Name: HOOK to ON
[Nexus One Themes and Apps] Almazick:
I’ve seen somewhere on the internet a way to make a profile similar to rain alarm which notifies you of the rain or snow using weather radar picture and locations. When weather radar picture shows rain/snow in the radius of your locations tasker shows an alarm. I like using rain alarm pro but it consumes 36mb of memory which I’m already low on memory and the main reason I want to convert it to tasker just to save some resources. If anyone knows the way to make it work please share with us.
[Nexus One Themes and Apps] negative13:
Any updates regarding the Auto-Nandroid backup?
[Nexus One Themes and Apps] sarshadd:
I'm trying to run a "delayed lock" set up where once I enter my pin, my phone will remain unlocked for some length of time before it automatically locks itself again...

1. Set Keyguard off

2. Notify "Keyguard Unlocked: Keyguard will be unlocked for x units of time."

Permanent

If %KEYG ~off

3. Wait x units of time.

4. Set keyguard on

5. Notify Cancel

The problem is while the phone is sleeping (the screen is off in my pocket) tasker doesn't seem to execute. This means after x units of time pass and the phone is supposed to automatically turn the keyguard back on- it doesn't. I need to awaken the phone before tasker relocks it.

This means at the end of each wait cycle when the phone is supposed to be locked, there is one time where the phone remains unlocked and open to access, before it locks itself again...

Is there a way to fix this?

FYI- at the end of each wait cycle the notification successfully dismisses, whether the phone is awake or asleep, but it only relocks when the phone is awake...
[Nexus One Themes and Apps] Bout10bucks:
DPI Switch

I prefer a DPI of 220 but 'Market' doesn't always work at that setting so I setup a widget to rotate build.props based on if I am trying to install something that doesn't like my preferred settings. Only thing I am running into on CM7 is, no hot boot. Currently I cheat and use 'Secure Settings' to pkill system_server, but is there a more graceful way?
[Nexus One Themes and Apps] ukm700user:
Can I create a widget with a value from Google Docs

Firstly, sorry if this is the wrong place. Please feel free to delete or move if so.

I have a spreadsheet inside google docs with a numerical value in a single cell (which I publish as an iframe to my website fine with no issue), I am wanting to create a widget with this value I have Tasker, Zoom and Minimalistic Text but am at a complete loss, any guidance would be greatly appreciated.

Again sorry if wrong Tasker thread
[Nexus One Themes and Apps] heywtf:
That's interesting. I've been wondering whether there was a way of hot booting using Tasker without having to use a separate app.

Looks like the various hot boot apps don't do anything differently - link
[Nexus One Themes and Apps] Bout10bucks:
Yep, did more searching and they use the same command (well 'pkill -TERM -f system server' but it's the same thing)

---------- Post added at 01:06 PM ---------- Previous post was at 12:45 PM ----------

Search for google spreadsheets "Retrieving a cell-based feed"

under contents, look at retrieving a cell based feed

You can use that with HTTP Get (sorry, the forum wont let me put in an outside link)
[Nexus One Themes and Apps] darthvonodia:
Hi.. Can anyone help me to set this profile,

1. I want to auto off airplane mode every hour for 5 minutes from 09:00-22:00

2. And "only" during that time Synker kicks in to sync my email, etc..

That's all what I need, I already try to set up the profile but keep failing, the airplane mode can't turn on automatically, and it drains my battery very bad.

Thanks.
[Nexus One Themes and Apps] mefistofelis:
How could I activate and deactivate an enabled profile upon event?I haven't found am option...
[Nexus One Themes and Apps] the_scotsman:
Easy :)

Add a Task > Tasker > Profile Status. Here you can set your other Tasker profiles to enabled or disabled ;)
[Nexus One Themes and Apps] mefistofelis:
Thx! And how could I make a notification that informs new that a profile has been enabled or disabled?
[Nexus One Themes and Apps] the_scotsman:
I haven't played with popup notifications myself, but you just need to add another task to popup a notification, and fill that notification with the text you want, that says which profile(s) has been disabled :)

(I think it's under Event > Notification)
[Nexus One Themes and Apps] DigitalJedi:
I just came up with one I'll share. I wanted the IP address to show up via Minimalistic Text everytime I connect to wifi and go away whenever I am on mobile data. It took some time but it is working like a charm now.

For this one you need Tasker, Minimalistic Text, and Secure Settings (plugin).

The tasks are: (I called this one MNMLIP GET)

1. plugin->Secure Settings

-edit the config and the plugin will open. Tick the boxes for "root" and "output variable". Set

the output variable to %MNMLIP. In the dropdown up top make sure it says "run command"

and enter this command:

/system/xbin/ifconfig eth0 | grep "inet addr" | cut -d: -f2 | awk '{print $1}'

NOTE: on some phones I think eth0 might need to be wlan0 so if one doesn't work try the other.

2. task->wait->6 seconds

(it takes a couple of seconds for the command to produce output)

3. plugin->Minimalistic Text-> edit config:

-Variable Name: %MNMLIPA

-Variable Content: %MNMLIP

That concludes the task to get the IP and make it a variable for Minimalistic Text. Now to make the task for clearing the variable (I called this one CLEAR MNML)

1. Variable->Variable Set

Name: %MNMLIP

To:

Note that you can't leave the "to" field completely blank but I did make it work by hitting the space key 2 times. I guess just moving the cursor over works.

2. plugin->Minimalistic Text-> edit config:

-Variable Name: %MNMLIPA

-Variable Content: %MNMLIP

The profile is pretty simple at this point.

State->Wifi Connected

-task=MNMLIP GET

-end task=CLEAR MNML

Then you create your Minimalistic Text widget with a custom layout and use only a locale variable which you add %MNMLIPA. Customize your text and there you go.

Here's the before and after to get the full effect:
[Nexus One Themes and Apps] travisr528:
I'm an idiot and you guys are not!

Cancelled request
[Nexus One Themes and Apps] mykegger:
Zeppelinrox Engine Flush Widget 1

I've been using this for a little while now and decided to share it.

What it does: Schedules a task to run every 3 hours that cleans your cache and flushes your engine, so to speak. Additionally it creates a widget that displays RAM before and after the task runs and when clicked will run the task.

Requires:

Zeppelinrox Fast Engine Flush Script (I renamed it to just Flush.sh)

Minimalistic Text (needed for the widget)

CacheCleaner Legacy (because after it runs it closes itself; plus it's the only one I've used)

Root; for obvious reasons

I have attached a CleaningTask.zip file that contains the Flush script, the tasker profile/task and the minimalistic text preference file that should set everything up for you.

Simply place the Flush.sh file in the root of your sdcard; the EngineFlush_Tasker.mtpref file in /sdcard/MinimalisticTextPreferences; and the Cleaning.prf.xml in /sdcard/Tasker/profiles.

Then import the task into tasker (long press profile and choose import); this should setup the profile and task scheduled to run, as well as, create the additional files it needs to run.

Finally add a minimalistic text widget (I used a 5x1 widget; but use whatever fits your screen) and restore the EngineFlush_Tasker settings.

If all goes well you should get a schedule cleaning and a widget to show.

If you like this setup please head over and thank Zeppelinrox for the awesome script and check out some of the other cool stuff he has.

------------------------------------------------------------------------------------------------

Zeppelinrox Engine Flush Widget 2 (for Zeppelinrox)

Apply this one this same way you would for version 1 except you must use a 4x2 minimalistic text widget.

This time adding the Clean2Output file in /sdcard/Tasker/tasks; and importing the task after you import the profile.

All necessary files are in the CleaningTask2.zip attachment.
[Nexus One Themes and Apps] kintol:
Then import the task into tasker (long press profile and choose import); this should setup the profile and task scheduled to run, as well as, create the additional files it needs to run.

pls clarify further on this one:o
[Nexus One Themes and Apps] PhantomGamers:
Using CleaningTask2 I'm getting

Error: Task Doesn't Exist Clean2Output

First time using Tasker, but I followed the steps verbatim.
[Nexus One Themes and Apps] mykegger:
In tasker there are 4 choices or screens you can work in "Profiles", "Tasks", "Scenes", & "Variables".

Touch "Profiles" until the options pop-up displays then choose import.
[Nexus One Themes and Apps] mykegger:
Sorry about this; I forgot to include the final task in the CleanTask2.zip; I've updated it now for you. You import it just like the profile except you do it in the task screen.
[Nexus One Themes and Apps] mefistofelis:
And now a tricky question: How do I get tasker to match the variable % loc to the address it corresponds to in google maps?
[Nexus One Themes and Apps] sixstringedmatt:
EDIT: Keeping this here for those who need it -- make sure the links in the profiles xmls are updated, that was causing the problem.

I am having great difficulty having tasker read me out the weather in the morning after the alarm is turned off.

I have NO knowledge with how to do this, so I have been importing files and modifying them by adding my API key accordingly.

http://xdaforums.com/showpost.php?p=7979257&postcount=76

^This is my preferred method, as I want to use %LOC rather than type in a set zip code (so the profile can adjust to where I am). However, it just says parse21 for everything, despite entering my api key.

I am setting up a profile that when the alarm is done, these tasks are executed. The data just doesn't come out. Do I need to implement a pause so it has time to collect the data? Is that why I am parse21 read aloud?

Thanks so much!
[Nexus One Themes and Apps] Mekanikz:
Hey guys, I was wondering if anyone can walk me through (i.e. telling me exactly what to click and type) making profiles that accomplish the following:

- Screen off for 10 secs -- Wifi/Data off

Details: If the screen is off for 10 seconds (either times out or I hit the home button to turn it off manually), Wifi and Data (3G) will turn off.

If possible, keep Data (3G) and Wifi (if it was already on) on while there is traffic (e.g. If screen turns off while my internet browser is loading a page, or while I'm connected to MSN, etc.)

- Screen turned on -- Wifi/Data turns on after 5 secs (wifi stays off if was off before)

Details: If the screen is on for a minimum of 5 seconds, Wifi and Data (3G) will turn back on (Wifi will not turn on if it was not on prior to the screen turning off).

Note: If possible, if I unlock the lock screen I would then like Data (3G) and Wifi to activate again right away (no 5 second wait).

*If possible, I would like to keep Wifi/Data off if the screen turns on for more than 5 seconds for an incoming call.* Only thing left.

- Change screen timeout to 1 min if open browser, screen timeout back to 15 secs again when exit.

Details: By default my screen timeout is set to 15 seconds. Set screen timeout to 1 minute if the internet browser is open. Change back to default once the internet browser is exited.

Note: Sometimes the Browser app is running in the background (i.e. without me manually opening it), during this time I do not want the screen timeout to be set at 1 minute.

- GPS/Wifi on when map/navigation on, off again when exit map/navigation

Details: Turn on GPS and Wifi when I open Google Maps or Navigation app, and turn GPS and Wifi (if it was already off) back off when I close the applications.

Note: Sometimes Google maps is running in the background (i.e. without me manually opening the app), during this time I don't want GPS or Wifi to be turned on.

- Data/Wifi/GPS off when select apps are open

Details: Turn off Wifi, Data (3G), and GPS when select apps are open. Back to default once the app is exited.

Notes: If possible, I would like to include all selected apps in one profile as opposed to a different profile for each app.

I'm using version 1.2u2 if that matters. I've listed the profiles in order of priority/importance. Thanks to anyone who's willing to take the time to help me.
[Nexus One Themes and Apps] Sokudoningyou:
I have a profile for my GPS, and it's pretty easy; in contexts, select the apps you want GPS to turn on for, and then, you want an enter task and an exit task.

For the enter task:

1. GPS set on

For the exit task:

1. GPS set off

That's it.
[Nexus One Themes and Apps] Sokudoningyou:
Try this post?
[Nexus One Themes and Apps] Mekanikz:
Thank you for your reply, but if you don't mind can you tell me exactly what to press after? So far I have

Add (+) -> Application -> Maps, Navigation -> New Task

Edit: Never mind, I got it to work. Thanks.

I still need help with the first two though. Thanks for any help.
[Nexus One Themes and Apps] iPAQ 6515a User:
Mind sharing the profile/task?

TIA

And a questions to whoever can help

I am trying to create a profile that hangs up a phone call from a chosen contact exactly after 4 minutes 30 seconds.

Till now, to no avail

Anyone, please?

TIA
[Nexus One Themes and Apps] -RDR-:
Hey guys i m trying to create a profile which asks me which app to load (variable query) and then loads it ..can anyone help me pleaseee ...i m stuck..i cant create a variable thst opens the application by typing their names ..help guys.....
[Nexus One Themes and Apps] Ollieee:
Wow, I can't believe I didn't know about this app. Giving it a try now, thanks!
[Nexus One Themes and Apps] genuser:
First create a menu... This menu prompts me for which music player to launch....

Music Menu (37)

A1: Menu [ Title:Music Menu Background Image: Layout:IconAndTextMenu Timeout (Seconds):30 Show Over Keyguard:On ]

A2: Variable Set [ Name:%READ_SMS To:1 Do Maths:Off Append:Off ]

Then call that menu from a profile. This profile runs when I plug in a headset...

Profile: Tunes (38)

State: Headset Plugged [ Type:Any ]

Enter: Music Menu (37)

A1: Menu [ Title:Music Menu Background Image: Layout:IconAndTextMenu Timeout (Seconds):30 Show Over Keyguard:On ]

A2: Variable Set [ Name:%READ_SMS To:1 Do Maths:Off Append:Off ]

Exit: Anon (9)

A1: Variable Set [ Name:%READ_SMS To:0 Do Maths:Off Append:Off ]
[Nexus One Themes and Apps] -RDR-:
Dude can u elaborate a bit ...i dont have any experience in creating menus..i m still a tasker noob u see.

Please help..and thanxx for ur reply..
[Nexus One Themes and Apps] genuser:
Ok, have you followed any of the examples on the Wiki? They are an amazing resource! Most of what I have done is a variations of something here.

http://tasker.wikidot.com/profile-index

Try a few and by doing them you will get the hang of how to use profiles and tasks.

This one in particular is an example of a menu.

http://tasker.wikidot.com/headsetmenulaunch

After you have successfully done a few, then stop by with some specific questions.
[Nexus One Themes and Apps] kurt.gomez:
autorespond to an SMS

hey guys i've created this profile in tasker:

add task-event-recieved text

then +

task-if- %LASTSMS !~ %SMSRF

send SMS- Number:%SMSRF

Variable Set- name:%LASTSMS To:%SMSRF

end if

what this does is, it autoresponds to an SMS but not if the persons has messaged me more than once

the problem is that this task is continuously active unless i physically deactivate it :confused:

i want it to activate when the phone is docked... and deactivate when it isn't...

can anyone help me with this??

much appreciated,

thanks :)
[Nexus One Themes and Apps] genuser:
You need to add a context to the profile for being docked.
[Nexus One Themes and Apps] kurt.gomez:
yeah i got that... but i ain't sure how... any help?? :confused: