Using Tasker/secure settings to toggle notification access - Tasker Tips & Tricks

I would like to know if it is possible to use Tasker and/or secure settings (both installed on phone) to toggle notification access for wear os. Basically to turn off notification access for wear os when my phone is unlocked/screen on, and turn it back on when my phone is locked/screen off. This seems to me like a pretty simple way to prevent my watch from receiving notifications when my screen is on. I have a Ticwatch E2 and a Moto G7 Power. Neither are rooted and I do not have access to a PC to root them. If there is an easier way to prevent watch notifications when my phone is unlocked, I am open to that as well.

Related

Tasker profile to turn Airplane Mode Off when performing Touchless Controls Voice Sea

I've been playing around with Tasker trying to detect when Touchless Controls are summoned to disable Airplane mode(Secure Settings).
Does anyone have a profile for this because I was pretty close to getting it to work but I had a couple of issues. I was able to get it to perform the task when Touchless Controls were active. I would have it disable Airplane Mode, close Touchless Controls and launch Voice Controls but even using the Wait command I wasn't able to get it to launch Voice Controls once the internet connection was established.
I must have been setting the task wrong, I also noticed even though I used the If parameter for Airplane Mode Set, it would close the Touchless controls if Airplane Mode wasn't enabled.
ohmimpotence said:
I've been playing around with Tasker trying to detect when Touchless Controls are summoned to disable Airplane mode(Secure Settings).
Does anyone have a profile for this because I was pretty close to getting it to work but I had a couple of issues. I was able to get it to perform the task when Touchless Controls were active. I would have it disable Airplane Mode, close Touchless Controls and launch Voice Controls but even using the Wait command I wasn't able to get it to launch Voice Controls once the internet connection was established.
I must have been setting the task wrong, I also noticed even though I used the If parameter for Airplane Mode Set, it would close the Touchless controls if Airplane Mode wasn't enabled.
Click to expand...
Click to collapse
I'm still a tasker noob but I'm wondering, how is it knowing that touchless controls are active?
I would think the easiest way, and I'm throwing this out there , is to enable airplane mode when the screen is off and disable it when the screen is on. quick and simple.
ForSquirel said:
I'm still a tasker noob but I'm wondering, how is it knowing that touchless controls are active?
I would think the easiest way, and I'm throwing this out there , is to enable airplane mode when the screen is off and disable it when the screen is on. quick and simple.
Click to expand...
Click to collapse
UPDATE: Ok i figured out what was wrong. Instead of checking AIR is Set, I needed to specify *on* and *off* so
Currently the task is
1 If %AIR Is *on*
2 Secure Settings, Airplane Mode Disabled (There may be a 3 second delay here or on the next step)
3 Kill App Touchless Control
4 Wait X seconds (3-4 seconds seems to be optimal)
5 Load App Voice Search (Can set If %AIR Is *off* may help)
ohmimpotence said:
It was tricky finding it, using the Application Context even when I selected all I wasn't able to initially find Touchless Controls. I searched for it in ES File Explorer and made a copy of it to another folder and launched the properties and suddenly I was able to locate it in Tasker, not sure what actually made it show though.
Your suggestion sounds like a pretty considerable method, I'll give it a shot. I think the main issue is that I'm not able to get enough of a delay between turning Airplane mode off and launching Voice Search because the connection doesn't fully establish yet.
Currently the task is
1 If %AIR Is Set
2 Secure Settings, Airplane Mode Disabled
3 Kill App Touchless Control
4 Wait (tried variable times, it didn't seem to make a diff. I also tried Wait Until %Air ! Set)
5 Load App Voice Search (Tried If %Air ! Set, didn't seem to help)
Click to expand...
Click to collapse
oddly enough I don't even get the option to set airplane mode in secure settings but I see the dilemma you're running into .. in my 'scientific test' I would disable all radios minus the actual cellular. Then from there let the screen sleep. Speak a command and it would light up, kicking on the Bluetooth and Data radios in a instant, then jump straight to the google voice prompt long before wireless was connected, buuuuuut, I had bluetooth, and Mobile data load almost immediately upon the screen lighting up. Do you specifically need wifi or can you use mobile data until wifi is up?
ForSquirel said:
oddly enough I don't even get the option to set airplane mode in secure settings but I see the dilemma you're running into .. in my 'scientific test' I would disable all radios minus the actual cellular. Then from there let the screen sleep. Speak a command and it would light up, kicking on the Bluetooth and Data radios in a instant, then jump straight to the google voice prompt long before wireless was connected, buuuuuut, I had bluetooth, and Mobile data load almost immediately upon the screen lighting up. Do you specifically need wifi or can you use mobile data until wifi is up?
Click to expand...
Click to collapse
You'll need to load Secure Settings App and download Helper under one of the tabs on the top (There is a 4.1+ alternative)
Also to mess with Airplane on 4.2+ firmware you need an Xposed module, just search Airplane.. it says Jellybean but it works fine with KitKat.
I added another tidbit to the task so it will vibrate if I launch Touchless Controls with Airplane enabled, that way I realize not to speak until the second beep. Not sure why but it didn't function well when I added it to the same task so I created another Touchless App context profile and a task that just vibrates but it could just be me.
The only other issue is making sure Super SU settings remembers Secure Settings is permitted, that was an issue when it was slow to recognizing permissions.
I also created an App (using Tasker Factory) out of Airplane Mode enabled task so I can just say Ok Google Now, Launch Airplane (I also have a Screen Off app)
Everything is working good now
How did you end up getting Tasker to recognize whether or not Touchless Controls was active? I'm trying to get Tasker to turn on the wifi, (sometimes I turn it off, then use TC--but it doesn't have data, so it's useless), when TC is called.
natezire71 said:
How did you end up getting Tasker to recognize whether or not Touchless Controls was active? I'm trying to get Tasker to turn on the wifi, (sometimes I turn it off, then use TC--but it doesn't have data, so it's useless), when TC is called.
Click to expand...
Click to collapse
You should just be able to set the profile to run on the TC app (I forget all the specific names, but one of the profile trigger actions is 'apps')
piccit said:
You should just be able to set the profile to run on the TC app (I forget all the specific names, but one of the profile trigger actions is 'apps')
Click to expand...
Click to collapse
I don't have Touchless Controls as an app--just Touchless Controls Settings.
natezire71 said:
I don't have Touchless Controls as an app--just Touchless Controls Settings.
Click to expand...
Click to collapse
I believe that works
piccit said:
I believe that works
Click to expand...
Click to collapse
Not for me
any idea how to set up Tasker to turn on airplane mode at a specific time and turn it off at a specific time? The idea is to have airplane mode turned on at say 1am and turned off at 7am. Anyone?

[Q] Keep screen ON when docked or charging

I would prefer that my screen remain ON when I have my MotoX plugged in while driving. I use the Car Home Ultra app and the setting to keep screen on doesn't seem to work. I can't figure out which phone setting is cause the screen to turn off no matter what. Any ideas?
You can set the screen to stay on while charging in Developer options. It is a hidden menu in settings. To access it go to about phone and scroll down to the build number and click it repeatedly until you see a message you're now a developer. Then back out and Developer options should now be above about phone. Choose the stay awake option to keep the phone from sleeping while charging. Please note that the screen will stay awake while charging at home as well.
Sent from my Moto X.
fluidj said:
I would prefer that my screen remain ON when I have my MotoX plugged in while driving. I use the Car Home Ultra app and the setting to keep screen on doesn't seem to work. I can't figure out which phone setting is cause the screen to turn off no matter what. Any ideas?
Click to expand...
Click to collapse
There is an added Dim Screen in Qualcomm settings that works in conjunction with the Dev option, which is also duplicated in QS.
fluidj said:
I would prefer that my screen remain ON when I have my MotoX plugged in while driving. I use the Car Home Ultra app and the setting to keep screen on doesn't seem to work. I can't figure out which phone setting is cause the screen to turn off no matter what. Any ideas?
Click to expand...
Click to collapse
The Option Given by User " Dark9781" is the Best.....
However, 2 more Options Here:
Download the Official Motorola App. SMART ACTIONS from Google Play. Or something Similar...
In the Car Dock Option / Charging Option you can set the Display Screen 'Off' to NEVER.
[ The Motorola Droid RAZR has an app developed by Motorola called Smartactions, which allows for automated tasks based on time, battery charge, and other phone sensors.]
Smart Actions is the same as 'Assist' Which is Provided by MotoX
2) In case You just Need A Screen On feature / Clock On / Photos/ While Charging.....
MOTO X Has a feature Called 'daydream'
Go to Settings > Display > Daydream...
When to Day Dream.... U can Set the Clock to stay on While Charging / Docked
just a warning from personal experience, AMOLED screens are fairly vulnerable to burn-in, letting the screen stay on for extended periods of time will cause it. had my gnex set up this way and it permanently has the tunein radio logo burned in, from leaving the screen on while driving.
jeasbe said:
The Option Given by User " Dark9781" is the Best.....
However, 2 more Options Here:
Download the Official Motorola App. SMART ACTIONS from Google Play. Or something Similar...
In the Car Dock Option / Charging Option you can set the Display Screen 'Off' to NEVER.
[ The Motorola Droid RAZR has an app developed by Motorola called Smartactions, which allows for automated tasks based on time, battery charge, and other phone sensors.]
Smart Actions is the same as 'Assist' Which is Provided by MotoX
2) In case You just Need A Screen On feature / Clock On / Photos/ While Charging.....
MOTO X Has a feature Called 'daydream'
Go to Settings > Display > Daydream...
When to Day Dream.... U can Set the Clock to stay on While Charging / Docked
Click to expand...
Click to collapse
The only problem with using Smart Actions is that it is not compatible with newer devices such as the X. It may be possible to sideload it, but it may not work properly.
Edit: Tasker may be an alternative to Smart Actions, but it is not free.
Sent from my Moto X.

Watch does not push notifications automatically

It seems like suddenly, my watch doesn't like pushing notifications out to it. My phone will vibrate, then my watch won't get the notification until i tap the screen to wake it up. If i restart or factory reset the device, it'll help a little bit. Paired to a GS5 running alliancerom, but it doesn't seem to matter what ROM i use. Anyone else?

notification draw wifi

just got this phone nice to use but has a little thin i don't like when the phone is locked with password you can still pull down the notification draw change accounts and turn off wifi if you can turn off wifi and change user defeats the object of having the lost phone tracking on as the phone can be used without unlocking any way to disable this
thanks

I was able to turn off talkback, but now I can't get the notification "hand" off!

I was able to turn off talkback, but now I can't get the notification "hand" off!
I've got a samsung g6 phone (not edge version). I have accidentally turned on talkback before and was able to turn it off with no problem. The phone isn't talking back to me anymore, but This time I can't get the stupid hand notification of my phone and it still says that talk back is activated even though all of the settings for it are turned off? Please help!

Categories

Resources