How to set max brightness for incoming calls - Tasker Tips & Tricks

Hello there,
Since I've tried almost every tutorial or guide to setup my S9+ tasker (which I've brought only for this function) to give me max brightness on incoming calls and failed (Yes, feel free to call me stupid, cause I am felling right now like that)...I am asking you to give me and others detailed guide how to do it. Thank you in advance. Please, keep in mind that most of us are not experienced tasker user and try to avoid shortcuts.

It would be quicker for you to post what you have that isn't working the way you want.
Make sure it's named - not a default name assigned by tasker. To name the profile if it isn't already, long press on the name to highlight the profile and, at the top, tap the square with the A.
Then long press on the name to highlight the profile. Go to the 3-dot menu and select export -> Description to Clipboard.
Now you'll be able to paste it. Be aware, it easier to use pastebin and link to a post here. If you paste in a post here, the forum software will convert all semicolons with characters directly after to emoticons making it very hard to read.
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini

ktmom said:
It would be quicker for you to post what you have that isn't working the way you want.
Make sure it's named - not a default name assigned by tasker. To name the profile if it isn't already, long press on the name to highlight the profile and, at the top, tap the square with the A.
Then long press on the name to highlight the profile. Go to the 3-dot menu and select export -> Description to Clipboard.
Now you'll be able to paste it. Be aware, it easier to use pastebin and link to a post here. If you paste in a post here, the forum software will convert all semicolons with characters directly after to emoticons making it very hard to read.
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
Click to expand...
Click to collapse
Profile 1.
State= phone = call incoming.
Task display auto brightness to off.
Next
Display= display brightness set to the level you want.
Phone = end call.
Display = auto brightness on
Click to expand...
Click to collapse
For example, I've done like text up, but it looks that I am something missing, cause it's not working.

Post the actual Tasker description as I described previously. Then we can troubleshoot.
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini

Related

New to the app, need assistance.

Hi all.
I stumbled apon tasker after i wanted my A8 to do a specific action.
What i would like to do is set up the profile needed but i am a little slow with this app.
I want my bluetooth to turn on when a specific app starts. This app is an insurance app and records my driving and always starts when i get into my car. Then when the app stops recording telematics, the bluetooth to turn off.
Is this possible?
Yes it's possible.
The profile context is your insurance app so the trigger happens when the app launches. The only action in the task is Bluetooth set to on.
You need to make sure Tasker's accessibility service is enabled (if it isn't, you should be prompted when creating the profile context) and if you leave the default settings for the profile, when the app exits, Bluetooth will be turned off.
You may want to spend some time going through Tasker beginner tutorials to get the benefit of the app.
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
ktmom said:
Yes it's possible.
The profile context is your insurance app so the trigger happens when the app launches. The only action in the task is Bluetooth set to on.
You need to make sure Tasker's accessibility service is enabled (if it isn't, you should be prompted when creating the profile context) and if you leave the default settings for the profile, when the app exits, Bluetooth will be turned off.
You may want to spend some time going through Tasker beginner tutorials to get the benefit of the app.
Thank you for your input. I have read through the tutorials and have activated the accessibility settings and created what i thought was a correct profile but it doesnt seem to turn on bluetooth if i open the app or it launches automatically. Could you possibly lay out step by step the measures needed, possibly i got the parameters wrong?
Click to expand...
Click to collapse
RicStyx said:
Thank you for your input. I have read through the tutorials and have activated the accessibility settings and created what i thought was a correct profile but it doesnt seem to turn on bluetooth if i open the app or it launches automatically. Could you possibly lay out step by step the measures needed, possibly i got the parameters wrong?
Click to expand...
Click to collapse
It's better to share your profile when it's not working as expected.
Make sure it's named - not a default name assigned by tasker. To name the profile of it isn't already, long press on the name to highlight the profile and tap the square with the A.
Then long press on the name to highlight the profile. Go to the 3-dot menu and select export -> Description to Clipboard.
Now you'll be able to paste it. Be aware, it easier to use pastebin and link to a post here. If you paste in a post here, the forum software will convert all semicolons with characters after, typically "on" and "off" to emoticons making it very hard to read.
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
Profile: Outsurance (2)
Application: OUTsurance
Enter: Anon (3)
A1: Perform Task [ Name:%BLUE Priority:%BLUE Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stopff ]
Sent from my SM-A530F using Tapatalk
As you can tell in depth tech like this is a struggle to me, however I enjoy the features it can do from what I've read.
Sent from my SM-A530F using Tapatalk
The "Perform Task" action is something else entirely.
From inside the task, tap the + to add an action. Tap "Net" then "Bluetooth". Configure the Bluetooth action to turn it on. Save the action.
Now you have two actions. Long press on the "Perform Task" action and drag down to the bottom right trash can.
Save out of the task and out of Tasker. Now when you open the app, the Bluetooth should turn on.
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
Thank you, it works now, can't believe it was right there, obviously I just missed it. You were very helpful, im looking forward to designing more tasks now.
ktmom said:
The "Perform Task" action is something else entirely.
From inside the task, tap the + to add an action. Tap "Net" then "Bluetooth". Configure the Bluetooth action to turn it on. Save the action.
Now you have two actions. Long press on the "Perform Task" action and drag down to the bottom right trash can.
Save out of the task and out of Tasker. Now when you open the app, the Bluetooth should turn on.
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
Click to expand...
Click to collapse
Sent from my SM-A530F using Tapatalk

Trouble opening Apps when connecting to Bluetooth

Hi everyone, thanks in advance for any help.
I'm having trouble getting apps to open when my Bluetooth headphones and also my JBL speaker connect to my phone (both performed seperately of course).
Phone is a Samsung Galaxy S8 running android 8.0.0
I ran the trial version of Tasker and it worked fine, when ever I turned on my JBL Bluetooth speaker it would connect to my phone and would open Spotify and by the time I got to my phone it was ready to hit play.
Then I got some new MPOW Bluetooth headphones and created a task to open Castbox when my headphones connect and now neither of the tasks, the existing JBL task and now the new headphone task work?
I uninstalled Tasker and went to the playstore and bought the full version and created the tasks again and they still won't work.
As a trial I created a task that opens Castbox when I plug in a headset and it that works works fine and opens the Castbox app.
Any ideas what might be causing the Bluetooth problems?
thanks again Jamie
It's better to share your profile when it's not working as expected.
Make sure it's named - not a default name assigned by tasker. To name the profile if it isn't already, long press on the name to highlight the profile and, at the top, tap the square with the A.
Then long press on the name to highlight the profile. Go to the 3-dot menu and select export -> Description to Clipboard.
Now you'll be able to paste it. Be aware, it easier to use pastebin and link to a post here. If you paste in a post here, the forum software will convert all semicolons with characters after, typically "on" and "off" to emoticons making it very hard to read.
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
ktmom said:
It's better to share your profile when it's not working as expected.
Make sure it's named - not a default name assigned by tasker. To name the profile if it isn't already, long press on the name to highlight the profile and, at the top, tap the square with the A.
Then long press on the name to highlight the profile. Go to the 3-dot menu and select export -> Description to Clipboard.
Now you'll be able to paste it. Be aware, it easier to use pastebin and link to a post here. If you paste in a post here, the forum software will convert all semicolons with characters after, typically "on" and "off" to emoticons making it very hard to read.
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
Click to expand...
Click to collapse
Thanks, I'll have a go. Hope this worked?
<script src="https://pastebin.com/embed_js/wCbAJsDu"></script>
Jamie5 said:
Thanks, I'll have a go. Hope this worked?
<script src="https://pastebin.com/embed_js/wCbAJsDu"></script>
Click to expand...
Click to collapse
That's the XML, you want to export the description to clipboard.
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
ktmom said:
That's the XML, you want to export the description to clipboard.
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
Click to expand...
Click to collapse
Thanks ktmom, appreciate the help.
Sorry first time having a crack at outputting Tasker info. Try this one.
<script src="https://pastebin.com/embed_js/yQK7seyd"></script>
cheers Jamie
There is not anything obviously wrong. The thing I would do is to try using only the device name or MAC address instead of both in the BT Connected context.
Edit:
The headphones are paired to your device *before* trying to configure the BT Connected context, right?
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
Thanks, that's exactly what it was. I was selecting the headphones and speaker from "address" instead of "name". It's working now.
Something else I've noticed tho, if I pair my headphones to my tablet in the evening and then the next day, for example, turn the headphones on my phone won't pair with them automatically. I need to open the Bluetooth settings in my phone and repair them again. This isn't Tasker related and doesn't happen that often so I can live with it.
Thanks again for the help, very much appreciated :good:
Jamie5 said:
Thanks, that's exactly what it was. I was selecting the headphones and speaker from "address" instead of "name". It's working now.
Something else I've noticed tho, if I pair my headphones to my tablet in the evening and then the next day, for example, turn the headphones on my phone won't pair with them automatically. I need to open the Bluetooth settings in my phone and repair them again. This isn't Tasker related and doesn't happen that often so I can live with it.
Thanks again for the help, very much appreciated :good:
Click to expand...
Click to collapse
Glad you found the problem.
You might try clearing the Bluetooth app data and cache and see if that helps the pairing. When you do that, you'll have to repair everything.
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
nice
ktmom said:
Glad you found the problem.
You might try clearing the Bluetooth app data and cache and see if that helps the pairing. When you do that, you'll have to repair everything.
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
Click to expand...
Click to collapse
Thanks, yes good idea I'll try that out.

PLEASE HELP with whatsapp!

Hi guys, so I've been wrecking my own head an wasting crazy phone battery trying to figure this out and in at the point where I just need to be told what to do so I'm being for someone to tell me step by step what to do.
Here's what I want...
I want Tasker (or any other app) to read WhatsApp messages out loud but only over Bluetooth/headphones BUT MOST IMPORTANTLY I want the notification to be MARKED AS READ after it's been read out loud.
There's plenty of apps available that'll read it to me but none of them will mark the message as being read. I REALLY need this functionally for when I'm riding my motorcycle so I don't get blasted with repeated messages if they are stacking up while I can't read/respond to them while riding, which is what happens with those apps (at least that I've found) that will read them to me.
I'm willing to do whatever I need to get this done. The phone is rooted. I keep reading about SQL but I know NOTHING about it but if someone can please help me get this done in willing to learn along the way.
Can anyone come to the rescue?
Ther's a good start at a task on the AutoTools forum: help needed for Simple whatsapp read aloud with AutoNotification
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
Yeah, I find that guide earlier and it looked promising but, please forgive me, I just couldn't follow along as I'm not very advanced with Tasker or those auto apps.
I'm far from stupid, but I just can't keep up with the conversation and if you could help me by dumbing it down or walking me through it then I'd be eternally grateful. I really need to have this done so it's safer for me to ride every day.
Have you built any profile with Tasker? That thread has a straight forward description posted. But if you know nothing about using Tasker, you would want to run through some basic beginner tutorials to get familiar with it. With great power comes a learning curve.
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
Yes I've built several profiles before but nothing too complex. Just basic WiFi/GPS/volume/brightness control.
Ok so I read through that entire thread carefully and I understand it better than before but it doesn't really scratch my itch if you know what I mean.
I'm not looking to get rid of the notification, I'm looking to mark the message as being read.
I was looking into auto input but I can't seem to make it capture me puking down the notification shade to tap the "mark as read" button in the notification. Maybe I'll just have it launch the app then lock the screen.... Hmmm
ktmom said:
Have you built any profile with Tasker? That thread has a straight forward description posted. But if you know nothing about using Tasker, you would want to run through some basic beginner tutorials to get familiar with it. With great power comes a learning curve.
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
Click to expand...
Click to collapse
Ya know, this actually motivated me to get more involved and I managed to get it done with a little imagination.
I have secure settings remove the PIN, then auto input unlocks the phone, Tasker runs WhatsApp, waitress 2 seconds then auto input taps the top message, waits 2 more seconds then kills WhatsApp, then secure settings resets the PIN back to what it was then auto input turns the screen off.
Maybe you can help me refine it a little? I seem to be getting an error from secure settings in a toast notification when it sets and resets the PIN but it's just a notification because it still completed the actions successfully. Any ideas on that?
Here's the task
I'm guessing you are on an older android version if secure settings is 1) working and 2) able to disable screen security
---unless you don't mean the secure settings plugin but rather the AutoTools secure settings.
You would need to post information about the error for help with it. You should include information about what version of Tasker and Android as well as what device you are using. My guess is there is not much that can be done about a secure settings error unless it's the AutoTools version.
Better to export the description (not XML). Then people can try to help without having to import an unknown profile and install related apps they may not use.
It is easier to use pastebin and link to a post here. If you paste in a post here, the forum software will convert all semicolons with characters directly after to emoticons making it very hard to read.
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
Yes, unfortunately I'm running nougat 7.1.2 because I'm using a xiaomi redmi 5 and they haven't updated to Oreo yet.
I'm running Tasker 5.2.bf1.
How would I generate a report of the error?
N1ghtr08d said:
Yes, unfortunately I'm running nougat 7.1.2 because I'm using a xiaomi redmi 5 and they haven't updated to Oreo yet.
I'm running Tasker 5.2.bf1.
How would I generate a report of the error?
Click to expand...
Click to collapse
I'm rather surprised that you have secure settings working on a nougat rom. You are talking about the unsupported plugin by intangibleObject that hadn't been updated since 2015?
Modern systemless root alone breaks the plugin. The work around was to symbolically link a path to the binary. But there really are improved ways to get the same functionality.
If it's flashing a toast or other notification with an error, that's a start. Looking through a logcat is another method.
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
Yes it's the same intangibleobject plugin we all know and love, and yes I'm surprised it worked too. I've never ran a logcat before but I'll give it a shot now
Ok, I ran a logcat and posted it to pastebin. Here's the link:
https://pastebin.com/YcsUaHUC
At least I hope I did that right. I can't believe how uninformed/uneducated I sound in this thread. Normally I'm the one giving tech advice but I guess there's always a bigger fish in the sea...
Here's the error for secure settings out of that logcat
09-18 07:07:28.593 1547 1770 E DevicePolicyManagerService: Cannot call with null password
09-18 07:07:28.593 28608 28681 W SecureSettings.x: b::Unable to reset password. Not continuing!
09-18 07:07:28.594 28608 28681 I SecureSettings.ActionService: onHandleIntent::Action Failed!
You say the action is working though so I would ignore it.
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
Guys, I gotta admit, I was wrong. I don't know why I thought secure settings was working because it's not.
So I did some more digging and learning and I got it all running perfectly within Tasker.
Here's the profile of anyone's interested...
https://pastebin.com/yUu83YHw
If anyone wants me to send them the profile as an .xml I will happily do so.
Anything I can do to make riding safer.

tasker and XDA navigation gestures to "hide" the bar

Hi everyone,
that's it I have received my Note 9, coming from an iPhone X. This is quite a huge change but this phone is great ! I also enjoy the amount of customization that can be done, although this can be a bit overwhelming. I have 1 question however about tasker. Indeed, I discovered the great app xda gestures and it works great. However, I was a bit dissatisfied of the way it works in Messages or anywhere where there is a textbox so I found a tasker profile called "Hide XDA Navigation Gestures NavBar While Typing 1.0."
I am no Tasker expert but I have read forums so I was able to rename the downloaded file to .prf.xml and then import it as a profile in Tasker. However, in the notification area I keep having the message 'no active tasker profile" whereas I have activated the profile. I have also read that I had to grant Tasker some permissions through ADB, which I did (I think...I did not get any confirmation message though).
Anything else I might have forgotten ?
thanks !
This profile is an instantaneous event type of profile. You really won't see a notification because it's done almost before it starts. The type of context triggers that you will see green when active and described in the Tasker notification are things like time (blocks of time not fire once at 7am type), on app launch, WiFi connected, ect.
If you didn't find the writeup explaining this profile on the AutoApps forum, here's a link.
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
ktmom said:
This profile is an instantaneous event type of profile. You really won't see a notification because it's done almost before it starts. The type of context triggers that you will see green when active and described in the Tasker notification are things like time (blocks of time not fire once at 7am type), on app launch, WiFi connected, ect.
If you didn't find the writeup explaining this profile on the AutoApps forum, here's a link.
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
Click to expand...
Click to collapse
thanks! Interesting. I did found the page and this is where I downloaded the profile. However, I must still be missing something as it does not work, i.e., the nav bar remains even when I type.
lillumultipass99 said:
thanks! Interesting. I did found the page and this is where I downloaded the profile. However, I must still be missing something as it does not work, i.e., the nav bar remains even when I type.
Click to expand...
Click to collapse
If your ROM doesn't support immersive mode, it won't work. Do you have the ability to set it manually?
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini

Why is part of a task not working automatically, but works when I play it manually?

The AutoHue plugin using "Hue 2.0" works when I tap play. But it does not work when the task is triggered (when I arrive home after 6pm).
Here is a screen capture: https://streamable.com/ucnjs
The wifi is already on because the task turned it on when I got close to my house. But the lights didn't turn on until I played the task manually.
When I first arrive, it's in Car / Home profiles at the same time, but I don't see why that would matter.
It's so close to working. What's the problem?
It might be a timing issue. Maybe you need a delay before the action so that you are well and truly connected to your WiFi before the next action. What does the Tasker log say?
It's better to share your profile when it's not working as expected. The exported description provides much more information than a screenshot.
Make sure it's named - not a default name assigned by tasker. To name the profile if it isn't already, long press on the name to highlight the profile and, at the top, tap the square with the A.
Then long press on the name to highlight the profile. Go to the 3-dot menu and select export -> Description to Clipboard.
Now you'll be able to paste it. Be aware, it easier to use pastebin and link to a post here. If you paste in a post here, the forum software will convert all semicolons with characters directly after to emoticons making it very hard to read.
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
ktmom said:
It might be a timing issue. Maybe you need a delay before the action so that you are well and truly connected to your WiFi before the next action. What does the Tasker log say?
It's better to share your profile when it's not working as expected. The exported description provides much more information than a screenshot.
Make sure it's named - not a default name assigned by tasker. To name the profile if it isn't already, long press on the name to highlight the profile and, at the top, tap the square with the A.
Then long press on the name to highlight the profile. Go to the 3-dot menu and select export -> Description to Clipboard.
Now you'll be able to paste it. Be aware, it easier to use pastebin and link to a post here. If you paste in a post here, the forum software will convert all semicolons with characters directly after to emoticons making it very hard to read.
Click to expand...
Click to collapse
I didn't realize I had to be on my wifi network to use AutoHue. That kind of defeats the purpose, since I want my lights to turn on before I pull into my driveway.
I used IFTTT for a year or so to trigger my lights when I get near my house. It worked fine and consistently until recently. Now, there is a delay that varies from a few minutes to like 30 minutes.
This shouldn't be that difficult. I just want my Hue lights to come on when I get close to my house...
Actually, I assumed you were connecting via your home WiFi. If you are using an internet service, maybe you should run that action first before it attempts to connect to your home WiFi.
Troubleshooting might be easier if you look at the Tasker log, try an abbreviated task to focus on the problem and/or post the task so we're not guessing what you are doing.
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
I ended up learning how to do a run shell in Tasker to trigger a Webhook IFTTT event. It seems convoluted, but it's the best solution I could find.
Seems like it shouldn't be that difficult. I can open Google Assistant on my phone and say a command to trigger IFTTT. Why do I have to go through all this CURL, APIKEY, Webhook, Tasker Run Shell action text, etc., just to do the same thing I could do by saying "lights on" in Google Assistant?
Because Google Assistant is doing all of that behind the scenes for you.
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
ktmom said:
Because Google Assistant is doing all of that behind the scenes for you.
Click to expand...
Click to collapse
Right. It just seems like a plugin or something should be similarly easy for Tasker.
I've noticed Hue's bridge to internet is a bit slow, and if you switch from cell to wifi during the action it times out.
I would simply use your trigger, (location) and turn on Hue lights, then set a 5 minutes timer, then have Wifi turn on.

Categories

Resources