Hello,
i am from Germany and my Englisch is not very improved. To describe my issue i will do my best...
I have a new Phone, a Huawei Mate 20 pro.
I like to automate some operations and i use useualy Macrodroid for this. On other devices this hasn't been a problem but on the Huawei i have a problem to start Bluetooth automatically.
When Macrodroid starts Bluetooth I have to confirm a dialog per tap, if i do not Bluetooth doesn't start. But this is not automatically.
Is there any possibility to confirm this dialog (Photo) automatically?
Is there a Tool that is able to recognize this dialog and that may confirm it witout the need of manual confirmation?
I read that tasker can do this but i do not unterstand enough from Tasker and its Variables to create an correspndenting task.
Somebody here with an idea?
Thanks in advance...
I have never used macrodroid do I don't know about this confirmation screen.
I've never heard of anybody having trouble with a confirmation dialog using Tasker.
What condition do you want to cause the Bluetooth to turn on?
The way Tasker works is a condition (1 or more) is met then a task executes. The condition - called a context in Tasker - and related tasks which contain the actions which will be executed, are all contained within a profile.
There is probably no reason to need a variable just to turn bluetooth on.
For example, if you want to turn bluetooth on anytime you leave the house, and you have a WiFi network at home, then the context would be WiFi near and the entry task would have an action to turn off Bluetooth (you're home). And the exit task (when WiFi near is not true) would turn on Bluetooth.
There are many tutorials out there. There is a sticky post in this forum with video tutorials. There is also a beginner guide here and here.
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
I would also like to know more about this.
If the information I provided above doesn't help, then I strongly suggest you explore beginner tutorials that are available in excess on the web.
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
Thanks for the answers.
This confirmation screen is an annoying Huawei thing, and it appears when every third party app starts or ends Bluetooth. The same confirmation is shown, when i try to start Bkuetooth with a Tasker task, no matter what profile or trigger. I think for that problem there is no beginner tutorial...
My question is:
is there a possibility to confirm this dialog automatically with tasker, even if the phone Screen is off?
You could use the AutoInput plugin to mimic the touches. It would be something like: Tasker action to turn on BT -> AutoInput UI query to wait for confirmation screen -> AutoInput enter correct response on the screen
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
Hi
Any sulotion to this problem with Huawei phones ?
(This confirmation screen is an annoying Huawei thing, and it appears when every third party app starts or ends Bluetooth. The same confirmation is shown, when i try to start Bkuetooth with a Tasker task, no matter what profile or trigger.)
Brg
Einar
Would like to know too!
There is this discussion in the Huawei Mate 9 Pro Questions & Answers forum.
There is also this sub-reddit that suggests the problem is a bug.
If giving were permissions doesn't help, the only solution I'm aware of it's been pointed out in this thread, emulating touches to dismiss the alert.
Related
Hi guys, what I want send simple but I'm a novice with Tasker so I wouldn't know how to do this, if it's even possible.
What I want is for Tasker to count/keep track of how many times it rains in whatever location I'm in and once it gets to a certain number then it'll notify me.
Is this possible at all?
You could set up a task to engage with a weather API for either forecasted or past observations. Dark Sky is a possibility.
You would need either JavaScript or the AutoTools (plugin) JSON read action to interact with the API.
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
Is there any chance you could tell me how to do that?
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
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.
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
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.