Tasker newbie here. I have seen a couple threads herein discussing this, however, the tasks required are still unclear.
I wish to disable the Lock Screen functionality when connected to my home wifi; then, re-enable the Lock Screen upon disconnecting from the wifi.
Would I need to create two separate tasks for this process? Will I need to keep the initial task 'active'? What about ability to re-enable the Lock Screen upon leaving?
I have installed the 'Security Settings' plugin.
-Scott
I guess not. Now if we could just store the PIN in a variable....
Clear the PIN or password. I don't even have to disable the keyguard on my phone. Until I manipulated the PIN on my phone, I had ghe same problem. You'll need secure settings for this but you don't have to be rooted...
Scott, the WiFi Connected context is under status/net.
On my phone, the slide to unlock comes up all the time when I "wake up" my phone. The keyguard is the screen after that that asks for your pin/password. Clearing the password allows me to swipe the screen and go straight to my home screen or whatever app is open without having to put in my pin. Non secure is an understatement but only used in a few circumstances.
What exactly are you referring to as "swipe"? Are you talking about the connect the dots pattern lock?
Gotcha. Then "swipe" is the full time mode my phone wakes up in and it has no security. When I define the PIN code, after I swipe I get the actual unlock screen. PIN or password is all I use as the pattern lock is cheesy to me and face unlock often results in having to key in the PIN anyhow. I could probably turn it off somehow but haven't bothered. I actually use WidgetLocker with the same basic layout to display other info on my lock screen..
Gotcha. I don't know if I can disable the swipe screen but since I like it and use that page to display data using widgetlocker I haven't tried. That does clear up the confusion from the earlier posts. :-)
Exactly, as stated before, it is a STATE condition not an EVENT. Event conditions are ones that occur for just a moment and then go away.
No problem. I caught that the second time. I'm not familiar with your phone so I can't help much with your issue but if I may ask, what's the point of having the swipe screen at all with no security on the phone?
Gotcha. My phone gives me the answer call screen regardless of phone locked. You'll find many things to do later. Wish I could help more with the current issue...
Long press the entry task on your profile and when the menu pops up, select add exit task. Wording may be off but its close.
Thanks @Brad. Pardon for my Tasker 'learning curve' questions :-) ... Which Task do you place the If variable in? Does the If variable run before the task it's in, or is the If variable ran after the task?
Priority: 5 CoolDown: 30
Application: MortPlayer Audio Books
State: Display State [ Is:On ]
State: Variable Value [ Name:%PACTIVE Op:Matches Value:*Connected* ]
Enter: Anon (47)
Abort Existing Task
A1: Wait [ MS:0 Seconds:30 Minutes:0 Hours:0 Days:0 ]
A2: If [ %PACTIVE ~ *MortPlayer* ]
A3: System Lock
A4: Wait [ MS:500 Seconds:0 Minutes:0 Hours:0 Days:0 ]
A5: System Lock
A6: End If
The if statement is executed as the task runs. In other words, your exit task would trigger and if you had a wait as the first line with one minute as the time duration, you could follow it with a STOP (if %PACTIVE matches the name of the profile that the exit task belongs to) and it would abort the exit task if the profile was active again.
What if you disable it in the OS and then enable it with Tasker? You may have already tried this and it may not make a difference but it's worth a shot.
If your using the secure settings action to clear the PIN and its still asking for a PIN, the only thing I can think is that your company's security policy won't allow a blank pin.
I did have trouble disabling screenguard (mine is simple swiping display) when I was in home connected wifi.
After googling around, I found this http://tasker.wikidot.com/disable-keyguard-when-at-home
Altering some of the task and trigger, I finally did it.