Tasker - Galaxy S4 Edition

edzamber

Senior Member
Feb 21, 2012
3,864
3,657
253
Hi everybody,

Does someone know how to create a force mms connect with Tasker ?

I explain : on CM11 based Roms, if you don't turn on data, its impossible to send or recieve an mms. I search how to auto enable data when i send or when i recieve an mms as TW Roms. In CM Roms there isn't an CSC folder so we can't modify others.xml or features.xml.

Thanks a lot :)

 

itesla

Senior Member
Mar 16, 2006
302
9
0
Tasker health step counter

Anyone have the Tasker health step counter working on S4? It actually works/counts for me but I can't figure out how to reset the counter each day. I created event when "steps taken" reach 100, it flashes "Steps %evtprm1" and copies it to Zooper variable for display on my homescreen.

It seems to reset the step count occasionally, but not daily as logical/desired. Help says disabling the profile, disabling or reinstalling tasker causes count to reset. I want to control the reset, so it happens each day at midnight.
 

Droidatar

Senior Member
Jan 23, 2012
278
19
0
Don't know about that accessibility bug you're talking about, but I'm a longtime Tasker user and I can tell you that it works flawlessly on my S4. :)
I have same bug, phone started talking today in briefing, not good. I've been looming for a fix all week.

Sent from my SCH-I545 using Tapatalk
 

ryanw5489

Senior Member
Feb 6, 2012
475
22
0
Does anyone have a good battery saver profile? I've been trying to come up with one but doesn't seem to make a difference!

Sent from my SCH-I545 using XDA Free mobile app
 

Cozmos23

Senior Member
Jan 16, 2014
598
223
0
Try wifi activation at cell location and f.e. switch to 2g or deactivate mobile data when screen is off. If u have a custom Kernel u can also set a lower cpu frequency when screen is off.
Turn off Bluetooth and GPS and lower screen brightness but beside that u won't see any noticeable improvement in battery life.
 

CrashTestDroid

Senior Member
Jul 12, 2013
1,095
1,084
143
Does anyone have a good battery saver profile? I've been trying to come up with one but doesn't seem to make a difference!

Sent from my SCH-I545 using XDA Free mobile app
Tasker may be the wrong tool for this job.. Your ROM should have some form of battery saver options (eg. in LiquidSmooth go to Settings > LiquidSmooth > Advanced > Battery Saver, other roms have variations on same theme) and use Synapse for maximum battery.
 

ryanw5489

Senior Member
Feb 6, 2012
475
22
0
With Tasker u can do the same as every battery saver tool and more. And u can set everything to your own needs.
Yea just kinda trying different profiled to get what I need wondering if anyone got any good ones that they recommend!

Sent from my SCH-I545 using XDA Free mobile app
 

SMV1974

Member
Nov 7, 2014
6
0
0
%Muted question

I've recently discovered Tasker** and i really loved it so i though that i'd better creat a thread so other people could do the same and by the same way this is an S4 Special Edition so we can share our profiles to optimise our phones.

*For thoese who doesn't know it : Tasker is an app that let you automate your phone and it's a very powerful tool.
**For further informations check this guide : [TUT] The Ultimate Noob/Beginners Guide to Tasker
*** Download Here : Tasker (3,98$) or ... ;)

#############
Please share your profiles according to this form :
- Profile name : Profile description
How-To:
-Steps ..
-------------------
And if you have a request please don't be shy and post it, we will help each other :highfive:
#############
" * " Mean : press the back button

So here we go with my profiles :

- Screen brightness :I want that my screen brightness is at it's highest when i'm outside and at it's lowest when i'm home.

How-To :
0. Disable Auto-Brightness
1. Creat a new "State" (+)
2a. Select "Sensor"
2b. Select "Light level"
2c. FROM xx TO xx (here it depends on you NOTE : FROM value must be less the TO )
2d. Personally : From 90 to 100 *
3. It will propose you to creat a new task : Name it Outdoor light and click on the check icon
4a. Add a new action (+) -> Display -> Display Brightness -> Go Max (255) and let the "Immediate Effect" Checked *
4b. Now go back the profiles menu and keep holding on "Outdoor light" so you can add an exit task
5. Add an exit task : Name it Indoor Light and click on the check icon
6. + -> Display -> Display Brightness -> 45 (Here put the value that fit you)
///////////////////////////////////////////////////////////////////

- Wifi-Auto On : I want that my phone connect to my WIFI automaticly when i get home.
How-To :
1. + -> State -> Phone -> Cell Near
2. Click on Scan and start walking around your house (Just walk don't run :p) and when you finish click on Stop *
3. New Task -> Name it : Wifi On -> + -> Net -> WiFi -> Set "On" *
4. Add Exit Task -> Name it : Wifi Off -> + -> Net -> WiFi -> Set "Off" * -> so when you're now longer wifi will be disabled
//////////////////////////////////////////////////////////////////
Extra :
Moto X Camera : If you want to have that cool Moto X Camera Gesture
(It work with every camera app so maybe you want to try it with Focal, 4.3 Camera .. Have tested only stock 4.2.2 Camera)
How-To :
0.Download the Moto X Camera from here : X Camera(!Optional!)
1. + -> Event -> Sensor -> Shake -> Left-Right
2. Task -> Plug in -> Secure Settings -> Wake Device -> Screen & Keyboard Lights On
3. Task -> App -> Camera
/////////////////////////////////////////////////////////////////
Have you had any luck with variables? I use %MUTED to check mute status and set my LED to solid red. The task works perfectly on my S3, not on my S4 (I9500). Any ideas?
On my S4, %MUTED stays "off". Never goes to "on". Not sure why. On S3, all good.
 
Last edited:

Swedish Meat

Member
Mar 8, 2010
21
2
0
Uppsala
Really great app. I have just started to explore it's capabilities. Perfect for bluetooth connection with my car when in dock. Before it connected randomly to my car from the house if I forgot to turn off bluetooth.
 

ryanw5489

Senior Member
Feb 6, 2012
475
22
0
This probably isn't the place to ask this but I have been using tasker for a while and recently just installed safestrap but for some reason my phone has been acting up. Such as it changes my keyboard back to the original keyboard also it turns tasker off I have to go into the app to turn it back on!

Sent from my SCH-I545 using XDA Free mobile app
 

cresch07

Senior Member
Apr 3, 2012
175
26
0
Pueblo
Profile Questions

Ok So I hope I'm posting this in the right place. I am wanting Tasker to do 2 main things for me.
1. I want to be able to say "Mute" to set all volumes to mute, regardless of whether or not the screen is on or off, and regardless of whether or not I have music playing. (Example: I'm at work at the desk and the boss comes around, I can say "mute" to stop audio without reaching for the device.) Also, is it possible to do this without having to say "Ok google" first?
2. I want to be able to lower CPU Frequency to 500mhz, 3G and 4G disabled, and battery saver turned on automatically if these three conditions are all met:
1. Screen off.
2. Device is plugged in.
3. No Music is playing.

PS: OpenMIC doesn't seem to like my phone, and the "Listen for ambient noise" option in Autovoice completely disabled my voice commands.

SGH-T999
Liquid Smooth 5.0.2 Lollipop ROM
BSM Overclock Kernel
Tasker, Autolaunch, and Autovoice installed.

Anyone able to walk me through this, or point me in the right direction?
 
Last edited:

dr.wtf

Senior Member
Dec 25, 2011
970
198
0
i found a way to take selfies of myself in complete darkness. and this is pretty stupid:

make a white overlay (for example) at the top of your screen after increasing brightness to max. you can toggle the overlay on/off with a button you put on top of your camera app. you won't see a part of your screen but it still works pretty good. the screen produces enough light to make pics which are not too bad considered the situation. the overlay takes about a third of my screen.
 

KaszasM

Senior Member
Nov 8, 2013
1,186
559
143
Buttenheim
Ok So I hope I'm posting this in the right place. I am wanting Tasker to do 2 main things for me.
1. I want to be able to say "Mute" to set all volumes to mute, regardless of whether or not the screen is on or off, and regardless of whether or not I have music playing. (Example: I'm at work at the desk and the boss comes around, I can say "mute" to stop audio without reaching for the device.) Also, is it possible to do this without having to say "Ok google" first?
2. I want to be able to lower CPU Frequency to 500mhz, 3G and 4G disabled, and battery saver turned on automatically if these three conditions are all met:
1. Screen off.
2. Device is plugged in.
3. No Music is playing.

PS: OpenMIC doesn't seem to like my phone, and the "Listen for ambient noise" option in Autovoice completely disabled my voice commands.

SGH-T999
Liquid Smooth 5.0.2 Lollipop ROM
BSM Overclock Kernel
Tasker, Autolaunch, and Autovoice installed.

Anyone able to walk me through this, or point me in the right direction?
i would use continus mode in autovoice then you dont need triggerword /use REGEX to get it work for sure like: mut.*
use wifi near condition if you dont have pass to your workplace net and that should/can trigger continous mode in autovoice/tasker too exit task is continus mode off
leave your cpu as it is ,useless your kernel integrented setup is more clever as your"manual "setup is it dosnt needs/uses resources Mhz gonna go down anyway /if it dosent put some kill app or pause intent in your task/if screen off and you dont play music blabla... its gonna run on minimum MHZ anyway
1 more thing : maybe you need flash screen to de/activate "some task" can find tutorial to that on autoapps site

-"2. I want to be able to lower CPU Frequency to 500mhz, 3G and 4G disabled, and battery saver turned on automatically if these three conditions are all met:"
if your cpu is running on higher freqv. as 500 with no app use!! change rom or kernel , thats a joke

BATTERY SAVER? LOL whats that ? changes nothing except thing what u can setup manually too.... so make tasks in your new work profile for those settings
 
Last edited:

Shah Vacations

New member
Feb 18, 2015
4
0
0
Talking notifications

Any requests ?

Sent from my GT-I9505 using xda app-developers app

Hi... You're doing great work... Keep it up.

I'll be greatful if you can help me with 2 issues?

1) I would love to have a talking clock... i.e it just speaks the time every hour... like say... 11 am, 12 pm etc
2)I want it to speak out my notifications.. Like say... John calling... Whatsapp message from John-where are you? read my every single notification.

I hope i'm clear in my explanation... Looking forward for your reply soon... Thanks.
 

KaszasM

Senior Member
Nov 8, 2013
1,186
559
143
Buttenheim
Hi... You're doing great work... Keep it up.

I'll be greatful if you can help me with 2 issues?

1) I would love to have a talking clock... i.e it just speaks the time every hour... like say... 11 am, 12 pm etc
2)I want it to speak out my notifications.. Like say... John calling... Whatsapp message from John-where are you? read my every single notification.

I hope i'm clear in my explanation... Looking forward for your reply soon... Thanks.
if i remember well you cant capture whatsapp message only with tasker ,but this is my old profile made that for 1 year about can use that to understand whats happening thats why the txt file /to chck what is in there ,you need to learn how to use tasker there are millions of tutorials on youtube either mate
SO this 1 is gonna read only the name how sent message by whatsapp , and ask if you want to hear it or not or answer it(but thats a another profile/task )but worked for every other app name ,and message:
oh yes and profile is event -ui-notifications -

A1: Write File [ File:Tasker/whatsapp.txt Text:%NTITLE Append:eek:ff Add Newline:eek:n ]
A2: Write File [ File:Tasker/whatsapp.txt Text:%NTEXT Append:eek:n Add Newline:eek:n ]
A3: Read Line [ File:Tasker/whatsapp.txt Line:1 To Var:%sender ]
A4: Read Line [ File:Tasker/whatsapp.txt Line:2 To Var:%msg ]
A5: Variable Clear [ Name:%NTITLE Pattern Matching:eek:ff ]
A6: Variable Clear [ Name:%NTEXT Pattern Matching:eek:ff ]
A7: Say [ Text:Message from %sender : do you wont to listen say yes or no Engine:Voice:com.svox.classic:deu-DEU-Petra Stream:3 Pitch:5 Speed:4 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:ff ]
A8: Get Voice [ Title:Yes Or No Language Model:Free Form Maximum Results:1 Timeout (Seconds):30 ]
A9: If [ %VOICE ~ *yes* ]
A10: Say [ Text:%uzenet Engine:Voice:com.svox.classic:deu-DEU-Petra Stream:3 Pitch:5 Speed:5 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:ff ]
A11: End If
A12: Say [ Text:eek:kay forget it Engine:Voice:com.svox.classic:deu-DEU-Petra Stream:3 Pitch:5 Speed:5 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:ff ] If [ %VOICE ~ *no* ]
A13: Variable Clear [ Name:%sender Pattern Matching:eek:ff ]
A14: Variable Clear [ Name:%msg Pattern Matching:eek:ff ]
A15: Variable Clear [ Name:%answer Pattern Matching:eek:ff ]
A16: Stop [ With Error:eek:ff Task: ]


and this is my new profile ,is asking also if i want to hear it or not ,and if i wont to answer it or not and sending answer automaticly too .but with autonotification/<---is a must have for that / and autovoice /just repleaced tasker voice,more function and i need those for correct my spelling on hungarian/ you need to buy those from playstore,but as i sad i think only whatsapp is where i couldnt capture the message part ,worked for viber and by other apps without autoapps too



A1: Variable Set [ Name:%promt To:say "answer" or "refuse" Do Maths:eek:ff Append:eek:ff ]
A2: Say [ Text:you got a new message from %antitle. %antext. %promt Engine:Voice:com.svox.classic:hun-HUN-Mariska Stream:3 Pitch:5 Speed:5 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:ff ]
A3: AutoVoice Recognize [ Configuration:Hide Dialog: true

Prompt Text: %promt
Voice command without headset
Command: "all" Package:com.joaomgcd.autovoice Name:AutoVoice Recognize Timeout (Seconds):120 ]
A4: If [ %avcomm ~ *answer* ]
A5: AutoNotification Actions [ Configuration:Intercept Action ID: %antouchaction Package:com.joaomgcd.autonotification Name:AutoNotification Actions Timeout (Seconds):0 ]
A6: Variable Set [ Name:%promt To:What do you want to answer? Do Maths:eek:ff Append:eek:ff ]
A7: Say [ Text:%promt Engine:Voice:com.svox.classic:hun-HUN-Mariska Stream:3 Pitch:5 Speed:5 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:ff ]
A8: AutoVoice Recognize [ Configuration:Hide Dialog: true

Prompt Text: %promt
Voice command without headset
Command: "all" Package:com.joaomgcd.autovoice Name:AutoVoice Recognize Timeout (Seconds):120 ]
A9: Set Clipboard [ Text:%avcomm Add:eek:ff ]
A10: AutoInput Action [ Configuration:Type: Focus
Action : Paste Package:com.joaomgcd.autoinput Name:AutoInput Action Timeout (Seconds):20 ]
A11: AutoInput Action [ Configuration:Type: Id
Value: com.whatsapp:id/send
Action : Click Package:com.joaomgcd.autoinput Name:AutoInput Action Timeout (Seconds):20 ]
A12: Say [ Text:Answer sent Engine:Voice:com.svox.classic:hun-HUN-Mariska Stream:3 Pitch:5 Speed:5 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:ff ]
A13: AutoInput Global Action [ Configuration:Action: Back Package:com.joaomgcd.autoinput Name:AutoInput Global Action Timeout (Seconds):20 ]
A14: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A15: AutoInput Global Action [ Configuration:Action: Back Package:com.joaomgcd.autoinput Name:AutoInput Global Action Timeout (Seconds):20 ]
A16: Else If [ %avcomm ~ *refuse* ]
A17: AutoNotification Cancel [ Configuration:eek:ther Id: %anid
Package: %anpackage
Tag: %antag Package:com.joaomgcd.autonotification Name:AutoNotification Cancel Timeout (Seconds):0 ]
A18: Say [ Text:Refused Engine:Voice:com.svox.classic:hun-HUN-Mariska Stream:3 Pitch:5 Speed:5 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:ff ]
A19: End If
A20: Stop [ With Error:eek:ff Task: ]


can chck that sorry but its hungarian imade it for some freands as intro XD
https://www.youtube.com/watch?v=HZxUPBnV8VA&index=1&list=UUv-gdP9bPyhs6EilxLx-Q8A <---jsut a youtube search with variable
https://www.youtube.com/watch?v=Twl5mYg-LuY&index=2&list=UUv-gdP9bPyhs6EilxLx-Q8A <---voice call ,auto answer whatsapp
i make a new 1 soon with remote controll -devices and smarthome automatic

PS: srry i just edited both from hungarian fast so if you find something what you cant understand its my fault im in run atm XD
 
Last edited:

theman1111

Senior Member
Mar 17, 2014
291
40
0
Here's my setup for inspiration... Few of the tasks are complicated to make, but feel free to ask for any of them.

Describing them makes most sense if I describe my typical day.

Waking up in the morning is never the same time for me. I have chosen not to automate changing my night profile to day/home profile. So I do that by either using my NFC tag on the night stand, or by using a widget.

When I walk the dog, Tasker senses that I'm not near my Home wifi... So it changes to my OUT profile where sound is high, GPS is on and wifi is off.

Every 15 minutes it turns on wifi to check where I am. If it is not connected within 15 sekunds it turns off again.

So when I get home, profile changes to home profile again.

Where leaving for work, I get in my car, where my other NFC tag is. I have set that to only turn on bluetooth. I have another task starting when bluetooth is connected to my car, where it starts up my Car Dock app, turns on GPS, and set brightness to Max.

Leaving my car again, it senses that bluetooth is disconnected from the car. This turns on wifi for 5 minutes, letting it find the wifi network at work, where it enters work profile without sound, GPS and wifi.

I have bluetooth setup so if it is not connected for 3 minutes it turns of it self.

Leaving work is the same. NFC in car, leaving turns on wifi letting it know I'm home.



Sent from my Slimbean GT-I9505 using Tapatalk 4
How would you make WiFi turn off automatically if it doesn't connect just like you state here...
"Every 15 minutes it turns on wifi to check where I am. If it is not connected within 15 sekunds it turns off again. "
 

NinjaOne

Senior Member
May 1, 2011
347
93
0
Aalborg
How would you make WiFi turn off automatically if it doesn't connect just like you state here...
"Every 15 minutes it turns on wifi to check where I am. If it is not connected within 15 sekunds it turns off again. "
Wow. That was an old post. But I still use the task.
Here's how it looks