Tasker - Reading Mode (OnePlus 6) Time triggered - Tasker Tips & Tricks

Hey community,
I recently bought the OP6 and discovered the reading mode. Unfortunately it was not possible for me to time trigger the reading mode like the night mode. (Just by opening predefined apps).
So I made some research and found the TASKER App with which U thought I could handle this issue. Unfortunately I couldn't make a task run. The reading mode was not detected by TASKER and so I instead the plug-in AUTO-TOOLS. I tried to make a secure setting to automatically identify the reading mode in TASKER.
This didn't work. Now I need your support to find a solution, how to make a time trigger for enabling and disabling the reading mode on the OnePlus 6.
Thanks for your help in advance.
poweRalph

I don't have a OP device so I'm not positive, but I think the setting is managed through the system settings. You would have to find the correct setting but I think it's something like "reading_mode_status".
Look through Not Enough Tech's [URL="http://35.188.28.166/tasker/tasker-run-shell-commands/" ]Best run shell commands in Tasker[/URL] post. You'll be looking through system settings.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers

poweRalph said:
Hey community,
I recently bought the OP6 and discovered the reading mode. Unfortunately it was not possible for me to time trigger the reading mode like the night mode. (Just by opening predefined apps).
So I made some research and found the TASKER App with which U thought I could handle this issue. Unfortunately I couldn't make a task run. The reading mode was not detected by TASKER and so I instead the plug-in AUTO-TOOLS. I tried to make a secure setting to automatically identify the reading mode in TASKER.
This didn't work. Now I need your support to find a solution, how to make a time trigger for enabling and disabling the reading mode on the OnePlus 6.
Thanks for your help in advance.
poweRalph
Click to expand...
Click to collapse
You can use Custom setting to find which option to toggle.
And I attach screenshot for you (I've tested in Oneplus 5T)
secure
night_display_activated
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my Oneplus 5T

Reading Mode - not Night Mode
aillez said:
You can use Custom setting to find which option to toggle.
And I attach screenshot for you (I've tested in Oneplus 5T)
secure
night_display_activated
View attachment 4556219
Sent from my Oneplus 5T
Click to expand...
Click to collapse
Thanks for the quick response,
unfortunately your variable is for the night mode and not for the reading mode. Tasker wasn't able to identify the right variable for the reading mode itself.
Hopefully we can find out the right variable for the reading mode.
Thanks for your efforts by now.
poweRalph

poweRalph said:
Thanks for the quick response,
unfortunately your variable is for the night mode and not for the reading mode. Tasker wasn't able to identify the right variable for the reading mode itself.
Hopefully we can find out the right variable for the reading mode.
Thanks for your efforts by now.
poweRalph
Click to expand...
Click to collapse
Oops sorry then I picked up the wrong setting.
Here what it works for sure.
system
reading_mode_status_manual
either 0 (off) or 1 (on)
hopes this work in your device.

I'm not sure you can see my attachment or not. So, I re-upload here again.
Sent from my Oneplus 5T

Error message occurs when testing this task
aillez said:
You can use Custom setting to find which option to toggle.
And I attach screenshot for you (I've tested in Oneplus 5T)
secure
night_display_activated
View attachment 4556219
Sent from my Oneplus 5T
Click to expand...
Click to collapse
aillez said:
I'm not sure you can see my attachment or not. So, I re-upload here again.View attachment 4556869
Sent from my Oneplus 5T
Click to expand...
Click to collapse
Hi,
I tried it out immediately, but my OP6 phone shows an error message and doesn't toggle the reading mode.
Here is what it shows:
"05.35.27/MyPM getReceiverInfo: android.content.pm.PackageManager$NameNotFoundException: ComponentInfo{com.joaomgcd.autotools/com.joaomgcd.autotools.broadcastreceiver.IntentServiceFire}
05.35.27/ android.app.ApplicationPackageManager.getReceiverInfo(ApplicationPackageManager.java:463)
05.35.27/ net.dinglisch.android.taskerm.du.a(Unknown Source:1)
05.35.27/ net.dinglisch.android.taskerm.du.f(Unknown Source:0)
05.35.27/ net.dinglisch.android.taskerm.el.a(Unknown Source:336)
05.35.27/ net.dinglisch.android.taskerm.ExecuteService.a(Unknown Source:57)
05.35.27/ net.dinglisch.android.taskerm.ExecuteService.a(Unknown Source:296)
05.35.27/E FIRE PLUGIN: AutoTools Secure Settings / com.twofortyfouram.locale.intent.action.FIRE_SETTING: 6 bundle keys
05.35.27/E AutoTools Secure Settings: plugin comp: com.joaomgcd.autotools/com.joaomgcd.autotools.broadcastreceiver.IntentServiceFire
05.35.27/E add wait type Plugin1 time 60
05.35.27/E add wait type Plugin1 done
05.35.27/E handlePluginFinish: taskExeID: 1 result 3
05.35.27/E pending result code
05.35.27/E add wait task
05.35.27/E Fehler: 1185377229
05.35.27/E Can't change setting on this device: You cannot keep your settings in the secure settings."
Perhaps you know what went wrong here.
I appreciate your help.
poweRalph

poweRalph said:
Hi,
I tried it out immediately, but my OP6 phone shows an error message and doesn't toggle the reading mode.
Here is what it shows:
"05.35.27/MyPM getReceiverInfo: android.content.pm.PackageManager$NameNotFoundException: ComponentInfo{com.joaomgcd.autotools/com.joaomgcd.autotools.broadcastreceiver.IntentServiceFire}
05.35.27/ android.app.ApplicationPackageManager.getReceiverInfo(ApplicationPackageManager.java:463)
05.35.27/ net.dinglisch.android.taskerm.du.a(Unknown Source:1)
05.35.27/ net.dinglisch.android.taskerm.du.f(Unknown Source:0)
05.35.27/ net.dinglisch.android.taskerm.el.a(Unknown Source:336)
05.35.27/ net.dinglisch.android.taskerm.ExecuteService.a(Unknown Source:57)
05.35.27/ net.dinglisch.android.taskerm.ExecuteService.a(Unknown Source:296)
05.35.27/E FIRE PLUGIN: AutoTools Secure Settings / com.twofortyfouram.locale.intent.action.FIRE_SETTING: 6 bundle keys
05.35.27/E AutoTools Secure Settings: plugin comp: com.joaomgcd.autotools/com.joaomgcd.autotools.broadcastreceiver.IntentServiceFire
05.35.27/E add wait type Plugin1 time 60
05.35.27/E add wait type Plugin1 done
05.35.27/E handlePluginFinish: taskExeID: 1 result 3
05.35.27/E pending result code
05.35.27/E add wait task
05.35.27/E Fehler: 1185377229
05.35.27/E Can't change setting on this device: You cannot keep your settings in the secure settings."
Perhaps you know what went wrong here.
I appreciate your help.
poweRalph
Click to expand...
Click to collapse
can you just use Tasker custom setting to try out (not via Autotools)?
Sent from my Oneplus 5T

Error message
aillez said:
can you just use Tasker custom setting to try out (not via Autotools)?
Sent from my Oneplus 5T
Click to expand...
Click to collapse
Hi,
Good hint, but unfortunately a new error message occurs.
Please find it below:
"06.14.05/E Custom Setting: ->
06.14.05/E Custom Setting: Can't change this system setting. Check notification.
06.14.05/E result: stop task (error)
06.14.05/E Fehler: 1
06.14.05/MacroEdit action finished exeID 1 action no 0 code 235 status: Err next 0"
No notification pops upby the way.
But I also didn't found a possibility to put in the value 1 or 0. Just entered =:=toggle=:= into the value field

poweRalph said:
Hi,
Good hint, but unfortunately a new error message occurs.
Please find it below:
"06.14.05/E Custom Setting: ->
06.14.05/E Custom Setting: Can't change this system setting. Check notification.
06.14.05/E result: stop task (error)
06.14.05/E Fehler: 1
06.14.05/MacroEdit action finished exeID 1 action no 0 code 235 status: Err next 0"
No notification pops upby the way.
But I also didn't found a possibility to put in the value 1 or 0. Just entered =:=toggle=:= into the value field
Click to expand...
Click to collapse
Did you give all permission Tasker required? looks like it can't change system setting because of that.

aillez said:
Did you give all permission Tasker required? looks like it can't change system setting because of that.
Click to expand...
Click to collapse
Yes I did. Couldn't find a way to change it afterwards. But I remember that I have all the permissions and as well had some USB debugging/ADB-permissions I gave to TASKER right after installing.
All the best,
poweRalph

poweRalph said:
Yes I did. Couldn't find a way to change it afterwards. But I remember that I have all the permissions and as well had some USB debugging/ADB-permissions I gave to TASKER right after installing.
All the best,
poweRalph
Click to expand...
Click to collapse
Then maybe you need to contact Tasker developer and submit the log to him.. see if he can solve it or not.

solution?
setting `reading_mode_status` to 1 AND `reading_mode_status_manual` to 1 (in either order) seems to work for me (as the task).
I wanted to be in reading mode always (since I'm trying to use my phone less and seeing the screen in B&W helps with that apparently)
If there someone who wants to do that too, I set 3 profiles:
1. Display unlocked
2. Display on
3. Device boot
all with the same task as above.

Related

[Tutorial] How to set up sms/call/email count with tasker and minimalistic text

Since tasker can be complicated ive tried to make this as simple as possible even though it might not seem like it. This is my first tutorial so constructive criticism and comments are appreciated!
NOTE: If you dont know what Tasker is research it and what it does otherwise you wont understand this tutorial.
1. Setting up the first profile
A. Okay first we need to start a new profile in tasker by clicking "new" on the bottom.
Name it whatever you want or leave it blank.
Your first profile should look like this once completed:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
2. Setting when your context so tasker will know when its supposed to do something
A. You want your context to be "received text".
Choosing through menus go to "Event>Phone>Received Text"
3. Setting up what tasker is supposed to do when the "conditions/context" are met
A. Next we need a task, name it whatever you want or leave it blank. Add a task by clicking the plus on the bottom left. When choosing actions you want to navigate to "Variable>Variable Set"
When setting up this variable, you want it to look like this:
Make sure there are spaces between the + and 1 and "Do Maths" is checked otherwise it wont display right.
4. Setting up tasker so it will send the sms count to Minimalistic Text widget
A. Add a 2nd task by clicking the plus on the bottom left. When choosing an action navigate to "Plugin>Minimalistic Text variable settings. The settings will show up, set them up like this:
Okay so we've set up a profile to add a 1 to the count everytime you have a new text. Problem is, we have to set up another profile to reset the count to 0 after youve read your texts
5. Setting up the 2nd profile so your sms app to reset the count to 0 when closed
A. Start a new profile, name it or not, and add a context of "Application>whatever messaging app you use here". I use chompsms so for me its "Application>chompsms".
It will look like this when completed:
B. Set up the new variable like so:
This will reset the counter to zero everytime you close out of your messaging app
EDIT: its also possible to have not have the zero displayed so theres nothing there. Instead of using "variable set" use "variable clear" with the variable your using.
THANKS: ayhaadam for reminding me of this
C. Add one more variable to have Tasker display it through Minimalistic text. Its the same set up as step 4A
6. Setting up minimalistic text to display tasker variables
A. Create a new minimal text widget on your homescreen/lockscreen and choose "custom layout". Add "Locale Variable" from Misc and set up the variable name to be % MNMLMSGCOUNT
NOTE: Minimal text will not add "SMS" or "MESSAGES" in front of the count. You have to manually add it with "Static Text" under Misc
Exapmles of how i use it:
Please leave questions or comments if you have them and since i did this on my phone i will check how it looks on a computer soon
Thanks: thedesolatesoul for explaining to me how to set this up! He should post a screen of his so we'll see how his is set up
Update 2-10
Missed Call Count: call count is achieved by following the tutorial and changing "MSGCOUNT" to "MISSEDCALL" and changing the 2nd profile app to phone
Update 2-11
Unread Email Count: this works with only K-9 since its open source. Same set up for sms count just different context "K9 Email Received" and different variable "%UNREADEMAILCOUNT". The 2nd profile context to set it to zero is app "K9"
thanks for the guide! this is wayy shorter than the other variants
i think a couple images are missing though
I appreciate you posting this.. always looking for new ways to use Tasker.. I've only scratched the surface so far..
Thanks guys! Ill add more pictures too
Do you have any other cool things you've done with Tasker?
rrambo said:
Do you have any other cool things you've done with Tasker?
Click to expand...
Click to collapse
Ive only used it for sms but you can use it for weather, call count, battery, just about anything
Great TUT, thank-you very much!
giank30 said:
Great TUT, thank-you very much!
Click to expand...
Click to collapse
No problem
Hi,
Awesome, I will try !!
Edit : I succeed everything, only one. When I go in Minimalistic, I create my own, and in my homescreen there is : "SMS : " but no 0 with ..
Have you got any idea?
( I am so sorry for my bad english, I hope you understand..)
Loam1990 said:
Hi,
Awesome, I will try !!
Edit : I succeed everything, only one. When I go in Minimalistic, I create my own, and in my homescreen there is : "SMS : " but no 0 with ..
Have you got any idea?
( I am so sorry for my bad english, I hope you understand..)
Click to expand...
Click to collapse
Try going into your sms app and then hitting home or back
Nothing happens
I don't understant, I did like you said
In minimalistic, it's writing : "SMS[LOCTV]
Loam1990 said:
Nothing happens
I don't understant, I did like you said
In minimalistic, it's writing : "SMS[LOCTV]
Click to expand...
Click to collapse
Did you set LOC to %MNMLMSGCOUNT?
In "Variable Name" ? I did..
Great post!
Loam1990 said:
In "Variable Name" ? I did..
Click to expand...
Click to collapse
Hmm im not sure. With the app profile make sure your variable is set "To 0"
It is in "To 0"...
Maybe I found the problem ! Tasker says me "no profil active", is it the problem ? How can I active my profil ?
Sorry for all my questions
Loam1990 said:
It is in "To 0"...
Maybe I found the problem ! Tasker says me "no profil active", is it the problem ? How can I active my profil ?
Sorry for all my questions
Click to expand...
Click to collapse
Haha its alright. Make sure all your profiles are checked on the right and in the bottom right make sure the on is green like so:
Then hit apply and it should work fine
I don't understand, everything looks good, but nothing happens ! I don't understand
Loam1990 said:
I don't understand, everything looks good, but nothing happens ! I don't understand
Click to expand...
Click to collapse
Do you have a task killer running? Im not sure if it matters with tasker but i always set it to "ignore"
Our next option - post your screens of your tasks from the task edit menu
Sent from planet earth
Nice work akoe...i like the direction this is heading in
Loam1990,
You need to break down what actually isnt working
First find out if the context is being triggered, then find out if the task is working, then find out why the variable isnt reaching minimalistic text
...and easy way to do this is go into the tasks you made for clearing the count, and press the 'Test' button at the bottom
If it works it means your tasks are fine and your context is wrong
otherwise your context is right but your tasks/variables are wrong
anyways...just wanted to post my screenshot too

[GUIDE][Difficulty: Beginner] Enable 'Smart Lock' on Bluetooth LE devices

Android 5.0 Lollipop added the ability to keep your device unlocked so long as you stay connected to a trusted bluetooth device. Dubbed "Smart Lock", the feature is quite useful if you own a smart wearable that you keep on you at all times. However, Smart Lock is unavailable for devices that connect to your phone via Bluetooth Low Energy. Some manufacturers offer the ability to simulate Smart Lock through keeping their app on in the background (such as Xiaomi's Mi Band and the Mi Fit app), but others do not.
If you, for instance, own a basic Fitbit or one of the new Honor Z1 bands among others, then you'll be able to keep your phone unlocked so long as your wearable is in range of your phone by following this Tasker guide.
Prerequisites
Secure Settings plug-in
Bluetooth 4.0 LE enabled device
A Bluetooth LE Scanner app
Instructions
Ensure that Secure Settings is set as a Device Administrator by opening the app and going to the Preferences screen. This is so the plugin has the ability to enable/disable the lockscreen.
Bring your phone and your device close together. Open the BLE Scanner app you downloaded above, and press SCAN.
Write down the MAC ID of the device that shows up at the top of the list. This should be the address of the Fitbit or other wearable, in case the name doesn't properly populate.
Click + to create a new Profile and name it "Watch Near" or anything else you want.
Select the State context, then select "BT Near" under "Net."
Once you're in the BT Near setting, type in the Bluetooth Address that you wrote down earlier under "Address." Additionally, select "Low-Energy (LE) Devices" and "Unpaired Devices". Leave everything else unchecked and/or default.
Press the back key to save and exit the context setup.
Tasker will now ask you to set up a new task associated with this context. Click on "New Task" and optionally give the task a name. Before we move on, here's a picture of what the context screen should look like.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Now that you've got the context set-up, we're going to make a simple entry and exit task to correspond to when your phone connects/disconnects to your smart wearable.
Plugin --> Secure Settings. Under the Dev Admin Actions dropdown, select Password/Pin. Make sure that the box is set as "DISABLED" and that Device Admin Enabled is checked. Press the save icon up top to exit, then press the back key once you're back in Tasker.
Press back once more to exit the task creation. Now expand the Profile you just created by tapping on its name. Long-press on the Task that launches, the select "Add Exit Task."
Within this new task, you're going to do the opposite of what you did above. Plugin --> Secure Settings. Select Password/Pin under Dev Admin Actions again, but this time change the box to "ENABLED" and set up the password or pin code that you desire. Exit out all the way after you're done.
That's it! Your phone should now automatically disable the pin/password when your bluetooth device is in range, otherwise it will re-enabled it. You can expand the power of this task by adding some alerts for when your device and phone disconnects, the choice is up to you!
Does it work only with bt le?
Enviado do meu Mi 4i
mclaudio77 said:
Does it work only with bt le?
Enviado do meu Mi 4i
Click to expand...
Click to collapse
Smart Lock already works with regular bluetooth devices out of the box, so I wouldn't recommend using Tasker for that. But yes, if you put in the Bluetooth MAC ID into Tasker it will work the same way.
Does not work with my meizu pro5 and Xiaomi mi band 1s (Android 5.1.1)
Still I need to put my finger on finger scanner or putting the pin code to unlock the device
Will it break the device protection and the encryption
This is great thanks, I am using this with a cheap Bluetooth tracker keyring I got from eBay for 99p.
Edit
I need to test this a little more with the tag. The tag seems to power its self off which means it doesn't then trigger BT Near.
Where is the Secure Settings plug-in? There is an app of that name, by intangibleObject - is that what you mean?
fjuniper said:
Where is the Secure Settings plug-in? There is an app of that name, by intangibleObject - is that what you mean?
Click to expand...
Click to collapse
The Secure Settings Plugin is in an app called "Tasker".
However, having setup this instructions it seems to me that Secure Settings or TAsker never triggers a lockscreen/password protection to be active. What is your default state ? OS Version ? Do you have any initial password options enabled ?
deepsync said:
The Secure Settings Plugin is in an app called "Tasker".
Click to expand...
Click to collapse
Ah, thanks - I have Tasker, but didn't realise what the OP meant.
deepsync said:
However, having setup this instructions it seems to me that Secure Settings or TAsker never triggers a lockscreen/password protection to be active. What is your default state ? OS Version ? Do you have any initial password options enabled ?
Click to expand...
Click to collapse
I haven't had time to try it yet - I am on Marshmallow and have a BT LE step counter to test it with, when I have a chance.
Please Do. It works but somehow Timing of tasker to Check connection is not really good
This can be accomplished using the delayed lock app in conjunction with the Tasker plugin without having to use secure settings
Sent from my Nexus 5 using Tapatalk

How to enter username & password for connecting to WiFi network in office?

Hi,
Kindly help me to automate this task using Tasker.
I am using Oneplus 3 with CM14.1. I have already created a task which automatically enables Wifi whenever I am near to home or office (using Cella near). That is working fine.
In my office, whenever we connect to WiFi, it is showing a notification asking to enter username and password. I have to enter the username and password every time when I disconnect and reconnect.
How can I automate this authentication process using Tasker?
These are the screenshots :-
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Regards,
Vidya Sagar
nagurvidyasagar said:
Hi,
Kindly help me to automate this task using Tasker.
I am using Oneplus 3 with CM14.1. I have already created a task which automatically enables Wifi whenever I am near to home or office (using Cella near). That is working fine.
In my office, whenever we connect to WiFi, it is showing a notification asking to enter username and password. I have to enter the username and password every time when I disconnect and reconnect.
How can I automate this authentication process using Tasker?
Regards,
Vidya Sagar
Click to expand...
Click to collapse
I guess AutoInput can do this. Save your user name and password to a file on your phone. Let Tasker pull this information and AutoInput put it in there. That is what I would try to do.
Sent from my ONEPLUS A3003 using Tapatalk
Hi,
I am using Skype for business on mobile phone. If there is no activity for few minutes, status changing to "Away - Mobile". Can someone help me to create a profile which will refresh Skype for business app every 30 seconds. If I keep it active (navigating / taping), status is "available".
Please help me with step by step procedure for creating profile and task to achieve thks.
Regards,
Vidya Sagar
download autoinput.
click.
loogielv said:
download autoinput.
click.
Click to expand...
Click to collapse
Downloaded and tried. Not able to create tasks as required. I am looking for steps by step instructions.
I can't get AutoInput to work either.
But if you are rooted you can use just tasker. Then you dont have to install an extra app.
To do so create a task and add a Run Shell.
Check the button Use Root and under command you add:
Code:
input tap x y
input text login-name
input tap x y
input text login-password
input tap x y
With x and y being the coordinates of the fields where you tap. If you need to figure out these you can turn on pointer position under developer options.
That should work.
But remember that your password will be readable by anybody with access to your phone. Maybe you should lock tasker with a pin code, although that adds just a tiny bit of security.
hahamuntz said:
I can't get AutoInput to work either.
But if you are rooted you can use just tasker. Then you dont have to install an extra app.
To do so create a task and add a Run Shell.
Check the button Use Root and under command you add:
With x and y being the coordinates of the fields where you tap. If you need to figure out these you can turn on pointer position under developer options.
That should work.
But remember that your password will be readable by anybody with access to your phone. Maybe you should lock tasker with a pin code, although that adds just a tiny bit of security.
Click to expand...
Click to collapse
Thanks for reply. I guess, it works. I would like to know how to open web login page as soon as I connect to wireless network. Usually a notification appears as soon as I connect to wifi then I have to open the web login page from notification bar. How do I automate this as well?
Maybe AutoInput can help you. When the notification arrived AutoInput tap it and open the browser for you.
Sent from my ONEPLUS A3003 using Tapatalk
nagurvidyasagar said:
Thanks for reply. I guess, it works. I would like to know how to open web login page as soon as I connect to wireless network. Usually a notification appears as soon as I connect to wifi then I have to open the web login page from notification bar. How do I automate this as well?
Click to expand...
Click to collapse
Sorry kinda thought there would appear a popup window.
If you click on the notification and it opens in the browser, is there a link you could enter manually?
If so you could add another action to open the link. Use Net-> Browse URL to open the link and then do as I said before.
If there is no link you could add Display->Status Bar and select expanded. This will open your notification drawer and with another input tap you could select the notification. But that is getting kinda complicated , if the notification isn't always in the same place...
Kinda hard to figure out a good way, without being able to test it so maybe you have to tweak it a little.
R4V3N-2010 said:
Maybe AutoInput can help you. When the notification arrived AutoInput tap it and open the browser for you.
Click to expand...
Click to collapse
Will it perform the same action as a shell command or will it just open the link, without the need to emulate the swipe and click?
I am not sure how she'll comands works. I never used it. AutoInput will simulate the klick. Swiping are only available at Android 7 when I remember right. But the Klick on the notification opens the browser right? If so then you can have the login information stored in a file and copy and past it with AutoInput in. Then Klick login with AutoInput and you are done.
Sent from my ONEPLUS A3003 using Tapatalk
R4V3N-2010 said:
I am not sure how she'll comands works. I never used it. AutoInput will simulate the klick. Swiping are only available at Android 7 when I remember right. But the Klick on the notification opens the browser right? If so then you can have the login information stored in a file and copy and past it with AutoInput in. Then Klick login with AutoInput and you are done.
Sent from my ONEPLUS A3003 using Tapatalk
Click to expand...
Click to collapse
The shell just pretends that the user tapped at the given coordinates, so the display has to be on and you can watch your device doing things. So I would guess AutoInput does the same, but without the need for root...
hahamuntz said:
The shell just pretends that the user tapped at the given coordinates, so the display has to be on and you can watch your device doing things. So I would guess AutoInput does the same, but without the need for root...
Click to expand...
Click to collapse
Yes exactly.
Sent from my ONEPLUS A3003 using Tapatalk
can this be done with HTTP GET or POST?

[HELP] Disabling peeking/heads up notification when running certain apps in Nougat

Hi, can anyone assist on how I could configure Tasker to disable peeking/heads up notification on a couple of apps (i.e. whatsapp, Line, hangouts, etc) when running a certain app (i.e. when I am playing a certain game full screen) on Nougat?
I used to be able to disable peeking for them individually without silencing the notifications on Marshmallow but ever since the update to Nougat, for some reason I can only enable "show silently" which disables peeking, vibration and muting the notifications all at once.
Now of course I would still want notification sounds when the message comes in but since it is impossible now, I would hope if someone can help me with getting tasker to activate "show silently" permissions on a couple of apps when I run a certain app (Vainglory in my case) as I wouldn't want the heads up notifications to pop up suddenly as I am in the game which if I clicked on them by accident, I would get kicked out of the game hence prompting me to rejoin my match.
Ofcourse, I'd like for tasker to deactivate "show silently" for those apps once more whenever I close/exit the game.
Thanks in advance.
I have profile to just Disable Head up notification for all apps. When I open some games in fullscreen and Enable Head up notification when exit app.
I can't find any option for an individual app yet.
If this is what you want I can help you out.
Cheers.
aillez said:
I have profile to just Disable Head up notification for all apps. When I open some games in fullscreen and Enable Head up notification when exit app.
I can't find any option for an individual app yet.
If this is what you want I can help you out.
Cheers.
Click to expand...
Click to collapse
This would be great. Kindly share, thank you!
Alright then.
Here we go.
The plugin you need is AutoTools if you don't want to use a plugin you can use Run Shell as Root as well (but it'll not work as good as using AutoTools will have some delay before it apply.)
1st option: Using AutoTools Plugin
Create New Task for DisablePeek/Head Up Notification
Code:
Plugin > AutoTools > Secure Settings > Pen icon for edit
Custom Settings
Setting Type: global
Name: heads_up_notifications_enabled
Input Type: Int
Value: 0
then Apply
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
and for EnablePeek/Head Up Notification
Code:
Plugin > AutoTools > Secure Settings > Pen icon for edit
Custom Settings
Setting Type: global
Name: heads_up_notifications_enabled
Input Type: Int
Value: 1
2nd options: Run Shell as Root.
Disable HeadUp with Shell
Code:
Code > Run Shell
Command: settings put global heads_up_notifications_enabled 0
Tick Use Root
Enable HeadUp with Shell
Code:
Code > Run Shell
Command: settings put global heads_up_notifications_enabled 1
Tick Use Root
Hopes this help.
aillez said:
Alright then.
Here we go.
The plugin you need is AutoTools if you don't want to use a plugin you can use Run Shell as Root as well (but it'll not work as good as using AutoTools will have some delay before it apply.)
1st option: Using AutoTools Plugin
Create New Task for DisablePeek/Head Up Notification
Code:
Plugin > AutoTools > Secure Settings > Pen icon for edit
Custom Settings
Setting Type: global
Name: heads_up_notifications_enabled
Input Type: Int
Value: 0
then Apply
View attachment 4189656
View attachment 4189657
and for EnablePeek/Head Up Notification
Code:
Plugin > AutoTools > Secure Settings > Pen icon for edit
Custom Settings
Setting Type: global
Name: heads_up_notifications_enabled
Input Type: Int
Value: 1
2nd options: Run Shell as Root.
Disable HeadUp with Shell
Code:
Code > Run Shell
Command: settings put global heads_up_notifications_enabled 0
Tick Use Root
View attachment 4189658
Enable HeadUp with Shell
Code:
Code > Run Shell
Command: settings put global heads_up_notifications_enabled 1
Tick Use Root
Hopes this help.
Click to expand...
Click to collapse
Thank you. Quick question, is root required for both options to work?
skingg said:
Thank you. Quick question, is root required for both options to work?
Click to expand...
Click to collapse
I forgot to mention that Using AutoTools is not required Root!!!!
but you need a little work from your PC.
you can find information via this link.
aillez said:
I forgot to mention that Using AutoTools is not required Root!!!!
but you need a little work from your PC.
you can find information via this link.
Click to expand...
Click to collapse
I think I'll need to find a time to get ADB properly run on my pc before I can setup your Tasker profile. Really appreciate you taking the time to help!

[APP][5.0+][Alpha] TaskerAuto - Run Tasker Tasks from Android Auto

Hi guys. This is my first app and first thread, so be gentle =)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
TaskerAuto
TaskerAuto allows you to run Tasker tasks from your headunit. That's pretty much it.
I have some home automation gear at home and wanted to open my garage door from the headunit. I already had a Tasker task to do it, so why not be able to run any task from Android Auto?
If you use something like Home Assistant, it means you can do basically anything with your home automation from your car.
How to use:
1. Open TaskerAuto on your phone and select which tasks you want to be available in-car.
2. Have developer mode enabled in Android Auto.
3. Click on the little gauge icon in Auto (on far right) and select TaskerAuto.
4. Your list of tasks should appear. Clicking a task will run it.
Thanks to Emil Borconi from this thread for helping me get the app to run in the last tab.
EDIT: For some reason I can't attach files. Google Drive Link. Puu.sh Mirror
Great idea!
I'll check it. :good:
However, I have another "complementary" idea: Use some Bluetooth hot number in the phonebook for triggering Tasker actions. With this you can also trigger the same actions "dialing" the code... Useful when the AA is not running.
If you like to include also this other function, please contact with me (I have one indirect mode to do it).
---------- Post added at 03:29 PM ---------- Previous post was at 03:15 PM ----------
MostoX said:
1. Open TaskerAuto on your phone and select which tasks you want to be available in-car.
Click to expand...
Click to collapse
Hi!
I use other tools compatible with Tasker. It's this App working as a Tasker plug-in, or it can only work with Tasker?
I ask this because I don't see anything when I open this App.
Thanks for the idea, and sorry it's not working for you =(
I'm using the query described here:
tasker.dinglisch.net/contentprovider.html
to retrieve the list of tasks. So it's not really running as a plugin, and it may only work with Tasker.
MostoX said:
Thanks for the idea, and sorry it's not working for you =(
I'm using the query described here:
tasker.dinglisch.net/contentprovider.html
to retrieve the list of tasks. So it's not really running as a plugin, and it may only work with Tasker.
Click to expand...
Click to collapse
OK, thank you for sharing it.
One suggestion: You like to incorporate an alternative mode to trigger actions? For example sending a broadcast EVENT or similar? For example, see the documentation of Tasker plugins: http://tasker.dinglisch.net/plugins-intro.html
One option is create a "Event Plugin" and add to your App a list of actions (Action1, Action2, etc.), then any user can link these actions to Tasker Events in any compatible App.
For example, try these two free Apps compatible with Tasket plugins:
https://play.google.com/store/apps/details?id=com.llamalab.automate
https://play.google.com/store/apps/details?id=com.bartat.android.robot
You agree?
Hi @MostoX,
Any option to upgrade your source code supporting Tasker "Event Plugin"?
manos78 said:
Hi @MostoX,
Any option to upgrade your source code supporting Tasker "Event Plugin"?
Click to expand...
Click to collapse
Sorry manos I don't have time to do that. But if you'd like to take a look at it, I can put the source up somewhere. It's very simple.
MostoX said:
Sorry manos I don't have time to do that. But if you'd like to take a look at it, I can put the source up somewhere. It's very simple.
Click to expand...
Click to collapse
Ok. Then, please craete a GitHub account an put your project there. Then we can do some mods for improving it.
You agree?
Hi again,
Code can be found here: https://github.com/IVData/TaskerAuto
Dude, thank you! :good::good::good:
Hi, when I run the app, there is no list of tasks, it's just blank. Any idea why? Tasker is definately running (there are active tasks).
Pierreken said:
Hi, when I run the app, there is no list of tasks, it's just blank. Any idea why? Tasker is definately running (there are active tasks).
Click to expand...
Click to collapse
Allow external access in Tasker settings.
Gesendet von meinem SM-G950F mit Tapatalk
dft601 said:
Allow external access in Tasker settings.
Gesendet von meinem SM-G950F mit Tapatalk
Click to expand...
Click to collapse
Thank you, that solved the issue with the list.
I also had to change some settings in the developer menu to get the tasks to show up in the car menu. Working great now.
I love your app!
Improvement suggestion:
Automatically change the colors of the task list with day/night time. During the night the white is extremely bright on the screen.
Pierreken said:
Thank you, that solved the issue with the list.
I also had to change some settings in the developer menu to get the tasks to show up in the car menu. Working great now.
I love your app!
Click to expand...
Click to collapse
Hi,
The tasks are not showed in my car menu.
I can't realize this step :
3. Click on the little gauge icon in Auto (on far right) and select TaskerAuto.
In which application ?
"I also had to change some settings in the developer menu to get the tasks to show up in the car menu."
Could you indicate the details of the modifications in the developper parameters.
Thanks for your help.
dpm62980 said:
Hi,
The tasks are not showed in my car menu.
I can't realize this step :
3. Click on the little gauge icon in Auto (on far right) and select TaskerAuto.
In which application ?
"I also had to change some settings in the developer menu to get the tasks to show up in the car menu."
Could you indicate the details of the modifications in the developper parameters.
Thanks for your help.
Click to expand...
Click to collapse
The shortcut is the one on the far right in the bottom black navigation bar. See picture below:
http://www.vwcarnetconnect.com/images/android-auto-os.png
These are the settings I have enabled in the developers menu (translated from dutch so may be slightly different):
- Application mode: developer
- Disable ANR check
- Unknown sources
Pierreken said:
The shortcut is the one on the far right in the bottom black navigation bar. See picture below:
These are the settings I have enabled in the developers menu (translated from dutch so may be slightly different):
- Application mode: developer
- Disable ANR check
- Unknown sources
Click to expand...
Click to collapse
Hi Pierreken,
Thank you vey much for your help.
All is ok now. I can use this useful app.
Thanks a lot.
Thanks fot the app.
But after the last Android auto update.. it's not longer showing under the shortcut, instead shows an app list for AA.
Thank you and sorry for my english
I found android auto (official not available in the netherlands, but got apk mirror), understanding you can build plugins for it... thats how i found this tread. Sounds like a great plugin.
Toke a while until i found out how to enable developer mode for android auto in the newest version.
https://developer.android.com/training/auto/testing/index.html#phone
so.. you have to tab the header 10 times in the about screen before the menu option is available.
however now thats done.. tasker is open.. task is selected in the app... but no option/plugin/shortcut is available inside the dashboard of android auto. Is it only available on the screen of your car, or should it also be available on your phone display (i only have the last one).
Or is the plugin not working with the most recent version of android auto?
I want to run a navigation program in phone, and then run android auto mirroring code, so to have one android auto shortcut to make both..
Can i do this somehow with this?
Thanks,
Sent from my Note 8 using XDA Labs
I cant seem to get this menu to appear? i have developer mode enabled, disabled ANR and enabled unknown sources, but when i click the icon on the far right i only see return to chevy mylink button. nothing else.
I have a samsung s8 non root if that matters.
any help would be great, as i cannot seem to get any unknown source android auto apps to work.

Categories

Resources