![]() ![]() ![]() This should prevent turning off WiFi when Your Cell is unreachable even for a 10 seconds. With the recent update to Tasker the VPN connection is treated as disconnecting from the internet which throws the task into a loop. I created a task so that when I connect to my work WIFI it automatically starts the VPN service and when I leave the office it turns off the VPN. "+" - Tasker - Profile Status - Press Magnifying Glass - Choose Home - Set: On - Done - Done I have been using Tasker with my VPN (Torguard app) over a year. "+" - Tasker - While %WIFIC matches 0 - Wait 10 Sec - Done "+" - Tasker - Profile Status - Press Magnifying Glass - Choose Home - Set: Off - Done - Done "+" - Tasker - While %WIFIC matches 1 - Wait 10 Sec - Done If You have poor GSM coverage at home (concrete bunker?), You can add to WiFi On profile two steps into entry task: Just change the names of the profiles so you know what they are and scan for the new towers and the new SSID and MAC. If you want to have multiple WIFI connect points, you only need to set up the first two profiles for each access point. The airplane mode invert is to ensure its not scanning for cell towers when in airplane mode. And if you live in a small village or city like me it won't keep your wifi connected while you aren't in range of your router (though it may be using wifi near during that time) With this configuration it won't search until you are in the correct Cell area. The reason to do it this way is to prevent the WIFI Near function to search all the time. New Task - "+" - Variable - Variable Set - %WIFIC to 0 - Done - Done "+" - Tasker - Profile Status - Press Magnifying Glass - Choose Wifi Off - Set: On - Done - Done New Task - "+" - Variable - Variable Set %WIFIC to 1 - Done "+" - Tasker - Profile Status - Press Magnifying Glass - Choose: Wifi Off - Set: Off - Done "+" - Net - Wifi - Off - If %WIFIC matches 0 - Done New Task - "+" - Net- Wifi - On - Done DoneĪdd a context to that profile - State - Wifi Near - Long Click the SSID box, it will autofill (do this when in range of your router) - Long Click the Mac box (it will auto fill) - Select Toggle Wifi - Done - DoneĪdd an exit task - New Task - ok - "+" - Net - WiFi - Off - If %WIFIC matches 0 - Done - Done State - Variable Value - %Home for the Name and Value to 1 Op is Matches - Done New Task - "+" - Variable - Variable Set - %Home to 1 - Done - DoneĪdd a context to that profile - State - Airplane Mode - Invert - DoneĪdd exit task - "+" - Variable - Variable Set - %Home to 0 - Done - Done State - Cell Near - Scan (do this near your house and get several towers) - Done ![]() You have to do this near your house (or wherever you want to connect to WIFI regularly) and scan for several cell towers To do this I created 2 profiles that are used to turn it on and two to turn it off. Once you’ve installed Tasker, navigate over to the Tasker wiki page for WiFi Login: (be sure to click the “Files” button to see the files) or my GitHub page for Tasker stuff. Installation is like anything else for Tasker. If the response is anything that doesn’t make sense, it sets the variable %IPaddy to 0.0.0.0 otherwise it will return with the valid address.Ĭalls checkip and if the result is 0.0.0.0, launches Chrome, then afterward calls checkip again to set the variable properly. The profile that is called upon connecting to any wifi networkĬalls. My solution is made up of a profile and two tasks: Yes, it has a huge learning curve, but it’s totally worth it. Tasker is a paid app, but well worth the cash. So I’ve come up with a solution using Tasker (and nothing but Tasker). Then, the OS is smart enough to figure out that you can’t connect to the internet via WiFi (because you haven’t accepted the ToS), so instead of presenting you with the login page, it automagically switches to mobile data. When you have a network (say, at work or at a coffee shop) where you have to accept terms and conditions. And ideally, it works great.Įxcept for one thing. It’s actually described really well right there. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |