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/search?q=Dead+Pixel+Analyzer
#project #DeadPixelAnalyzer
DESCRIPTION
This will help you diagnose the display, in case you have dead or locked pixels.

This won't fix those affected pixels. It only helps to find them.
(There is currently no API that allows it. This is part of the hardware, not software)

CREDITS
@SmartPhoneLover

VERSION
v1.0
Tasker | ADVANCED (channel)
https://taskerprofilecenter.blogspot.com/2019/10/project-dead-pixel-analyzer-v11.html
#project #DeadPixelAnalyzer
DESCRIPTION
This will help you diagnose the display, in case you have dead or locked pixels.

This won't fix those affected pixels. It only helps to find them.
(There is currently no API that allows it. This is part of the hardware, not software)


Notes:
- During Auto and Manual modes, right swipe to close it. Sigle tap to change next color and long tap to return to the previous one within Manual mode.

CREDITS
@SmartPhoneLover

CHANGELOG
- New: Return to the previous color. (only for manual mode)

VERSION
v1.1
#warning #TaskerDev
[DEV] Tasker 5.9.beta.2 - Fixed clipboard on Android 10, new Set Assistant action, fixed Media Button state and more!
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

Fixed Clipboard Monitoring On Android 10
I was able to implement a workaround that allows Clipboard monitoring to work as usual again on Android 10. Let me know how it works for you!

New Set Assistant Action
Tasker now allows you to set which app is the assistant on your phone!
This allows you to have a per-app assistant for example like in this demo: https://www.youtube.com/watch?v=OTLfQfeZRNQ
In this example:
- if I'm reading reddit squeezing my phone will toggle full screen mode.
- If I'm in the YouTube app squeezing my phone will set the volume to 1 instantly to avoid those awkward moments when you play a video at full blast at the wrong time
- If I'm in any other app the normal Google Assistant will show up
Of course this is Tasker so you can make it do whatever you want in any app you want :)

Fixed Media Button State
On Android 8+ Tasker should now always capture the Media Buttons and let you do stuff with them.
Check out this demo: https://www.youtube.com/watch?v=l1IEBitxqYw
Here I've setup Tasker in a way that different number of clicks on the play button will do different actions:
- 1 click will toggle pause
- 2 clicks will skip to the next track
- 3 clicks will skip to the previous track
- 4 clicks will allow you to play media in a different app by saying its name out loud
Again, you can add as many profiles as you want to handle any amount of clicks and do any action you want. :)
Import the project for this example here.

Restore Settings Off By Default
When you create a new profile the Restore Settings option will now be disabled by default. This option has cause much confusion in the past so lets hope this is the end of it :).

Full Changelog
- Fixed Media Button state on Android 8+. Demo: https://www.youtube.com/watch?v=l1IEBitxqYw
- Added Set Assistant action: set your phone's assistant (Google, AutoVoice, Tasker, etc). Demo: https://www.youtube.com/watch?v=OTLfQfeZRNQ
- Fixed Clipboard related features on Android 10
- Made Tasker always show up as an assistant choice and then, when used as an assistant, give user instructions on how to use
- Restore Settings is now disabled by default when creating a new profile
- Changed Auto theme to Black (instead of dark) when system ui Dark Mode is enabled
- Fixed Input Method Select action on Android 10
- Fixed illegible error message when importing stuff from Taskernet that needs a newer version of Tasker
- Fixed asking for draw over other apps permission when necessary
- Fixed allowing phone to go to sleep when dark mode is enabled while Android Auto is running
- Allow scenes to shown with any vertical offset if user enters value manually
- Fixed crash sometimes when destroying a scene with a map element
- Fixed bug where if you imported a profile sometimes another disabled profile would be enabled
- Ask for notification access permission when enabling the Use Notification If Available option in the Media Control action
- Added reminder that Pixel users can squeeze their phones to call Tasker as an assistant
- Added Assistant Settings in Tasker > Menu > More > Android Settings
- Made Cell Near condition work more reliably
- Made background service detection work on more devices
- Made NFC action work more reliably
- Small crash fixes

Enjoy and let me know how it works! :)

Original Thread: https://ift.tt/2ItWFpS
Tasker | ADVANCED (channel)
https://taskerprofilecenter.blogspot.com/2019/10/project-student-class-recorder-never.html
#project #StudentClassRecorder
DESCRIPTION
If you are a student, and you are worried about not being able to remember what was said exactly in class days ago, or a given date, this project will be quite useful.

You can also use it, in case you belong to a group, to automate the uploads of each recording to a folder in your GDrive cloud. In this way, everyone will have collaborative access to what was said in class.

Main features:
· Fully automated recordings, based on the official hours of each subject (start/end).
· Automatic (or manual) upload to GDrive. (optional)
· Auto rename audio files with subject names and time periods.
· Auto move files to a given directory. (optional)

Because the project has the ability to listen and record everything that happens around the device itself, you will be solely and ultimately responsible for its consequences of use.
(listening to and recording private conversations without the consent of any of the parties involved, may be illegal in some countries, and incur legal action)

Notes:
- You will only have to configure 'SCR - Setup' and 'SCR - Setup (GDrive)' tasks, plus 'SCR - Time' profile (*). Then, you can control the whole project from within 'SCR - Toggle State' task.
- If you are going to upload recordings to GDrive, a working Google account will be needed. (Do not forget to set up the 'SCR - Setup (GDrive)' task)
- I have used 'Hi-Q MP3 Recorder' (intents available) to record audio, as it has many more options than Tasker to enhance audio quality. But you can use yours if you like. Just substitute according actions from both 'SCR - Recording (start)' and 'SCR - Recording (stop)' tasks.
- (*) The 'SCR - Time' profile is used to automatically set recording time (start/end) for the next day. It's configured to do so at 00:00 at night. But you can customize it, for example, if your classes match those hours.
- If it happens that you have the same subject in two consecutive periods of time (with rest in between, or not), and want to create separate audio files for each time, for example: Maths at 08:00 to 08:55 and 09:00 to 09:55, write 'Maths,Maths' in 'SCR - Setup' task. Finally, add time as '08.00-08.55,09.00-09.55' in the same task as well.
- When GDrive uploads are enabled, regardless of whether it is 'auto' or 'manual', only the last recorded session (all recordings during the day) will be uploaded. If you want to upload recordings from previous days, use the 'SCR - Upload Files (manual)' task. (This will upload all files from previous days that have not been uploaded, omitting those already in the cloud)
- If you are going to use another recording method, or change the default path of Hi-Q MP3 Recorder app, make sure to edit all the actions labeled as 'Yellow'.

CREDITS
@SmartPhoneLover

VERSION
v1.0
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!