Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,807,866 Members 50,807 Now Online
XDA Developers Android and Mobile Development Forum

Tasker WiFi Sign-in?

Tip us?
 
drinfernoo
Old
#1  
drinfernoo's Avatar
Senior Member - OP
Thanks Meter 303
Posts: 1,436
Join Date: Dec 2012
Location: Yakima, WA
Default Tasker WiFi Sign-in?

I have just recently started using Tasker for some simple tasks like turning on/off GPS or WiFi, silencing my phone, etc... And I am trying to figure out how to set up a task to sign in to secured WiFi SSIDs. My work and school both require you to "sign in" before you can use their WiFi, so my phone tells my whenever it connects, to "Sign into Wi-Fi Network". Both of them are different however. My work is a simple checkbox to "agree" to the store's conditions My school, I actually have to type in my student information.

What I would like to do is make a task to automate that signing in process as soon as my phone connects to the WiFi. Has anyone done anything like this or have any suggestions how to go about it?
 
Moe5508
Old
(Last edited by Moe5508; 16th March 2013 at 09:50 PM.)
#2  
Senior Member
Thanks Meter 190
Posts: 2,478
Join Date: Jun 2007

 
DONATE TO ME
Tasker is a very powerful app whose full capabilities I personally haven't even started to scratch...play around especially with creating variables under the NET > Wifi Connected/Near task or profile and I think you'll be able to write a simple profile to do this for you. Best way to do this is when you're actually on/near that network so you can automatically pull in the details of the Mac address or SSID...
You can start by looking here to see if you can "kang" one profile/task or so

http://tasker.wikidot.com/profile-index

Under Advanced category on this wiki look to see how you can modify the Wifi Auto Start/Stop profile...
 
aalupatti
Old
#3  
Senior Member
Thanks Meter 423
Posts: 1,912
Join Date: Feb 2011
Default Re: Tasker WiFi Sign-in?

I tried to do something like this a long time ago but figured it.
Hope some one can help out

Sent from my GT-N8013
 
drinfernoo
Old
(Last edited by drinfernoo; 16th March 2013 at 10:50 PM.)
#4  
drinfernoo's Avatar
Senior Member - OP
Thanks Meter 303
Posts: 1,436
Join Date: Dec 2012
Location: Yakima, WA
Default Re: Tasker WiFi Sign-in?

Quote:
Originally Posted by Moe5508 View Post
Tasker is a very powerful app whose full capabilities I personally haven't even started to scratch...play around especially with creating variables under the NET > Wifi Connected/Near task or profile and I think you'll be able to write a simple profile to do this for you. Best way to do this is when you're actually on/near that network so you can automatically pull in the details of the Mac address or SSID...
You can start by looking here to see if you can "kang" one profile/task or so

http://tasker.wikidot.com/profile-index

Under Advanced category on this wiki look to see how you can modify the Wifi Auto Start/Stop profile...
I'm afraid I may have to write some sort of script to handle the authentication. I can make it check to see if I'm connected, and I should be able to see if I have connectivity or not, but I don't know where to go from there.

EDIT: On further examination, I don't see a way to check WiFi connectivity or speeds.

Sent from my SAMSUNG-SGH-I747 using xda app-developers app
 
rignfool
Old
#5  
rignfool's Avatar
Senior Member
Thanks Meter 533
Posts: 1,954
Join Date: Dec 2010
Default Re: Tasker WiFi Sign-in?

There is the newbie tut thread... and a Google group

Sent from my Vivid 4G using Tapatalk 2
 
drinfernoo
Old
#6  
drinfernoo's Avatar
Senior Member - OP
Thanks Meter 303
Posts: 1,436
Join Date: Dec 2012
Location: Yakima, WA
Default Re: Tasker WiFi Sign-in?

Quote:
Originally Posted by rignfool View Post
There is the newbie tut thread... and a Google group

Sent from my Vivid 4G using Tapatalk 2
And this is not a newbie tut issue. It looks like people all over the internet have been trying to do it, and there hasn't been much progress.

Sent from my SAMSUNG-SGH-I747 using xda app-developers app
 
Perks
Old
#7  
Member
Thanks Meter 11
Posts: 43
Join Date: Dec 2009
Default Re: Tasker WiFi Sign-in?

I've tried to do something similar some time ago to login to fon networks, with no luck I'm afraid


My best guess was trying to use "http post" plugin
https://play.google.com/store/apps/d...endEmailPlugin

But still the lack of knowledge took ahead of me, maybe you can have a look at it


wish you better luck than mine :thumbup:

Sent from my Nexus 7 using Tapatalk HD
 
drinfernoo
Old
#8  
drinfernoo's Avatar
Senior Member - OP
Thanks Meter 303
Posts: 1,436
Join Date: Dec 2012
Location: Yakima, WA
I solved one of them!!! I was able to get it (I think, haven't field tested yet) to work with my work WiFi Here's my setup:

State: Wifi Connected Guest,*,* (Name of SSID is Guest)
1. Browse URL *the URL for the login page*
2. Run Shell [Command: sleep 0.1; input tap 50 715; sleep 0.025; input tap 620 800 Timeout: 0 Use Root: Yes]

The coordinates in the "input tap" sections are the coordinates for the "agree" checkbox, and the "agree" button, respectively This seems to work awesome, but I have to try it when I'm there. I'm now going to try and figure out how to make it do it while the phone is asleep

BTW, an easy way to get those coordinates is to turn on "Show Pointer Location" in Developer Settings.
The Following 2 Users Say Thank You to drinfernoo For This Useful Post: [ Click to Expand ]
 
aalupatti
Old
#9  
Senior Member
Thanks Meter 423
Posts: 1,912
Join Date: Feb 2011
Default Re: Tasker WiFi Sign-in?

@Drinfernoo
I am going to tedt this out on Monday at work

Sent from my GT-N7000 using Tapatalk 2
 
ooonimrodooo
Old
#10  
ooonimrodooo's Avatar
Senior Member
Thanks Meter 102
Posts: 255
Join Date: Jan 2011
Location: Corfu, Ny
Default Re: Tasker WiFi Sign-in?

I use a great app called WiFi Web Login. It's pretty cheap in the play store. Logs into my school WiFi flawlessly every time.

Sent from my SPH-L710 using xda app-developers app

The Following User Says Thank You to ooonimrodooo For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes