Can anyone please help me out here
- I would greatly appreciate it as I am about to give up after trying to make this work for absolute ages.
Profile: Set Temporary Mute (2)
Restore: no
State: Custom Setting [ Type:Global Name:mode_ringer Value:0 ]
Enter: Anon (7)
A1: Custom Setting [ Type:Global Name:mode_ringer_time_on Value:1 Use Root:Off Read Setting To: ]
A2: Custom Setting [ Type:Global Name:mode_ringer_time Value:3 Use Root:Off Read Setting To: ]
So what I am trying to achieve is a Profile that runs every time I set my phone to Mute, and sets the setting "Temporary Mute" for 3 minutes.
I have used the Find functionality within Tasker and so I now 100% positively that my settings are identical to how they are set when I do it manually via the GUI.
Still the outcome is different, and i cannot for the life of me figure out why.
When setting it manually, a countdown starts (see screenshot, "Remaining time: [counting down]).
When I do it via Tasker I get a "Null" value in the place where the countdown should have started (see screenshot).
I am pretty new to Tasker so I am hoping someone experienced out there can make some suggestions as to why this would happen.
{
"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"
}
this might not help you out but just for a guideline ....
TASK ( use If statement )
Action 1
Conditions : if %VOLR >1
OR
Conditions : if %VOLN >1
Action 2
set you ringing volume to "0"
set you notification volume to "0"
Action 3
wait 3 minutes
Action 4
restore ringing volume to normal
restore notification volume to normal
Assign an icon for this task.
Close down completely the Tasker Apps.
Go to your desktop & please widget of this task on desktop.
So that each time you press this icon it will work all above action and count 3 mins then automatically restore all tones back to normal.
Thank you very much.
edmond.
eeeemc said:
this might not help you out but just for a guideline ....
TASK ( use If statement )
Action 1
Conditions : if %VOLR >1
OR
Conditions : if %VOLN >1
Action 2
set you ringing volume to "0"
set you notification volume to "0"
Action 3
wait 3 minutes
Action 4
restore ringing volume to normal
restore notification volume to normal
Assign an icon for this task.
Close down completely the Tasker Apps.
Go to your desktop & please widget of this task on desktop.
So that each time you press this icon it will work all above action and count 3 mins then automatically restore all tones back to normal.
Thank you very much.
edmond.
Click to expand...
Click to collapse
Thank you, that's a workaround that will work I believe.
I kind of got stuck in being annoyed about not getting why the way in the original question wouldn't work
dBqtjPxBDLHy2BA said:
Thank you, that's a workaround that will work I believe.
I kind of got stuck in being annoyed about not getting why the way in the original question wouldn't work
Click to expand...
Click to collapse
If my suggestion is working for you .... don't struggle with why the original method is not working....
( honestly , I faced the same in the past as you mentioned and somewhat I see solution little later from other places )
Thank you very much.
edmond
Related
Getting Started With Tasker
Many of us have probably had a similar experience with the first time we used Tasker. We download the app, take our clothes off, get into bed and then realize we just aren't ready for this. So I thought I'd put together a small getting started guide for Tasker.
What is Tasker?
Tasker is an Android app that allows you to create automated tasks that are triggered based on selected circumstances... Ok that's already confusing so let me give you an example. I can program tasker to open up my shopping list every time my GPS location shows that I'm at the grocery store. I can also program my phone to to lock my texting app when I go to sleep so my girlfriend doesn't snoop through my phone. Now all I need is a girlfriend.
First be sure to download the app from the Play store.
{
"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"
}
Scenes
Scenes are user interfaces that you can create in Tasker. Think of a scene as a box that contains various elements that you would normally find in an app interface, like buttons, text, text input, images, sliders, and so on. Normal Tasker actions can be tied to these elements, so that you can have a button that runs a task, a text field that lets you write text to a variable, or a slider that controls screen brightness.
Scenes can be all kinds of sizes, and be displayed in different ways: As a pop-up box, full screen like an app, as an overlay over another app, and so on. The size and type of scene depends on what you need the scene to do. I will quickly go through the basics of creating a scene, and then I will go through multiple examples at the end to show how everything works in practice and for different uses.
Tasks
Tasks are a set of customized actions. You can create tasks like "If the battery is below 50%, mute volume." Creating tasks is usually the part where most people give up. After all it looks like you're solving advanced algebra problems. Stick with it and mess around with it until you get the hang of it.
Profiles
Profiles are conditions that will trigger your tasks that you've created. I can create a profile that will trigger my mute volume task that I created above to only activate on the weekends. So then I know that every Saturday and Sunday my volume will mute if my battery is below 50%.
These settings will also take a bit to get used to. Don't worry, you wont hurt anything by messing around with them until it all makes sense.
This will get you started to the point where you can create your first automated task. Just start simple and then experiment with more complex tasks.
hi every body!
Im new in Tasker, so I have a simple quesion
Is there a variable on homescreen?
Or how do I make it?
Thanks for reading
Go home
Not you
[spoil]
{
"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"
}
[/spoil]
or be more precise.
No, this is not what i want. I want a variable which avaiable when the screen stay on homescreen. Not go to home.
Sorry, my english is bad
%WIN
You need accessibility services enabled.
Sent from my SM-G928F using Tapatalk
@Mark2014
Mine too, do not worry
Make a profile:
Profile: Any Window Name (301)
Event: New Window [ Label:* Window Type:Any ]
Enter: Anon (302)
A1: Flash [ Text:%WIN Longff ]
you see how %win name your homescreen.
@frrancuz.
Tks so much.
It work like a charm :victory:
But on my phone, Flash Act doesn't work, so I replace it by a Popup, and it make me crazy to close the popup window :silly:
Now, I ready to setup a profile to lock my phone only on homescreen and on a flat place, but it will stay 5s before.
Mark2014 said:
@frrancuz.
Tks so much.
It work like a charm :victory:
But on my phone, Flash Act doesn't work, so I replace it by a Popup, and it make me crazy to close the popup window :silly:
Now, I ready to setup a profile to lock my phone only on homescreen and on a flat place, but it will stay 5s before.
Click to expand...
Click to collapse
You don't need the Popup action...but the rest
you could have a "wait for 1ms" action instead
ks123 said:
You don't need the Popup action...but the rest
you could have a "wait for 1ms" action instead
Click to expand...
Click to collapse
Tks, It's very useful
Hi guys, I have a note 8 running Android Pie and could really use some help.
I searched the net and this is the closest to the answer I could find.
I want to change the navigation bar for every app. I am currently able to do this with every app EXCEPT the home screen.
I have created a profile using Variable Set for events:
Variable
%WIN
Value
"Name of app window"
The home screen window name for Touchwiz is "Home screen, Page 1 of 2 Default page"
I have tried using; Home screen, Page 1 of 2 Default page Home, Home screen, Homescreen, Home
None of the above trigger the event / Task.
I have also tried using the application "TouchWiz" as the event trigger. However, TouchWiz is not listed in the applications selection screen. So it can not be selected.
How can I use the home screen as a trigger?
JameyS said:
Hi guys, I have a note 8 running Android Pie and could really use some help.
I searched the net and this is the closest to the answer I could find.
I want to change the navigation bar for every app. I am currently able to do this with every app EXCEPT the home screen.
I have created a profile using Variable Set for events:
Variable
%WIN
Value
"Name of app window"
The home screen window name for Touchwiz is "Home screen, Page 1 of 2 Default page"
I have tried using; Home screen, Page 1 of 2 Default page Home, Home screen, Homescreen, Home
None of the above trigger the event / Task.
I have also tried using the application "TouchWiz" as the event trigger. However, TouchWiz is not listed in the applications selection screen. So it can not be selected.
How can I use the home screen as a trigger?
Click to expand...
Click to collapse
I see you got your answer on the Tasker Google group. For continuity, I'm going to post Robert's reply that you liked from there, here.
Use the App Changed event:
Profile: Detect Home
Event: App Changed
Package: com.sec.android.app.launcher
Enter:
A1: Flash
Text: You are home
Long: Off
Click to expand...
Click to collapse
Hey guys. I have two different power saving profiles that I use for home and work to turn on/off Autosync. My work-profile does not work properly, and I think it has to do with the repeating option in the time context. My home-profile works perfect, and the only difference between these profiles is that the repeat-interval is much shorter in my home-profile. Sometimes the work-profile fires, sometimes not. I tried experimenting with the repeat-interval and if I change it to 10,15 or 20 minutes (for example) it works every time. This is why I am pretty convinced it has to do with the repeat-interval.
This is how my work-profile looks like. The other contexts (Wifi connected and weekdays) are always activated when I test the profile, so they are not the issue.
{
"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"
}
My home-profile has repeat-interval of 20 minutes, and that works as I said flawless.
Has anyone else experienced any problems using longer intervals with repeating contexts, or could it be anything else?
Repeating time context seems to be an issue on Samsung devices running Android 5.1 ->, in THIS thread there is a lot of people with exatcly the same issue.. Not good.
Did you already try activating the option "Use Reliable Alarms" in settings/preferences/monitor?
This feature solved the problem with my time context profiles on MM occasionally not activating.
Also it's best to exclude Tasker and Secure Settings in Battery Optimization feature of MM.
GrippingSphere said:
Did you already try activating the option "Use Reliable Alarms" in settings/preferences/monitor?
This feature solved the problem with my time context profiles on MM occasionally not activating.
Also it's best to exclude Tasker and Secure Settings in Battery Optimization feature of MM.
Click to expand...
Click to collapse
I have not activated Reliable alarms, I will look into this! I have already excluded Tasker and Secure Settings (and all other plugins I use for Tasker) from Doze though.
I tried a different solution yesterday though, to only have a single context (State) since the Time context seems to be the problem;
State -> connected to work-Wifi.
Action 1 -> Sync ON
Action 2 -> Wait 5 min
Action 3 -> Sync OFF
Action 4 -> Wait 2hours
REPEAT ALL ACTIONS FOUR TIMES
EXIT TASK - > Sync OFF
In this way I get the same result since it covering the hours I am at work. The same could be done when connected to Home-Wifi but with a lot more repeats. Since the Task only will activate when connected to Wifi (and end when disconnected) I don`t need any specific hours when the Profile should run. So this should work in the same way..
Anyway, I will try your suggestions as well and see if it fixes the issue.
Thanks!
GrippingSphere said:
Did you already try activating the option "Use Reliable Alarms" in settings/preferences/monitor?
This feature solved the problem with my time context profiles on MM occasionally not activating.
Also it's best to exclude Tasker and Secure Settings in Battery Optimization feature of MM.
Click to expand...
Click to collapse
Tried set ``Use Reliable Alarms´´ to ``Always´´, but dint work. Repeat works the first 1-3 times but after that it will stop or only activate the task sporadically. I think I have some serious bug in Tasker since this is not the only issue I have for the moment. Will probably try to reinstall and load a older backup and see what happens..
Problem solved. See HERE for info.
I think that I know a way to accomplish what I am looking to do but it would require several profiles and several tasks. I'm new at this so I'm still working on wrapping my head around how tasker thinks and what it takes to get from point A to point B. I'm not looking for a step by step how to but more 1) to know if what I am trying to do is even possible 2) some pointers to get me pointed in the right direction if it is.
What I'm trying to accomplish, is a work profile that connects to wifi (that is the easy part) but then between the hours of say, 6 and 8, turn the volume down, turn the volume back up at break, turn the volume back down after break until 11am for lunch, turn it back up at lunch, and then back down for the remainder of the work day. What I am hoping, is that there is a way to create a task that allows me to turn the volume down if the time is between x and x or x and x or x and x.
Create two tasks. Task1 will put your phone on vibrate. Task2 will take phone off vibrate.
Create profiles for the time you want on vibrate calling for task1. On the profile you created, long-press the task and select an exit task. This will be task2.
Do this for all times you want using the same tasks.
Here is an example of how it should look...
{
"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"
}
Thanks! That was exactly what I had done. I was just wondering if inside of the tasks themselves, you could set up time frames to do the specific tasks.. Its probably not an intelligent way to think or go about it.. I was just curious.
pulgoki said:
Thanks! That was exactly what I had done. I was just wondering if inside of the tasks themselves, you could set up time frames to do the specific tasks.. Its probably not an intelligent way to think or go about it.. I was just curious.
Click to expand...
Click to collapse
Well as long as it is all set to specific lengths of time, you could use task/wait and have the task actually running all day. But I don't know what that would do to battery life...
Can't you do it by time and have conditions? For example
IF %TIME > 07.59 And %TIME < 09.00
ELSE %TIME > 08.59 And %TIME < 10.00
ELSE %TIME > 09.59 And %TIME < 11.00
End if
Also just to mention the time stated in that variable seems to be 24hr format, regardless of system settings.
Hello guys. When google maps completes a trip it displays a completed trip splash screen where one has to click Done in order to continue. I do lots of trips and would like to automate this with tasker.
I would like to schedule a task that will execute click of Done at the end of the trip so maps can go to their default screen of showing your location. I do lots of trips and i find this splash screen unnecessary.
Most of the tutorials i found use time as variable but time will change all the time so can not use time and need to use some other variable. Not sure how to set this up especially the variables.
Anyone can help me out what actions to setup in Tasker in order to execute this after each trip completes? Thank you in advance.
Get AutoInput Tasker Plugin. Then create a Profile-->event-->Plugin-->AutoInput-->UI Update. Set it up using guides/tutorials to monitor Google Maps for that "Done" button to appear. Then for the task, use AutoInput to automatically tap the "Done" button for you.
Watch a bunch of tutorials about AutoInput....it is the key here.
Stupifier said:
Get AutoInput Tasker Plugin. Then create a Profile-->event-->Plugin-->AutoInput-->UI Update. Set it up using guides/tutorials to monitor Google Maps for that "Done" button to appear. Then for the task, use AutoInput to automatically tap the "Done" button for you.
Watch a bunch of tutorials about AutoInput....it is the key here.
Click to expand...
Click to collapse
Hi @Stupifier Thank you for that. I think i'm getting there but have last hurdle. One thing i'm uncertain now.
Do i choose for text YOU HAVE MADE or DONE ?
Should i check only clickable and "DONE" text and ONLY visable "YOU HAVE MADE IT" text ?
Anything for Variables ? After i create Profile and set all of that it won't let me complete without setting tasks. It want's to delete unfinished profile as no tasks have been set.
Here is the task / splash screen what i need to auto task / auto input. The automation of click "auto click" needs to be executed on Done button.
{
"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"
}
What to put in for Text. Do i choose for text YOU HAVE MADE or DONE ?
Should i check only clickable and "DONE" text and ONLY visable "YOU HAVE MADE IT" text ?
Tasker won't let me complete it without tasks setup. I thought autoinput would set this up based on what i inputed into fields in screenshot above. I guess tasks are still missing? Thoughts?