I've started playing with Tasker to do a few basic things but the kind of profiles i want to achieve, i'm really struggling to create. If anyone could help me with the following or direct me to a thread that explains how to achieve this, that would be great!
- Disable WiFi/Go into Airplane mode when screen is off and if App 1,2,3 and services are not running, turn WiFi back on/exit Airplane mode when screen comes back on
- Enter Airplane mode at certain times (i've done this) but then at different times on weekends
- Keep WiFi on at home based on cell tower location, and turned off the rest of the time (i've seen someone talking about this previously but can't find it now)
- Enable 3G every 30 minutes and then turn off
- Enable GPS when Maps opens and turn it off when closed
The last part is how to make certain profile supersed others. For example, if i have my phone going into airplane mode at night, how do i then make this ignore the 3G enable/disable profile during the time the Airplane profile is active?
Any help with this would be appreciated!
farquea said:
I've started playing with Tasker to do a few basic things but the kind of profiles i want to achieve, i'm really struggling to create. If anyone could help me with the following or direct me to a thread that explains how to achieve this, that would be great!
#1- Disable WiFi/Go into Airplane mode when screen is off and if App 1,2,3 and services are not running, turn WiFi back on/exit Airplane mode when screen comes back on
#2- Enter Airplane mode at certain times (i've done this) but then at different times on weekends
#3- Keep WiFi on at home based on cell tower location, and turned off the rest of the time (i've seen someone talking about this previously but can't find it now)
#4- Enable 3G every 30 minutes and then turn off
#5- Enable GPS when Maps opens and turn it off when closed
The last part is how to make certain profile supersed others. For example, if i have my phone going into airplane mode at night, how do i then make this ignore the 3G enable/disable profile during the time the Airplane profile is active?
Any help with this would be appreciated!
Click to expand...
Click to collapse
For #2 - Create a task that will be triggered by a Time context. Turning Airplane mode On or Off at specific times and days
For #3 - Create a task that will automatically turn off WiFi if not successfully connected to a WiFi network after say 1 minute
For #4 - From Lollipop onward, android has blocked third party apps to control 3G.
For #5 - Create a task that will be triggered by an event (i.e. starting of an app). Enable GPS upon starting a Navigation app like Google Maps. Add an exit task to turn off GPS when Navigation app was stopped.
During the state that the phone is on airplane mode, you cannot turn On the 3g.
You can see some profile and task examples in tasker settings/browse examples.
farquea said:
I've started playing with Tasker to do a few basic things but the kind of profiles i want to achieve, i'm really struggling to create. If anyone could help me with the following or direct me to a thread that explains how to achieve this, that would be great!
- Disable WiFi/Go into Airplane mode when screen is off and if App 1,2,3 and services are not running, turn WiFi back on/exit Airplane mode when screen comes back on
- Enter Airplane mode at certain times (i've done this) but then at different times on weekends
- Keep WiFi on at home based on cell tower location, and turned off the rest of the time (i've seen someone talking about this previously but can't find it now)
- Enable 3G every 30 minutes and then turn off
- Enable GPS when Maps opens and turn it off when closed
The last part is how to make certain profile supersed others. For example, if i have my phone going into airplane mode at night, how do i then make this ignore the 3G enable/disable profile during the time the Airplane profile is active?
Any help with this would be appreciated!
Click to expand...
Click to collapse
You will need root access to toggle Airplane mode, GPS and Mobile data. It can be done without root though with help of a plugin to Tasker named AutoInput. But if you are new to Tasker this plugin can be a little bit tricky.. Before I rooted my phone I used it myself to toggle GPS to high accuracy when opening Maps and back to Power saving when Maps was closed, also Mobile data ON/OFF when disconnected/connected to Wifi. AutoInput works good but is a ``workaround´´ to access settings that are not allowed by third party applications to use, it opens the menus and do clicks like it would be done by yourself. Not so easy to explain, I would recommend you to visit THIS page to learn more.
If you are are rooted its more easy, you need another Tasker plugin named Secure Settings but its far more easy to use since you only select ``Airplane mode ON´´ or ``GPS high accuracy ON´´ etc. No workarounds needed like with AutoInput.
Related
is there a way if any program needs connection the wifi to turn on and after exit of the program the wifi to turn off (not waiting 2-3-4min if there is no usage to turn off then)?
I have turned off the wifi for the battery life reasons, so when I need it any time I have to go into comm.manager and so on....
I'm actually using phoneweaver (not free), you can set profiles to switch on/off wifi at specific times. I can turn wifi on, but for some reason can't turn it off automatically, guess I'm a bit dumb to set it correctly, but it works for me.
there's another software called wifilocations (free), it seems to turn on/off wifi based on cell id's, haven't tried it but might work for you
I personally have set a hardware button to act as Wifi on/off (with AEBPlus) and just toggle it with a double press when I need it and when I'm done.
There is a wifi button on the keyboard (right arrow button)
True, I usually forget about that one. But then, I don't want to open the phone to turn Wifi on/off.
Prepare for something magical...
Ok so this isn't magical, in fact, it's just another .cab that you can remapp a button to, that's what I have done and I just toggle wifi on and off using it. Here is the .cab.
Somewhat related but does anyone know if it's possible to turn the phone off but leave wi-fi on ? If I'm at home, I want to have Skype running and receive calls like general mobile calls. Would also like to be available with Messenger too
C
Download KaiserTweak, it has an option to keep wifi on during standby.
Perfect thanks however .......
Anyone know how I can run Skype and/or WLM in background ? They seem to shut when I click X on them
C
Check you don't have a 3rd party program or HTC task manager set to "close" instead of "minimize" when tapping X.
Hey,
Love Tasker, like love it...but, some of the things I'd like to do, the major ones, just aren't working out....it's probably me not setting them correctly, don't know...
So I need something simple really...
- Come home, turn wifi on, connect, turn mobile data off (would prefer to turn to GSM from WCDMA Auto but not sure if you can without root...)
- Leave home, wifi off, mobile data on...simple in theory...
Have tried locale based (gps) profiles, wifi near, cell locale...to not much avail...if just swaps back and fro, doesn't know whats going on. So I'm just seeing if anyone has been able to do this easily and efficiently...
Cheers.
I recently raised this myself. Basically the issue is that Google no longer allow apps to turn WiFi on or off. As such, that kind of profile won't work.
Hi.
//some info :
Samsung Galaxy Note 4
Beanstalk 6.12 (based on CM, android 6.0.1)
Xposed enabled, rooted etc.
Coverage in my school is pretty bad - low to no signal. Too much concrete I guess. Because of it my battery drops pretty fast even when I'm not using my phone.
I made a tasker profile to enable the airplane mode when there's no signal. Task detect if BT/WiFi was enabled before and turns it on again. Task disables Airplane mode after 20 mins to check for signal, and whole task restart.
However the problem is that BT is disconnected for a while, which is anoying and disables smart lock (up to first unlock), disconnect BT headphones and watch. Tweak is worth it ; now battery drops much slower. I want it to keep checking every 20 mins because there are some places where signal is pretty good.
//the question
I'm looking for a way to tweak airplane mode (or just disable signal with other method), and leave BT/WiFi untouched.
So far I found this :
androidforums.com/threads/how-to-keep-bluetooth-on-when-enabling-disabling-airplane-mode.659825/
I guess it's for older android versions, but tried anyway. In this folder I have almost right file. It's called "settings.db-journal". SQLite editor can't open it and build in editor shows Chinese? letters?.
If you could help me that would be awesome.
Thanks,
Peter.
Anyone? Any ideas?
Open the setting.db, and then global.There you will find required option to change radios for airplane mode.
I have been looking for internet all these days, everywhere to autosync my device when device is sleeping and wifi is off but couldnt find any working solution as yet.
Tasker should turn on wifi, auto sync then turn auto sync off and wifi. I tried all that I could, but not working.
Anyone can help me with this over here ?
I do have a working autosync profile but for me in order to get it to work, I needed synker and secure settings, because Taskers WiFi action does not always work. If you would like me to share it with you, let me know.
It also takes other things into account as well.
I do have secure settings already. Do share how you do it given your device is sleeping and even WiFi is turned off
OK you can download my profile here, since it would be better, rather than explaining it.
https://drive.google.com/file/d/0B8M8tLEXhDNZQU9XMkV2Qm1RREk/view?usp=drivesdk
I need synker with this ?
Thats correct. But you can try taskers sync option.
Hi, I tried this profile, unfortunately its turning on my data when I am home and Wifi is available. Though I am not sure if its turning on my Wifi while its turned off, I would want to ensure my data stays off. What are the changes I need to make ?
If you wish to remove the mobile data aspect of it altogether you will need to delete, all actions from 9 to 15, then add stop and add end if at then end of the task.
Also it does check to see if wifi is off first and if it is, it will switch it on.
My WiFi is on, but I ensure when screen is off, Wifi stays disabled. And for some reason its not turning back the WiFi when screen is Off. Dont know why
Unfortunately I am in the same boat at the moment, and I have not found anything to resolve this.
I also started my own thread some time ago about it, but I haven't had anyone give me an answer to solve it nor suggest what could cause it.
@ProudRed
UPDATE: I think I might know what the problem is, I have added wake device command at the beginning of my task,via plugin called secure settings > actions > wake device. I will find out tomorrow if this actually works.
I can confirm that adding the plugin > secure settings > actions > Wake device, solves the problem for me. Apparently you shouldn't need this if you adhere to this page http://tasker.dinglisch.net/userguide/en/androidpowermanagement.html
But for some reason it still does not work for me even if I whitelist tasker and it's plugins from 3rd party battery saving apps like amplify or powernap.
The issue I am having is with connecting the wifi, its getting connected but gets disconnected after 5-10 seconds. I have even tried ensuring that screen keeps on for 2 minutes, even after that Wifi is getting disconnected. Can I have an working profile from you without the mobile data part ? May be I am doing something wrong.
Hi
Often on my galaxy A5 2016 rooted I see that a task is active but it doesn't really active the function on my phone...
For example: I've a task to turn wifi on when I'm at home (based on location). Often the task is active (is green on tasker) but wifi isn't turned really on! Why this??
copeppe said:
Hi
Often on my galaxy A5 2016 rooted I see that a task is active but it doesn't really active the function on my phone...
For example: I've a task to turn wifi on when I'm at home (based on location). Often the task is active (is green on tasker) but wifi isn't turned really on! Why this??
Click to expand...
Click to collapse
On my s8 I've had to turn on reliable alarms for when screen is of as I noticed that some profiles like turning Bluetooth on weren't working when the screen was off. Maybe that could help turning this on in the settings?
Sent from my SM-G950F using Tapatalk
mgdorbit said:
On my s8 I've had to turn on reliable alarms for when screen is of as I noticed that some profiles like turning Bluetooth on weren't working when the screen was off. Maybe that could help turning this on in the settings?
Sent from my SM-G950F using Tapatalk
Click to expand...
Click to collapse
Maybe... but can you explain me better what alarms I must turn on?
copeppe said:
Maybe... but can you explain me better what alarms I must turn on?
Click to expand...
Click to collapse
Go to preferences > monitor > Use reliable alarms. I have mine set for screen off
Location is not a reliable trigger (never was for me).
Try using variables. These are better.
For example.
I'm using 2 variables to CONFIRM I'm at home and trigger my home profile.
First... I use Cell near to verify the proximity and enable my WiFi. So my variable is set to "1".
Then... After my phone connects to my network I set another variable to "1".
When both variables are equal to "1" my home profile kicks in.
This way I do not rely on Location (and my power consumption is lower).
Sent from my LG-D855 powered by Aosp Extended and Tapatalk.
So the way tasker works is when a profile activates, the entry task runs, then when the profile deactivates the exit task runs.
If something interferes with the entry task, or if you have profiles that overlap (changing the same settings for instance) the profile will be active, but the desired actions may not be able to run.
However, when it comes to wifi on/off actions, you have to do a few things to ensure the actions can run.
1. Make sure you give yourself enough time to enable wifi before continuing.
Eg: 1. Turn on wifi
2. If connected to my home ssid do the following
This will never work because tasker enables the wifi and immediately goes to the next action, but you need at least 5 seconds (really 15) to connect, so it will never be connected when if statement is checked
2. Or say you want to disable wifi every time The wifi is disconnected from any ssid and whenever you're in range of your homer ssid another profile turns on wifi.
The following WILL NEVER WORK but will take a long time to realize the simplicity of why if not careful
If wifi=on and wifi is not connected
Disable wifi and do these things
The reason is the home profile will always enable wifi and for 15 seconds the disable WiFi profile will trigger because the wifi is on but not connected...so it'll disable WiFi.. which will... you get the idea.
P.s. if the profile is active then reliable alarms has nothing to do with why the actions didn't run. Tasker correctly activated the profile... something interfered elsewhere