Chnange audio profiles based on location - Tasker Tips & Tricks

Hi
I have installed on my phone the app audio profiles with a tasker plugin
I've created a tasker profile that turn my phone on vibration mode when I'm in a particular location, but now how can I disable vibration when I leave this particular location? Which kind of profile I must create?

If you profile is GPS or cell location then surely you just need to create an exit task. So once the profile isn't true it'll run the exit task, which you can determine what is in there.

Thanks.
So, if I understand, I have to simply long press on my profile (vibration mode) and choose "Add exit activity".
Then after choosen the exit activity my phone will run this activity when I will be not anymore in the profile's location?

copeppe said:
Thanks.
So, if I understand, I have to simply long press on my profile (vibration mode) and choose "Add exit activity".
Then after choosen the exit activity my phone will run this activity when I will be not anymore in the profile's location?
Click to expand...
Click to collapse
Hold on the current entry task and this will give you an option to add in the exit task, so either create new or choose an existing one. Hope you get it sorted out [emoji106]

mgdorbit said:
Hold on the current entry task and this will give you an option to add in the exit task, so either create new or choose an existing one. Hope you get it sorted out [emoji106]
Click to expand...
Click to collapse
hello, i am trying to make a tasker profile that opens a specific application (apk) when the speed drops below 4 kmh only with the GPS because i do not have any sensors. Unfortunately I am still not able to set the variables in the Speed well and if I need a secure setting plugin for the GPS. Can you lead me towards success or advise me how to get started? Thank you

bettuccio said:
hello, i am trying to make a tasker profile that opens a specific application (apk) when the speed drops below 4 kmh only with the GPS because i do not have any sensors. Unfortunately I am still not able to set the variables in the Speed well and if I need a secure setting plugin for the GPS. Can you lead me towards success or advise me how to get started? Thank you
Click to expand...
Click to collapse
I'm afraid I've not looked at any of the GPS settings or functionality. Try a search on the internet, you might find something.
Sent from my SM-G950F using Tapatalk

mgdorbit said:
I'm afraid I've not looked at any of the GPS settings or functionality. Try a search on the internet, you might find something.
Sent from my SM-G950F using Tapatalk
Click to expand...
Click to collapse
something I found but it does not work in practice.

Related

Auto-start GPS recieve when using Google Maps...Possible?

OK..Hope this is the proper place to post this...
I am horrible at remembering to charge my phone, thus I don't keep GPS on at all time because of battery drain. However, I find it frustrating that every time I start Google maps that I have to enable the GPS. It seems to me that there should be a function built into that app which would enable the user to have it automagically enable the GPS reciever on the apps start up. To my knowledge this isn't possible but I feel it would be very useful. So, does anyone know how one would achieve this? Would it be possible to write a script that would accomplish this?
Thanks in advance for the input.
Menu button, Settings, Security & Location, set "Enable GPS satelites"
if you enable gps it wont actually turn on until you open google maps or a location based program (you will see a satellite dish at the top letting you know if it is on). the gps setting basically just tells the phone if a program requests gps location it is okay to turn the gps antenna on.
otherwise its off and battery doesn't get affected
Thanks...
Hey dk75 & averma, thanks for the posts. I should really read the fine print on some of these menu options prior to asking these questions...oops!
Hello!
My wife and me use latitude (from google) to see where we are on Google maps. Latitude works best if the GPS is on. HOWEVER, we just need to see each other on google maps when we are driving home (between 17:00 and 18:00). If i turn on the gps, latitude will eat the battery the whole DAY...) I would like to know if there is a way to schedule the activation of the gps...
pbecks1963 said:
Hello!
My wife and me use latitude (from google) to see where we are on Google maps. Latitude works best if the GPS is on. HOWEVER, we just need to see each other on google maps when we are driving home (between 17:00 and 18:00). If i turn on the gps, latitude will eat the battery the whole DAY...) I would like to know if there is a way to schedule the activation of the gps...
Click to expand...
Click to collapse
Try looking up "Locale" on the market. App isn't free, but most of the plugins for it are, and you can combine the functions of the plugins to do almost anything.
I use it for exactly what you're talking about myself.
Google Maps doesn't Auto-start GPS
Hi all,
I know this thread is pretty old but hoping for a reply all the same. I'm using the Galaxy S in the Uk with Google Maps & Navigation. I used to have the HTC HERO running maps & navigation and whenever I started either of those apps, the little atenna would appear to show that it was trying to find a gps position.
However, on my Galaxy S, whenever I start Maps or Navigation nothing happens. Even though I have "use wireless networks" and "use GPS satallites" both checked.
I cant imagine that technology would have taken a step back from such a useful feature and it is really irritating having to remember to disable/enable GPS (using SwitchPro home screen widget) before being able to use Maps or Navigation.
Anyone have any ideas how to fix this??
Install Tasker app and create a profile that enables GPS when you run Maps app.
tasker
tasker does not let you autostart gps... is there any other way. i also hate having to turn on gps and right under enable gps in blue words under settings it says< uses more battery. i can send pic
[TUT] Enable GPS automatically for Maps
[email protected] said:
tasker does not let you autostart gps... is there any other way. i also hate having to turn on gps and right under enable gps in blue words under settings it says< uses more battery. i can send pic
Click to expand...
Click to collapse
i have spent sometime now lurking behind the scenes in this group and
have read, in detail, my share of the posts. Make no mistake, the
guys here are experts and being experts their methods/explanation
often goes way over the head of the typical noob. this post is to
introduce this wonderful application of tasker to the inimitable
noob. i hope my effort would ease someone's labour.
imagine this scenario: you switch on maps on your phone and keep
wondering why it does not show your precise location and then it hits
you! you did not switch on your GPS. this post explains how to create
a profile that switches on your GPS automatically when you fire up
maps.
Just remember this: Profile is the context i.e. what you want to do.
in the present case, you want to first start maps and when maps is
started you want to switch on GPS. then when you exit maps, you want
GPS to be switched off. this is the object.
Stage 1: In profile tab click the + sign. give a name like 'MAP'.
this name will identify the profile that is currently active. after
you name it press the green tick and you are shown several options
like application, time, day etc. Now maps come under applications, so
press applications and all the appliations in your phone are
displayed. scroll down and select maps and press the tick mark. at
this stage you have told tasker that whatever you want to do revolves
around maps.
Stage 2: Now that you have hinted to tasker about the application
that is to be run, we should next state what should happen when the
appliation is started. after you press the tick mark you will be
shown a window asking for task selection. press new task and give it
a name like switch on GPS.
Stage 3: after baptising the task, you will be taken to a broad
window . press the + mark on the bottom left and the confusion
begins. a pletora of options is thrown at you (this is why tasker is
so darn powerful). this is called the 'select action category'.
digressing a little here you should know that google has changed
something with android and you cannot in the usual course toggle GPS.
so you should download an app called 'secure settings' (from google
play) and install it. once it is installed open it and it gives you an
option to install a helper. install the helper also. this activates
the GPS option.
Stage 4: once that process is completed, come back to tasker and get
yourself to the 'select action category'. here press on plugin and
then on secure settings. in the next window, touch 'edit' and then
scroll down to GPS and touch it. three options are displayed viz. on,
off and toggle. choose on and press the floppy disk icon to the
bottom left. press the tick mark and again press the tick mark. at
this stage you have succeeded in activating GPS when maps is started.
however, when you exit maps you find that GPS does not switch off by
itself.
Stage 5: to make it switch off by itself, you need to create the same
task again. just long press on the task which has already been
created (called here as switch on GPS) and you are presented with
several options. select the first one - 'add exit task' and follow
the process as in stage 4. however, instead of choosing 'on' select
'off' this time. once this is done come out and test it.
Stage 6 - and the most important - Feel happy and satisfied.
i am sure there should be some easier way to do this. however, in my
limited understanding of tasker this was how i did it. i really am
confused about the variables. i hope someone will help. when i say
confused, i should clarify that i have no inkling of what it does. :
( could someone tell me where to read up on it? i have searched on
google and i havent found any satisfactory explanation.
i will continue to post my profiles and i hope it is of help to the
group here.
J.RAM
the power of automation
capaxdoli said:
i will continue to post my profiles and i hope it is of help to the
group here.
J.RAM
Click to expand...
Click to collapse
Thank you for your post, I wouldn't be able to do it without you man!
I have a question. I'm using LBE security master which monitor my firewall, wifi, adware, etc. is there a way for tasker to check in LBE firewall and toggle my wifi/data when I want it? instead of creating a new profile for ON/OFF wifi. I just want it to look in my app and see what app has permission to what and allow/un-allow.
Thanks again!
[email protected] said:
tasker does not let you autostart gps... is there any other way. i also hate having to turn on gps and right under enable gps in blue words under settings it says< uses more battery. i can send pic
Click to expand...
Click to collapse
Yes is does autostart if you want with tasker..
Verstuurd van mijn GT-I9000 met Tapatalk
You can use the "Auto-Enable GPS for Maps" application, which switches both WiFi and GPS on when you launch Maps, Navigation, Local or Latitude, and restores them to their old state (e.g. switched off) when you quit these apps.
capaxdoli said:
i have spent sometime now lurking behind the scenes in this group and
have read, in detail, my share of the posts. Make no mistake, the
guys here are experts and being experts their methods/explanation
often goes way over the head of the typical noob. this post is to
introduce this wonderful application of tasker to the inimitable
noob. i hope my effort would ease someone's labour.
imagine this scenario: you switch on maps on your phone and keep
wondering why it does not show your precise location and then it hits
you! you did not switch on your GPS. this post explains how to create
a profile that switches on your GPS automatically when you fire up
maps.
Just remember this: Profile is the context i.e. what you want to do.
in the present case, you want to first start maps and when maps is
started you want to switch on GPS. then when you exit maps, you want
GPS to be switched off. this is the object.
Stage 1: In profile tab click the + sign. give a name like 'MAP'.
this name will identify the profile that is currently active. after
you name it press the green tick and you are shown several options
like application, time, day etc. Now maps come under applications, so
press applications and all the appliations in your phone are
displayed. scroll down and select maps and press the tick mark. at
this stage you have told tasker that whatever you want to do revolves
around maps.
Stage 2: Now that you have hinted to tasker about the application
that is to be run, we should next state what should happen when the
appliation is started. after you press the tick mark you will be
shown a window asking for task selection. press new task and give it
a name like switch on GPS.
Stage 3: after baptising the task, you will be taken to a broad
window . press the + mark on the bottom left and the confusion
begins. a pletora of options is thrown at you (this is why tasker is
so darn powerful). this is called the 'select action category'.
digressing a little here you should know that google has changed
something with android and you cannot in the usual course toggle GPS.
so you should download an app called 'secure settings' (from google
play) and install it. once it is installed open it and it gives you an
option to install a helper. install the helper also. this activates
the GPS option.
Stage 4: once that process is completed, come back to tasker and get
yourself to the 'select action category'. here press on plugin and
then on secure settings. in the next window, touch 'edit' and then
scroll down to GPS and touch it. three options are displayed viz. on,
off and toggle. choose on and press the floppy disk icon to the
bottom left. press the tick mark and again press the tick mark. at
this stage you have succeeded in activating GPS when maps is started.
however, when you exit maps you find that GPS does not switch off by
itself.
Stage 5: to make it switch off by itself, you need to create the same
task again. just long press on the task which has already been
created (called here as switch on GPS) and you are presented with
several options. select the first one - 'add exit task' and follow
the process as in stage 4. however, instead of choosing 'on' select
'off' this time. once this is done come out and test it.
Stage 6 - and the most important - Feel happy and satisfied.
i am sure there should be some easier way to do this. however, in my
limited understanding of tasker this was how i did it. i really am
confused about the variables. i hope someone will help. when i say
confused, i should clarify that i have no inkling of what it does. :
( could someone tell me where to read up on it? i have searched on
google and i havent found any satisfactory explanation.
i will continue to post my profiles and i hope it is of help to the
group here.
J.RAM
Click to expand...
Click to collapse
How to enable the location settings along with the GPS ON task?

Tasker :post your tasker profiles

Hi.
Tasker beta updated recently to 4.8 and support new tile for
CM quick settings
So
i create this thread
to post and explore new profiles
I follow many projects from google and reddit
So i have set profiles for automate gps to high accuracy and back with secure settings
Vpn connect on wifi except secure point
Usb debuging only when i connect to certain pc (and just in case) when shutdown my device beacause i use encryption
Send sms to caller when driving
But most usefulls profiles found how to auto change cm profiles based taskers options cell near or wifi near bt near location etc...
CM detect profiles and CM profiles changer found to reddit are great jobs???
i expand my usage to CM profiles options
Based to these variables tasker upgrade all my device capabilites
Whats yours?
Is there a way for tasker you know if you've unlocked your phone. I want a task that flashes certain information when I unlock my phone
igbo_scouser said:
Is there a way for tasker you know if you've unlocked your phone. I want a task that flashes certain information when I unlock my phone
Click to expand...
Click to collapse
Information for what?
Mostly use is autoinput plugin with
Minimalistic widget
Have a look to this for more profiles
Just the data I have left until the end of the month. I have that side set up but I just need to know where I can find the variable that allows me to tell tasker that the screen has been unlocked and not just that it's on
igbo_scouser said:
Just the data I have left until the end of the month. I have that side set up but I just need to know where I can find the variable that allows me to tell tasker that the screen has been unlocked and not just that it's on
Click to expand...
Click to collapse
%KEYG
%KEYG seems to check if you have a keyguard enabled, and not if it's currently active.
Thanks for your help though
igbo_scouser said:
%KEYG seems to check if you have a keyguard enabled, and not if it's currently active.
Thanks for your help though
Click to expand...
Click to collapse
check with this
%KEYGUARDOFF
igbo_scouser said:
%KEYG seems to check if you have a keyguard enabled, and not if it's currently active.
Thanks for your help though
Click to expand...
Click to collapse
Tasker
%myDISPLAY is similar to the %SCREEN variable in Tasker, but it adds unlocked as a possible value, allowing us to differentiate between on and unlocked. These values are set based on the corresponding Tasker Events, and can be used as a Context (using Variable Value), or for flow control within Tasks.
Both of these didn't work. Maybe it's because I'm on the lg g4 and not on aosp
igbo_scouser said:
Both of these didn't work. Maybe it's because I'm on the lg g4 and not on aosp
Click to expand...
Click to collapse
Tasker recognize unlock as event so
Add a profile/event/display/unlock
Make a simple task to check if working
If work you can create a flow action
So monitor when device unlock (one profile)
And change variable value
and execute the desire task.(second profile) when new value set
I'm trying to get tasked to turn on LTE when I get an MMS and back off when its done downloading (closed had a module for NY Samsung phones but won't work on aosp)
Sent from my A0001 using Tapatalk
greekunit690 said:
I'm trying to get tasked to turn on LTE when I get an MMS and back off when its done downloading (closed had a module for NY Samsung phones but won't work on aosp)
Sent from my A0001 using Tapatalk
Click to expand...
Click to collapse
Did you try secure settings?
On Lolipop I have problem with mobile data dont automatic connect when I am out of wifi area.
Is there any way for tasker to solve this problem, I buy it last night, but its littly too complicated for me.
So something like this, when out of wifi area, connect to 3g, when in wifi area disconnect 3g.
What phone and what rom do you use?
Oneplus one, sultan latest 1.11
kvaju said:
Oneplus one, sultan latest 1.11
Click to expand...
Click to collapse
Download secure settings
Add profile/state/net/ wifi conect
New task /plugin secure settings /mobile data off
From main menu if expand profile you see the task you create
Tap to task and create exit task the opposite
But is known bug?
to @Sultanxda because automate data/wifi is main function of device
Did you post? Have you done clean installation?
I known its the main funcion od device, but I have trouble with every ROM on lolipop with this. Clean install, delete all apn create new, works one day ok, then same problem.
Thank you, will try to do this.
Google remove tasker from playstore
Available only from here

Ending Driving Mode for Google Maps

So far my attempts to google this answer have come up empty. I can open Google Maps driving mode with AutoShortcut no problem. But making it actually close is turning out to be impossible.
If I try to do a "Kill App", it doesn't kill the notification, leaving it in a bizarre half-open state. Has anyone found an intent or something that can actually kill this off properly?
Have you tried to run a Go Home action before killing the app?
Yes, unfortunately does not help at all. Even gave it ~3 second wait.
Vincent Law said:
So far my attempts to google this answer have come up empty. I can open Google Maps driving mode with AutoShortcut no problem. But making it actually close is turning out to be impossible.
If I try to do a "Kill App", it doesn't kill the notification, leaving it in a bizarre half-open state. Has anyone found an intent or something that can actually kill this off properly?
Click to expand...
Click to collapse
Try code run shell: am force-stop com.google.android.apps.maps & tick "use root". Change the package name if is necessary.
My device is not rooted, is that going to do anything?
Vincent Law said:
My device is not rooted, is that going to do anything?
Click to expand...
Click to collapse
Root is needed to run that command.
But did you try to kill another app with the method you've tried for google maps? Is it working?
So I managed to work out a solution to this, and it involves using the AutoNotifications plugin. I use the plugin to instruct Tasker to press the "end navigation / stop driving" button in the notification tray, which does the correct thing. For those looking to replicate, it's an "internal action", so use the first internal action, not one of the action button options that most guides suggest.
Vincent Law said:
So I managed to work out a solution to this, and it involves using the AutoNotifications plugin. I use the plugin to instruct Tasker to press the "end navigation / stop driving" button in the notification tray, which does the correct thing. For those looking to replicate, it's an "internal action", so use the first internal action, not one of the action button options that most guides suggest.
Click to expand...
Click to collapse
i am trying to "stop driving" using autonotification and cant figure it out. Can you please be more specific than "internal action" which internal action. What variable did you using for the stop driving button. I am trying to use autonotification query and action but i cant figure out which variable in the query to use for the action.
thanks
Vincent Law said:
So I managed to work out a solution to this, and it involves using the AutoNotifications plugin. I use the plugin to instruct Tasker to press the "end navigation / stop driving" button in the notification tray, which does the correct thing. For those looking to replicate, it's an "internal action", so use the first internal action, not one of the action button options that most guides suggest.
Click to expand...
Click to collapse
I'm new to autonotification - I have it set up to query for the "Maps" notification, and it's returning the %anapp variable correctly - I can even click on the notification and bring the focus back to the maps app - but how the heck do you fire this "internal action" to stop driving? I'm sure it must be obvious...
Bulldoguk72 said:
I'm new to autonotification - I have it set up to query for the "Maps" notification, and it's returning the %anapp variable correctly - I can even click on the notification and bring the focus back to the maps app - but how the heck do you fire this "internal action" to stop driving? I'm sure it must be obvious...
Click to expand...
Click to collapse
I just spent a few days trying to figure this out. Here is how I was able to get it working:
Create a new task / add these to a current task:
A1 - Add Action - Plugin, AutoNotification, Query. Tap Edit, Select "Maps" from Apps and under Advanced tap Internal Actions Big, tap the Tag icon. It should populate with %aninternalactions.
A2 - (Only needed for debugging) Add Action, Alert, Flash, tap the Tag and choose %aninternalactions, then edit to choose the first value in the array - %aninternalactions(1)
A3 - Add Action, Plugin, AutoNotification, Actions. Tap Intercept Action, tap the tag and choose %aninternalactions, then edit it again to - %aninternalactions(1)
To test, start driving mode and run the task manually. You should see the button GUID flash (if you enabled A2) and Driving Mode should end :good:
It works now
I figured out a solution.
Tasker gives you the advise to use ADB Wifi.
Here's what I did:
- enable and go to developer settings
- check ADB debugging
- check ADB while charging (only needed, if it stops working for you when you disconnect your USB cable. Try without first!)
- then run from your PC `adb tcpip 5555` to enable adb over wifi
- use Tasker Action "kill app", uncheck "Use Root".
Maps (or Driving Mode) can finally be killed this way.
Tried on Huawei Mate 20 Pro (LYA-L29) running Android 10 (10.0.0.214)
How are you able to open Google maps?
Mine opens for a millisecond then closes.
MSK1 said:
How are you able to open Google maps?
Mine opens for a millisecond then closes.
Click to expand...
Click to collapse
Hi, MSK1,
I searched for a long time for this solution, so maybe this one will help you out.
You can launch Google Maps directly into Navigation mode via using an intent.
You may find this one interesting. https://forum.xda-developers.com/showpost.php?p=46600949&postcount=3
Mine looks like this.
google.navigation:q=Zip+City,+Street+Number
Happy Driving!
Best Regards.
3di said:
Hi, MSK1,
I searched for a long time for this solution, so maybe this one will help you out.
You can launch Google Maps directly into Navigation mode via using an intent.
You may find this one interesting. https://forum.xda-developers.com/showpost.php?p=46600949&postcount=3
Mine looks like this.
google.navigation:q=Zip+City,+Street+Number
Happy Driving!
Best Regards.
Click to expand...
Click to collapse
Thanks.
I found an easier way.
I downloaded the "navigation shortcut" app from the play store.
When I launch this as an app from tasker then the navigation stays on.
Sent from my EVR-N29 using Tapatalk

Task execution issue

Hello people,
I don't know if anyone else is experience this but I thought I mention it. Also I apologise if this is the incorrect place to start this thread, but I have looked on xda for a tasker dedicated section for troubleshooting.
Now I have a automated WIFI profile that basically enables whenever I load a specific app. But for some strange reason it does not always execute, when a specific app does load and other times it does?
Does anyone else notice this strange behaviour going on with tasker?
If so is it a bug that needs reporting or is there something wrong with my profile?
Thanks in advance!
In Tasker settings/preferences/monitor put to "Always" the Use Reliable Alarms option.
GrippingSphere said:
In Tasker settings/preferences/monitor put to "Always" the Use Reliable Alarms option.
Click to expand...
Click to collapse
It seems the profile triggers, but not the task.
HatchetEgg said:
It seems the profile triggers, but not the task.
Click to expand...
Click to collapse
You can test the Task by manually executing it. Maybe you're using a plug-in that requires permissions to run.
GrippingSphere said:
You can test the Task by manually executing it. Maybe you're using a plug-in that requires permissions to run.
Click to expand...
Click to collapse
If I run the task manually everything executes just fine.
The task does use one plugin and thats for secure settings, but thats about it.
UPDATE: I think I might know what the problem is, and I think that tasker is unable to wake the device to execute the task, so I added a wake device action in my task and see if this works.
In LL and MM there is battery optimization where Tasker and Secure Settings should be excluded. Other 3rd party battery saving apps might also affect the operation of Tasker and its plugins.
GrippingSphere said:
In LL and MM there is battery optimization where Tasker and Secure Settings should be excluded. Other 3rd party battery saving apps might also affect the operation of Tasker and its plugins.
Click to expand...
Click to collapse
This is true I had taken the advice from here >
As far as I am aware tasker and it's plugins are whitelisted from other 3rd party on my device, so I still don't understand why it still does not work unless I add the wake device action from secure settings.
Any luck on this? I'm noticing that tasker is very slow to execute any actions outside of the app. Meaning, if I create a task that simply has one step..."beep". Next, add that task as a shortcut to my nova launcher desktop. Click the shortcut...it takes almost 30seconds for it to execute the beep. I've been a tasker user for years. Not sure why this lag is occurring.
Tried this...
Tasker is not battery optimized.
Reinstalled Tasker.
rooted Pixel, 7.1.1
I have the same problem with my periodical Wi-Fi check.I have to add the 1 second CPU wake, but it's still not very reliable.maybe the best way to get over this is turning on the screen, but this is kind of defeat the purpose for me so....
any other suggestion?
soundneedle said:
Any luck on this? I'm noticing that tasker is very slow to execute any actions outside of the app. Meaning, if I create a task that simply has one step..."beep". Next, add that task as a shortcut to my nova launcher desktop. Click the shortcut...it takes almost 30seconds for it to execute the beep. I've been a tasker user for years. Not sure why this lag is occurring.
Tried this...
Tasker is not battery optimized.
Reinstalled Tasker.
rooted Pixel, 7.1.1
Click to expand...
Click to collapse
There is one thing that you can try go to Tasker > preferences > misc and untick reduce resource usage.
alienyd said:
I have the same problem with my periodical Wi-Fi check.I have to add the 1 second CPU wake, but it's still not very reliable.maybe the best way to get over this is turning on the screen, but this is kind of defeat the purpose for me so....
any other suggestion?
Click to expand...
Click to collapse
I have tried the screen wake function, but even then it doesn't work.
I did notice however that Google connectivity was causing issues for me, such as not able to connect to my ap automatically.

Tasker location profiles not working

I have recently flashed an AOSP ROM to my LG G4, coming from a stock Nougat ROM and previously stock MM. On both previous versions I was able to use Profiles with Location contexts (turn on/off wifi, set volume, etc) with no problem. Now the location contexts have stopped working but the other ones seem to be working fine. I have location set on high accuracy, and all the permissions granted for Tasker, and the other apps which use location work fine. I have enabled logs but when I run them there are no errors, the profiles with location context simply don't seem to have any input triggering them. Any suggestions?
manuelcalmeida said:
I have recently flashed an AOSP ROM to my LG G4, coming from a stock Nougat ROM and previously stock MM. On both previous versions I was able to use Profiles with Location contexts (turn on/off wifi, set volume, etc) with no problem. Now the location contexts have stopped working but the other ones seem to be working fine. I have location set on high accuracy, and all the permissions granted for Tasker, and the other apps which use location work fine. I have enabled logs but when I run them there are no errors, the profiles with location context simply don't seem to have any input triggering them. Any suggestions?
Click to expand...
Click to collapse
What Android version is your current rom?
jerryspring said:
What Android version is your current rom?
Click to expand...
Click to collapse
7.1.2
manuelcalmeida said:
7.1.2
Click to expand...
Click to collapse
Then you should be able to do what I mentioned above
jerryspring said:
Then you should be able to do what I mentioned above
Click to expand...
Click to collapse
Sorry, what did you mention above? Can only find you asking me which version I'm on...
manuelcalmeida said:
Sorry, what did you mention above? Can only find you asking me which version I'm on...
Click to expand...
Click to collapse
Ooops. It didn't post. Lol. Here..
All u have to do is make the profile task and tap play button. That way it will tell you if Tasker is denied/granted SuperSU rights. No need to install secure settings anymore. Just tap Grant to SuperSU. Also, check your SuperSU app as sometimes it denies Tasker automatically
jerryspring said:
Ooops. It didn't post. Lol. Here..
All u have to do is make the profile task and tap play button. That way it will tell you if Tasker is denied/granted SuperSU rights. No need to install secure settings anymore. Just tap Grant to SuperSU. Also, check your SuperSU app as sometimes it denies Tasker automatically
Click to expand...
Click to collapse
The problem is not executing the task, as for example in my home profile I was able to replace the location context with Wifi Near. The problem is that I cannot implement profiles relying on location as apparently they don't work.
But anyway, I tried setting up the profile with location context, played the task but I got no request to grant SuperSU rights, and in SuperSU app Tasker does not appear, neither as granted nor denied...
manuelcalmeida said:
The problem is not executing the task, as for example in my home profile I was able to replace the location context with Wifi Near. The problem is that I cannot implement profiles relying on location as apparently they don't work.
But anyway, I tried setting up the profile with location context, played the task but I got no request to grant SuperSU rights, and in SuperSU app Tasker does not appear, neither as granted nor denied...
Click to expand...
Click to collapse
You have to use an action that has "Use Root" and check it, I think.
Are you just using Tasker location contexts, or AutoLocation? I never had good luck with the former.
lauralbaby said:
You have to use an action that has "Use Root" and check it, I think.
Are you just using Tasker location contexts, or AutoLocation? I never had good luck with the former.
Click to expand...
Click to collapse
I was only using location contexts, for example for when I get home my WiFi turns on, the ringer and media volume are set to a predefined level...
Meanwhile, I reverted back to a stock ROM and just as before everything works well. When at home, as soon as I set my home location as a context, it turns green and executes the task
Could you post more details about your profile? What do you use for location context? Log?
alienyd said:
Could you post more details about your profile? What do you use for location context? Log?
Click to expand...
Click to collapse
The profile I use is very simple, when I get to my home location, Wifi is turned on and Media and Ringer volumes are set to high. The location context is my house without GPS. I can't provide logs of the problem as I have changed ROMs to a LG stock one and I no longer have the problem.
I can confirm that, for example, wifi near triggers just fine from MM to N and now on O.
My guess is there is a a permission not enabled, or the location service doesn't have wifi scanning enabled. Something along these lines.
To post your profile (always a good idea when it's not working as expected) make sure it's named - not a default name assigned by tasker. Then long press on the name to highlight the profile. Go to the 3-dot menu and select export -> Description to Clipboard.
Then you'll be able to paste it. Be aware, it easier to use pastebin then 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.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers

Categories

Resources