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

What Tasker profiles is everyone using?? (This thread is NOT for requesting help with profiles)

SMS popup.
 

Attachments

  • uploadfromtaptalk1367808159129.jpg
    uploadfromtaptalk1367808159129.jpg
    45.8 KB · Views: 487
Upvote 0
SMS popup.
Nice!

Does anybody know of a action to stop facebook alerts? I'm using the Auto-sync off which is stopping Gmail alerts, but would like to stop Facebook alerts as well while I'm in the office

I hate the battery drain of Facebook, so I have a task that turns off GPS, since Facebook doesn't respect this setting all the time, unfreezes Facebook, launches it, then checks every two seconds to see if its running and if I've exited, it refreezes it. This of course requires root. Also, I've found that the method of how exactly I do things at the command line varies from phone to phone and andriod version to the next as well.

In any case, if you happen to use location based settings or can pin it down to wifi connected at work, you could incorporate something along these lines, that Facebook is frozen at work but when you leave, screen on, unfreeze, launch, close and don't freeze, screen off.

I've used both just plain shell scripts written as files, one as the user and then that launches the Facebook running monnitor as a child to the first script, but this doesn't work in Jellybean 4.2.2
I've also used sl4a but again there's problems with it as of recently when I switched to my newest phone.
Now, I have to run everything at the shell as one big single string with semicolons separating each command. Its quite annoying.

In any case, the task looks like this:

1. Vibrate 60 (So I know I actually pressed the shortcut)
2. Variable Set
-%gps to %GPS
3. Secure Settings
-GPS Disabled
--if %GPS ~ on
4. Run shell (as root checked)
- pm enable com.facebook.katana
5. Load App
- Facebook
6. Run shell (as root checked and continue after error UNchecked)
- sleep 2 ; x=`dumpsys activity | grep com.facebook.katana/.LoginActivity` ; while [ "$x" != "" ] ; do sleep 2 ; x=`dumpsys activity | grep com.facebook.katana/.LoginActivity`; done ; pm disable com.facebook.katana
7 Secure Settings
- GPS Enabled
-- if %gps ~ on
8. Flash Facebook Done

Note that you need to select the Facebook App icon before its frozen and create the shortcut on the desktop while Facebook isn't frozen. It can be backgrounded and done at this point if it wasn't done before running the task and exiting, which freezes the app making the app icon unselectable.



If you have anything set up so that Tasker knows you're at work, you can just add, as root via shell script, or sl4a if you prefer: pm disable facebook.katana and when you leave: pm enable com.facebook.katana but you'de have to launch it for the notifications to come so you'de use Secure settings to unlock the screen (use notification popup for 2 seconds if it doesn't work on its own, then Secure Settings), open the app com.facebook.katana/.LoginActivity, close com.facebook.katana/.LoginActivity , then turn the screen off and lock it if you need it locked.

This isn't the same thing as adjusting your settings but its sort of a workaround. The other thing would be to look in /data/data/com.facebook.katana and poke around for a file you might be able to use tasker (need root for this too) to stop facebook (Facebook is so relentless it sort of has to be frozen in order to stop it) that might have the settings in it so you could copy them to another location on the data partition and have tasker copy the appropriate one back then unfreeze it, unlock the screen, start it...
You'de want to back up the whole folder (on the same partition /data in this case as you'de lose file permisssions if you move it to internal or external storage), before trying it out. The goal would also be not to screw up any cache it had stored but seek out just the settings if its possible... don't want to lose new message notifications and whatnot.
Foldername might change with a number at the end on updates so using a * wildcard would be helpfull in this scenario.



The Facebook profile above works well with Maps as well for phones that have a heavy drain from Maps. It seems I have less with my newer phone but I still have it frozen until I use it. In the case of Maps, GPS and Wifi are turned on with their original values stored in a local variable as GPS was in Facebook and the activity to look for in dumpsys is com.google.android.maps/com.google.android.maps.MapsActivity
In both cases, with Facebook and Maps, this allows you to background the app, or in the case of Facebook, link off to something from Facebook, and it will remain running until you actually come out of the process entirely as you normally would, or if you have a back to kill mod then that works a lot easier; they still get all the other services spawned frozen and killed. With Facebook you want to be sure to exit the app or you're putting in your pocket with the shell still adding a new increasing PIDs every 2 seconds. I don't know how high you want to go on Android but I haven't had any problems so far and can have quite a bit of uptime at times.
 
Upvote 0
Just getting started with Tasker so here's how I have it setup for my car dock:

Profile: In car dock:
  • Make sure BT is on
  • WiFi Set Off
  • Stay On with USB power
  • Perform Task (greeting: says "good morning, afternoon, etc.." depending on time of day - only does this once every 5 hours so it's not constantly greeting me if I'm in and out of the car all day)
  • Say: Vehicle link successful - need directions?
  • AutoVoice Recognize
Various Autovoice Recognized profiles:
  • "yes" starts google search so I can say "navigate to 1234 elm street". (only works after the first prompt by using an AutoVoice command ID)
  • "pandora", "spotify", etc... to open apps. Getting spotify to autoplay stumped me for a bit but quick shell script fixed that.
  • "home", "the office", and other semi-common locations: Open Map and navigate to that address.
So it goes like this - phone is docked and says "good morning, do you need directions?"

"Yes" - google search pops up and can I tell it to navigate to a specific address or location. Or I can say something like: "No thanks, take me back to the office and turn on spotify."
 
Upvote 0
I'm still looking for a profile that will:

1: Turn off ringer volume and notification volume at night. (e.g. 11pm)
2: Turn these back on in the morning. (e.g. 8 am)

This is simple enough, however I would like to add to this an exception for a certain or a multitude of contacts that would enable the phone to ring when when receiving a call from these specific contacts only. I sometimes get called into work therefore I need to set my work number as an exception.

I have found one similar profile on the wiki page but it doesn't seem to work.

Auto Sleep Mode (with exceptions) - Tasker Wiki

If someone knows how to do this it would be greatly appreciated.


Although not related to taker: for all the other people looking for ways to find their lost phones or to lock and send SMS to lost phones etc... There's is an app called Cerberus and Client Cerberus that will do all this and more.WY
 
Upvote 0
Although not related to taker: for all the other people looking for ways to find their lost phones or to lock and send SMS to lost phones etc... There's is an app called Cerberus and Client Cerberus that will do all this and more.WY

I already do those things with Tasker :D

I'm still looking for a profile that will:

1: Turn off ringer volume and notification volume at night. (e.g. 11pm)
2: Turn these back on in the morning. (e.g. 8 am)

This is simple enough, however I would like to add to this an exception for a certain or a multitude of contacts that would enable the phone to ring when when receiving a call from these specific contacts only. I sometimes get called into work therefore I need to set my work number as an exception.

I have found one similar profile on the wiki page but it doesn't seem to work.

Auto Sleep Mode (with exceptions) - Tasker Wiki

If someone knows how to do this it would be greatly appreciated.

I would create 2 profiles.
1. BED (use whater triggers you want, time, etc)
-Silence ringer
-enable BED CONTACT

1. Exit task
-Ringer volume set
-Disable BED CONTACT


2. BED CONTACT -Incoming call from contact
-Set ringer volume
-wait 1min
-Silence ringer
 
  • Like
Reactions: nitram22
Upvote 0
You need to create a second profile. Your current profile (referred to as BED in the above example) needs to enable your other profile (referred to as BED CONTACT in the above example). In your current profile just add an extra task to enable BED CONTACT, and an exit task to disable BED CONTACT

To make BED CONTACT:
-Add a new profile
-Select "event" -> "phone" -> "phone ringing"
-Search for the caller using the magnifying glass icon in the top right corner.
-then add the tasks as listed above.
 
  • Like
Reactions: nitram22
Upvote 0
Sorry!!! I still don't kmow how to enable and disable bed contacts.

This is what i have:

Profile 1: Bed:
-Trigger: Go to time and set.
-From 23:00 to 08:00
-Task: Sound Off
-Go to: "Audio Settings" and Chose "Silent Mode on."


2: -Long click on sound off, in menu, chose "add Exit Task"
-Task: Sound on:
-Go to: "audio Settings" and Chose "Silent Mode off."



Profile 2: bed contacts.
-Select "event" -> "phone" -> "phone ringing"
-Search for the caller using the magnifying glass icon in the
top right corner.
-then add the tasks as listed above.

Sorry again!
 
Upvote 0
I've been using Tasker for quite a while now, and use a number of Tasker profiles, and a whole bunch of Tasks that interact with other apps.

Profiles:
1. Phone Hang Up -> Go to contacts app (bypasses Galaxy S3 function of displaying the contact on the previous call)

2. Receive call when Google Maps (Navigation) is open -> Return to Maps after call (good for hands-free in the car)

3. Power AC -> Bluetooth On (for activating Bluetooth when plugged in in-car)

4. Launch Bluetooth dialer (Cyberon) when Google Maps is open -> Return to Maps after call

Tasks for other implementations:

1. Play, Pause, Next Track, Previous Track tasks - Activated by a WidgetLocker slider (ICS lock-ring style) on lock screen. Good for controlling Poweramp in the car without having to unlock my phone.

2. Display Emergency Contacts as Popup Task Buttons. Popup is launched by a Minimalist Text Widget labeled "Emergency Contacts" on WidgetLocker lock screen. Popup Task Buttons are labeled with emergency contact name and phone number.

3. Call Emergency Contact (as displayed on Popup Task Buttons). Enables first responders, etc to call emergency contacts without having to unlock phone (which is PIN-locked).

4. Various tasks toggling settings (ringer volume, media volume, screen brightness, Wifi, Bluetooth). Activated using SwipePad app. Allows me to swipe upward from the bottom of my screen (in any app) and quickly change settings. Removes the need for a settings widget and makes settings accessible without exiting to home screen.
 
Upvote 0
Any idea if Tasker can be used to control when Google Play updates apps? I have mine set to only update over wifi but it's annoying when I am doing something and an app starts updating - slows the whole phone down.

Maybe Tasker could keep Play killed until 1am (or something similar). But then I would need to disable the Task if I needed to access the Play Store for something (not a big deal).

How would I set up the task?




EDIT....Ok, I set one up.

A time task from 6am - 2am it runs a profile that keeps the Play Store app killed. I'll report back if it works!
 
Upvote 0
Doesn't seem to work.

Maybe I'm the only one this is affecting though...
If I'm playing Modern War or another semi-intensive game and the phone starts updating an app, the game will usually force close on me. I just can't believe that ol'googs would not allow us to control the timing of the updates. For now, I guess i'll set it to manual and switch it back before bed.
 
Upvote 0
So it goes like this - phone is docked and says "good morning, do you need directions?"

"Yes" - google search pops up and can I tell it to navigate to a specific address or location. Or I can say something like: "No thanks, take me back to the office and turn on spotify."
Thanks for the post. Gave me a few ideas. I just got a nice Bluetooth/RF transmitter for my car so I'm trying out all new things with Tasker + Autovoice. Gave me some ideas.
 
Upvote 0
In case anyone needs it, ill post it here as well so its stickied.

HOW TO MOVE FILES AUTOMATICALLY FROM INTERNAL MEMORY TO YOUR SD CARD
see this thread on Google+

https://plus.google.com/u/0/112684178849886068455/posts/YH8eiZpXTSG

I set it up to "automatically" move any new photos from DCIM to a directory on my SD card.
(the 4.3 camera app has no option to choose the photo location)
 
Upvote 0
I just switched to tasker from setting profiles and I'm loving it. Here are some of the profiles I use.

I have a basic "work" profile that silences my phone and activates based on time since my work schedule is very routine and doesn't fluctuate much.

I have a "night" profile based on time that switches the phone to automatic brightness. I typically use full brightness by default.

I have a "home" profile that is activate by being near cell towers and it basically just turns on wi-fi, or turns it off when I leave home.

I barely get a signal at work, so I have a profile that just completely disables the mobile data connection during work hours when I have a bad signal. This is to save battery life.

I have a navigation mode that turns on when I load the maps app. It turns on gps and autorotation. It turns off after maps hasn't been in the foreground for 15 minutes, so I don't have to remember to turn off gps to avoid battery drain.

I have a mode that turns on display rotation when the chrome browser or the camera app are up. One of my biggest annoyances with android is when my phone is laying down, and just because of the motion of picking the phone up, the screen rotates, and I have to wait a second for the phone to rotate back to portrait. Chrome, maps, camera, and youtube are literally the only apps I use in landscape mode (youtube will force enable auto rotation even if you have auto rotation on by default).
 
  • Like
Reactions: Xavier Black
Upvote 0
I barely get a signal at work, so I have a profile that just completely disables the mobile data connection during work hours when I have a bad signal. This is to save battery life.

Tasker turns my mobile data turned off when I connect to wifi. If you have work wifi you should try this, as it saves me a load of battery.
 
Upvote 0
My profiles:
Car Auto SMS
Auto replies to received SMS while connected via Bluetooth to the car head unit.

Auto off unpaired Bluetooth
Auto turns of the Bluetooth if not connected to a Bluetooth device after 7 minutes.

Data apps
When loading Data requiring apps, turns on Data for their use off again when exiting the app.

Car Bluetooth
Simple time related profile to turn on Bluetooth turn off WiFi and via Bluetooth auto connect ,connect to the car head unit when turned on. On exit of task turn Bluetooth off WiFi on ready to connect to work SSID.

Night Time
Time related and charger connected profile to turn of all data for the night. Back on in the morning after a 'wait' period after the alarm sounds to allow me to clear the bedroom before the work mail wakes the misses, not good at 4 am.

Auto voice weather
Time depended task to fetch and read aloud the live weather report for my area. Used with 'auto voice'

Read weather
As above but accessed via home screen widget using 'auto voice' to run 'Auto voice weather' from above with a voice command 'weather' to read live weather when I choose.

Head set
Standard headphones plugged in volume maxxed run power amp.

Car read SMS
Reads aloud in coming SMS while connected via Bluetooth to car head unit, while 'car auto SMS' from above does the replying.

Keyguard
Keyguard on or off dependant on if connected or not to home SSID.

NFC On
Turn on the screen and NFC turns on for 45 seconds to allow a tag touch then off again. Used with secure settings and helper. I use this in conjunction with a NFC task launcher task to run speed camera app with navigation.

Reboot
15 minutes before morning alarm goes off phone reboots so we're both fresh as a daisy ready for the day ahead. Used with secure settings.
 
Upvote 0
Hi guys. Im pretty new at this but I decided to make an Auto WIFI on/off project. Let me know what you think. I attached the project on this post.

It searches for cell towers area near your home or whatever location you'd like. Only If in this area (for less battery drain) it activates the wifi near function (for more precision). If you are close to your wifi it will activate WIFI and connect. After you leave it will turn off unless you are connected to some other wifi.
It wont disconnect from wifi even if the cell tower is not in range (due to lose of power, lose of signal or w/e). It wont keep looking for cell towers or wifi near networks when you are already connected (for less battery drain).

I also added a working airplane mode. Everything will be off during airplane mode and back on when not.

All you need to do to try it is import the xml project file and:
-Scan for cells in the "CELL NEAR" profile
-Add the SSID/s on the "WIFI NEAR TURN ON WIFI" profile (to add more than one just use "/" without the "". Ex: ssid1/ssid2/ssid3)



I took some lines from the wiki from tasker but modified it because the airplane mode option was not working (it kept looking for tower cells even if on) and the wifi near option was always looking, even when not in the cell tower area.
 

Attachments

  • Auto_Wifi.prj.zip
    1.4 KB · Views: 184
  • Like
Reactions: Xavier Black
Upvote 0
Hi guys. Im pretty new at this but I decided to make an Auto WIFI on/off project. Let me know what you think. I attached the project on this post.

It searches for cell towers area near your home or whatever location you'd like. Only If in this area (for less battery drain) it activates the wifi near function (for more precision). If you are close to your wifi it will activate WIFI and connect. After you leave it will turn off unless you are connected to some other wifi.
It wont disconnect from wifi even if the cell tower is not in range (due to lose of power, lose of signal or w/e). It wont keep looking for cell towers or wifi near networks when you are already connected (for less battery drain).

I also added a working airplane mode. Everything will be off during airplane mode and back on when not.

All you need to do to try it is import the xml project file and:
-Scan for cells in the "CELL NEAR" profile
-Add the SSID/s on the "WIFI NEAR TURN ON WIFI" profile (to add more than one just use "/" without the "". Ex: ssid1/ssid2/ssid3)



I took some lines from the wiki from tasker but modified it because the airplane mode option was not working (it kept looking for tower cells even if on) and the wifi near option was always looking, even when not in the cell tower area.

Imo it looks as if you're making what is really quite simple, quite unnecessarily complicated.

Let's start with cell near. That's just a simple 2G ping to any available tower. It really won't use much battery or any data. Some may have their reasons for disabling this, but I really doubt it would make any noticeable difference to your battery life.

Secondly, again, everyone is different and some may have a reason to do things differently, but at least it's good to know you can support nor than one ssid. However, I imagine few do.

Otherwise, just keep it simple and so something like the following.

Profile: wifi on
Task: cell near (scan) - wifi on
Exit task: cell not near (cell near with Inverted ticked) - wifi off

Profile: home wifi
Task: wifi connected - mobile data off/sync/audio/brightness settings etc etc
Exit task: wifi disconnected - mobile data on/etc etc

And of course you can add in more contexts to trigger the profile if you need to.
 
Upvote 0
My profiles:
Car Auto SMS
Auto replies to received SMS while connected via Bluetooth to the car head unit.

Auto off unpaired Bluetooth
Auto turns of the Bluetooth if not connected to a Bluetooth device after 7 minutes.

Data apps
When loading Data requiring apps, turns on Data for their use off again when exiting the app.

Car Bluetooth
Simple time related profile to turn on Bluetooth turn off WiFi and via Bluetooth auto connect ,connect to the car head unit when turned on. On exit of task turn Bluetooth off WiFi on ready to connect to work SSID.

Night Time
Time related and charger connected profile to turn of all data for the night. Back on in the morning after a 'wait' period after the alarm sounds to allow me to clear the bedroom before the work mail wakes the misses, not good at 4 am.

Auto voice weather
Time depended task to fetch and read aloud the live weather report for my area. Used with 'auto voice'

Read weather
As above but accessed via home screen widget using 'auto voice' to run 'Auto voice weather' from above with a voice command 'weather' to read live weather when I choose.

Head set
Standard headphones plugged in volume maxxed run power amp.

Car read SMS
Reads aloud in coming SMS while connected via Bluetooth to car head unit, while 'car auto SMS' from above does the replying.

Keyguard
Keyguard on or off dependant on if connected or not to home SSID.

NFC On
Turn on the screen and NFC turns on for 45 seconds to allow a tag touch then off again. Used with secure settings and helper. I use this in conjunction with a NFC task launcher task to run speed camera app with navigation.

Reboot
15 minutes before morning alarm goes off phone reboots so we're both fresh as a daisy ready for the day ahead. Used with secure settings.


Have you given any thought to sharing these profiles? Be cool to see how you did the weather readout and the sms readout
 
Upvote 0
This is how I've been pulling my forecast every morning. You will have to sign up and make an account at api.wunderground.com to get an API key to use this.

[HIGH]Profile: Morning Weather Forecast (108)
State: Power [ Source:Any ]
Time: From 06:30 Till 10:30
State: Wifi Connected [ SSID: My WiFi MAC:* IP:* ]
Exit: Anon (110)
A1: HTTP Get [ Server:port: http://api.wunderground.com Path:api/API-GOES-HERE/forecast/q/STATE/CITY.json Attributes: Cookies: Timeout:10 Mime Type:text/* Output File: ]
A2: Variable Set [ Name:%source To:%HTTPD Do Maths:Off Append:Off ]
<Forecast>
A3: Variable Search Replace [ Variable:%source Search:(?<="fcttext":").+(?=",\s+) Ignore Case:Off Multi-Line:Off One Match Only:On Store Matches In:%weather Replace Matches:Off Replace With: ]
A4: Variable Set [ Name:%weather To:%weather:)) Do Maths:Off Append:Off ]
<F
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones