yashsingh1/xdaforums huggingface dataset:
[Nexus One Themes and Apps] shantzg001:
^^ That is, unfortunately, not possible on Nexus one due to hardware/firmware limitation. For now, my tasker setup automatically turns on speakerphone and turns the call volume to maximum before starting recording.

However, if your phone supports recording from call stream then it is pretty simple to change the profile to do that (I've outlined where to change this in the article)
[Nexus One Themes and Apps] kolyan:
To reboot phone at night or to create reboot widget, enter " !reboot " in locale execute plugin

No need for QuickBoot app anymore
[Nexus One Themes and Apps] DDM123:
I had to reinstall from the Loquendo TTS app after I "fixed" my permissions using Rom Manager. Try that.
[Nexus One Themes and Apps] crachel:
Tasker, Android, and YOUR Cloud

Use Tasker to sync music, pictures, or any other media/files with YOUR server! Or backup your entire SD card..

Create SSH keys between Android & server

Replace the system SSH with that of Better Terminal Emulator Pro

Setup Tasker

Requirements: Tasker, Locale Execute Plugin, Better Terminal Emulator Pro, a linux Server. If you're not on CyanogenMod 6, your mileage may vary.

Thanks

fubaya (check his blog http://a-more-common-hades.blogspot.com/)

Cyanogen Wiki

Step #1 - SSH Keys

You want this process to be automated (no password needed) so SSH into your phone and create keys with dropbear:

dropbearkey -t rsa -f ~/.ssh/dbkey.rsa

(remember the path to dbkey.rsa)

Once this key is generated, it will output to the screen the public portion, copy and paste it.

Log into your Server, and navigate to ~/.ssh/. Open with your favorite TXT editor the file 'authorized_keys'. If it doesn't exist, create it. Paste (right-click) the dropbear pub key that you copied into the first open line and save the changes.

Step #2 - Replace system SSH (thanks to fubaya)

The SSH binary included with CM6 doesn't seem to save 'known_hosts' correctly (I assume because the working dir isn't set correctly), so replace it with BTEP's SSH that works.

Mount the Android system read/write:

busybox mount -o remount,rw /dev/block/mtdblock3 /system

Backup the old SSH binary:

mv /system/xbin/ssh /system/xbin/ssh.bak

Link the BTEP SSH binary:

ln -s /data/data/com.magicandroidapps.bettertermpro/bin/ssh /system/xbin

Mount the Android system read only:

busybox mount -o remount,ro /dev/block/mtdblock3 /system

Step #3

Here is the rsync (thanks to fubaya):

! rsync -rltDv -e 'ssh -l USER -i /PATH/TO/dbkey.rsa -p PORT' [email]USER@REMOTE.HOST[/email]:/PATH/TO/REMOTE/ /sdcard/YOUR/MEDIA/

In Tasker, just create new task with Action : Plugin->Execute. Copy your already tested/working (in ADB shell) rsync command

This command syncs from SERVER to PHONE. Flip the directories to go the other way.

The exclamation point is used by Locale Execute Plugin to run the command as root. You will have to grant SU permissions one time, and then run again to sync successfully.

Finally

Open a shell prompt with ADB and make sure that you can copy/paste the above RSYNC command with NO user input. You will have to do this one time initially to accept your server into the 'known_hosts' file.

You might consider making REMOTE.HOST your server's local address (ie 192.168.x.x) so the RSYNC command will fail if your phone is not connected to your network. You'd hate to accidentally sync 100 MB of music over spotty 2G.

Now I click the Tasker Widget below:

...and my music is synced!
[Nexus One Themes and Apps] khaytsus:
I like the idea, lot to implement.. :) But at least not mounting USB..

I might have to try this myself sometime, although often I do a nandroid then back up the SD card, so I just do that all inside of recovery and do the rsync side from Linux.

Backing up specific things over wifi would be nice though.
[Nexus One Themes and Apps] Thomas_BA:
That did the trick :)
[Nexus One Themes and Apps] Thomas_BA:
Did anybody find a way to schedule Titanium Backup with Tasker, execute a certain batch at a certain time? I can use the Titanium own scheduler but i prefer to do wit Tasker.
[Nexus One Themes and Apps] Thomas_BA:
Anybody got the function 'Mobile Data on' to work. In my case it enables but shuts down after a second.

Have to say i have Mobile Data disabled with the 'switch Pro Widget' using Data toogle.
[Nexus One Themes and Apps] crachel:
After the rsync stuff I posted earlier, I added a little HTTP GET from Tasker, so now my server's front page shows the last sync and other useful info about my SD..

I will get a bit more advanced with the front page, but thats prob not applicable to this thread..
[Nexus One Themes and Apps] siteexperts:
Turn on bluetooth when USB powered

This should be simple but I can't find it...

When Charging, I want to turn on bluetooth. I could not find the option to turn on bluetooth anywhere... (I just see turning on the GPS)

Any pointers?

Thanks
[Nexus One Themes and Apps] crachel:
Tasks->Net->Bluetooth
[Nexus One Themes and Apps] Thomas_BA:
I am trying to do a task but as i am quiet new in variables, etc. perhaps somebody has it already done.

Tasker is switching my phone into silent mode at 01:00 hs - 08:30 hs into silent mode.

I want to add an exit task which accomplishes following:

Notifying me by voice and/or pop up about the missed calls and sms messages. In first place the number of missed called and sms or if it's possible with names of the persons who called and send a message during the silent mode. Uff sounds complicated :)
[Nexus One Themes and Apps] djstaid:
I love the possibilities of this app, but am having some frustration getting it setup. I used one of the templates on the wiki site to setup a profile changing shortcut. Out of the box it worked exactly like it was supposed to and it is nice.

I went and added some extra profiles for when I am on call and added some actions to some of the original tasks. Now when I use those, the ringtones are not setting correctly and I can't figure out where it is getting them from.

If I ran ddms or dumped my logcat would that show me what it is doing or why it is grabbing music from my SD card instead of internal ringers? I thought I had it all figured out. lol
[Nexus One Themes and Apps] crachel:
I use a similar profiles setup, just export your task XML from within the app and post it so we can have a look
[Nexus One Themes and Apps] bennettm89:
I noticed that there is a "Battery Full" argument that can be used...but would anyone know how to set up "IF battery = full and still plugged in, stop charging"? It's probably not possible... but if I would find an answer anywhere, it would be here.
[Nexus One Themes and Apps] khaytsus:
The phone obviously does that for you.....
[Nexus One Themes and Apps] RietHart:
Hi guys,

My idea for a profile:

1. Check for the first calendar event at 4am. (to determine the first calendar event of the day)

2. Read when the first calendar event is going to start

3. Set a alarm 1 hour before the first event of the day is going to start.

That way when you make sure your calendar is up to date, you won't have to set your alarm anymore. Can someone with programming skills help me out?
[Nexus One Themes and Apps] kolyan:
ps this place is helpfull too. make sure you search too.

http://groups.google.com/group/tasker?pli=1
[Nexus One Themes and Apps] khaytsus:
Personally I just make meetings that are early or very near when I first get to work have an 1hr alert on them.. As for reading the calendar entry details I haven't noticed that Tasker can do that beyond it being a context.
[Nexus One Themes and Apps] RietHart:
Well, that requires me to not have silent mode active, which would not be ideal.
[Nexus One Themes and Apps] djstaid:
I actually finally figured out the problem. Now I finally have all my profiles setup and working. Only thing I need to figure out is for my "On Call" profile, I need to get it to play a notification every 30 or 60 seconds if I don't acknowledge a call, email or sms.

Once I get that figured out, I think my profiles will be all set.
[Nexus One Themes and Apps] SiNJiN76:
I get such a headache trying to figure this prog out. They need to release a Dumb version for me! :D I can't even follow the First Post directions! -- Where's my Ibuprofen?

Maybe if the OP can gather all the exported files and post them to share...or even take requests (I don't have one yet)...just a thought.

Okay...got it to look like the first post...but doesn't work. I set the widget but the notification bar says that no profile is active. Anyway, what do the % signs mean...and how do you know what to input after that...such as CNUM that the OP put in?

P.S. I almost threw my phone at the wall a few times...
[Nexus One Themes and Apps] khaytsus:
Maybe it's not for you then?

BTW folks, 1.0.10 changes a few things, most especially around timed or periodic events, and the GPS Context. If you have a GPS Location context with a time context, I had to remove it and put the new "Get Location" action (under Misc).
[Nexus One Themes and Apps] SiNJiN76:
Yeah I know. :D already uninstalled it.
[Nexus One Themes and Apps] djstaid:
I bought the app... tried to jump right in and uninstalled it 2 days later after getting frustrated.

After I thought about it, I downloaded it again and went step by step adding some of the profiles and tasks on the wiki. After doing that, doing a lot of reading and some messing around... I understand the basics.

I would honestly say that you need to give this program a chance. I don't do scripting or anything like that, so I am a little slower to understand this app... but it is so powerful and worth every penny.

Only reason I respond is because I know exactly how you feel. Once I sat down with it and did my due diligence... I could never be without it. That being said... it may not be for everyone.

Just try some basics and ask questions on here. Most people on here are super helpful and will try to get you going. This $4 app (i think it was $4) basically replaced at least $12 worth of apps on my phone and still can do even more.
[Nexus One Themes and Apps] khaytsus:
I've said it in this thread at least once I think, but here goes again.. :) The market version has the same restrictions it always does, 24 hour return policy, and the dev has opted not to have a "Trial" version even though it'd be a good idea IMO to let people try it out.

What you can however do is install the version from his website, which has a 7 or 14 (forget, he's changed it recently) trial. You can activate it and have the full version, but it's updated itself, not via the market. He keeps both versions up to date. I still think he'd be better off with a paid market version and a limited trial market version and no "direct" version, and the trial version have the 7 day limit. But this is the path he took, and he had good reasons.
[Nexus One Themes and Apps] the14thgod:
Loving this app so far. Went ahead and bought and just trying to mess around with things to get used to it. I am having troubles setting up SayMyName with this though. I looked on Google and didn't find anything really relating to setting it up other than 'in plugins' for actions. Which I have. Can anyone help me?

Set up:

Context:

Received SMS

Actions:

Notification Volume 0

SayMyName, saysms enabled, %SAYSMS

Say: 'Text from %SAYSMS: %SMSRB'

I'm just using the normal TTS robot girl voice.

Eventually it would be used only if headphones are plugged in, or in a car.

Another quick quesiton, is there a way to a 'or' statement?

So basically it reads 'if state:headphones or cardock' then use this profile?

Or do I just need to make 2 profiles?

Thanks,

Justin
[Nexus One Themes and Apps] tosh_:
Where did you get %SAYSMS? The Tasker variable that is listed in my version for reading out the contact name is %SMSRN

Also, after you have set up the profile, send yourself a text from another phone because it only starts to recognise them after the first text so 'test' wont work.

And I just use two serparate profiles, I'm guessing there probably is a way to do an or but I've not found it yet lol (you can duplicate the profile and just add in the context btw, no need to recreate it all)
[Nexus One Themes and Apps] the14thgod:
In the plugin action for SayMyName, it has a spot for SaySMS Customize announcement (also saycaller, and saymail) but I just need sms. By default it's just %, so I added SAYSMS.

Do you even need saymyname if you use %SMSRN? I was under the impression that feature was not added yet... to use the contact name

*edit*

just uninstalled saymyname and tried it, I guess whatever forums i was looking at were outdated :/

thx for the help!
[Nexus One Themes and Apps] just_mike:
Tasker in Boot?

So call me forgetful, or what ever you like.

Is there anyway to get Tasker to load on boot? I get the occasional freeze and have to reboot. Most of the time I remember to start Tasker, but some times not so much. What I am wondering is there something I can do to get it to load on boot?
[Nexus One Themes and Apps] tosh_:
I might be wrong here but I can't see any way you could do this because it would involve getting Tasker to tell you when Tasker is not active. If that's what you're meaning.
[Nexus One Themes and Apps] just_mike:
Was thinking I could put line of code somewhere in the boot sequence. Will keep looking.
[Nexus One Themes and Apps] tosh_:
Ahh, well that is beyond my capabilities haha, sorry.
[Nexus One Themes and Apps] fubaya:
Does it not automatically start? I've never manually started it, plus Tasker has the ability to run tasks at boot so it must run at boot itself.
[Nexus One Themes and Apps] just_mike:
Just rebooted while it was running and it didn't reload. Running Ver. 1.0.9m. Don't remember having to do this before last update. Maybe its just me.
[Nexus One Themes and Apps] fubaya:
Hmm, I rebooted and it's running. I have Tasker running some boot commands and they ran too. I'm using the version that just came out tonight, 1.0.10m, and don't think I rebooted while I was on the previous version so I can't say for sure that version worked. See what happens with this new version.
[Nexus One Themes and Apps] khaytsus:
Must be, as it automatically loads and runs at boot here. Even if it gets killed, which I do see occasionally (Android is just too kill-happy sometimes), it restarts instantly.
[Nexus One Themes and Apps] crachel:
I was very excited to see that task shortcuts have been added in the latest version!
[Nexus One Themes and Apps] talyene:
Try Locale (appbrain.com/app/locale/com.twofortyfouram.locale). It's very easy to set up, comes with tonnes of free and paid plug-ins and achieves a lot (but not all) of what you can do with Tasker.
[Nexus One Themes and Apps] DDM123:
New version out v1.0.10. http://tasker.dinglisch.net/changes.html

If you use my weather tasks, you should probably change %LOC to %LOCN as %LOC now only applies to GPS coordinates, and %LOCN gets location from cell towers.
[Nexus One Themes and Apps] djstaid:
Quick question...

Using the Locale Execute plugin, is it possible to run a command and get a return value displayed in a dialog box or as a widget label?

Here is what I am after... I want to be able to see the available space on my ext4 partition and I have been having trouble figuring out how to do that. I know what mount point it uses by running the "df -h" command in the terminal. I also have a few 3rd party apps that will show me the total space and space left, but not on a widget or on demand.

I have been trying to figure out for weeks how to get this information and figured that since I don't know how to write apps, Tasker would be my best shot.

My dream would be to have an app/widget like Mini Info, but be able to select what mount points to display on the widget. I sent an email to the Dev of Mini Info and they said that since the ext partitions are not officially supported they are not looking into adding it.

Seeing as how some of you guys on here are doing some insane things with Tasker, is this something that could be done?
[Nexus One Themes and Apps] khaytsus:
Except it's more expensive, does much less, isn't nearly as reliable, and hasn't really done much in the last 6 months.

And Tasker can utilize any Locale plugin, and most of Locale's power is actually via its plugins. Its core functionality is fairly limited.
[Nexus One Themes and Apps] crachel:
this is interesting. that plugin leaves a little to be desired in that there is a limited amount of documentation and it doesn't seem to have anyway of returning control to Tasker upon execution of commands.. but anyway here is what I'm thinking:

run this command (which will give you used space):

du -s -h /path/to/mount > /sdcard/freespace

which will give tab delimited output like this:

5.6G /path/to/mount

then use the Task->File->Read Line and open /sdcard/freespace and see what happens.. I don't have experience with Read Line, and there is obviously going to be more to this than what I've posted here, but its a start. please reply with your results
[Nexus One Themes and Apps] crachel:
Ok, I got this working (im using notify instead of widget, but same idea)

but it seems too hacky and unreliable, because half the time it gives me End of File (EOF) instead of the output.. probably need to put some delay between the command and the read line, i'll look into this some more

(remove txt extension from attachment to import it)

edit: just realized my output is used space, not free
[Nexus One Themes and Apps] fubaya:
I beat ya because I already have Tasker doing something similar. I used your du example without trying it, but don't have time to figure out the right command right now.

Try this

1- delete file freespace (using crachel's example for the file name)

2- Variable Set %ONE to 1

3- execute plugin: @! du -s -h /path/to/mount | cut -d ' ' -f 1 > /sdcard/freespace

4- Read Line file: freespace %ONE to %LINE

5- Goto Action 4 if %LINE matches EOF

6- Flash %LINE

Some may be optional. I used step 1 because the task will run faster than the du command being executed, so it may display old information that is in the file.

The second step is needed because you have to specify which line to read and you can't just type line "1", you have to use a variable.

On step 3, I've found that not running things with "su" can be unreliable so I do everything as root.

Step 5 is needed because reading the file will give you "EOF" until the du command finishes, so it just keeps trying to read the file until the EOF is gone and, hopefully, the freespace will be there instead.

Step 6 is for testing, you can change that to however you want to display the info.
[Nexus One Themes and Apps] crachel:
nice fubaya.. probably not necessary, but might need a way to either count the iterations of the loop (quit after so many) or make sure whatever mount point we are looking at is actually mounted to avoid infinite looping.. not real sure how Tasker handles that (i doubt it does)
[Nexus One Themes and Apps] djstaid:
wow... you guys are good.

I was having problems getting the command to execute via the plugin, but it was working via the terminal emulator and adb shell. Looks like I was missing the @!. Let me jump back in and see if this works now. Thanks a lot for all the help and examples!
[Nexus One Themes and Apps] fubaya:
Thats a good idea, crachel. On one task, i used something like this: command > file || echo failed > file

The || means to execute the second part only if the first part fails, so, one way or another, something goes into the file. I'm not sure how well the execute plugin would handle all that though, I usually put it all in a script and execute the script. (Ok just tried and it doesnt work with the plugin outside of a script)

Here is one thing that would work for getting free space, but a single command would be nicer:

df -h | grep sdcard | awk '{ print $3 }'

(change "sdcard" to the correct mount point)

Still needs to be perfected.

The "!" makes it run as root. I had problems without it once so now I just always use "!". The "@" keeps it from popping up a message when it runs.

Just a tip, if you use it with "!" (root), click "test" in tasker and it will appear to run but it wont work. After its done, exit tasker and wait a few seconds for the su app to popup and ask for permission. Click yes, now it should work. That has to be done every time you change the command in the plugin.
[Nexus One Themes and Apps] djstaid:
This is what I have so far... as soon as I get home I am going to play with this some more to see what I can figure out. I will post with anything I find. Thanks again for the help fubaya & crachel!
[Nexus One Themes and Apps] fubaya:
Hope you got it working well.

It occured to me that, instead of the looping "Go To" nonsense, you could use a short wait instead. I use the go-to loop in a similar task where it downloads info from the internet, but I bet a 500-1000 millisecond wait would be enough here (thats .5 to 1 second).
[Nexus One Themes and Apps] sean.lai:
I'm using the task in tasker's tutorials that sets media volume to a specified value and launches a menu of music apps when headphones are plugged in. However, I find myself often plugging in headphones while playing a game or watching YouTube and its annoying having to close the menu during these activities. In general, I really only want the menu to pop up when there are not already apps using sound presently, if that makes sense, yet I would still like to volume to be toned down. Can anyone help me out with this?
[Nexus One Themes and Apps] fubaya:
Hey guys, you're slacking. Someone on the Tasker google group has a demo of how to use voice input with Tasker. Let's see some cool examples.
[Nexus One Themes and Apps] Mister_Tea:
Something that I've wanted for years and years is an alarm clock that wakes you up early if its freezing outside so that you have time to de-ice the car.

Using Tasker it should be pretty easy. I already have a script (modded from one of the ones on this thread) that writes weather conditions to vars, so really its just a case of writing something to control the alarm.

At the moment I'm using Alarm Klock from the market for my alarms, and I like it. Simple and reliable. I'd rather stick with a dedicated alarm app rather than have Tasker run alarms, so does anyone know an alarm app/plugin etc that can be controlled by Tasker?

As for my rather sad dream of an intelligent alarm clock....I work from home now, so its pretty pointless!! But I still think its cool!
[Nexus One Themes and Apps] 3Shirts:
A challenge?

Ok, here is one for you Tasker pros.

For some reason my office makes Latitude go a bit mental. I am in the UK but when I sit at my desk, the location seems to jump to Mexico, Singapore and today I was in Japan!

It's annoying for my latitude history but it also screws up my weather widgets etc.

Is there a way to make tasker set my location manually?

There is a wireless network for another company in the building so I could use the 'wifi near' context to set the location and then when I leave that profile, set it back to automatic.

I've no idea if that can even be done, perhaps using something like http://www.appbrain.com/app/location-spoofer/org.ajeje.fakelocation