[TASK] Talking Clock - Tasker Tips & Tricks

Glad to write you a new thread XDA Tasker's!
This time I bring you some task(s) for speaking clock.
As the original (complete) developed task was "Talking Clock 1", I decided to "break it down" into other tasks for you to choose the one that best suits your likes or needs. And also include the formal and informal ways.
TASKS (x5)
Formal
Code:
[COLOR="Blue"]Talking Clock 1 (12h)[/COLOR]
[U]A1[/U]: Variable Set [ Name:%time To:%TIME Do Maths : Off Append : Off ]
[U]A2[/U]: Variable Split [ Name:%time Splitter:. Delete Base : Off ]
[U]A3[/U]: Variable Set [ Name:%time1 To:%time1/1 Do Maths : On Append : Off ]
[U]A4[/U]: Variable Set [ Name:%time2 To:%time2/1 Do Maths : On Append : Off ]
[U]A5[/U]: Variable Set [ Name:%zzz To:in the early morning Do Maths : Off Append : Off ] If [ %time1 < 5 ]
[U]A6[/U]: Variable Set [ Name:%zzz To:in the morning Do Maths : Off Append : Off ] If [ %time1 > 4 & %time1 < 13 ]
[U]A7[/U]: Variable Set [ Name:%zzz To:in the afternoon Do Maths : Off Append : Off ] If [ %time1 > 12 & %time1 < 21 ]
[U]A8[/U]: Variable Set [ Name:%zzz To:at night Do Maths : Off Append : Off ] If [ %time1 > 20 ]
[U]A9[/U]: Variable Set [ Name:%time1 To:%time1-12 Do Maths : On Append : Off ] If [ %time1 > 12 ]
[U]A10[/U]: If [ %time2 = 0 ]
[U]A11[/U]: Say [ Text:It's %time1 sharp %zzz Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus : On Network : Off Continue Task Immediately : Off ]
[U]A12[/U]: Stop [ With Error : Off Task: ]
[U]A13[/U]: End If
[U]A14[/U]: If [ %time2 < 30 ]
[U]A15[/U]: Variable Set [ Name:%time1 To:12 Do Maths : Off Append : Off ] If [ %time1 = 0 ]
[U]A16[/U]: Variable Set [ Name:%time2 To:quarter Do Maths : Off Append : Off ] If [ %time2 = 15 ]
[U]A17[/U]: Say [ Text:It's %time2 past %time1 %zzz Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus : On Network : Off Continue Task Immediately : Off ]
[U]A18[/U]: Stop [ With Error : Off Task: ]
[U]A19[/U]: End If
[U]A20[/U]: Say [ Text:It's half past %time1 %zzz Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus : On Network : Off Continue Task Immediately : Off ] If [ %time2 = 30 ]
[U]A21[/U]: If [ %time2 > 30 ]
[U]A22[/U]: Variable Set [ Name:%time1 To:%time1+1 Do Maths : On Append :eek:ff ]
[U]A23[/U]: Variable Set [ Name:%time2 To:60-%time2 Do Maths : On Append : Off ] If [ %time2 != 45 ]
[U]A24[/U]: Variable Set [ Name:%time2 To:quarter Do Maths : Off Append : Off ] If [ %time2 = 45 ]
[U]A25[/U]: Say [ Text:It's %time2 to %time1 %zzz Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus : On Network : Off Continue Task Immediately : Off ]
[U]A26[/U]: Stop [ With Error: Off Task: ]
[U]A27[/U]: End If
[COLOR="Blue"]Talking Clock 2 (24h)[/COLOR]
[U]A1[/U]: Variable Set [ Name:%time To:%TIME Do Maths : Off Append : Off ]
[U]A2[/U]: Variable Split [ Name:%time Splitter:. Delete Base : Off ]
[U]A3[/U]: Variable Set [ Name:%time1 To:%time1/1 Do Maths : On Append : Off ]
[U]A4[/U]: Variable Set [ Name:%time2 To:%time2/1 Do Maths : On Append : Off ]
[U]A5[/U]: Variable Set [ Name:%zzz To:am Do Maths : Off Append : Off ] If [ %time1 < 12 ]
[U]A6[/U]: Variable Set [ Name:%zzz To:pm Do Maths : Off Append : Off ] If [ %time1 > 11 ]
[U]A7[/U]: Variable Set [ Name:%time1 To:%time1-12 Do Maths : On Append : Off ] If [ %time1 > 12 ]
[U]A8[/U]: If [ %time2 = 0 ]
[U]A9[/U]: Say [ Text:It's %time1 sharp %zzz Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus : On Network : Off Continue Task Immediately : Off ]
[U]A10[/U]: Stop [ With Error : Off Task: ]
[U]A11[/U]: End If
[U]A12[/U]: If [ %time2 < 30 ]
[U]A13[/U]: Variable Set [ Name:%time1 To:12 Do Maths : Off Append : Off ] If [ %time1 = 0 ]
[U]A14[/U]: Variable Set [ Name:%time2 To:quarter Do Maths :eek:ff Append: : Off ] If [ %time2 = 15 ]
[U]A15[/U]: Say [ Text:It's %time2 past %time1 %zzz Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus : On Network : Off Continue Task Immediately : Off ]
[U]A16[/U]: Stop [ With Error : Off Task: ]
[U]A17[/U]: End If
[U]A18[/U]: Say [ Text:It's half past %time1 %zzz Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus : On Network : Off Continue Task Immediately : Off ] If [ %time2 = 30 ]
[U]A19[/U]: If [ %time2 > 30 ]
[U]A20[/U]: Variable Set [ Name:%time1 To:%time1+1 Do Maths : On Append : Off ]
[U]A21[/U]: Variable Set [ Name:%time2 To:60-%time2 Do Maths : On Append : Off ] If [ %time2 != 45 ]
[U]A22[/U]: Variable Set [ Name:%time2 To:quarter Do Maths : Off Append : Off ] If [ %time2 = 45 ]
[U]A23[/U]: Say [ Text:It's %time2 to %time1 %zzz Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus : On Network : Off Continue Task Immediately : Off ]
[U]A24[/U]: Stop [ With Error : Off Task: ]
[U]A25[/U]: End If
[COLOR="Blue"]Talking Clock 3 (24h)[/COLOR]
[U]A1[/U]: Variable Set [ Name:%time To:%TIME Do Maths : Off Append : Off ]
[U]A2[/U]: Variable Split [ Name:%time Splitter:. Delete Base : Off ]
[U]A3[/U]: Variable Set [ Name:%time1 To:%time1/1 Do Maths : On Append : Off ]
[U]A4[/U]: Variable Set [ Name:%time2 To:%time2/1 Do Maths : On Append : Off ]
[U]A5[/U]: If [ %time2 = 0 ]
[U]A6[/U]: Say [ Text:It's %time1 sharp Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus : On Network : Off Continue Task Immediately : Off ]
[U]A7[/U]: Stop [ With Error : Off Task: ]
[U]A8[/U]: End If
[U]A9[/U]: If [ %time2 < 30 ]
[U]A10[/U]: Variable Set [ Name:%time1 To:12 Do Maths : Off Append : Off ] If [ %time1 = 0 ]
[U]A11[/U]: Variable Set [ Name:%time2 To:quarter Do Maths : Off Append : Off ] If [ %time2 = 15 ]
[U]A12[/U]: Say [ Text:It's %time2 past %time1 Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus : On Network : Off Continue Task Immediately : Off ]
[U]A13[/U]: Stop [ With Error : Off Task: ]
[U]A14[/U]: End If
[U]A15[/U]: Say [ Text:It's half past %time1 Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus : On Network : Off Continue Task Immediately : Off ] If [ %time2 = 30 ]
[U]A16[/U]: If [ %time2 > 30 ]
[U]A17[/U]: Variable Set [ Name:%time1 To:%time1+1 Do Maths : On Append : Off ]
[U]A18[/U]: Variable Set [ Name:%time2 To:60-%time2 Do Maths : On Append : Off ] If [ %time2 != 45 ]
[U]A19[/U]: Variable Set [ Name:%time2 To:quarter Do Maths : Off Append : Off ] If [ %time2 = 45 ]
[U]A20[/U]: Say [ Text:It's %time2 to %time1 Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus : On Network : Off Continue Task Immediately : Off ]
[U]A21[/U]: Stop [ With Error : Off Task: ]
[U]A22[/U]: End If
Informal
Code:
[COLOR="Blue"]Talking Clock 4 (12h)[/COLOR]
[U]A1[/U]: Variable Set [ Name:%time To:%TIME Do Maths : Off Append : Off ]
[U]A2[/U]: Variable Split [ Name:%time Splitter:. Delete Base : Off ]
[U]A3[/U]: Variable Set [ Name:%time1 To:%time1/1 Do Maths : On Append : Off ]
[U]A4[/U]: Variable Set [ Name:%time2 To:%time2/1 Do Maths : On Append : Off ]
[U]A5[/U]: Variable Set [ Name:%zzz To:in the early morning Do Maths : Off Append : Off ] If [ %time1 < 5 ]
[U]A6[/U]: Variable Set [ Name:%zzz To:in the morning Do Maths : Off Append : Off ] If [ %time1 > 4 & %time1 < 13 ]
[U]A7[/U]: Variable Set [ Name:%zzz To:in the afternoon Do Maths : Off Append : Off ] If [ %time1 > 12 & %time1 < 21 ]
[U]A8[/U]: Variable Set [ Name:%zzz To:at night Do Maths : Off Append : Off ] If [ %time1 > 20 ]
[U]A9[/U]: Variable Set [ Name:%time1 To:%time1-12 Do Maths : On Append : Off ] If [ %time1 > 12 ]
[U]A10[/U]: Say [ Text:It's %time1 o'clock %zzz Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus : On Network : Off Continue Task Immediately : Off ] If [ %time2 = 0 ]
[U]A11[/U]: Say [ Text:It's %time1:%time2 %zzz Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus : On Network : Off Continue Task Immediately : Off ]
[COLOR="Blue"]Talking Clock 5 (24h)[/COLOR]
[U]A1[/U]: Variable Set [ Name:%time To:%TIME Do Maths: Off Append : Off ]
[U]A2[/U]: Variable Split [ Name:%time Splitter:. Delete Base : Off ]
[U]A3[/U]: Variable Set [ Name:%time1 To:%time1/1 Do Maths : On Append : Off ]
[U]A4[/U]: Variable Set [ Name:%time2 To:%time2/1 Do Maths : On Append : Off ]
[U]A5[/U]: Say [ Text:It's %time1 o'clock Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus : On Network : Off Continue Task Immediately : Off ] If [ %time2 = 0 ]
[U]A6[/U]: Say [ Text:It's %time1:%time2 Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus : On Network : Off Continue Task Immediately : Off ]
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _​
ABOUT THE TASK
· There are available two ways by you can import the task(s). One is by just importing it using the file on "projects" folder, it will import the whole task(s) at once; the other, by importing it "part-by-part". The 'Files' folder (if included) have to be ALWAYS copied to Tasker directory.
· I recommend to everyone to install a diferent TTS engine than the original build-in one like: IVONA TTS, Vocalizer. . .
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _​
My Tasker PROJECTS & TASKS
--> [PROJECT] Android TTS Assistant (interactive & multilingual)
--> [PROJECT] Anti-Theft System
--> [PROJECT] Automate all your backup tasks
--> [PROJECT] Call Recorder
--> [PROJECT] High temperature warning device
--> [TASK] Auto-Switch Keyboard(s)
Tasker Chat Groups
--> Tasker on WhatsApp
--> Tasker on Telegram
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
If you liked the task. . .
. . . and you decide to invite me to a coffee, I would be very greatful to you ;P
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Account: [email protected]

Now you can import projects/tasks with just one step: read the section 'ABOUT THE PROJECT'.

NEW VERSION --> Talking Clock v1.1
Changelog
- Fixed several important hour formats pronunciaton on all tasks

Very cool set of talking clocks! Nice work. I Have a similar concept of talking clock which says "Good Morning, Afternoon, or Evening", with the time, depending on the time of day.
The profile is set to announce time hourly between 9am and midnight. I use Cereproc's "William tts British Male" voice for that "JARVIS" sound.
Any installed tts voice can be used. I pieced the clock together from various sources and the addition of the "Morning, Afternoon, Evening" greeting was my own contribution.
I love how one of your versions says 1:32 am as "it's 28 till 2 in the early morning."
Very nice touch!
Hopefully My profile uploads ok. I shared it once on a reddit tasker thread so it can be found there too.
Enjoy, and thanks a lot for sharing YOUR really cool clocks!
The Jackal's "MARK"

Related

[GUIDE][UPDATE] OKAY Google Send Whatsapp Message & Whatsapp Handsfree

--------------------------------------------------------​
OKAY Google Send Whatsapp Message​--------------------------------------------------------
Video is outdated​
--------------------------------------------------------
What It Does
--------------------------------------------------------
*at any point you can say stop to stop the task
1) say ''okay google'' to activate google voice
2) say ''send'' or ''send whatsapp message'' (key word here is ''SEND", as long as the word send is there in your command the task will be triggered)
3) tasker will ask you ''whom do you want to send?'' just say whom ever you want to send.
4) tasker will ask you ''is this the person?'' say 'yes' to continue or 'no' to say the name again.
5) tasker will ask you "what do you want to send?'' say what ever your message is.
6) tasker will repeat your message, and asks you if you want to send or repeat, say send to send the message or repeat to say your message again.
7) tasker will say message sent and your done,...
--------------------------------------------------------
Things You Need
--------------------------------------------------------
1) Rooted Android Phone
2) Tasker
3) Autovoice
4) Whatsapp (any application can be used if u know how to modify the tasks)
--------------------------------------------------------
Tasker Profile
--------------------------------------------------------
Code:
Profile: Whatsapp Send (16)
Event: AutoVoice Recognized [ Configuration:Command: "send" ]
Enter: Whatsapp Send (12)
A1: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A2: Say [ Text:Whom do u want to send? Engine:Voice:default:default Stream:1 Pitch:5 Speed:5 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:ff ]
A3: Flash [ Text:Whom do u want to send? Long:eek:ff ]
A4: AutoVoice Recognize [ Configuration:Voice command without headset Command: "all" Package:com.joaomgcd.autovoice Name:AutoVoice Recognize Timeout (Seconds):120 ]
A5: Stop [ With Error:eek:ff Task:Whatsapp Send ] If [ %avcomm ~ *stop* ]
A6: Variable Set [ Name:%name To:%avcomm Do Maths:eek:ff Append:eek:ff ]
A7: Send Intent [ Action:android.intent.action.SEND Cat:None Mime Type:text/plain Data: Extra:android.intent.extra.TEXT: %msg Extra: Package:com.whatsapp Class: Target:Activity ]
A8: Dpad [ Button:Right Repeat Times:3 ]
A9: Type [ Text:%name Repeat Times:1 ]
A10: Say [ Text:Is this the person Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:ff ]
A11: Flash [ Text:Is this the person? Long:eek:ff ]
A12: AutoVoice Recognize [ Configuration:Voice command without headset Command: "all" Package:com.joaomgcd.autovoice Name:AutoVoice Recognize Timeout (Seconds):120 ]
A13: Stop [ With Error:eek:ff Task:Whatsapp Send ] If [ %avcomm ~ *stop* ]
A14: If [ %avcomm ~ *yes* ]
A15: Button [ Button:Back ]
A16: Button [ Button:Back ]
A17: Goto [ Type:Action Number Number:24 Label: ]
A18: Else If [ %avcomm ~ *no* ]
A19: Button [ Button:Back ]
A20: Button [ Button:Back ]
A21: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A22: Goto [ Type:Action Number Number:1 Label: ]
A23: End If
A24: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A25: Say [ Text:What do u want to send? Engine:Voice:default:default Stream:1 Pitch:5 Speed:5 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:ff ]
A26: Flash [ Text:What do u want to send? Long:eek:ff ]
A27: AutoVoice Recognize [ Configuration:Voice command without headset Command: "all" Package:com.joaomgcd.autovoice Name:AutoVoice Recognize Timeout (Seconds):120 ]
A28: Stop [ With Error:eek:ff Task:Whatsapp Send ] If [ %avcomm ~ *stop* ]
A29: Variable Set [ Name:%msg To:%avcomm Do Maths:eek:ff Append:eek:ff ]
A30: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A31: Say [ Text:Your message %msg. Do you want to send or repeat? Engine:Voice:default:default Stream:1 Pitch:5 Speed:5 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:ff ]
A32: AutoVoice Recognize [ Configuration:Voice command without headset Command: "all" Package:com.joaomgcd.autovoice Name:AutoVoice Recognize Timeout (Seconds):120 ]
A33: Stop [ With Error:eek:ff Task:Whatsapp Send ] If [ %avcomm ~ *stop* ]
A34: If [ %avcomm ~ *send* ]
A35: Goto [ Type:Action Number Number:39 Label: ]
A36: Else If [ %avcomm ~ *repeat* ]
A37: Goto [ Type:Action Number Number:24 Label: ]
A38: End If
A39: Send Intent [ Action:android.intent.action.SEND Cat:None Mime Type:text/plain Data: Extra:android.intent.extra.TEXT: %msg Extra: Package:com.whatsapp Class: Target:Activity ]
A40: Dpad [ Button:Right Repeat Times:3 ]
A41: Type [ Text:%name Repeat Times:1 ]
A42: Dpad [ Button:Press Repeat Times:1 ]
A43: Dpad [ Button:Right Repeat Times:1 ]
A44: Dpad [ Button:Press Repeat Times:1 ]
A45: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A46: Flash [ Text:Message sent!! Long:eek:ff ]
A47: Say [ Text:Message sent!! Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:ff ]
A48: Button [ Button:Back ]
A49: Button [ Button:Back ]
A50: Button [ Button:Back ]
*the input tap points are for nexus 5, if you want to find out yours enable
developer option-->pointer location [x]
--------------------------------------------------------
If you dont want to do it manually, download the profile-->Here
*import the profile in your tasker
--------------------------------------------------------
--------------------------------------------------------​
Whatsapp Drive Mode/Handsfree ​--------------------------------------------------------
Video is uptodate​
--------------------------------------------------------
What It Does
--------------------------------------------------------
*at any point you can say stop to stop the task
1) when ever you get a whatsapp message
2) tasker will informs you that you have a new message along with the sender name
3) tasker will ask you if you if you want it to read the message, say 'yes' to read the message or 'no' to ignore
4) tasker will ask you if you want to reply to the message, say 'yes' to reply or 'no' to ignore
5) tasker will ask you what do you want to send, say your messsage
6) tasker will repeat your message and asks you if want to send the message say 'yes' to send or 'no' to repeat the message
7) tasker will inform you that message sent and your done
--------------------------------------------------------
Things You Need
--------------------------------------------------------
1) Rooted Android Phone
2) Tasker
3) Autovoice
4) AutoNotification
5) Whatsapp (any application can be used if u know how to modify the tasks)
--------------------------------------------------------
Tasker Profile
--------------------------------------------------------
Code:
Profile: Whatsapp Drive Mode (8)
Event: AutoNotification Intercept [ Configuration:Event Behaviour: true
Notification Apps: WhatsApp ]
Enter: Whatsapp Read&Send (4)
A1: Say [ Text:You have a new whatsapp message from %antitle Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:ff ]
A2: Flash [ Text:You have a new whatsapp message from %antitle Long:eek:ff ]
A3: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A4: Say [ Text:Do you want to read the message? Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:ff ]
A5: Flash [ Text:Do you want to read the message? Long:eek:ff ]
A6: AutoVoice Recognize [ Configuration:Voice command without headset Command: "all" Package:com.joaomgcd.autovoice Name:AutoVoice Recognize Timeout (Seconds):120 ]
A7: Stop [ With Error:eek:ff Task:Whatsapp Read&Send ] If [ %avcomm ~ *stop* ]
A8: If [ %avcomm ~ *no* ]
A9: Stop [ With Error:eek:ff Task:Whatsapp Read&Send ]
A10: Else If [ %avcomm ~ *yes* ]
A11: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A12: Say [ Text:%antext Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:ff ]
A13: Flash [ Text:%antext Long:eek:ff ]
A14: End If
A15: Say [ Text:Do you want to reply? Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:ff ]
A16: Flash [ Text:Do you want to reply? Long:eek:ff ]
A17: AutoVoice Recognize [ Configuration:Voice command without headset Command: "all" Package:com.joaomgcd.autovoice Name:AutoVoice Recognize Timeout (Seconds):120 ]
A18: Stop [ With Error:eek:ff Task:Whatsapp Read&Send ] If [ %avcomm ~ *stop* ]
A19: If [ %avcomm ~ *no* ]
A20: Stop [ With Error:eek:ff Task:Whatsapp Read&Send ]
A21: Else If [ %avcomm ~ *yes* ]
A22: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A23: Say [ Text:What do you want to reply? Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:ff ]
A24: Flash [ Text:What do you want to reply? Long:eek:ff ]
A25: AutoVoice Recognize [ Configuration: Voice command without headset Command: "all" Package:com.joaomgcd.autovoice Name:AutoVoice Recognize Timeout (Seconds):120 ]
A26: Stop [ With Error:eek:ff Task:Whatsapp Read&Send ] If [ %avcomm ~ *stop* ]
A27: Variable Set [ Name:%reply To:%avcomm Do Maths:eek:ff Append:eek:ff ]
A28: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A29: Say [ Text:Your message %reply Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:ff ]
A30: Flash [ Text:Your message "%reply" Long:eek:ff ]
A31: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A32: Say [ Text:Do you want to send? Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:ff ]
A33: Flash [ Text:Do you want to send? Long:eek:ff ]
A34: AutoVoice Recognize [ Configuration:Voice command without headset Command: "all" Package:com.joaomgcd.autovoice Name:AutoVoice Recognize Timeout (Seconds):120 ]
A35: Stop [ With Error:eek:ff Task:Whatsapp Read&Send ] If [ %avcomm ~ *stop* ]
A36: If [ %avcomm ~ *no* ]
A37: Goto [ Type:Action Number Number:24 Label: ]
A38: Else If [ %avcomm ~ *yes* ]
A39: Send Intent [ Action:android.intent.action.SEND Cat:None Mime Type:text/plain Data: Extra:android.intent.extra.TEXT: %reply Extra: Package:com.whatsapp Class: Target:Activity ]
A40: Dpad [ Button:Right Repeat Times:3 ]
A41: Type [ Text:%antitle Repeat Times:1 ]
A42: Dpad [ Button:Press Repeat Times:1 ]
A43: Dpad [ Button:Right Repeat Times:1 ]
A44: Dpad [ Button:Press Repeat Times:1 ]
A45: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A46: Say [ Text:Message sent!! Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:ff ]
A47: Flash [ Text:Message sent!! Long:eek:ff ]
A48: Button [ Button:Back ]
A49: Button [ Button:Back ]
A50: Button [ Button:Back ]
A51: End If
A52: End If
--------------------------------------------------------
If you dont want to do it manually, download the profile-->Here
*import the profile in your tasker
--------------------------------------------------------
--------------------------------------------------------
Profile Created Using
--------------------------------------------------------
1) Nexus 5 - 5.0.1
2) Tasker - 4.6u1
3) Autovoice - 2.0.18
4) AutoNotification - 2.1.20
The idea is great
I use it in car as well
much easier with whatstasker, but you need to be rooted
I made a task with autoinput which doesn't require root..
91franz said:
I made a task with autoinput which doesn't require root..
Click to expand...
Click to collapse
i can think of ideas for it,... but too lazy,... but it is possible,.. would u mind sharing,..
this is pretty old profile,...
i used intent call for watsapp and its fast now,... you can find it here not perfect but,... it will do the work,... just gave up,... its not much use for indian accent,...
this profile is not the same as the video,... its completely different,...
will update this guide when i have free time,...
chiragkrishna said:
i can think of ideas for it,... but too lazy,... but it is possible,.. would u mind sharing,..
this is pretty old profile,...
i used intent call for watsapp and its fast now,... you can find it here not perfect but,... it will do the work,... just gave up,... its not much use for indian accent,...
this profile is not the same as the video,... its completely different,...
will update this guide when i have free time,...
Click to expand...
Click to collapse
I don't know how to export in text format.. ?
91franz said:
I don't know how to export in text format..
Click to expand...
Click to collapse
you cant do that my friend,....
here it is,... explanation for the new profile,..
Code:
Profile: Whatsapp Send (16)
Event: AutoVoice Recognized [ Configuration:Command: "send" ]
Enter: Whatsapp Send (12)
A1: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A2: Say [ Text:Whom do u want to send? Engine:Voice:default:default Stream:1 Pitch:5 Speed:5 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:ff ]
A3: Flash [ Text:Whom do u want to send? Long:eek:ff ]
A4: AutoVoice Recognize [ Configuration:
Voice command without headset
Command: "all" Package:com.joaomgcd.autovoice Name:AutoVoice Recognize Timeout (Seconds):120 ]
A5: Stop [ With Error:eek:ff Task:Whatsapp Send ] If [ %avcomm ~ *stop* ]
A6: Variable Set [ Name:%name To:%avcomm Do Maths:eek:ff Append:eek:ff ]
A7: Send Intent [ Action:android.intent.action.SEND Cat:None Mime Type:text/plain Data: Extra:android.intent.extra.TEXT: %msg Extra: Package:com.whatsapp Class: Target:Activity ]
A8: Dpad [ Button:Right Repeat Times:3 ]
A9: Type [ Text:%name Repeat Times:1 ]
A10: Say [ Text:Is this the person Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:ff ]
A11: Flash [ Text:Is this the person? Long:eek:ff ]
A12: AutoVoice Recognize [ Configuration:
Voice command without headset
Command: "all" Package:com.joaomgcd.autovoice Name:AutoVoice Recognize Timeout (Seconds):120 ]
A13: Stop [ With Error:eek:ff Task:Whatsapp Send ] If [ %avcomm ~ *stop* ]
A14: If [ %avcomm ~ *yes* ]
A15: Button [ Button:Back ]
A16: Button [ Button:Back ]
A17: Goto [ Type:Action Number Number:24 Label: ]
A18: Else If [ %avcomm ~ *no* ]
A19: Button [ Button:Back ]
A20: Button [ Button:Back ]
A21: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A22: Goto [ Type:Action Number Number:1 Label: ]
A23: End If
A24: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A25: Say [ Text:What do u want to send? Engine:Voice:default:default Stream:1 Pitch:5 Speed:5 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:ff ]
A26: Flash [ Text:What do u want to send? Long:eek:ff ]
A27: AutoVoice Recognize [ Configuration:
Voice command without headset
Command: "all" Package:com.joaomgcd.autovoice Name:AutoVoice Recognize Timeout (Seconds):120 ]
A28: Stop [ With Error:eek:ff Task:Whatsapp Send ] If [ %avcomm ~ *stop* ]
A29: Variable Set [ Name:%msg To:%avcomm Do Maths:eek:ff Append:eek:ff ]
A30: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A31: Say [ Text:Your message %msg. Do you want to send or repeat? Engine:Voice:default:default Stream:1 Pitch:5 Speed:5 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:ff ]
A32: AutoVoice Recognize [ Configuration:
Voice command without headset
Command: "all" Package:com.joaomgcd.autovoice Name:AutoVoice Recognize Timeout (Seconds):120 ]
A33: Stop [ With Error:eek:ff Task:Whatsapp Send ] If [ %avcomm ~ *stop* ]
A34: If [ %avcomm ~ *send* ]
A35: Goto [ Type:Action Number Number:39 Label: ]
A36: Else If [ %avcomm ~ *repeat* ]
A37: Goto [ Type:Action Number Number:24 Label: ]
A38: End If
A39: Send Intent [ Action:android.intent.action.SEND Cat:None Mime Type:text/plain Data: Extra:android.intent.extra.TEXT: %msg Extra: Package:com.whatsapp Class: Target:Activity ]
A40: Dpad [ Button:Right Repeat Times:3 ]
A41: Type [ Text:%name Repeat Times:1 ]
A42: Dpad [ Button:Press Repeat Times:1 ]
A43: Dpad [ Button:Right Repeat Times:1 ]
A44: Dpad [ Button:Press Repeat Times:1 ]
A45: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A46: Flash [ Text:Message sent!! Long:eek:ff ]
A47: Say [ Text:Message sent!! Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:ff ]
A48: Button [ Button:Back ]
A49: Button [ Button:Back ]
A50: Button [ Button:Back ]
or were u asking for exporting your profile,... (my bad for the last post but u got the explanation right )
just long press ur profile --> then click the 3 dots (top right vertical 3 dots) --> select (description) to explain people how u did it or (XML) to share ur profile
chiragkrishna said:
i can think of ideas for it,... but too lazy,... but it is possible,.. would u mind sharing,..
this is pretty old profile,...
i used intent call for watsapp and its fast now,... you can find it here not perfect but,... it will do the work,... just gave up,... its not much use for indian accent,...
this profile is not the same as the video,... its completely different,...
will update this guide when i have free time,...
Click to expand...
Click to collapse
Hi, I'm really impressed with your old profile. The link to your new profile does not work. Could you re-upload it?
Also, how do I stop the process half way if I decided not to send any messages?
coffee black said:
Hi, I'm really impressed with your old profile. The link to your new profile does not work. Could you re-upload it?
Also, how do I stop the process half way if I decided not to send any messages?
Click to expand...
Click to collapse
In the new profile... You can say stop if you decide not to send...
chiragkrishna said:
i can think of ideas for it,... but too lazy,... but it is possible,.. would u mind sharing,..
this is pretty old profile,...
i used intent call for watsapp and its fast now,... you can find it here not perfect but,... it will do the work,... just gave up,... its not much use for indian accent,...
this profile is not the same as the video,... its completely different,...
will update this guide when i have free time,...
Click to expand...
Click to collapse
chiragkrishna said:
In the new profile... You can say stop if you decide not to send...
Click to expand...
Click to collapse
When I click on the link for your new profile, instead of Whatsapp_Send.prf.xml, the link is for fbhack.rar.
Is it possible to upload the new profile to another file sharing service like mediafire or tusfiles?
This is so 2014 lol
Great!
how to import the profile from user wiki to tasker? I can download but not import ur profile
@chiragkrishna nice work.
Sent from my SM-N9005 using Tapatalk
I have tasker profile made last year that does something similar.
it's much simpler than this one. uses whatstasker plugin. only problem is you'd have to define the contacts in the profile since they are each linked to a whastapp id. it works for me since I only need it for a few people.
*edit, just noticed someone already replied with whatstasker.
jin5 said:
I have tasker profile made last year that does something similar.
it's much simpler than this one. uses whatstasker plugin. only problem is you'd have to define the contacts in the profile since they are each linked to a whastapp id. it works for me since I only need it for a few people.
*edit, just noticed someone already replied with whatstasker.
Click to expand...
Click to collapse
mind to share your profile?
gozzaa said:
mind to share your profile?
Click to expand...
Click to collapse
Profile:Send Whatsapp (38)
Event: AutoVoice Recognized [ Configuration:Command: "Whatsapp" ]
Enter: Whatsapp (39)
A1: Variable Set [ Name:%whatsappcomm To:%avcommnofilter Do Mathsff Appendff ]
A2: Variable Search Replace [ Variable:%whatsappcomm Search:^([\w\-]+) Ignore Caseff Multi-Lineff One Match Onlyff Store Matches In: Replace Matchesn Replace With: ]
A3: If [ %avword2 ~ *JohnSmith* ]
A4: Variable Set [ Name:%whatsappid To:[email protected] Do Mathsff Appendff ]
A5: End If
A6: If [ %avword2 ~ *SteveSmith* ]
A7: Variable Set [ Name:%whatsappid To:[email protected] Do Mathsff Appendff ]
A8: End If
A9: WhatsTasker Send Message [ Configuration:ID: %whatsappid
Message: %whatsappcomm Package:net.zhdev.whatstasker Name:WhatsTasker Send Message Timeout (Seconds):3 Continue Task After Errorn ]
A10: Music Play [ File:/storage/sdcard0/zedge/notification_sound/Bmw_Gong_Gongtone-notification_sound-1524398.mp3 Start:0 Loopff Stream:3 ]
I use this profile when I'm driving. I have another profile that reads my whatsapp messages over bluetooth. Then i'll activate Ok Google, and use keyword "Whatsapp" to initiate this profile followed by the sender name then the message (e.g, "whatsapp johnsmith this is a test"). The whatstasker plugin will only send the message and not the keyword or sendername. It'll play back a tone if message is sent. in this profile I have only defined 2 people but obviously you can define more. if you have a bunch of people you can probably just define them all in an array.
Is it possible to do this for sending texts with Hangouts (through your Google Voice number)?
Rayz321 said:
Is it possible to do this for sending texts with Hangouts (through your Google Voice number)?
Click to expand...
Click to collapse
Yes there is a tutorial for this. Search google for AutoInput hangouts.
Sent from my SM-N9005 using Tapatalk

Save car position

Hi
Is there a way to create a small app (or scene) with
-button to save actual position
-another one for later use - use google maps/any navi to guide me to that point
[optional]
include an menu to save such points, with options to name the points
You should be able to find many examples to do that for you. If you want, I have a tasker that saves the location to my contacts...and another that navigates. You could use as and example to learn from.
Sent from my g928c powered by RiverRom RR5 and SkyHigh 5.7
Sounds great!
dwa4321 said:
Sounds great!
Click to expand...
Click to collapse
Sure, so here's my task to save a location to contacts. I can trigger it with an AutoVoice command or a shortcut icon...the task recognizes which, hence the redundancy.
Code:
LOC Save To Contact (233)
A1: Secure Settings [ Configuration:AutoInput: service.ServiceAccessibility - Enabled Timeout (Seconds):0 ]
A2: Perform Task [ Name:LOC Convert Priority:%priority + 1 Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:eek:ff ]
A3: Send Intent [ Action:android.intent.action.INSERT Cat:None Mime Type: Data:content://com.android.contacts/contacts Extra:postal_type:Navigation Extra:postal:%LocLatLon Extra: Package: Class: Target:Activity ]
A4: AutoInput Action [ Configuration:Type: Id
Value: com.android.contacts:id/add_button_container
Nearby Text: address
Action : Click Timeout (Seconds):20 ]
A5: Set Clipboard [ Text:%LocAddress Add:eek:ff ]
A6: AutoInput Action [ Configuration:Type: Focus
Action : Paste Timeout (Seconds):20 ]
A7: If [ %AVCONTINUOUS !~ true ]
A8: AutoInput Action [ Configuration:Type: Text
Value: name
Action : Focus Timeout (Seconds):20 ]
A9: Else
A10: Set Clipboard [ Text:%avcommnofilter Add:eek:ff ]
A11: AutoInput Action [ Configuration:Type: Text
Value: name
Action : Paste Timeout (Seconds):20 ]
A12: AutoInput Action [ Configuration:Type: Text
Value: save
Action : Click Timeout (Seconds):20 ]
A13: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A14: Run Shell [ Command:input keyevent 4 Timeout (Seconds):0 Use Root:eek:n Store Output In: Store Errors In: Store Result In: ]
A15: End If
A16: Secure Settings [ Configuration:AutoInput: service.ServiceAccessibility - Disabled Timeout (Seconds):0 ]
Here's that nested task "Location Convert":
Code:
LOC Convert (242)
A1: Secure Settings [ Configuration:GPS Enabled Timeout (Seconds):0 ]
A2: Variable Set [ Name:%space To: Do Maths:eek:ff Append:eek:ff ]
A3: Get Location [ Source:Any Timeout (Seconds):100 Continue Task Immediately:eek:ff Keep Tracking:eek:n ]
A4: HTTP Get [ Server:Port:maps.google.com/maps/api/geocode/json?latlng=%LOC&sensor=false Path: Attributes: Cookies: User Agent: Timeout:10 Mime Type:text/xml Output File: Trust Any Certificate:eek:ff ]
A5: Stop Location [ Source:Any ]
A6: Variable Set [ Name:%location To:%HTTPD Do Maths:eek:ff Append:eek:ff ]
A7: Variable Split [ Name:%location Splitter:"formatted_address" Delete Base:eek:ff ]
A8: Variable Split [ Name:%location2 Splitter:"lat" Delete Base:eek:ff ]
A9: Variable Split [ Name:%location21 Splitter:, USA Delete Base:eek:ff ]
A10: Variable Split [ Name:%location211 Splitter:" Delete Base:eek:ff ]
A11: Variable Set [ Name:%LocAddress To:%location2112 Do Maths:eek:ff Append:eek:ff ]
A12: Variable Split [ Name:%location22 Splitter:"lng" Delete Base:eek:ff ]
A13: Variable Split [ Name:%location221 Splitter::%space Delete Base:eek:ff ]
A14: Variable Split [ Name:%location2212 Splitter:, Delete Base:eek:ff ]
A15: Variable Set [ Name:%lat To:%location22121 Do Maths:eek:ff Append:eek:ff ]
A16: Variable Split [ Name:%location222 Splitter::%space Delete Base:eek:ff ]
A17: Variable Split [ Name:%location2222 Splitter:%space Delete Base:eek:ff ]
A18: Variable Set [ Name:%long To:%location22221 Do Maths:eek:ff Append:eek:ff ]
A19: Variable Set [ Name:%LocLatLon To:%lat %long Do Maths:eek:ff Append:eek:ff ]
A20: Variable Split [ Name:%location2112 Splitter:, Delete Base:eek:ff ]
A21: Variable Split [ Name:%location21123 Splitter:%space Delete Base:eek:ff ]
A22: Variable Set [ Name:%LocCity To:%location21122 Do Maths:eek:ff Append:eek:ff ]
A23: Variable Set [ Name:%LocZip To:%location211233 Do Maths:eek:ff Append:eek:ff ]
And here's my navigation task. It will recognize if I've told it to navigate to a specific address, a point of interest, or to one of my contacts.
Code:
Voice Navigation (240)
A1: Variable Set [ Name:%navto To:%avcommnofilter Do Maths:eek:ff Append:eek:ff ]
A2: AutoVoice Continuous [ Configuration:
Stopping continuous voice recognition
Persistent Notification: false Timeout (Seconds):0 ]
A3: Variable Convert [ Name:%navto Function:To Lower Case Store Result In: ]
A4: Variable Search Replace [ Variable:%navto Search:[0-9] Ignore Case:eek:ff Multi-Line:eek:ff One Match Only:eek:ff Store Matches In:%addressdirect Replace Matches:eek:ff Replace With: ]
A5: AutoContacts [ Configuration:Contact Name or Nickname: %navto Timeout (Seconds):1000 Continue Task After Error:eek:n ]
A6: Wait Until [ MS:100 Seconds:0 Minutes:0 Hours:0 Days:0 ] If [ %AVCONTINUOUS ~ false ]
A7: Media Volume [ Level:15 Display:eek:ff Sound:eek:ff ]
A8: If [ %acname Set ]
A9: If [ %acaddresses1 ~ *acadd* ]
A10: For [ Variable:%contact Items:%acaddresses() ]
A11: Array Pop [ Variable:%acaddresses Position:1 To Var: ]
A12: Goto [ Type:Action Label Number:1 Label:Check Contact Address ]
A13: End For
A14: Else
A15: Variable Set [ Name:%destination To:%acaddresses1 Do Maths:eek:ff Append:eek:ff ]
A16: Flash [ Text:Navigating to contact at %acaddresses1 Long:eek:ff ]
A17: Say [ Text:Navigating to %acname at %acaddresses1 Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:n ]
A18: End If
A19: Else If [ %addressdirect1 !Set ]
A20: Perform Task [ Name:LOC Convert Priority:%priority + 1 Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:eek:ff ]
A21: Variable Set [ Name:%destination To:%navto %LocZip Do Maths:eek:ff Append:eek:ff ]
A22: Flash [ Text:Navigating to search result: %destination Long:eek:ff ]
A23: Say [ Text:Navigating to search result: %destination Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:n ]
A24: Else
A25: Variable Set [ Name:%destination To:%navto Do Maths:eek:ff Append:eek:ff ]
A26: Flash [ Text:Navigating to address: %destination Long:eek:ff ]
A27: Say [ Text:Navigating to address: %destination Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:n ]
A28: End If
A29: Variable Set [ Name:%Destination To:%destination Do Maths:eek:ff Append:eek:ff ]
A30: Send Intent [ Action:android.intent.action.VIEW Cat:None Mime Type: Data:google.navigation:q=%destination Extra: Extra: Extra: Package: Class: Target:Activity Continue Task After Error:eek:n ]
Edit: I haven't looked at these tasks in a long time....they could probably be a bit more efficient.
Sent from my g928c powered by RiverRom RR5 and SkyHigh 5.7
thanks! Now I need to search how to import them
What you can do, is create these Tasks:
- GPS: on (you may need to be rooted and/or have "Secure Settings" app installed in order to turn on GPS. Alternative is to do that manually)
- Wait: 30 seconds to give time to get a GPS fix
- Variable Set: set Var %CarLocation to %LOC
- Variable Split: Split %CarLocation by a comma (so you get %CarLocation1 which is the Latitude and %CarLocation2 which is the Longitude)
Now you saved your current GPS position.
To use Google, you can find the Google URL. In Tasker:
- Go to URL: find the correct URL somewhere online
Replace the coordinates of destination by the %CarLocation1 and %CarLocation2 variables.
It depends if you already turned on GPS in another Project or Task, in that case you can skip that step

[PROJECT] High temperature warning device

Hello everyone!
Here I bring you a profile plus it task, responsible to giving us the notice when our device reaches certain temperature.
The task I created analyzes data from three specific areas (thermal sensors) using the hwmon under the 'sys' folder, although it is also possible to read the information from 'thermal_zone' in sys/class/thermal. But this depends on our device, each phone is different. The profile & task bundle also include two scenes for each temperature warning (high and very high).
I've decided to create it because one day while I was playing Kandy Crash [don't judge me ] and I suddenly had to go, me, without realizing or thinking about what I have done, I forgot to close the game and turn off the screen (it was at 100% brightness which after a long time can become quite hot, increasing the overall device temperature a little faster), and if that was not enough, I left the smartphone under my coat. Well, after a while, about 10 minutes, I arrive, pick up the phone and OH MY GOD! It burned when I grabbed it.
Never before had this temperture, so I guess the temp will be exceeded in 75°C or 80°C at CPU, and 55°C in motherboard (I have tested it). While on the other hand, I wanted a profile that will alert me when the temperture is high but within some limits.
Before continuing, I have a doubt on the information provided by each temperature sensor.
To specify the temperature readings I use the files that I think are correct, although two of them I get into a mess and I'm not sure if I have selected the correct file to interpret data or not. Them are the 'bms' and 'tsens_tz_sensor1' sensors. With the first one guess I'm getting temperature reading of the device, but the strange thing is that it always is the same as the battery one. (at least on my device)
And on the other hand, hope I'm receiving the cpu information reading itself, instead of each core separately, which is what I don't want. Although if I wanted to get the temperature of the CPU also could get the temp of each core (4 in my case), then calculate the data of the CPU total temp doing the arithmetic calc. But that is not what I want. But if there is no other way...
PROFILES (x1)
Code:
[COLOR="Blue"]Battery Temperature[/COLOR]
[U]State[/U]: Battery Temperature [ From:40.0 To:200.0 ]
[U]Time[/U]: Every 5m
TASKS (x1)
Code:
[COLOR="Blue"]Device Temperature[/COLOR]
[U]A1[/U]: Show Scene [ Name:Temperature 2 Display As:Dialog, Dim Behind Horizontal Position:100 Vertical Position:92 Animation:System Show Exit Button : Off Continue Task Immediately : On ]
[U]A2[/U]: Read File [ File:/sys/class/hwmon/hwmon2/temp1_input To Var:%cpureadfile Continue Task After Error : On ]
[U]A3[/U]: Read File [ File:/sys/class/hwmon/hwmon7/temp1_input To Var:%bmsreadfile Continue Task After Error : On ]
[U]A4[/U]: Read File [ File:/sys/class/hwmon/hwmon8/temp1_input To Var:%battreadfile Continue Task After Error : On ]
[U]A5[/U]: Variable Section [ Name:%bmsreadfile From:1 Length:2 Adapt To Fit : Off Store Result In: ]
[U]A6[/U]: Variable Section [ Name:%battreadfile From:1 Length:3 Adapt To Fit : Off Store Result In: ]
[U]A7[/U]: If [ %cpureadfile > 75 | %bmsreadfile > 45 | %battreadfile > 425 ]
[U]A8[/U]: Show Scene [ Name:Temperature 1 Display As:Dialog, Dim Behind Horizontal Position:100 Vertical Position:92 Animation:System Show Exit Button : Off Continue Task Immediately : On ]
[U]A9[/U]: If [ %SILENT !~ vibrate/on & %INTERRUPT !~ none/priority ]
[U]A10[/U]: Variable Set [ Name:%volmultimedia To:%VOLM Do Maths:eek:ff Append : Off ]
[U]A11[/U]: Media Volume [ Level:15 Display : Off Sound : Off ]
[U]A12[/U]: Say [ Text:The device temperature is high, but does not represent significant damage. Proceed with caution. Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus : On Network : Off Continue Task Immediately : Off ]
[U]A13[/U]: Media Volume [ Level:%volmultimedia Display : Off Sound : Off ]
[U]A14[/U]: End If
[U]A15[/U]: End If
[U]A16[/U]: If [ %cpureadfile > 82 | %bmsreadfile > 50 | %battreadfile > 475 ]
[U]A17[/U]: Show Scene [ Name:Temperature 2 Display As:Dialog, Dim Behind Horizontal Position:100 Vertical Position:92 Animation:System Show Exit Button : Off Continue Task Immediately : On ]
[U]A18[/U]: If [ %SILENT !~ vibrate/on & %INTERRUPT !~ none/priority ]
[U]A19[/U]: Variable Set [ Name:%volmultimedia To:%VOLM Do Maths : Off Append : Off ]
[U]A20[/U]: Media Volume [ Level:15 Display : Off Sound : Off ]
[U]A21[/U]: Say [ Text:The device temperature is too high. It will automatically shutdown in 15 seconds. Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus : On Network : Off Continue Task Immediately : Off ]
[U]A22[/U]: Media Volume [ Level:%volmultimedia Display : Off Sound : Off ]
[U]A23[/U]: End If
[U]A24[/U]: Wait [ MS:0 Seconds:15 Minutes:0 Hours:0 Days:0 ]
[U]A25[/U]: Secure Settings [ Configuration:Shutdown Timeout (Seconds):0 ]
[U]A26[/U]: End If
SCENES (x2)
Code:
[B]Temperature 1[/B]
-----------------------------------------------
[COLOR="Blue"]Accept Button[/COLOR]
[U]A1[/U]: Destroy Scene [ Name:Temperature 1 ]
[B]Temperature 2[/B]
-----------------------------------------------
[COLOR="Blue"]Accept Button[/COLOR]
[U]A1[/U]: Destroy Scene [ Name:Temperature 2 ]
SCREENSHOTS
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _​
ABOUT THE PROJECT
· There are available two ways by you can import the project (profiles, tasks, scenes). One is by just importing it using the file on "projects" folder, it will import the whole project at once; the other, by importing it "part-by-part". The 'Files' folder (if included) have to be ALWAYS copied to Tasker directory.
· All scenes are adjusted to work on 1280x720 device (LG K10). You'll have to resize them to fit it on yours.
· Almost all devices have an 'offset' in its thermal control files (thermal-engine-XXXX.conf or other) responsible for actions like: lowering the frequency of the CPU and/or GPU, changing the screen brightness, etc, to try to lower the temperature when some of these areas reaches the set value. So, as I have changed the paramaters on there, means that the device won't never lower its temperature automatically, and I have made this task for that. Be warned by my device if it reaches a certain temperature. And just for clarify: why did you edited the thermal-zone file? = I don't want the CPU, GPU and display brightness get slower/lower never, so I have made it to have the maximum performance all the time.
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _​
My Tasker PROJECTS & TASKS
--> [PROJECT] Android TTS Assistant (interactive & multilingual)
--> [PROJECT] Anti-Theft System
--> [PROJECT] Automate all your backup tasks
--> [PROJECT] Call Recorder
--> [TASK] Auto-Switch Keyboard(s)
--> [TASK] Talking Clock
Tasker Chat Groups
--> Tasker on WhatsApp
--> Tasker on Telegram
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
If you liked the project. . .
. . . and you decide to invite me to a coffee, I would be very greatful to you ;P
Account: [email protected]
Now you can import projects/tasks with just one step: read the section 'ABOUT THE PROJECT'.

Created a Tasker profile for continuous notification upon receiving SMS, how to Exit?

I have created below tasker profile to generate continuous notification with Flash on & off upon receiving a text message with word "Emergency" in it. It works perfectly however I cannot find a way to stop the sound, vibration and Flash light loop.
I tried to create a scene with TAP action = cancel alarm (disable any) but it just opens system's alarm app.
Please suggest a way to stop this loop. I created this profile so I do not miss any Important SMS page from work while sleeping.
P. S. = I used alarm as notification type because it will play even while my phone is set to silent profile (Device - oneplus 3T). If alert slider is set to silent only alarms are working.
Code:
Profile: SMS_Notif_911 (15)
Event: Received Text [ Type:SMS Sender:* Content:*Emergency* ]
Enter: PerotSound (12)
A1: Vibrate Mode [ Mode:eek:ff ]
A2: Ringer Volume [ Level:7 Display:eek:ff Sound:eek:ff ]
A3: Alarm Volume [ Level:7 Display:eek:ff Sound:eek:ff ]
A4: Notification Volume [ Level:7 Display:eek:ff Sound:eek:ff ]
A5: Media Volume [ Level:30 Display:eek:ff Sound:eek:ff ]
A6: Show Scene [ Name:PerotNotifStop Display As:Dialog, Dim Behind Horizontal Position:100 Vertical Position:100 Animation:System Show Exit Button:eek:n Show Over Keyguard:eek:n Continue Task Immediately:eek:n ]
A7: Play Ringtone [ Type:Alarm Sound:Rhythm Stream:4 ]
A8: Vibrate [ Time:200 ]
A9: Torch [ Set:eek:n ]
A10: Wait [ MS:753 Seconds:0 Minutes:0 Hours:0 Days:0 ]
A11: Torch [ Set:eek:ff ]
A12: Wait [ MS:500 Seconds:0 Minutes:0 Hours:0 Days:0 ]
A13: Goto [ Type:Action Number Number:7 Label: ]
The ringtone action can't be stopped, it runs autonomously (unless the "silence ringer" action works on your device).
So, I would use a Music Play action with the output stream set to alarm. Then in the scene, you can have a Music Stop action attached to a button in the scene. If you don't have a stop button in the scene, you need to add one.
There is also a variable "%PerotStop" that I added. It is set to "true" when the stop button is tapped and the GoTo action executes only if it's not true.
Notice that the GoTo doesn't go back to the Music Play action, but only back to cycle the vibrate and torch. It's not necessary to do more, just check the box to loop the music in the Music Play action.
Finally, after the GoTo stops executing, we clear the "%PerotStop" variable and it's ready for the next time.
Note: the [X] at action 7 shows that it's paused and won't run.
Code:
Profile: SMS_Notif_911 (179)
Event: Received Text [ Type:SMS Sender:* Content:*Emergency* ]
Enter: PerotSound (180)
A1: Vibrate Mode [ Mode: Off ]
A2: Ringer Volume [ Level:6 Display: Off Sound: Off ]
A3: Alarm Volume [ Level:7 Display: Off Sound: Off ]
A4: Notification Volume [ Level:7 Display: Off Sound: Off ]
A5: Media Volume [ Level:30 Display: Off Sound: Off ]
A6: Show Scene [ Name:PerotNotifStop Display As:Dialog, Dim Behind Horizontal Position:100 Vertical Position:100 Animation:System Show Exit Button: On Show Over Keyguard: On Continue Task Immediately: On ]
A7: [X] Play Ringtone [ Type:Alarm Sound:Cuckoo clock Stream:4 ]
A8: Music Play [ File:Ringtones/fur_elise_dubstep.mp3 Start:0 Loop: On Stream:4 Continue Task Immediately: On ]
A9: Vibrate [ Time:200 ]
A10: Torch [ Set: On ]
A11: Wait [ MS:753 Seconds:0 Minutes:0 Hours:0 Days:0 ]
A12: Torch [ Set: Off ]
A13: Wait [ MS:500 Seconds:0 Minutes:0 Hours:0 Days:0 ]
A14: Goto [ Type:Action Number Number:9 Label: ] If [ %PerotStop !~ true ]
A15: Variable Clear [ Name:%PerotStop Pattern Matching: Off Local Variables Only: Off ]
These are the actions that the stop button that is displayed in the scene should have. They are added on the "tap" tab within the element edit. Notice the final action of the stop button is to clear the scene.
Code:
A1: Variable Set [ Name:%PerotStop To:true Recurse Variables: Off Do Maths: Off Append: Off ]
A2: Music Stop [ Clear Dir: Off ]
A3: Destroy Scene [ Name:PerotNotifStop ]
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
Thank you so much. It worked.
ktmom said:
The ringtone action can't be stopped, it runs autonomously (unless the "silence ringer" action works on your device).
So, I would use a Music Play action with the output stream set to alarm. Then in the scene, you can have a Music Stop action attached to a button in the scene. If you don't have a stop button in the scene, you need to add one.
There is also a variable "%PerotStop" that I added. It is set to "true" when the stop button is tapped and the GoTo action executes only if it's not true.
Notice that the GoTo doesn't go back to the Music Play action, but only back to cycle the vibrate and torch. It's not necessary to do more, just check the box to loop the music in the Music Play action.
Finally, after the GoTo stops executing, we clear the "%PerotStop" variable and it's ready for the next time.
Note: the [X] at action 7 shows that it's paused and won't run.
Code:
Profile: SMS_Notif_911 (179)
Event: Received Text [ Type:SMS Sender:* Content:*Emergency* ]
Enter: PerotSound (180)
A1: Vibrate Mode [ Mode: Off ]
A2: Ringer Volume [ Level:6 Display: Off Sound: Off ]
A3: Alarm Volume [ Level:7 Display: Off Sound: Off ]
A4: Notification Volume [ Level:7 Display: Off Sound: Off ]
A5: Media Volume [ Level:30 Display: Off Sound: Off ]
A6: Show Scene [ Name:PerotNotifStop Display As:Dialog, Dim Behind Horizontal Position:100 Vertical Position:100 Animation:System Show Exit Button: On Show Over Keyguard: On Continue Task Immediately: On ]
A7: [X] Play Ringtone [ Type:Alarm Sound:Cuckoo clock Stream:4 ]
A8: Music Play [ File:Ringtones/fur_elise_dubstep.mp3 Start:0 Loop: On Stream:4 Continue Task Immediately: On ]
A9: Vibrate [ Time:200 ]
A10: Torch [ Set: On ]
A11: Wait [ MS:753 Seconds:0 Minutes:0 Hours:0 Days:0 ]
A12: Torch [ Set: Off ]
A13: Wait [ MS:500 Seconds:0 Minutes:0 Hours:0 Days:0 ]
A14: Goto [ Type:Action Number Number:9 Label: ] If [ %PerotStop !~ true ]
A15: Variable Clear [ Name:%PerotStop Pattern Matching: Off Local Variables Only: Off ]
These are the actions that the stop button that is displayed in the scene should have. They are added on the "tap" tab within the element edit. Notice the final action of the stop button is to clear the scene.
Code:
A1: Variable Set [ Name:%PerotStop To:true Recurse Variables: Off Do Maths: Off Append: Off ]
A2: Music Stop [ Clear Dir: Off ]
A3: Destroy Scene [ Name:PerotNotifStop ]
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
Click to expand...
Click to collapse

SMS Read, reply, change , cancel profile

Credit goes to João Dias and Golden-Death
I just did little modifications.
I had some problems with AutoNotification it just doesn't want to read aloud anything.
I used google Text - to - Speech which was updated again just today.
Note 4, Tasker v5.8.5. Android 6.0.1. Not rooted.
Installed Media Utilities and Security Setting from Google Play. Honestly I have no idea what do they do but I believe they will stop music playing when a text message comes.
I used one of the voices in the Google TTS. It works without WIFI or DATA or Internet connection.
It used Media stream and most of the Respect Audio Focus were set to OFF.
Here is the profile:
Profile: Answer (16)
Event: Received Text [ Type:Any Sender:* Content:* ]
Enter: Answer (8)
A1: Secure Settings [ Configuration:Screen & Keyboard Lights On
1 Minute Timeout (Seconds) : 0 ]
A2: Media Utilities Action [ Configurationause Timeout (Seconds) : 0 ]
A3: Wait [ MS: 0 Seconds : 1 Minutes:0 Hours : 0 Days : 0 ]
A4: Say [ Text:New message received from %SMSRN Engine:Voice:default:default Stream:3 Pitch:5 Speed:7 Respect Audio Focus: off Network: off Continue Task Immediately: off ]
A5: Wait [ MS: 500 Seconds: 0 Minutes: 0 Hours: 0 Days: 0 ]
A6: Say [ Text: Do you want me to Read it ? Engine:Voice:default: default Stream: 3 Pitch: 5 Speed: 7 Respect Audio Focus: off Network: off Continue Task Immediately: off ]
A7: Get Voice [ Title:Language Language Model: Free Form Language: Maximum Results: 1 Timeout (Seconds):30 ]
A8: Say [ Text: Sorry, I did not recognize that , do you want me to read it ? please say yes or no . Engine: Voice:default:default Stream:3 Pitch:5 Speed:7 Respect Audio Focus: off Network: off Continue Task Immediately: off] If [ %VOICE !~ yes/no ]
A9: Goto [ Type:Action Number Number:39 Label: ] If [ %VOICE ~ cancel ]
A10: Goto [ Type:Action Number Number:7 Label: ] If [ %VOICE !~ yes/no ]
A11: If [ %VOICE ~ yes ]
A12: Say [ Text:Message says %SMSRB Engine:Voice:default:default Stream:5 Pitch:5 Speed:7 Respect Audio Focus: off Network: off Continue Task Immediately: off ]
A13: Wait [ MS:472 Seconds:0 Minutes:0 Hours:0 Days:0 ]
A14: Say [ Text:Would you like to reply ? Engine:Voice:default:default Stream:5 Pitch:5 Speed:7 Respect Audio Focus: off Network: off Continue Task Immediately: off ]
A15: Get Voice [ Title:Language Language Model:Free Form Language: Maximum Results:1 Timeout (Seconds):30 ]
A16: Goto [ Type:Action Number Number:39 Label: ] If [ %VOICE ~ cancel ]
A17: End If
A18: If [ %VOICE ~ no ]
A19: Goto [ Type:Action Number Number:39 Label: ]
A20: End If
A21: Say [ Text:Sorry , I did not recognize that , do you want to reply ? please say yes or no. Engine:Voice:default:default Stream:3 Pitch:5 Speed:7 Respect Audio Focus: off Network: off Continue Task Immediately: off ] If [ %VOICE !~ yes/no ]
A22: Goto [ Type:Action Number Number:14 Label: ] If [ %VOICE !~ yes/no ]
A23: Goto [ Type:Action Number Number:39 Label: ] If [ %VOICE ~ cancel ]
A24: If [ %VOICE ~ yes ]
A25: Say [ Text:What would you like to say ? Engine:Voice:default:default Stream:3 Pitch:5 Speed:7 Respect Audio Focus: off Network: off Continue Task Immediately: off ]
A26: Get Voice [ Title:Language Language Model:Free Form Language: Maximum Results:1 Timeout (Seconds):30 ]
A27: Variable Set [ Name:%VOICEM To:%VOICE Recurse Variables: off Do Maths: off Append: off Max Rounding Digits:3 ]
A28: Goto [ Type:Action Number Number:39 Label: ] If [ %VOICEM ~ cancel ]
A29: Say [ Text:Your message is %VOICEM. Would you like me to send it or change it ? Engine:Voice:default:default Stream:3 Pitch:5 Speed:7 Respect Audio Focus: off Network: off Continue Task Immediately: off ]
A30: Get Voice [ Title:Language Language Model:Free Form Language: Maximum Results:1 Timeout (Seconds):30 ]
A31: Goto [ Type:Action Number Number:25 Label: ] If [ %VOICE ~ change it ]
A32: Goto [ Type:Action Number Number:39 Label: ] If [ %VOICE ~ cancel ]
A33: Say [ Text:Sorry I did not recognize that , would you like me to send it or change it ? Engine:Voice:default:default Stream:3 Pitch:5 Speed:7 Respect Audio Focus: off Network: off Continue Task Immediately: off ] If [ %VOICE !~ send/send it/try again/change/change it ]
A34: Goto [ Type:Action Number Number:30 Label: ] If [ %VOICE !~ send/send it/try again/change/change it ]
A35: Send SMS [ Number:%SMSRF Message:%VOICEM Store In Messaging App: off SIM Card: ] If [ %VOICE ~ send/send it ]
A36: Say [ Text:Message sent . Engine:Voice:default:default Stream:3 Pitch:5 Speed:7 Respect Audio Focus: off Network: off Continue Task Immediately: off ]
A37: End If
A38: If [ %VOICE ~ no ]
A39: Say [ Text: Okay . Engine:Voice:default:default Stream:3 Pitch:5 Speed:7 Respect Audio Focus: off Network: off Continue Task Immediately: off ]
A40: End If
A41: Media Utilities Action [ Configurationlay (Smart) Timeout (Seconds):0 ]

Categories

Resources