My request is very simple:
I use WiFi tithering a lot while travelling. When I enter any known WiFi zone, I wish to turn tithering off and WiFi on, using Tasker.
I have created two profiles for this purpose:
1. Activates tithering when I leave a WiFi zone and loose WiFi connection. This profile works perfectly!
2. Disable tithering and turn WiFi on when I enter a known WiFi zone. This profile never triggers, but the associated tasks run do exactly what I want them to do when I run them manually.
The two actions linked to profile #2 are:
WiFi Tither Set Off
WiFi Set On
And, as I said - they perform exactly what they should - if run manually.
The profile that I use to trigger, is:
State Net, WiFi Near
I have not set any paramters such as SSID, MAC etc. Everything is left blank.
May assumption was that it would trigger on any WiFi zone that it could successfully recognise (log on to). But that does not seem to be the case. It never triggers.
But the profile does become active (turn green) every time I enter a known WiFi Zone. I believed this was a sign that it would trigger.
Any idea how to accomplish a working trigger the way I want?
Rgds
Viking
Oyvindo said:
My request is very simple:
I use WiFi tithering a lot while travelling. When I enter any known WiFi zone, I wish to turn tithering off and WiFi on, using Tasker.
I have created two profiles for this purpose:
1. Activates tithering when I leave a WiFi zone and loose WiFi connection. This profile works perfectly!
2. Disable tithering and turn WiFi on when I enter a known WiFi zone. This profile never triggers, but the associated tasks run do exactly what I want them to do when I run them manually.
The two actions linked to profile #2 are:
WiFi Tither Set Off
WiFi Set On
And, as I said - they perform exactly what they should - if run manually.
The profile that I use to trigger, is:
State Net, WiFi Near
I have not set any paramters such as SSID, MAC etc. Everything is left blank.
May assumption was that it would trigger on any WiFi zone that it could successfully recognise (log on to). But that does not seem to be the case. It never triggers.
But the profile does become active (turn green) every time I enter a known WiFi Zone. I believed this was a sign that it would trigger.
Any idea how to accomplish a working trigger the way I want?
Rgds
Viking
Click to expand...
Click to collapse
If I remember correctly Wifi near requires "Wifi Scanning" to be on, which is located under settings > security & location > location > advanced > scanning.
Related
Whenever I turn WiFi on, the phone will go nuts looking for access points (and chew up the battery doing so and notify me repeatedly). Is there any way to configure WiFi so that it will only using WiFi when it sees a particular access point(s), e.g. my home or work, and ignore everything else on the street. And when those specific access points are unavailable, go back to Edge, GPRS, etc.?
You can still turn off notifications if you want, go to Settings > Wi-Fi > Menu > Advanced and untick "Turn on available network notification".
After I've done the initial setup, when I enable Wifi, my phone auto connects to my Home Wifi and doesn't notify me of any other networks when I'm in Range.
Ta
Dave
DaveShaw said:
After I've done the initial setup, when I enable Wifi, my phone auto connects to my Home Wifi and doesn't notify me of any other networks when I'm in Range.
Ta
Dave
Click to expand...
Click to collapse
yes +1, but I was thiking that anyway WiFi turns off when you shut down the screen, so when you walk in the street your wifi should not be alive. As to do so, you would have anyway a poor battery life. It's cool to use wifi when you need, but let it scan for networks all the time is not the best way.
Hello,
would you please kindly help me resolve Tasker issue I have on my rooted MIUI Mi4c running MIUI 7 by xiaomi.eu 6.1.21, 5.1.1 android.
I made a Home profile, that enables itself, when I'm connected to my home wifi (based on my SSID).
So I have "State" type profile - Wifi Connected.
I have following action to be performed when profile is activated:
1. Pattern Lock Disabled (via Secure settings) - So I don't have to unlock my phone while at home.
I have following actions to be performed when profile is deactivated (I disconnect from WIFI), when leaving home:
1. Pattern Lock Enable.
2. Disable WIFI (to save battery, when I'm away from my home wifi).
The problem is though, that since 2 weeks ago, it seems as the "disable" actions of my home profile is randomely from time to time activated - meaning, wifi keep switching itself off. I thought there is some problem with my router, but as soon as I removed wifi off action from profile, wifi no longer keep switching itself off.
I cannot see anything wrong from with my profile, nor can I see anything useable in Tasker log.
Any idea what's wrong? Or how to mend this?
Thanks in advance !
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.
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