Tasker | ADVANCED (channel)
893 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
Tasker | ADVANCED (channel)
https://taskerprofilecenter.blogspot.com/2019/10/project-cpu-stats-v10.html
#project #CPUStats
DESCRIPTION
This project will give you the possibility to see the usage (%) of your CPU in real time, depending on the workload on each state.

Main features:
ยท Total CPU usage (%) in real time.
ยท Statusbar (text) or Overlay display.

The project is in an experimental state, so expect failures, or errors in the final calculations.

As I don't have a x86 device, the project will work but will propably not report correct values for CPU usage (regardless of the formula applied, containing errors or not), as the internal Kernel clock is measured in a different clock rate.

Notes:
- A rooted device is needed to use this project.
- Use 'Setup' and 'Setup (UI)' tasks to configure it, and 'Launch' task to use it.
- To use statusbar info style, AutoNotification will be required.
- Tasker is not the best way to monitor the CPU usage, as it runs on the main thread. So, use it at your own risk.

CREDITS
@SmartPhoneLover

VERSION
v1.0
#warning #TaskerDev
[HOW-TO] Protip: Use variables for states
This is what I do and I find it really, really simplifies things in the long run! ๐Ÿ˜Š Bear with me...

What I mean is, normally you have profiles that are something like:
If I'm connected to my work wifi network -> Set ringer volume to 1

What I think you should do instead is:
If I'm connected to my work wifi network -> Set %Work to 1; Exit task: clear variable %Work
If variable %Work is set -> Set ringer volume to 1

Sounds like more work, right? :) In reality, it can greatly simplify your Tasker projects in the long run!

Check out this video explaining this way of using Tasker: https://www.youtube.com/watch?v=KdNounIxTnk

If you don't want to watch the video, here's why:
- You can combine an unlimited number of conditions (variables) in a single profile using the Variable State condition. So, you can have a profile with this condition for example: At Home, while having lunch, on a weekday, if my TV is on, a movie is playing, nothing's playing on my phone, power is connected and screen is on. Normally you can only have 3 states in a profile's condition. This way you can an infinite amount! :)
- You can use OR conditions in the aforementioned Variable State condition. You can't do that on "normal" profiles.
- Re-usable: variables can be used and combined in multiple profiles (home at night, home sunrise, home at day, etc), all without having to specify the same condition multiple times. For example, to do home at day and home at night profiles you usually have to set your Wifi SSID in all the profile's Wifi Connected conditions. If someday your SSID changes you'll need to go in and edit all your profiles. If you use a %Home variable you'll only need to change it in one place :)
- States can be checked at any time in tasks. Want to know if you're at home? Simply check if %Home is set :). Allows you to only execute part of your task depending on your situation very easily!
- Conditions that trigger the states can change and everything will still work. For example, my work condition can change from a Time context to a Wifi Connected context and all work related profiles and tasks will continue to work. Otherwise you would have to change a lot of conditions throughout your setup
- Combined states: you can create variables for otherwise singular states. For example, you can set %Work to 1 if %Weekday is 1 AND (%Morning is 1 OR %Afternoon is 1). You can then re-use this %Work variable in any other situation mentioned above :)
- More readable and easier to use than %PACTIVE. Also you can change profile names all you want and you won't have to change places where you check %PACTIVE.

It may seem counterproductive at first but if you start configuring your profiles this way you'll see it will greatly simplify your setup!

Additional protip: long click all these profiles that simply set and clear variables > Settings > Disable Show In Notification. Only keep the "real" profiles enabled in the notification and use emojis for those profiles' names. :)


Original Source: Go!
#warning #TaskerDev
[DEV] Tasker 5.9.beta.4
Time for a new beta! :D
Sign up for the beta here: https://play.google.com/apps/testing/net.dinglisch.android.taskerm
If Google Play is taking to long, get the APK directly here: https://www.dropbox.com/s/7j58vurja7vm4hj/Tasker.28.apk?dl=0

Test Next Alarm
You know AutoAlarm? Well, this is basically it. In a act of app cannibalization I've now integrated AutoAlarm into Tasker itself.

You can check the next alarm's time on your phone and then for example use a profile based on it.
Check out the demo here: https://www.youtube.com/watch?v=kZxq8FTXutM

Significant Motion
This is a new event that will trigger when your phone detects Significant Motion. In Google's words this means the following:
The significant motion event triggers each time significant motion is detected. A significant motion is a motion that might lead to a change in the user's location, for example, walking, biking, or sitting in a moving car.

I've tested it out a bit and it seems to be a bit laggy, but let me know how it works for you!

App Related Actions support App Names
You can now do stuff like launch apps, control media apps or get app's info directly by their names instead of just their package names.
This is yet another act of app cannibalization since this is a big use case for AutoLaunch (although AutoLaunch allows for a bunch of other things). Hope I don't regret these in the future :P

As a bonus you can now use the Launch App action with a variable with the format packageName/activityClass and it'll launch that specific activity.

Here's a demo: https://www.youtube.com/watch?v=tSGoAHAYcT8

Full Changelog
- Added Get Next Alarm action: get details about the next alarm that is set on your phone
- Added Significant Motion event: triggers when its likely that user changed its location (walking, driving, etc)
- Allow all App related actions to use the app name instead of just the package name
- Allow Launch App to use variables to launch a specific activity with the format packageName/activityClass
- Added option In Text Received event to filter by SIM
- Added option to select the Mode of Base64 decoding in the Variable Convert action
- Show active profiles in the notification even if it's minimized
- Make HTTP Request action request file permissions because it's possible to write the output to a file
- Made Secure Setting actions (like NFC) not have the settings icon, because it won't revert automatically when being set in an entry task
- Tried to fix the issue where monitoring the clipboard makes Tasker be the active keyboard at times
- Don't show notification access needed dialog if not needed
- Fixed File Copy action when "From" is an URI instead of a file

Let me know how it works for you! :) Thanks!

Original Source: Go!
#warning
Seems that the latest Tasker 5.9.beta.4 release has more than a single bug:
- App Info (Get All Details) not working.
- Tasker - java.lang.RuntimeException: Missing action of type 363 (seems an action from the Java code is not correctly linked now. (do not know which one)
- URI file type for Copy action seems that only works for internal memory, not for external.
- More... (?)

So, If you want to test it, install it. But I recommend you not to download it until Joao fixes the errors introduced.

For more details: Go!
#warning
Seems that the latest Tasker 5.9.beta.4 release has more than a single bug:
- App Info (Get All Details) not working. (fixed)
- Tasker - java.lang.RuntimeException: Missing action of type 363 (SET_MOBILE_NETWORK_TYPE)
- URI file type for Copy action seems that only works for internal memory, not for external. (fixed)
- New Next Alarm feature conflict with the 'Reliable Alarms' from Tasker (fixed)
- Copy/Move Files actions do not work, as they use a different dir path now.
- More... (?)

Notes:
- Fixed bugs will be included in next build.
- If you want to test it, install it. But I recommend you not to download it until Joao fixes the errors introduced.

For more details: Go!
#warning #TaskerDev
[HOW-TO] Reply to messages via voice when connected to a BT device
I know this is a rather simple example but I've seen some people say that this is a wanted use case so I decided to create a tutorial about it :)
You can access it here.
This will make your phone ask you if you want to reply by voice when you receive a message while you're connected to a Bluetooth Device.
Here's a demo

Enjoy! :)

Original Source: Go!
#warning #TaskerDev
[DEV] Tasker 5.9.beta.5 - Tasker Functions and Bugfixes
Again, time for a new beta!
Sign up for the beta here: https://play.google.com/apps/testing/net.dinglisch.android.taskerm
If Google Play is taking to long, get the APK directly here: https://www.dropbox.com/s/7j58vurja7vm4hj/Tasker.28.apk?dl=0

New action: Tasker Functions
This is an action where I'm going to put small little Tasker functionalities that do not warrant a whole standalone action because they are too niche/small/unimportant.

As the first exaxmple you have 2 functions:
- addThrottleNotifications(seconds,app package name) - will make notifications for the given app be reported to Tasker less frequently because too many notifications can slow Tasker down
- removeThrottleNotifications(app package name) - will do the inverse of the above

Since these actions are all text based it'll be pretty easy for me to add new ones and for them to be called dynamically with variables and such.

I still need to add an easy way to select these functions but for now you can check documentation on the action's help page.

Time will time how this one will pan out. :)

Full Changelog
- Added experimental "Tasker Functions" action.
- Made Authentication Dialog > Biometric be able to be used with Iris and Face sensors (Android 10+)
- Added "Confirmation Required" and "Device Credentials Allowed" options to Authentication Dialog (Android 10+)
- Fixed using Authentication Dialog action with the App context in some situations
- Test Next Alarm will now ignore Tasker set alarms
- Fixed App Info action for apps whose package name has uppercase letters
- Fixed Copy File action in some situations
- Fixed Tasker Monitor notification showing duplicated profile status in some situations

Let me know how it works!

Original Source: Go!
Tasker | ADVANCED (channel)
https://taskerprofilecenter.blogspot.com/2019/10/project-tasker-scene-position-helper-v10.html
#project #TaskerScenePositionHelper
DESCRIPTION
Tasker scene editor doesn't allow you to move elements across the screen with total precision, unless you choose the correct settings or edit the XML of that scene, as shown in this tutorial.
So, I have a created a little helper that will allow you to calculate the position of the elements of a scene in real time, allowing us to center them on their X and Y axes. And without leaving Tasker.

All you have to do is simply type the (total) resolution of the scene you have created of the axis that interests you, and the total length of the same axis, but of the element you want to center. After that, the result will be displayed on the right (green). Finally, you can use that value within the corresponding 'Geometry' text field.

This project includes an Initial Setup task that needs to be executed when it is imported from TaskerNet
(It can be deleted after imported)

Notes:
- Use the notification to use it within your scenes.
- You can just press the back button to hide the scene. So, hidding it by this way, last values will be remembered to be recycled on next launch.

CREDITS
@SmartPhoneLover

VERSION
v1.0
#warning
I create this questionnaire to know the opinion about one of my next projects.
The project this survey is about is going to be called: Synchronized Call Blocker.

Basically, it will be about a project to block incomming calls. But in what will be differentiated so far from the rest of existing projects that I have seen on the network, it will be that it will allow synchronizing the numbers by those users who use the project, with other users from all over the world.

Therefore, each user who uses the project will have all the numbers that will be included in the database as users report them from the project itself.

Notes:
- Depending on the amount of users that replied to it (positively), I will decide if continue with the project, or not. (50 users ore more)
- I reserve the right to modify the name of the project, once started.
If you are interested in the project mentioned above๐Ÿ‘†, please answer the following survey.
Final Results
81%
I'm interested.
19%
I'm not interested