Tasker | ADVANCED (channel)
760 subscribers
680 photos
27 videos
201 files
463 links
Welcome to Tasker Profile Center channel!
Here you will find all the content posted at TPC site, and other projects shared by its users too.

Hope you enjoy it ;)

https://t.me/tasker_advanced
https://taskerprofilecenter.blogspot.com/
Download Telegram
#warning #TaskerDev
[DEV] Tasker 5.9.2 - Root actions WITHOUT root! 😎
This could be great! Let's see how it goes...
Sign up for the beta here.
If you don't want to wait for the Google Play update, get it right away here.
You can also get the updated app factory here.

Running Most Root Actions Without a Rooted Device
Check out the demo here: https://youtu.be/tKCpkOn_mHA
You know how some stuff is only available with a rooted device? This release tries to work around that with the new ADB Wifi action!
To use it, you need to connect your phone to your PC and run the adb tcpip 5555 command. After that you can disconnect from your PC and use the ADB Wifi action to run any command that you can run on a PC!

For example, you could
- Give or revoke app permissions
- Kill apps
- Toggle Mobile Data

and much more!

There's a big caveat though: every time you reboot your device you need to run the adb tcpip 5555 command again, so keep that in mind.
There are already 2 built-in actions that use this new feature under the hood: Mobile Data and the new Mobile Network Type action!

Mobile Network Type
Check out the demo here: https://youtu.be/qMhJqdBAO7M
You can now select the type of mobile network from Tasker. For example, you can force your phone to only connect to 2G, 3G or 4G networks. Coupled with the Mobile Data action you now have full control over your phone's data access!

Important Logcat Event Fix
Tasker was mistakenly using too many resources with the Logcat event in some specific situations which could lead to some battery drain. This should now be fixed!

Full Changelog
- Added "ADB Wifi" action that allows you to run shell commands that could normally only run on a rooted device
- Made Mobile Data action work on all unrooted devices with ADB Wifi
- Added "Hide Dialog" option in the Get Voice action.
- Added Min Speed Accuracy option to Get Location V2
- Added "Continue on Error" to Wifi action
- Added Check Root in Tasker Functions action
- Make different tones when Logcat bubble starts and stops recording logs
- When pressing back on a task with no actions simply cancel it like you do with the cancel button
- Fixed bug with Logcat Entry event where it would consume more resources than it should
- Fixed bug where a BT Connected state would never be active if the bluetooth's device name couldn't be gotten
- Fixed help file for "Notification Removed" event
- Made error appear on screen when action doesn't have permission to run. Previously only a notification would be created
- Fixed some crashes

Let me know how everything works! :) Enjoy!

Source: Go!
Tasker | ADVANCED (channel)
https://taskerprofilecenter.blogspot.com/2019/11/project-tts-engine-vocalizer-v10.html
#project #TTSEngineVocalizer
DESCRIPTION
Here I bring you a project that will help you when it comes to knowing the pronunciation of a specific term, or simply when you want to hear a written text.
Or why not? It can be used in case of not knowing how to pronounce something well, and you need to communicate with another person.

Main features:
· Quick access buttons to control speech, plus its preferences (pitch and speed).
· Big and small panel to work with short or long text.
· Selection of what TTS engine + voice package to use.
· User dictionary which will help the TTS engine to pronounce common acronyms or expressions in a more appropiate way.

To use this project you will need to have at least one TTS engine (+ its voice package) already installed. Otherwise, use 'WaveNet' one, which only requires an active Internet connection.

Notes:
- Thanks to @gerardo246 and @bernabap (Reddit) for helping on regex expressions.
- If you don't know any TTS engine, you can take a look at the IVONA's here or here/here (Reddit). Currently "deprecated", but still giving very good war.
- To use the different TTS engine(s) plus its voice package(s) you could have installed, use the 'Setup' task (A4) to set them. Add the engine + voice as a group (pair) as 'engine:voice', each separated by comma (,).
- To use dictionaries with custom terms for a correct pronunciation, use the 'Setup' task (from A5) to set it for each engine/voice you want to use. Add the original term + desired pronunciation as a group (pair) as 'original:desired', each separated by comma (,). Create a new action with the correct IF condition (%par1 ~ engine:voice) for every engine/voice you want to customize the pronunciation.
- To get the engines and voices that are installed on your device and that have to be configured within 'Setup' task (from A4), create a temporal action (+ > Alert > Say) somewhere. Use the 'magnifying glass' icon from 'Engine:Voice' section, and select the group you would like to have within the project. Then, copy/paste the engine:voice text that will appear to the corresponding action from 'Setup' task.
- A trick to differentiate a word from another identical according to its context, would be to enclose one of them using quotes ("..."), or any other character you want from the availables within the 'Setup' task. Therefore, the pronunciation correction would apply to one of them only when indicated. (Add the expression to the dictionary as: "jaguar":chaguar)

CREDITS
@SmartPhoneLover
@gerardo246
@bernabap

VERSION
v1.0
Tasker | ADVANCED (channel)
https://taskerprofilecenter.blogspot.com/2020/01/task-check-headphones-are.html
#task #CheckHeadphonesPluggedUnplugged
DESCRIPTION
Check if headphones are plugged or unplugged.

Notes:
- It works for both types of earphones/headphones, with and without mic.

CREDITS
@SmartPhoneLover

VERSION
v1.0
Tasker | ADVANCED (channel)
https://taskerprofilecenter.blogspot.com/2020/01/project-say-time-to-avoid-arriving-late.html
#project #SayTimeToAvoidArrivingLate
DESCRIPTION
This project will repeatedly remember you the current time, every 10 minutes by default. Useful when you don't want to check the phone, or take it out of pocket.

Possible usage:
- As an example, I like hearing music while walking, and if I have to go to a place on which I need to arrive at a certain time (daily routine), I won't need to take the phone out of my pocket. (don't use to use a smart watch or any)
- Any other you could imagine...

This project includes an Initial Setup task that needs to be executed when it is imported from TaskerNet, or when the dev considers it is needed even not imported from TaskerNet.

Notes:
- When the project is fully configured by the user ('Setup' task), run the 'Initial Setup' task manually to finish configuration. (this task will only have to be MANUALLY executed on first project import, and on first setup)
- If you also use Poweramp as your default music player, you can check its intents here. Otherwise, feel free to change according actions by Tasker's built-in ones, or others you could have.
- The spelled time form from 'Say Time' task was taken from one of my Talking Clock tasks. You can check them here.
- The default audio channel used to spell time is Multimedia, but you can customize the 'Say Time' task to use your favorite one.

CREDITS
@SmartPhoneLover

VERSION
v1.0
#warning #TaskerDev
[DEV] Tasker 5.9.2.beta.2 - ADB Wifi helper - Services and Overlays
Another beta is out! This time I'm making it easier to find some commands for the ADB Wifi action!
Sign up for the beta here.
If you don't want to wait for the Google Play update, get it right away here.
You can also get the updated app factory here.

ADB Wifi Helper
Currently the helper has 2 main options:
- Services: https://youtu.be/aAIobhfRYks
- Overlays: https://youtu.be/5QnCuE7eXzM

Services allow you to call many, many actions in Android services. Some of those actions are not normally callable by a normal user but the ADB shell user can call them. One of these actions is, for example, toggling Airplane Mode on and off

Overlays allow you change theme related options on your device like system wide accent colors, icon shapes, fonts and more!

Let me know if you know any other ADB commands that could be included in the helper :)

Full Changelog
- Added helper to "ADB Wifi" action to easily allow calling services and toggle overlays
- Added ability to add grep=:= to the start of a Logcat filter so that it is filtered directly and Tasker doesn't need to see if each log matches the setting
- Made "Airplane Mode" action work with ADB Wifi (non-root) if available
- Added SIM card option to "Mobile Network Type" action
- Fixed "Auto" mode for "Mobile Network Type" action
- Don't crash if notification button task has too many local variables
- Fixed small crashes

Enjoy! :)

Source: Go!
Tasker | ADVANCED (channel)
https://taskerprofilecenter.blogspot.com/2020/01/task-check-device-screen-orientation-v10.html
#task #CheckDeviceScreenOrientation
DESCRIPTION
Little task that will allow you to check the current screen orientation value on demand.

Orientations:
· 0° (portrait)
· 90° (landscape right)
· 180° (upside down)
· 270° (landscape left)

Notes:
- The 180° rotation position may be locked by your ROM if not custom when using auto-rotation feature. So, try using Tasker to force that rotation angle or install a compatible custom ROM.

CREDITS
@SmartPhoneLover

VERSION
v1.0
#warning #TaskerDev
[DEV] Tasker 5.9.2.beta.3 - ADB Wifi improvements and more
Another beta is out! This time I'm making the ADB Wifi action more secure!

Sign up for the beta here.

If you don't want to wait for the Google Play update, get it right away here.

You can also get the updated app factory here.

Enable Debug Just When Needed For ADB Wifi

Most people don't need debugging to be enabled at all times on their Android devices. It might be a security risk if you accidentally accept an unknown request to start debugging which could put your phone at risk.

Thanks to an idea from /u/parosen I have now added an option to Enable Debugging in the ADB Wifi action itself.

The idea is you leave debugging off and the action will enable it when ran and disable it afterwards, leaving your phone "closed down" for the majority of time!

Easy Service Calling With ADB Wifi

You know the helper that was introduced in the last beta that allows you to easily call services? Unfortunately the commands it generated were device/Android version dependent so not very shareable. Now it's much easier and readable to use this!

For example, to turn on Airplane mode you can now simply set the command to

connectivity.setAirplaneMode(true)

and it'll do it :)

As long as the device it's running on has that service and action it'll work whereas before the command could very easily change from one device to the other!

Full Changelog
- Added "Enable Debugging" option to "ADB Wifi" action. Allows you to keep debugging off for security reasons and only enable it when needed to run the action
- Added easy way to call services to "ADB Wifi" action. You can simply call a service by using "service.action(parameters)" as the command
- Made "ADB Wifi" action much faster in most situations
- Added way to check if "ADB Wifi" is accessible in "Tasker Function" action
- Made ADB Wifi action not leave idle threads in the background when user didn't accept Tasker's request to debug on first run
- When using the ADB Wifi helper, it'll use the port number and host if already configured in the action
- Added "Default ADB Wifi Port" setting in Tasker Settings > Misc which will be used in actions that may use ADB Wifi (Airplane Mode, Mobile Data, etc)
- Added root-only Command helper to the "Run Shell" action (same as the ADB Wifi helper)
- If "Run Shell" action runs a "service call" command, output will now be properly parsed
- Added "Use Grep" option to "Logcat Entry" event and removed "grep=:=" prefix from previous release
- Made "Data Backup" action work with external SD card paths

Let me know what you think!

Source: Go!