Tasker location profiles not working - Tasker Tips & Tricks

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

Related

Disable bluetooth MAP?

My X is paired to my 2013 F-150 via SYNC and it automatically adds the voice, media and message features upon connecting. However, every time I get a text, SYNC stops everything to tell me I have a new text message, and it's annoying. You can turn MAP off temporarily by manually disabling it while the phone is paired, but once it re-pairs with SYNC, it automatically activates MAP again. I do use the voice and media though.
My question is this... is there any way to permanently disable the MAP feature on the X? I don't use it and never will. I always check my phone when a new message arrives or wait until I'm at a stop. I just want to be able to be able to remove the MAP feature.
triton302 said:
My X is paired to my 2013 F-150 via SYNC and it automatically adds the voice, media and message features upon connecting. However, every time I get a text, SYNC stops everything to tell me I have a new text message, and it's annoying. You can turn MAP off temporarily by manually disabling it while the phone is paired, but once it re-pairs with SYNC, it automatically activates MAP again. I do use the voice and media though.
My question is this... is there any way to permanently disable the MAP feature on the X? I don't use it and never will. I always check my phone when a new message arrives or wait until I'm at a stop. I just want to be able to be able to remove the MAP feature.
Click to expand...
Click to collapse
You can probably unpair (from both the phone and sync) and then repair and when you repair just deny the MAP access request.
Also, you should be able to turn off new message download in Sync
triton302 said:
My X is paired to my 2013 F-150 via SYNC and it automatically adds the voice, media and message features upon connecting. However, every time I get a text, SYNC stops everything to tell me I have a new text message, and it's annoying. You can turn MAP off temporarily by manually disabling it while the phone is paired, but once it re-pairs with SYNC, it automatically activates MAP again. I do use the voice and media though.
My question is this... is there any way to permanently disable the MAP feature on the X? I don't use it and never will. I always check my phone when a new message arrives or wait until I'm at a stop. I just want to be able to be able to remove the MAP feature.
Click to expand...
Click to collapse
Did you ever find a solution for this? I just got a '14 Raptor and it does the same damned thing. I've deleted the phone pairing and repaired and deny access when repairing but it still automatically connects to all 3 protocols when I get in the truck. My phone is actually an LG G3 but it seems to be an android problem and not a specific phone problem.
boosting1bar said:
Did you ever find a solution for this? I just got a '14 Raptor and it does the same damned thing. I've deleted the phone pairing and repaired and deny access when repairing but it still automatically connects to all 3 protocols when I get in the truck. My phone is actually an LG G3 but it seems to be an android problem and not a specific phone problem.
Click to expand...
Click to collapse
Nope. I also got a '14 Focus ST and the bluetooth "feature" is even worse on it. Since I have the full touchscreen, it will now display the notification that I have a text, and who it's from. Again, you can temporarily disable it on the phone but not permanently.
triton302 said:
Nope. I also got a '14 Focus ST and the bluetooth "feature" is even worse on it. Since I have the full touchscreen, it will now display the notification that I have a text, and who it's from. Again, you can temporarily disable it on the phone but not permanently.
Click to expand...
Click to collapse
Yeah that's exactly what I'm getting in my 14 Raptor. Terrible, I guess I have to disable it every time I get in the car now.
triton302 said:
Nope. I also got a '14 Focus ST and the bluetooth "feature" is even worse on it. Since I have the full touchscreen, it will now display the notification that I have a text, and who it's from. Again, you can temporarily disable it on the phone but not permanently.
Click to expand...
Click to collapse
Do you guys have root? if so maybe you can try something. but keep in mind I have not tried this myself and also I could be completely wrong.
Anyway, I noticed in my moto x build.prop file (that sets the phone settings on boot) that one of the lines seems to disable Bluetooth SAP on boot. The line is
ro.qualcomm.bluetooth.sap = false
if that can turn off SAP maybe
ro.qualcomm.bluetooth.map = false
can turn off MAP on boot.
Keep in mind editing build.prop the wrong way can give you boot up problems. Backup the file, and also keep track of and set the appropriate permissions for the file.
In fact, it's probably better before editing build.prop to try the setting on the fly. In a terminal emulator with SU enabled try the line
setprop ro.qualcomm.bluetooth.map false
then check that with getprop and with your car.
this is safer if you have any problems you can just reboot. if it works you can proceed to build.prop
dtg7 said:
Do you guys have root? if so maybe you can try something. but keep in mind I have not tried this myself and also I could be completely wrong.
Anyway, I noticed in my moto x build.prop file (that sets the phone settings on boot) that one of the lines seems to disable Bluetooth SAP on boot. The line is
ro.qualcomm.bluetooth.sap = false
if that can turn off SAP maybe
ro.qualcomm.bluetooth.map = false
can turn off MAP on boot.
Keep in mind editing build.prop the wrong way can give you boot up problems. Backup the file, and also keep track of and set the appropriate permissions for the file.
In fact, it's probably better before editing build.prop to try the setting on the fly. In a terminal emulator with SU enabled try the line
setprop ro.qualcomm.bluetooth.map false
then check that with getprop and with your car.
this is safer if you have any problems you can just reboot. if it works you can proceed to build.prop
Click to expand...
Click to collapse
Great idea, however I just tried it with no avail.
I just thought of something as well... my fiance has a '13 Focus SE with the base stereo, and she has the same model phone as me (VZW X Dev). Her SYNC doesn't alert her to new messages, but my truck with the same SYNC setup did, but I figured my truck had a more recent version of SYNC. I dunno, all I know is it's annoying as hell and I'd like to find a more permanent solution. Especially since I'm contemplating on buying the Droid Turbo in the future and I'm sure it will do the same thing.
triton302 said:
Great idea, however I just tried it with no avail.
Click to expand...
Click to collapse
That sucks... Just to clarify I assume you tried this with a terminal emulator. did you remember to give it root before running the setprop command? i.e. type su and enter. without root setprop will appear to go through but won't actually set anything. And if it's set properly, getprop ro.qualcomm.bluetooth.map should return false like it does for SAP. otherwise it will return empty.
Another thing that might or might not make a difference, was Bluetooth on when you tried this, if so try it with Bluetooth off.
As for the difference between the two SYNCs my guess is you're right the version difference could be affecting something. A quick Google search suggests some versions of SYNC have a setting for MAP. in SYNC menu check System Settings -> Advanced -> MAP Profile
dtg7 said:
That sucks... Just to clarify I assume you tried this with a terminal emulator. did you remember to give it root before running the setprop command? i.e. type su and enter. without root setprop will appear to go through but won't actually set anything. And if it's set properly, getprop ro.qualcomm.bluetooth.map should return false like it does for SAP. otherwise it will return empty.
Another thing that might or might not make a difference, was Bluetooth on when you tried this, if so try it with Bluetooth off.
As for the difference between the two SYNCs my guess is you're right the version difference could be affecting something. A quick Google search suggests some versions of SYNC have a setting for MAP. in SYNC menu check System Settings -> Advanced -> MAP Profile
Click to expand...
Click to collapse
The newer SYNC version doesn't have that MAP option, that was the first thing I found when googling as well. (and for the record I don't have a moto, I'm using an LG G3 and found this thread while searching for a solution). Unfortunately my build.prop doesn't have those lines in it. Not sure if I could just add the MAP entry or not, that's above my knowledge base
boosting1bar said:
The newer SYNC version doesn't have that MAP option, that was the first thing I found when googling as well. (and for the record I don't have a moto, I'm using an LG G3 and found this thread while searching for a solution). Unfortunately my build.prop doesn't have those lines in it. Not sure if I could just add the MAP entry or not, that's above my knowledge base
Click to expand...
Click to collapse
well without putting in commands manually I see two things you guys can try. the first doesn't need root while the second one does.
1) turn on Bluetooth on your phones, then go to Settings -> Apps -> Running -> Bluetooth Share then just Stop the Map service. This method will stick as long as you don't turn off Bluetooth and start it again, and as long as you don't restart the phone. if you do either you'll have to do the stopping again.
2) this requires that your phone be rooted, but on the plus side it might be more permanent. There's a nifty app in the play store made by some benevolent developer that claims to disable any service started by any app. appropriately enough the app is called Disable Service. You open the app, slide over to the System Apps section, find Bluetooth Share and click it, then just uncheck the Maps service box. So simple, but won't work without root. Try it with Bluetooth off and if that doesn't work reset it then try it with Bluetooth on. But word of caution you don't want to go messing around disabling other things unless you're sure of what you're doing. disabling the wrong thing will cause you problems.
https://play.google.com/store/apps/details?id=cn.wq.disableservice
good luck.
dtg7 said:
well without putting in commands manually I see two things you guys can try. the first doesn't need root while the second one does.
1) turn on Bluetooth on your phones, then go to Settings -> Apps -> Running -> Bluetooth Share then just Stop the Map service. This method will stick as long as you don't turn off Bluetooth and start it again, and as long as you don't restart the phone. if you do either you'll have to do the stopping again.
2) this requires that your phone be rooted, but on the plus side it might be more permanent. There's a nifty app in the play store made by some benevolent developer that claims to disable any service started by any app. appropriately enough the app is called Disable Service. You open the app, slide over to the System Apps section, find Bluetooth Share and click it, then just uncheck the Maps service box. So simple, but won't work without root. Try it with Bluetooth off and if that doesn't work reset it then try it with Bluetooth on. But word of caution you don't want to go messing around disabling other things unless you're sure of what you're doing. disabling the wrong thing will cause you problems.
good luck.
Click to expand...
Click to collapse
Thanks so much! Option 2 is exactly what I've been looking for! Option 1 doesn't work for me because I use Trigger and have conditional BT on/off and that would just recreate the same problem lol.
Just tried option 2... If any of those services are unchecked, Bluetooth itself turns off automatically and won't turn back on until that service is restored.
triton302 said:
Just tried option 2... If any of those services are unchecked, Bluetooth itself turns off automatically and won't turn back on until that service is restored.
Click to expand...
Click to collapse
Yep same here, tried it on my way home yesterday and the disable service app completely disables bluetooth if you disable MAP.
boosting1bar said:
Yep same here, tried it on my way home yesterday and the disable service app completely disables bluetooth if you disable MAP.
Click to expand...
Click to collapse
Wow no breaks...but not quite out of ideas yet. a few more to spitball, going from simple to more complex:
a) we've established there's no option to disable MAP from within SYNC under System Settings. What about under Phone Settings? Indications are there should be an option there to turn off Message Notification. If it's there set it to OFF. frankly I'd expect there to be such a setting somewhere in there.
b) reaching a bit here, but in Disable Service app I notice there's another system app that has Bluetooth service settings. the app's name is org.codeaurora.bluetooth (Apparently Code Aurora is the Qualcomm Linux kernel). No idea if this will work where the other failed but won't hurt to try. the service says BluetoothMasService but if you check the full name it is map (maybe service instead of profile).
c) this one brings out the big guns. not only do you need root, but you also need Xposed installed. if you already have Xposed then it would be quick to try. if not, just read up on it. anyway, with Xposed installed you need the AppOpsXposed module. when you have that up and running you open the App Ops screen of the Bluetooth Share app (a few ways to do that, doesn't matter how). in that screen you turn off all of Bluetooth Share's access to SMS. Basically you disable Bluetooth from interacting with Messaging. you revoke the permissions. Bluetooth will still work unaware that it can't access messages, and I figure if it can't access messages it damn well can't send them to the car.
There's another module that can do this more thoroughly, but App Ops is less scary/more user friendly.
that's it. personally I still prefer my original idea of figuring out how to do it manually thru setprop and build.prop, but if that's not an option then try these.
Roger, I'm off work today so I'll try these out here shortly.
EDIT: From what I recall, if you have a recent version of MFT, there are no options whatsoever for MAP, in phone or system settings. I'll double check.
EDITING EDIT: #2 doesn't work.
dtg7 said:
Wow no breaks...but not quite out of ideas yet. a few more to spitball, going from simple to more complex:
a) we've established there's no option to disable MAP from within SYNC under System Settings. What about under Phone Settings? Indications are there should be an option there to turn off Message Notification. If it's there set it to OFF. frankly I'd expect there to be such a setting somewhere in there.
b) reaching a bit here, but in Disable Service app I notice there's another system app that has Bluetooth service settings. the app's name is org.codeaurora.bluetooth (Apparently Code Aurora is the Qualcomm Linux kernel). No idea if this will work where the other failed but won't hurt to try. the service says BluetoothMasService but if you check the full name it is map (maybe service instead of protocol).
c) this one brings out the big guns. not only do you need root, but you also need Xposed installed. if you already have Xposed then it would be quick to try. if not, just read up on it. anyway, with Xposed installed you need the AppOpsXposed module. when you have that up and running you open the App Ops screen of the Bluetooth Share app (a few ways to do that, doesn't matter how). in that screen you turn off all of Bluetooth Share's access to SMS. Basically you disable Bluetooth from interacting with Messaging. you revoke the permissions. Bluetooth will still work unaware that it can't access messages, and I figure if it can't access messages it damn well can't send them to the car.
There's another module that can do this more thoroughly, but App Ops is less scary/more user friendly.
that's it. personally I still prefer my original idea of figuring out how to do it manually thru setprop and build.prop, but if that's not an option then try these.
Click to expand...
Click to collapse
I think we have a winner! #3 works perfectly.
I tested it with the phone unlocked and locked, rebooting the phone, toggling bluetooth on and off, turning the car on and off... seems to work every time. As long as you turn off just the SMS/MMS options, you can still have it send and receive calls and allow the device to remain unlocked while connected.
Ahhhh...... Success feels good...
Xposed is pretty amazing... It gives us a fighting chance lol.
if only they'd installed Xposed on Skynet things might have turned out differently...
dtg7 said:
c) this one brings out the big guns. not only do you need root, but you also need Xposed installed. if you already have Xposed then it would be quick to try. if not, just read up on it. anyway, with Xposed installed you need the AppOpsXposed module. when you have that up and running you open the App Ops screen of the Bluetooth Share app (a few ways to do that, doesn't matter how). in that screen you turn off all of Bluetooth Share's access to SMS. Basically you disable Bluetooth from interacting with Messaging. you revoke the permissions. Bluetooth will still work unaware that it can't access messages, and I figure if it can't access messages it damn well can't send them to the car.
There's another module that can do this more thoroughly, but App Ops is less scary/more user friendly.
Click to expand...
Click to collapse
Awesome, worked here as well!! I'd looked through xposed and didn't see any modules that would do what we were after, completely forgot about AppOps. Outstanding work and thanks so much for the help!
You're welcome!
boosting1bar said:
Awesome, worked here as well!! I'd looked through xposed and didn't see any modules that would do what we were after, completely forgot about AppOps. Outstanding work and thanks so much for the help!
Click to expand...
Click to collapse
How did you get this yo work? I am on a cm12 Rom also with the same issue.
Did all the above, but anytime I start the Bluetooth afterwards, it just reactivates the "Read / Write sms messages permission all over again nd im back to square 1.
Sorry to bump an old thread. But its still yhe same issue I am dealing with.

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

[TASKER] Looking for some tasker profile ideas. Post your tasker profiles here!

So I just discovered the magical world of tasker, and am loving it! Totally worth the money, and one of the best apps to have (the best if you know how to maximise its use)! I have been experimenting a bit with it, so I don't have many profiles. I'm sure many folks here will be using tasker and would be having some great profiles, so I'm looking forward to hearing some suggestions! The profiles I use are:
1. WiFi off at night, from 00:45 to 08:00, except WhatsApp, Play Store, Quora
2. Airplane mode at night, from 00:30 to 07:00
3. Use of interactive CPU governor when using Real Racing 3, and revert to lionfish governor after exiting app(Kernel adiutor profiles do this for me). I also added a condition to use auto-rotate when playing the game, and revert to portrait orientation after closing the app.
4. Auto-sync every two hours, from 08:00 to 20:00 (I would like to improve this to auto-sync only Gmail, would welcome suggestions on how to do this from any tasker experts out here )
I would love to implement more profiles and automate my phone, so looking for ideas.
Need a tasker profile which can disable my mobile data only for some specific apps.it means If I start those apps then my mobile data would automatically disabled and when I close them Data service should be enbled.If u can help on this then That wud be very helpfull
Nothing very fancy for me - right now just have it turning on my wifi hotspot when it detects my car's bluetooth connection so my stereo can use the internet.
It sounds like you are taking it pretty far, @varunadi. You should check out https://www.reddit.com/r/tasker for more cool ideas.
koimr said:
Nothing very fancy for me - right now just have it turning on my wifi hotspot when it detects my car's bluetooth connection so my stereo can use the internet.
It sounds like you are taking it pretty far, @varunadi. You should check out https://www.reddit.com/r/tasker for more cool ideas.
Click to expand...
Click to collapse
Yep, I am looking to maximise the use of this app, so thanks for that link, will check it out!
anks095 said:
Need a tasker profile which can disable my mobile data only for some specific apps.it means If I start those apps then my mobile data would automatically disabled and when I close them Data service should be enbled.If u can help on this then That wud be very helpfull
Click to expand...
Click to collapse
I'm still finding my way around tasker, reading a lot of tutorials so once I figure it out I'll let you know.
anks095 said:
Need a tasker profile which can disable my mobile data only for some specific apps.it means If I start those apps then my mobile data would automatically disabled and when I close them Data service should be enbled.If u can help on this then That wud be very helpfull
Click to expand...
Click to collapse
I don't know if you can disable mobile data entirely (not just background which Android can do already) for just certain apps.
Perhaps it would be easier to use something like Netguard.
I've never used it but the description says "Applications can individually be allowed or denied access to your Wi-Fi and/or mobile connection."
koimr said:
I don't know if you can disable mobile data entirely (not just background which Android can do already) for just certain apps.
Perhaps it would be easier to use something like Netguard.
I've never used it but the description says "Applications can individually be allowed or denied access to your Wi-Fi and/or mobile connection."
Click to expand...
Click to collapse
Can't the secure settings plugin be used for that purpose? Toggle data on/off I mean.
varunadi said:
Can't the secure settings plugin be used for that purpose? Toggle data on/off I mean.
Click to expand...
Click to collapse
I was actually going to suggest that as I have it installed already but when I tried it didn't work.
The "Mobile data" toggle was unavailable because it claims I don't have root. However, I'm definitely rooted and there's no listing (saying denied or otherwise) in SuperSU for Secure Settings so it didn't even ask for root. I'm not too surprised as SS hasn't been updated in over a year and a lot of the Play Store comments mention mobile data toggle specifically not working either (among other things). Too bad as it was pretty powerful and of course I think I paid for it right after its last update.
Not getting SS working for me might just be my problem and perhaps someone else can get it going.
I was also going to suggest [APP][2.2+][ROOT] Toggle Data 5.0 (xda-exclusive free version) but then I read more about what @anks095 said which was "can disable my mobile data only for some specific apps" so I'm guessing he just wants certain apps restricted and not all (although the next sentence seems to say otherwise but I might be reading it incorrectly). I'm not too sure that can be done via Tasker/SS - my guess is that it's an "all-or-nothing" kinda thing for mobile data so the VPN thing might be the only way.
I use a similiar app called automagic but some of the things that I got my tasker like program to do are: lockscreen enable/disable through wi-fi at trusted places (don't like geofencing due to battery), when connected to the bluetooth of my car. Auto silent 5 min before a meeting, but if not connected to my smartwatch then vibrate. And lastly sms emergency location request where my family can send a keyword and my phone will automatically send location.
joeanca said:
I use a similiar app called automagic but some of the things that I got my tasker like program to do are: lockscreen enable/disable through wi-fi at trusted places (don't like geofencing due to battery), when connected to the bluetooth of my car. Auto silent 5 min before a meeting, but if not connected to my smartwatch then vibrate. And lastly sms emergency location request where my family can send a keyword and my phone will automatically send location.
Click to expand...
Click to collapse
How is the lockscreen one working for you? I find the built-in SmartLock to be really unreliable but when I tried to do lockscreen stuff before (last year) there was some bug in either Tasker or Secure Settings that would sometimes keep your screen black with just the nav buttons visible present. I'll have to re-try now.
That sms emergency request thing sounds cool! Can the recipient open the location in Maps to see exactly where you are?
Without issues I set it so that it clears the password. Makes it so that I have to swipe to unlock. As for the location, yes it sends coordinates and the user in the other end taps it to bring up Google maps.
Sent from my XT1563 using Tapatalk
joeanca said:
Without issues I set it so that it clears the password. Makes it so that I have to swipe to unlock. As for the location, yes it sends coordinates and the user in the other end taps it to bring up Google maps.
Sent from my XT1563 using Tapatalk
Click to expand...
Click to collapse
Thank you very much - clearing the password was the key! I had been trying before to disable the keyguard entirely so I wouldn't even have to swipe but that's where the problem/bug came in. Thinking about it that makes more sense to have at least a swipe because I'd end up calling people from my pocket by mistake. So thanks again!
Tasker...hmmm. Bought it, but much to complicated for me. Macrodroid is much easier to understand and can also do complicated automation with a normal user friendly interface. I tried to like Tasker, but the more and more I tried the more stupid I felt.

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.

Chnange audio profiles based on location

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.

Categories

Resources