[PROJECT] High temperature warning device - Tasker Tips & Tricks

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'.

Related

[WIDGET|APP] Hot Pink Google Search App with Voice Actions!

For anybody looking to search with a little style of pink you might want to check out the new Pink Google Mobile Android app.
It's available on Google Play or you can install the attached APK file. You can also just set it as your default page at http://pink.newgoog.com
"Brand new!! Pink Google Mobile is the fastest way to search the web and your phone. Search in style with Pink Google for Android.
Pink search saves battery power, loads faster, uses less data which saves money, reduces eye strain and looks awesome!
Permissions required for Google Voice Actions."
☆ Text & Voice Search ☆ Voice Actions Express (Like "Call Sam")
☆ 4 Unique Widget Styles ☆ 4 Widget Sizes (x2,x3,x4,x5)
☆ Image Search ☆ Home Screen Icons ☆ Instant Suggestions
☆ Search History ☆ Modern & Classic Mode
☆ Search Filtering ☆ Results Per Page
{
"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"
}
// HELP GUIDE //
[ ADD HOME SCREEN WIDGET ]
▪ Long Press Home Screen > Widgets > Pink Google {or}
▪ Apps > Widgets > Pink Google (Reboot may be required.)
[ ADD HOME SCREEN ICON ]
▪ Apps > Long Press Icon > Add to Home
[ CONFIGURE SEARCH BUTTON ]
▪ Short|Long Press Search > Check 'Use by default' > Pink Google|Voice Search
☆ Using short press may require disabling default Google, see steps below.
[ DISABLE DEFAULT GOOGLE]
▪ Settings > Applications > All > (Google) Search > Disable|Uninstall {or}
▪ Settings > Applications > Manage Apps > All > (Google) Search > Clear defaults {or}
▪ Home > Menu > Manage Applications > All > Search > Disable
☆ Some versions like Ice Cream Sandwich require a free launcher to remove the default search bar. To find one, try searching the market for "launcher".
[ SEARCH SETTINGS ]
▪ Pink Google > Menu > Web Settings
▪ Pink Google > Perform any search > Modern | Classic
[ CLEAR SEARCH HISTORY ]
▪ Pink Google > Menu > Settings > Clear Shortcuts > OK
[ SET HOME PAGE ]
▪ Browser > Menu > More > Settings > Set Home Page
[ RESIZE WIDGET ]
▪ Long Press Widget > Resize Lines Appear (May require another tap.)
[ UNINSTALL ]
▪ Settings > Applications > Manage Applications > Pink Google > Uninstall
★ Steps may vary slightly depending on Android version.
// VOICE ACTIONS EXPRESS //
You can use Voice Actions in Voice Search to perform actions in addition to just searching the web.
[ IMAGES ]
▪ "Image(s) of" or "Picture(s) of" followed by a search phrase.
[ MAPS ]
▪ "Map" or "Directions" followed by an address, name, type of business, or other "from" and "to" locations.
▪ "Navigate to," followed by an address, name, type of business, or other destination.
[ VIDEOS ]
▪ "Videos of" or "YouTube" followed by a search phrase.
[ MUSIC ]
▪ "Listen to" followed by words for music you want to search for, such as the name of a song, artist, or album.
☆ Will load any installed app that supports the action, otherwise YouTube opens with the results.
[ MESSAGING ]
▪ "Send text" or "Send SMS", optionally "To" one or more contacts, with optional "Message" followed by the message.
▪ "Send email", optionally "To" one or more contacts, with optional "Subject" followed by a subject, and with "Message" followed by the message.
▪ "Tweet" followed by the message (requires app that supports action).
[ CALL ]
▪ "Call" followed by a name from your contacts, optionally followed by "home," "mobile", "work" or "other".
▪ "Call" followed by the digits of a phone number.
[ SITES ]
▪ "Wiki" or "Wikipedia" followed by a search phrase.
▪ "Go to" or "Open" followed by a popular search phrase or URL.
[ TIME ]
▪ "Set alarm"
▪ "Open calendar"

[Free][Game][Update] Flipit & Guesit (Guess the word from the picture)

Flipit & Guesit​
​
Description:
Guess the word form the picture.
Simple game where you flip a tile and guess the image.
Version 1.0.0.1
-Delete button now deletes one letter at a time
-Fixed a bug where the game stops at level 42
-Fixed a bug with the score counter
Highlights:
-The game mathes your phone's theme
-150 levels
-Wonderful Animations
-HighScores
ScreenShots:
Download Link:
Contact US:
Website: Flipit & Guesit
Email: [email protected]
Twitter: @baracat_wp7

[TASK] Talking Clock

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"

[TASK] Auto-Switch Keyboard(s)

As some people were asking about how to change/switch between installed keyboards depending on certain moment or specific launched app, here you have the task to do so.
TASKS (x3)
Code:
[COLOR="Blue"]Switch Keyboard [1] - Plugins[/COLOR]
[U]A1[/U]: Secure Settings [ Configuration:Input Method/SwiftKey Teclado - SwiftKey Teclado Timeout (Seconds):0 ]
[U]A2[/U]: AutoTools Secure Settings [ Configuration:Input Method: -9999 Timeout (Seconds):0 ]
* For root and non root users
** It may not work on all devices or Android versions
[COLOR="Blue"]Switch Keyboard [2] - Built-In[/COLOR]
[U]A1[/U]: Input Method Select
* For non root users
[COLOR="Blue"]Switch Keyboard [3] - Shell[/COLOR]
[U]A1[/U]: [X] Run Shell [ Command:ime list -s Timeout (Seconds):0 Use Root:eek:ff Store Output In:%out Store Errors In: Store Result In: ]
[U]A2[/U]: [X] Set Clipboard [ Text:%out Add:eek:ff ]
[U]A3[/U]: Run Shell [ Command:ime set xxx Timeout (Seconds):0 Use Root:eek:n Store Output In: Store Errors In: Store Result In: ]
* For root users only
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _​
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.
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _​
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] Talking Clock
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]

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