I recently downloaded the files on: http://tasker.wikidot.com/wifi-automator and wanted to configure it so that I could work in multiple locations. I figured that the parts you are told to configure would be the parts that needed editing for this.
Under WiFi Checks Params I was thinking that the two wifi network names could be separates like *wifi1*/*wifi2*. Then maybe adding a second WiFi starter profile with a second WiFi Near state and scanning in one location for each profile. I'm at work and will report back, but I'd like to know if anything is clearly technically wrong with this approach or if there are better ones.
Thanks!
Tasker - WIFI Automator - Multiple Locations
ssyphon said:
I recently downloaded the files on: and wanted to configure it so that I could work in multiple locations. I figured that the parts you are told to configure would be the parts that needed editing for this.
Under WiFi Checks Params I was thinking that the two wifi network names could be separates like *wifi1*/*wifi2*. Then maybe adding a second WiFi starter profile with a second WiFi Near state and scanning in one location for each profile. I'm at work and will report back, but I'd like to know if anything is clearly technically wrong with this approach or if there are better ones.
Thanks!
Click to expand...
Click to collapse
Just checking if that worked or if you were able to create WIFI Automator for multiple locations. Thanks!
Does the WiFi Automator run with the newest version of tasker?
Here WiFi Starter profile is active at home but it doesnt turn on the wifi... seems a problem with the AP Search task which does not start correctly...
https://www.dropbox.com/s/spgm9z78i5kry1r/Screenshot_2014-10-13-12-44-38.jpeg?dl=0"]https://www.dropbox.com/s/spgm9z78i5kry1r/Screenshot_2014-10-13-12-44-38.jpeg?dl=0
Related
Hey there, I'm looking for a little app on my Froyo that will turn on the WiFi and disable the 3G as soon as I reach my home (for example) and when I move outside again, that it'll disable the WiFi and enable the 3G.
Whether it's done by GPS or done simply by noticing if the WiFi signal is available, I don't mind. Does anyone have a clue about this?
I'm not sure if either can do it since I've yet to use them, but you may want to look into two programs, one called "Tasker" the other "Locale"
Both have the ability to execute location based tasks.
I've used both Tasker and Setting Profiles to accomplish this. Tasker is very powerful, but a bit fiddly to get working correctly.
SP is simpler, and works very well. The jury is still out.
There are a few apps that will do that like tasker and locale, but for my needs I use setting profiles.
Y5
Y5 do it great. remembers WIFI location acording to cell info (doesn't waist battery for GPS) and turn on and of.
only bug in my eyes it that in order to shut down WIFI on a remembered location, you need to disable app or forget location.
Thanks so far for the replies! Right now I'm trying Y5. The rest doesn't really work for me. I've tried Tasker, but no... then I've bought "Setting Profiles" as it seemed to be promising, but it doesn't recognize the places where I'm at. Both through GPS as well as cell towers... it knows where I am, but doesn't change my profile. Big pity!
So, now I'm trying Y5. Only down side is that so far none of the programs has the ability to disconnect the 3G upon activating WiFi.
akito said:
Thanks so far for the replies! Right now I'm trying Y5. The rest doesn't really work for me. I've tried Tasker, but no... then I've bought "Setting Profiles" as it seemed to be promising, but it doesn't recognize the places where I'm at. Both through GPS as well as cell towers... it knows where I am, but doesn't change my profile. Big pity!
So, now I'm trying Y5. Only down side is that so far none of the programs has the ability to disconnect the 3G upon activating WiFi.
Click to expand...
Click to collapse
i think it does!
at least in HTC DESIRE it turn 3G off
Locale can do the job. For example, you can set 3 situations.
Set 'At Home' Situation - Condition: Location plug in(any good location plug in)
- Settings: Locale variable plug-in, add, type 'Home', True.
Set at Defaults - Add Locale variable, add Home = False
Add Wifi - Off
Add 3G - ON
Set Wifi - Conditions: Home = True
Settings: Wifi on
3G off
For my case, I've added Appli Detection condition for the Wifi situation where it detect my browser, etc and perform the wifi on. Hope this helps. IMO, Locale does best and is simple.
I use Tasker to do exactly what you ask.
When I get home, Wifi turns on, 3G turns off. And vice versa when I leave.
Same when I get to work.
I do both of these without the need for GPS or even cell tower location..it's based on when I'm near my home wireless network.
Also turns off wifi, 3G and screen rotation when I'm in bed.
And then makes me breakfast in the morning (well, not quite, but it's almost that good! )
Okay guys, I have definitly uninstalled Setting Profiles. I can't seem to rely properly on it. One time it works, the other time it doesn't. So, I simply don't want it anymore
Now I'm trying Tasker, seems promising. I have downloaded APNDroid next to it, as Tasker was notifying me about the fact it needs that program to be able to (dis)connect the 3G. Now.... I'm stuck for a bit. I have made tasks, but have trouble with the profile. The location, I would like that to be done as the scotsman has got it. According to if it finds your home as well as, in my case, work network. How to do that? Cause when I want to set my location, it takes me to google maps. And I take it that works by GPS. No problem neither, but drains the battery a bit more... Would anyone be so kind to give me quick and short step through?
akito said:
Okay guys, I have definitly uninstalled Setting Profiles. I can't seem to rely properly on it. One time it works, the other time it doesn't. So, I simply don't want it anymore
Now I'm trying Tasker, seems promising. I have downloaded APNDroid next to it, as Tasker was notifying me about the fact it needs that program to be able to (dis)connect the 3G. Now.... I'm stuck for a bit. I have made tasks, but have trouble with the profile. The location, I would like that to be done as the scotsman has got it. According to if it finds your home as well as, in my case, work network. How to do that? Cause when I want to set my location, it takes me to google maps. And I take it that works by GPS. No problem neither, but drains the battery a bit more... Would anyone be so kind to give me quick and short step through?
Click to expand...
Click to collapse
I use Tasker, but I do not believe you can use WiFi location if WiFi is off. Location base uses GPS. You can set an option to do tasks if the WiFi connects. 3G is automatically disabled on my Incredible when WiFi connects, so I do not have to implicitly set it off. Just be sure to adjust your radius when you use GPS location. You do not want to drive way down the street to have WiFi turn off and 3G come back on.
I use Tasker to also launch the car app when bluetooth connects in my truck. There are good examples on the Tasker Web site.
Hey everyone,
I'm experiencing a couple minor issues with my MyTouch 4G Slide and wanted to see if anyone had any input.
First is the weather location... when I am at work my phone's weather location always gets all weird. It happened with my G2 (before this phone) as well. On the G2, it would show my location as in Japan. With the MT4GS, it shows as Denver CO. It updates when I leave the building, but it is still frustrating for numerous reasons. First, the time on my phone switches to Denver's time zone while at work. It throws me off whenever I look at my phone. Also, after I leave and the location updates, it doesn't update the time zone. I have to go to Settings -> Date and Time, and uncheck and recheck 'Automatic' for it to switch back to the correct time zone. Finally, while Maps will read my location just fine, other location-based apps seem to be thrown off as well.
One other question is about the hardware keyboard. I have Prediction turned on in settings but it never works. It's nice with the hardware keyboard because I can skip the alt+ keypresses for punctuation and it inserts automatically, and it will capitalize I, etc. If I'm not mistaken, this hasn't worked since the recent HTC update that moved us to Google Play Store.
If anyone has fixes and/or other info about these issues, I'd appreciate your input! Thanks so much.
Are you connecting to your work's wi-fi automatically when you are there? It could be that the location information (which would affect weather and time) is using your IP address info. I know when I connect to my wi-fi at home, it will alter my location to a nearby suburb.
Fuzi0719 said:
Are you connecting to your work's wi-fi automatically when you are there? It could be that the location information (which would affect weather and time) is using your IP address info. I know when I connect to my wi-fi at home, it will alter my location to a nearby suburb.
Click to expand...
Click to collapse
I wish! Our WiFi doesn't even show up on my phone... they must have the SSID hidden. I think it's because the building is older, and it must have lots of concrete or something because radios, cell phones, etc don't work well in here. Mine only works because my desk is right by the main entry door and a few windows. I'm assuming that the GPS signal could get thrown off by that as well. I'm just hoping since Maps can locate me that maybe I could fix the rest of the location-based services.
retrokick said:
I wish! Our WiFi doesn't even show up on my phone... they must have the SSID hidden. I think it's because the building is older, and it must have lots of concrete or something because radios, cell phones, etc don't work well in here. Mine only works because my desk is right by the main entry door and a few windows. I'm assuming that the GPS signal could get thrown off by that as well. I'm just hoping since Maps can locate me that maybe I could fix the rest of the location-based services.
Click to expand...
Click to collapse
It may not even be getting a GPS signal, instead relying upon the location data of the celltower you're linked with. I've seen the location info being off by neighborhoods, but not to the extreme you've mentioned.
Uncheck the automatic update, then it will stay in the right timezone.
Also, I use swiftkey x, it has the best word prediction, and works great with the hardware keyboard.
yellowjacket1981 said:
Uncheck the automatic update, then it will stay in the right timezone.
Also, I use swiftkey x, it has the best word prediction, and works great with the hardware keyboard.
Click to expand...
Click to collapse
Thank you for the recommendation! The app is downloading now and I'm already excited because of the amazing reviews it got. I'm sure I'll love it. I was hesitant to uncheck the automatic setting because I want it to sync the time... but now that I think about it, once the time is set from the network... why would it need to sync? Unless I do a battery pull or something.
Suggestions or questions are welcome!
Description:
Here is a simple-ish script I wrote to manage data flow on my phone. Mobile data on/off is easy enough but what most users have a hard time pulling off is when to toggle wifi on and off with minimal consumption. Using local tower states is pretty common but it's inaccurate and slow; additionally my method uses less battery life.
Room for improvement:
The only thing I would like to do in order to improve this is to have the script not disable data when downloading or streaming. This is possible but is unique per device per ROM so I can't really go into detail about how to do it. As a summary though there's a file that is written to that keeps information about bytes traffic. You just read this file to determine how much data is flowing in a specific interval and if it exceeds a certain amount then don't turn off data just yet. It's also a known issue where with some devices the 3G state change won't register when toggling manually while connected to wifi.
Features:
Wifi and 3G will disable two minutes after the screen is off so it's not constantly toggled through intermittent use.
On some phones or providers the 3G status becomes unknown when in a call or when connected to wifi; this script works around that.
Unlike most data management apps this one will remember your 3G status should you manually change it, in case you don't want 3G on at all.
Data is still checked on an hourly basis(this can be adjusted of course).
Fast and accurate wifi connecting with very minimal power drain.
Just a few things explained for those curious:
I check the phone state to ensure that 3G isn't detected as manually disabled when your provider uses 3G to place calls.
I check the screen on time because on some phones/ROMs the 3G doesn't actually register as toggled until the screen flickers back on. Because of this 3G appears to only become disabled once the screen turns back on and it can be registered as manually turning it off.
The wifi timer exist so the script won't check for a wifi too frequently.
You can adjust the hourly checks under Cycle 3G.
What version of Tasker is this developed under? Just curious, I'm running the 4.0 beta, and I just had to back out of b19 to b18 because of issues with my data management profile. I'll try yours out, it sounds a lot better than mine...
Can't seem to get this to work...tasker wont recognize the file
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
It's working great for me on 4.0b18. I still need to look at the logic being used as to what causes it to 'wake up' and connect to wireless, is it simply a delay after screen on, or are you also looking at other factors?
Tasker 1.3.3u2
My friend had problems getting his to recognize the profile as well. I'm not sure why.. It might have to be in the proper directory. You might also have to make a new profile tab for it. Hopefully rpr69 can give us some insight.
But to answer your question as to how I check Wifi...
When screen turns on I immediately try to connect to Wifi before trying 3g. 3g will still enable briefly after for phones that require it for MMS. If Wifi isn't connected after X seconds then it disables Wifi and won't try again for 10 minutes. If it does connect successfully there will be no 10 minute wait next screen on.
Added manual toggle memory to Wifi as well. I'll post the changes later and update the zip file.
Are you importing the profile, or just dropping it in a directory? The proper way is to import into a new project. In 1.3 of Tasker (from memory, it's been awhile), you need to pull down from the top of the Tasker top bar which should then give you the Projects tabs. Long press on the Home tab, and you should get an 'import' option, navigate to where you downloaded the project file on your phone and select it, and it should create a new tab for it, with the profile and tasks under it. If you had previously just manually copied the xml file into the projects directory, move it out of there or the import may fail.
Looking forward to the update!
Ok got it to work I forgot is was a project and kept trying to import only a profile. It seems great so far!!!
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
To make it so it won't check wifi when you don't want it to add the following...
ProfileName - Record Wifi State
Trigger - State > Wifi Connected *
Enter Task - Set Variable %wifistate to 1 if screen ~ on
Exit Task - STOP If %ScreenOnTime + 2 > %UPS
......Set Variable %wifistate to 0 if screen ~ on
then under task "Data Types On - Type 2 P2"
very first line add - If Then > %wifistate = 1
Place a closing End If at the very bottom, and move the "Mobile Data > Set On (if %3GState = 1)" second from the bottom, just above closing.
I also just uploaded the xml file again to the main post.
Hello all,
This is kinda bug report, I just wonder if anyone else is experiencing this problem.
The case is:
When passing by some particular AP in the street (on my daily route to/from home/work) the AP list gets stuck and won't ever refresh until i turn off and on WiFi on my phone, then it works OK again.
Please, reply, especially if you have(had) and solved this kind of trouble!!! :crying:
I had a similar issue and in the end I just solved it by using an which triggers various tasks on your phone base on specific parameters, there a lot of the in the store.
So I set to turn the wifi on only when I am somewhere where I know there is an AP i can log in to. In all other locations the wlan get turned of automatically.
ralebale said:
I had a similar issue and in the end I just solved it by using an which triggers various tasks on your phone base on specific parameters, there a lot of the in the store.
So I set to turn the wifi on only when I am somewhere where I know there is an AP i can log in to. In all other locations the wlan get turned of automatically.
Click to expand...
Click to collapse
Do you mean some application that switches your WiFi On and Off basing on your location? Or do you mean that you just placed a button on your desktop to switch WiFi On and Off manually?
Hi. just got my OnePlus 8. Switched from Samsung. Question is I have several networks I connect to based on the task I'm up to. This was the easiest thing with Samsung. I had one preferred network and connected to the others manually based on when I needed them. Is this really not possible with oxygen? Renders this phone pretty useless for me.. Any solutions to this?
Not sure what you mean. I have three networks here in my house. As I move around, it connects to the strongest one automatically. I can, if I want, manually connect to a different one.
This is standard Android functionality.
Alan
What I mean is, I have one preferred network which is primary. Then there is several others. At work for example there are three different company's. They all have separate local networks. As I work as a consultant for these company's I need to be able to change manually based on what I need. If I let the phone handle this, it's a mess.. Same goes for home, one primary network for family which is main, one for work and one for me. I want to connect automatically to the primary and the others when I need them, with a click. Not by providing ssid etc every time.. I can't be the only one having these requirements..
delete123 said:
What I mean is, I have one preferred network which is primary. Then there is several others. At work for example there are three different company's. They all have separate local networks. As I work as a consultant for these company's I need to be able to change manually based on what I need. If I let the phone handle this, it's a mess.. Same goes for home, one primary network for family which is main, one for work and one for me. I want to connect automatically to the primary and the others when I need them, with a click. Not by providing ssid etc every time.. I can't be the only one having these requirements..
Click to expand...
Click to collapse
Are you able to use tasker for this? If the routers are in different places you might get it to switch automatically. I think you can create buttons with tasker that could provide this function.