Go Back   Android Forums > Android Discussion > Android Applications > Tasker

Find everything you need for the Galaxy S5 and discuss it in our S5 forum!
Have you seen that OnePlus One's awesome camera?? The forum is over here!

Like Tree5Likes
  • 1 Post By ooberandy
  • 1 Post By ooberandy
  • 1 Post By ooberandy
  • 1 Post By ooberandy
  • 1 Post By ooberandy

test: Reply
 
LinkBack Thread Tools
Old February 23rd, 2014, 08:11 PM   #1 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Jan 2014
Posts: 17
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default New to Tasker

Hey guys I'm new to tasker and I love the concept of it and jumped right in but when it came to doing stuff I was completely useless...lol can someone please tell me how I would be able to setup this option.

I'd like it to have a password whenever it is not in a "safe location" whether I put it so my safe locations are set up by wifi connection or GPS I don't care. I'd just like it so when I'm at home or my girlfriends house I don't have to be bothered to put my pw in. But when I bring it to school that my password is automatically setup without me having to worry as much.

Also, I'd like to have all my updates happen at a certain time frame. Idk if I can do this without Tasker anyways. But I'd like the updates to happen as I'm sleeping obviously like roughly between 4am-6am.

Thanks guys

d13g087 is offline  
Reply With Quote
sponsored links
Old February 24th, 2014, 03:35 AM   #2 (permalink)
Senior Member
 
Join Date: Feb 2010
Location: Hartlepool, UK
Posts: 654
 
Device(s): Nexus 4
Carrier: 3

Thanks: 75
Thanked 75 Times in 56 Posts
Default

Try this link to get rid of your password when connected to a wifi network when you know you wont need a password
codesplice likes this.
ooberandy is offline  
Reply With Quote
The Following User Says Thank You to ooberandy For This Useful Post:
d13g087 (February 25th, 2014)
Old February 25th, 2014, 09:52 AM   #3 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Jan 2014
Posts: 17
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

thanks a bunch worked great
d13g087 is offline  
Reply With Quote
Old February 25th, 2014, 10:03 AM   #4 (permalink)
Senior Member
 
Join Date: Feb 2010
Location: Hartlepool, UK
Posts: 654
 
Device(s): Nexus 4
Carrier: 3

Thanks: 75
Thanked 75 Times in 56 Posts
Default

No problem. Unfortunately it doesnt work for me on ym Nexus 4, i've been struggling with it for ages without a solution
ooberandy is offline  
Reply With Quote
Old February 25th, 2014, 10:31 AM   #5 (permalink)
Elite Recognized Geek
 
codesplice's Avatar
 
Join Date: Oct 2013
Location: Huntsville, AL
Gender: Male
Posts: 1,776
 
Device(s): Nexus 4, Galaxy Nexus, Nexus One
Carrier: T-Mobile (prepaid)

Thanks: 299
Thanked 953 Times in 598 Posts
Default

Quote:
Originally Posted by ooberandy View Post
No problem. Unfortunately it doesnt work for me on ym Nexus 4, i've been struggling with it for ages without a solution
I've got a similar solution working without issue on my N4. Do you know where yours is getting hung up?
codesplice is offline  
Reply With Quote
Old February 25th, 2014, 10:37 AM   #6 (permalink)
Senior Member
 
Join Date: Feb 2010
Location: Hartlepool, UK
Posts: 654
 
Device(s): Nexus 4
Carrier: 3

Thanks: 75
Thanked 75 Times in 56 Posts
Default

When I install as per the link above, it works only on the 1st time it connects to my wifi. Every time after, the keyguard comes back on
ooberandy is offline  
Reply With Quote
Old February 25th, 2014, 12:39 PM   #7 (permalink)
Elite Recognized Geek
 
codesplice's Avatar
 
Join Date: Oct 2013
Location: Huntsville, AL
Gender: Male
Posts: 1,776
 
Device(s): Nexus 4, Galaxy Nexus, Nexus One
Carrier: T-Mobile (prepaid)

Thanks: 299
Thanked 953 Times in 598 Posts
Default

Quote:
Originally Posted by ooberandy View Post
When I install as per the link above, it works only on the 1st time it connects to my wifi. Every time after, the keyguard comes back on
I wonder if having two profiles with inverted conditions (that is "connected" and "not connected") could be causing some issues.

I use a "Device Boot" profile which sets the PIN. This makes sure that enabling the lockscreen is one of the first things done once the phone has finished booting in case it has wandered a bit too far from hom.

I then have a "Wifi Connected" profile that checks for a connection to a defined SSID and clears the PIN; it has an Exit task which sets the PIN again when I've disconnected.

Simplifying the profile(s) may help to troubleshoot as well.

I'd gladly post some screenshots or more details about my profiles, but they are a bit more complicated (as I also disable the lockscreen when my Pebble is connected). Let me know if you'd like to see them though
codesplice is offline  
Reply With Quote
Old February 25th, 2014, 05:39 PM   #8 (permalink)
Senior Member
 
Join Date: Feb 2010
Location: Hartlepool, UK
Posts: 654
 
Device(s): Nexus 4
Carrier: 3

Thanks: 75
Thanked 75 Times in 56 Posts
Default

Many thanks. I'll give it a shot how you describe and if I'm struggling I'll give you a shout :-)
ooberandy is offline  
Reply With Quote
Old February 25th, 2014, 10:13 PM   #9 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Jan 2014
Posts: 17
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

so my lock works just fine as of now. Now I'm going over my girlfriends house on Friday and plan on setting up another profile the same exact way I did at my house. Do you think that will keep my device locked all the time since it will only be in a secure location in 1 setting, or since I am in a secure location it will over ride the other profile from locking my device? Regardless I'll let you guys know what happens
d13g087 is offline  
Reply With Quote
Old February 26th, 2014, 02:02 AM   #10 (permalink)
Senior Member
 
Join Date: Feb 2010
Location: Hartlepool, UK
Posts: 654
 
Device(s): Nexus 4
Carrier: 3

Thanks: 75
Thanked 75 Times in 56 Posts
Default

You won't need to create another profile. Just add the ssid of girlfriends network to your existing profile (you can have as many as you like)
ooberandy is offline  
Reply With Quote
The Following User Says Thank You to ooberandy For This Useful Post:
codesplice (February 26th, 2014)
sponsored links
Old February 26th, 2014, 10:09 AM   #11 (permalink)
Elite Recognized Geek
 
codesplice's Avatar
 
Join Date: Oct 2013
Location: Huntsville, AL
Gender: Male
Posts: 1,776
 
Device(s): Nexus 4, Galaxy Nexus, Nexus One
Carrier: T-Mobile (prepaid)

Thanks: 299
Thanked 953 Times in 598 Posts
Default

Quote:
Originally Posted by ooberandy View Post
You won't need to create another profile. Just add the ssid of girlfriends network to your existing profile (you can have as many as you like)
Yep. Just separate the multiple SSIDs with a slash.

Ex: SSID1/SSID2/SSID3
codesplice is offline  
Reply With Quote
Old February 27th, 2014, 03:41 AM   #12 (permalink)
Senior Member
 
Join Date: Feb 2010
Location: Hartlepool, UK
Posts: 654
 
Device(s): Nexus 4
Carrier: 3

Thanks: 75
Thanked 75 Times in 56 Posts
Default

Quote:
Originally Posted by codesplice View Post
I'd gladly post some screenshots or more details about my profiles, but they are a bit more complicated (as I also disable the lockscreen when my Pebble is connected). Let me know if you'd like to see them though
I'd appreciate if you could post yours. My setup is like you describe, but works weirdly.

The first time it connects to the wifi it works fine. Its the times after that it either wont work at all, or the keyguard gets enabled (when it should be the pin). In the security settings of the phone I've turned it to none, so secure settings is the only thing controlling the pin number.

I bought this app before, which had a similar problem. The app creator said this was all a problem with nexus phones. I've seen that you run paranoid android from other posts, im stock but rooted, could this be a stock problem?
ooberandy is offline  
Reply With Quote
Old February 27th, 2014, 08:13 AM   #13 (permalink)
Elite Recognized Geek
 
codesplice's Avatar
 
Join Date: Oct 2013
Location: Huntsville, AL
Gender: Male
Posts: 1,776
 
Device(s): Nexus 4, Galaxy Nexus, Nexus One
Carrier: T-Mobile (prepaid)

Thanks: 299
Thanked 953 Times in 598 Posts
Default

Quote:
Originally Posted by ooberandy View Post
I'd appreciate if you could post yours. My setup is like you describe, but works weirdly.

The first time it connects to the wifi it works fine. Its the times after that it either wont work at all, or the keyguard gets enabled (when it should be the pin). In the security settings of the phone I've turned it to none, so secure settings is the only thing controlling the pin number.
I'm actually currently using TimePIN in lieu of Secure Settings, but the configuration was about the same either way.

Profile: Wifi Unlock
Context:
• Wifi Connected:
- SSID: SSID1/SSID2/SSID3
Enter Task:
• TimePIN
- Configuration: Disable All
(Or, for Secure Settings: Clear Password)
• Variable Set
- %WifiUnlock To 1
Exit Task:
• TimePIN
- Configuration: TimePIN Enabled
(Or, for Secure Settings: Set PIN)
- If %PebbleUnlock ! Set
• Variable Clear
- %WifiUnlock

Profile: Pebble Unlock
Context:
• Bluetooth Connected
- Name: Pebble XXXX
Enter Task:
• TimePIN
- Configuration: Disable All
(Or, for Secure Settings: Clear Password)
• Variable Set
- %PebbleUnlock to 1
Exit Task:
• TimePIN
- Configuration: TimePIN Enabled
(Or, for Secure Settings: Set PIN)
- If %WifiUnlock ! Set
• Variable Clear
- %PebbleUnlock

Of course you'll need to be sure that both Tasker and your plugin of choice are both added as Device Administrators. Let me know if you have any questions

Quote:
I bought this app before, which had a similar problem. The app creator said this was all a problem with nexus phones. I've seen that you run paranoid android from other posts, im stock but rooted, could this be a stock problem?
I had the same set of profiles configured before PA started pushing out KK betas, and it worked fine on stock + rooted + busyboxed 4.4 (root shouldn't be required for setting/unsetting the PIN, but I figured I'd include that detail just in case).

Alternatively, you may want to try out this app: SkipLock

I used its predecessor (Wifi Unlock) at one point and found that it worked pretty well, maybe it can help you if Tasker isn't functioning correctly.
codesplice is offline  
Reply With Quote
The Following User Says Thank You to codesplice For This Useful Post:
ooberandy (February 27th, 2014)
Old February 27th, 2014, 09:25 AM   #14 (permalink)
Senior Member
 
Join Date: Feb 2010
Location: Hartlepool, UK
Posts: 654
 
Device(s): Nexus 4
Carrier: 3

Thanks: 75
Thanked 75 Times in 56 Posts
Default

I've created the profile to match (secure settings, TimePin looks a little funky for me at the moment) as above.

I'm still having the same issues - first time changing it doesnt recognise and keyguard (randomly?) coming on.

I'm going to try a reboot to see what happens
ooberandy is offline  
Reply With Quote
Old February 27th, 2014, 09:30 AM   #15 (permalink)
Elite Recognized Geek
 
codesplice's Avatar
 
Join Date: Oct 2013
Location: Huntsville, AL
Gender: Male
Posts: 1,776
 
Device(s): Nexus 4, Galaxy Nexus, Nexus One
Carrier: T-Mobile (prepaid)

Thanks: 299
Thanked 953 Times in 598 Posts
Default

Another idea may be to try uninstalling/reinstalling secure settings. Some Tasker plugins seem to be install-order dependent.
codesplice is offline  
Reply With Quote
Old February 27th, 2014, 10:41 AM   #16 (permalink)
Senior Member
 
Join Date: Feb 2010
Location: Hartlepool, UK
Posts: 654
 
Device(s): Nexus 4
Carrier: 3

Thanks: 75
Thanked 75 Times in 56 Posts
Default

I've rebooted, reinstalled secure settings & rebooted again. Its almost working properly. Only issue I have is when I leave wifi and pin lock is meant to come on. First time of turning the screen on it doesn't engage pin lock, but second time it does & then stays on. I might be able to live with this. When I set the variable, do I need to tick any of the boxes?

Thanks for your help
codesplice likes this.
ooberandy is offline  
Reply With Quote
Old February 27th, 2014, 10:54 AM   #17 (permalink)
Elite Recognized Geek
 
codesplice's Avatar
 
Join Date: Oct 2013
Location: Huntsville, AL
Gender: Male
Posts: 1,776
 
Device(s): Nexus 4, Galaxy Nexus, Nexus One
Carrier: T-Mobile (prepaid)

Thanks: 299
Thanked 953 Times in 598 Posts
Default

I'm not sure why it wouldn't take on the first time the screen comes on after leaving wifi. Did you make sure to wait ~10 or so seconds after the wifi disconnected before trying the screen? It may be that the action just hasn't had time to execute for some reason.

You could also try experimenting with adding a Secure Settings: Lock Device or Secure Settings: Keyguard Enabled action after the Set PIN action (be sure to check for %WifiUnlock not set though).

An alternative approach may be to add a Screen On profile which sets the PIN if %WifiUnlock is not set.

Keep tinkering and you'll get it

And no, you shouldn't need to tick any of the boxes on the Variable Set action.
codesplice is offline  
Reply With Quote
Old February 27th, 2014, 11:07 AM   #18 (permalink)
Senior Member
 
Join Date: Feb 2010
Location: Hartlepool, UK
Posts: 654
 
Device(s): Nexus 4
Carrier: 3

Thanks: 75
Thanked 75 Times in 56 Posts
Default

I've just waited a few minutes and the pin number didnt engage, only on the 2nd attempt. I'll have a tinker like you suggest, thanks again
codesplice likes this.
ooberandy is offline  
Reply With Quote
Old February 27th, 2014, 11:22 AM   #19 (permalink)
Elite Recognized Geek
 
codesplice's Avatar
 
Join Date: Oct 2013
Location: Huntsville, AL
Gender: Male
Posts: 1,776
 
Device(s): Nexus 4, Galaxy Nexus, Nexus One
Carrier: T-Mobile (prepaid)

Thanks: 299
Thanked 953 Times in 598 Posts
Default

I'm curious to see the results of your experimentation - let me know how it goes!
codesplice is offline  
Reply With Quote
Old February 28th, 2014, 03:24 AM   #20 (permalink)
Senior Member
 
Join Date: Feb 2010
Location: Hartlepool, UK
Posts: 654
 
Device(s): Nexus 4
Carrier: 3

Thanks: 75
Thanked 75 Times in 56 Posts
Default

Adding the Lock Device in secure settings worked.

I've tried to expand the use of it, with mixed results. I've added a 2nd SSID and my car bluetooth. When I leave home my wifi is still connected when the bluetooth connects. I have my phone set to unlock and screen on for a BT connection. I've used the same variable, would I need to create a separate variable like %BTUnlock for the BT connection?

Also, I set the profile up on my work wifi at first then added my home later. When I reconnected to the work wifi this morning the keyguard came on for the 1st wake, so I'll have to play about with this some more.
ooberandy is offline  
Reply With Quote
sponsored links
Old February 28th, 2014, 08:02 AM   #21 (permalink)
Elite Recognized Geek
 
codesplice's Avatar
 
Join Date: Oct 2013
Location: Huntsville, AL
Gender: Male
Posts: 1,776
 
Device(s): Nexus 4, Galaxy Nexus, Nexus One
Carrier: T-Mobile (prepaid)

Thanks: 299
Thanked 953 Times in 598 Posts
Default

Quote:
Originally Posted by ooberandy View Post
Adding the Lock Device in secure settings worked.
Sweet!

Quote:
I've tried to expand the use of it, with mixed results. I've added a 2nd SSID and my car bluetooth. When I leave home my wifi is still connected when the bluetooth connects. I have my phone set to unlock and screen on for a BT connection. I've used the same variable, would I need to create a separate variable like %BTUnlock for the BT connection?
Yeah, I'd recommend using a separate variable (like my %PebbleUnlock in the example I posted). This way you can make sure that the two profiles are able to function independently and without interfering with each other.

Quote:
Also, I set the profile up on my work wifi at first then added my home later. When I reconnected to the work wifi this morning the keyguard came on for the 1st wake, so I'll have to play about with this some more.
I know that Secure Settings has an option to require that the PIN/password be entered once before unlocking. Check just to make sure that option isn't enabled.
codesplice is offline  
Reply With Quote
Old February 28th, 2014, 08:28 AM   #22 (permalink)
Senior Member
 
Join Date: Feb 2010
Location: Hartlepool, UK
Posts: 654
 
Device(s): Nexus 4
Carrier: 3

Thanks: 75
Thanked 75 Times in 56 Posts
Default

Quote:
Originally Posted by codesplice View Post
I know that Secure Settings has an option to require that the PIN/password be entered once before unlocking. Check just to make sure that option isn't enabled.
Secure settings definitely doesn't have this option ticked. I think I can live with this when on wifi. Its how it works in my car that is the main thing, as I want my phone to turn display on, unlock and load my music app. Im close to getting that working, so just need to tweak until it does.

Many thanks for all your help & patience
ooberandy is offline  
Reply With Quote
Old February 28th, 2014, 08:51 AM   #23 (permalink)
Elite Recognized Geek
 
codesplice's Avatar
 
Join Date: Oct 2013
Location: Huntsville, AL
Gender: Male
Posts: 1,776
 
Device(s): Nexus 4, Galaxy Nexus, Nexus One
Carrier: T-Mobile (prepaid)

Thanks: 299
Thanked 953 Times in 598 Posts
Default

Quote:
Originally Posted by ooberandy View Post
Secure settings definitely doesn't have this option ticked. I think I can live with this when on wifi. Its how it works in my car that is the main thing, as I want my phone to turn display on, unlock and load my music app. Im close to getting that working, so just need to tweak until it does.

Many thanks for all your help & patience
Curious: if your device is locked, then you connect to the wifi, turn it on and see that it is locked... if you turn it off and back on again does the lock go away? If so, you may be able to just add in two actions to turn the display off (Secure Settings: Lock Device) and back on again (Secure Settings: Wake Device).
codesplice is offline  
Reply With Quote
Old February 28th, 2014, 10:52 AM   #24 (permalink)
Senior Member
 
Join Date: Feb 2010
Location: Hartlepool, UK
Posts: 654
 
Device(s): Nexus 4
Carrier: 3

Thanks: 75
Thanked 75 Times in 56 Posts
Default

When the device is locked, its pin locked. When it connects to wifi for the first time and I turn it on the keyguard gets enabled. The keyguard is turned off in android security settings and seems to be appearing from nowhere.

There's a warning in secure settings:lock device 'do not associate this with a display on (or similar) event. You will be locked out of your device.' Would this be relevant if I have a wake device to follow it, as it asks how long you want the screen to stay on for?
ooberandy is offline  
Reply With Quote
Old February 28th, 2014, 10:57 AM   #25 (permalink)
Elite Recognized Geek
 
codesplice's Avatar
 
Join Date: Oct 2013
Location: Huntsville, AL
Gender: Male
Posts: 1,776
 
Device(s): Nexus 4, Galaxy Nexus, Nexus One
Carrier: T-Mobile (prepaid)

Thanks: 299
Thanked 953 Times in 598 Posts
Default

Quote:
Originally Posted by ooberandy View Post
When the device is locked, its pin locked. When it connects to wifi for the first time and I turn it on the keyguard gets enabled. The keyguard is turned off in android security settings and seems to be appearing from nowhere.
Ah, so you mean the slide-to-unlock lockscreen as opposed to the PIN? There is also a Secure Settings action to disable Keyguard; maybe give that a go?

Quote:
There's a warning in secure settings:lock device 'do not associate this with a display on (or similar) event. You will be locked out of your device.' Would this be relevant if I have a wake device to follow it, as it asks how long you want the screen to stay on for?
I think that warning is to (hopefully) keep users from associating the Lock Device action to the Display On event context; in that case, the screen would immediately turn off each time you turned it on

Using the Wake Device action after the Lock Device one should be fine though.
codesplice is offline  
Reply With Quote
Old March 4th, 2014, 08:14 AM   #26 (permalink)
Senior Member
 
Join Date: Feb 2010
Location: Hartlepool, UK
Posts: 654
 
Device(s): Nexus 4
Carrier: 3

Thanks: 75
Thanked 75 Times in 56 Posts
Default

I might have had a breakthrough! I'm rubbish with variables and have just discovered I had them set wrongly. Instead of having '! Set' I had 'Is Set'.

Fingers crossed it starts to work
codesplice likes this.
ooberandy is offline  
Reply With Quote
Old March 4th, 2014, 08:21 AM   #27 (permalink)
Elite Recognized Geek
 
codesplice's Avatar
 
Join Date: Oct 2013
Location: Huntsville, AL
Gender: Male
Posts: 1,776
 
Device(s): Nexus 4, Galaxy Nexus, Nexus One
Carrier: T-Mobile (prepaid)

Thanks: 299
Thanked 953 Times in 598 Posts
Default

Quote:
Originally Posted by ooberandy View Post
I might have had a breakthrough! I'm rubbish with variables and have just discovered I had them set wrongly. Instead of having '! Set' I had 'Is Set'.

Fingers crossed it starts to work
Aha! I probably should have been clearer when I was going through my profiles - I'll take the blame for that!

Glad you're making progress though - and learning in the process is always a plus!
codesplice is offline  
Reply With Quote
Old March 4th, 2014, 08:23 AM   #28 (permalink)
Senior Member
 
Join Date: Feb 2010
Location: Hartlepool, UK
Posts: 654
 
Device(s): Nexus 4
Carrier: 3

Thanks: 75
Thanked 75 Times in 56 Posts
Default

Its far from your fault its a language i'm not familiar with so just need to explore some more.
ooberandy is offline  
Reply With Quote
Old March 4th, 2014, 11:18 PM   #29 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Jan 2014
Posts: 17
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hey so i tried adding my gf wifi and like i thought since it doesn't see my wifi it doesn't turn over... how can I add another wifi to the same tab (sorry I don't exactly know the correct terminology yet) it never allows me to add more to the profiles only to change what's already in there
d13g087 is offline  
Reply With Quote
Old March 5th, 2014, 01:58 AM   #30 (permalink)
Senior Member
 
Join Date: Feb 2010
Location: Hartlepool, UK
Posts: 654
 
Device(s): Nexus 4
Carrier: 3

Thanks: 75
Thanked 75 Times in 56 Posts
Default

In the profile you already have for your own Wifi, there is the state on the left and the task on the right. Tap the state and where you see your Wifi ssid there is a looking glass on the right. When you're connected to your gf Wifi tap the looking glass and you will see a list of ssid available. Tap your gf ssid to select it.

Then just use the back arrow to come all the way out of tasker and you will be set :-)
codesplice likes this.
ooberandy is offline  
Reply With Quote
sponsored links
Reply


Go Back   Android Forums > Android Discussion > Android Applications > Tasker
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 10:26 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.