I'm running 4.1.2 on a S3. Here's what I did:
I'm not sure it's working at all, because when I do connect to the wifi, not only does it not disable the pin code, but it also doesn't pop up the notification that the security was enabled or disabled (a feature within the tutorial in step #2). If I run the task manually, then the notifications pop up.
---
After this failed, I deleted everything and started over. I enabled Tasker/Secure setting within Device Admin, and also enabled Tasker within Accessibility. Then, I followed the following set of instructions:
To lock (attached to wifi !connected) Task Plugins Secure settings Password/pin Enabled (box is highlighted) (my pin) Device admin ticked in here as well. Manually run.
To unlock (attached to wifi connected) Task Plugins Secure settings Password /pin Disabled (box isn't highlighted) Both check boxes are set. One is to allow device admin. One is to make you enter your pin once when you get home. I've liked this extra bit of security and always had it. Never tried without.
Save save etc. Manually run that after the other one. Also make sure you don't have any profiles still active that could change the lock state.
---
After all of this, it's still not working when I connect to my wifi. Could anyone explain what I'm missing or doing wrong? Is there something I have to turn on?
>
> I'm not sure it's working at all, because when I do connect to the wifi, not only does it not disable the pin code, but it also doesn't pop up the notification that the security was enabled or disabled (a feature within the tutorial in step #2). If I run the task manually, then the notifications pop up.
Sounds like your profile might not be activating. This can be checked in the run log. Menu / more. /run log
>
> After all of this, it's still not working when I connect to my wifi. Could anyone explain what I'm missing or doing wrong? Is there something I have to turn on?
>
It certainly sounds like you have done your home work,
The one important thing I did not see you mention is you need to go into your android settings and set the lock screen to "none"
However I still suspect something is wrong with your wifi context..
I would do as Brandon recommended ...
To export....
Long press on the profile name / ( 3 dot menu with 4.0+ ) export / export description to clipboard (not XML)
The beginner mode needs to be off and the profile needs to have a name to be able to export.
Rich..
The run log seems incomplete, it is missing the profiles becoming active / inactive..
We need to start by setting this up correctly. This should be done with one profile with a enter task and a exit task.. The easy way to correct it would be in the profiles tab, tap on your 'Wifi Connected' profile then long press on on the 'Unlock' task / press 'add exit task / select 'Lock' task. Then delete the "!Wifi connected" profile. Now you should be left with..
> Profile: Wifi Connected (4)
> State: Wifi Connected [ SSID:myqwest7053 MAC:50:67:f0:f1:2c:8c IP:* ]
> Enter: Unlock (3)
> A1: Secure Settings [ Configuration:Clear Password/Wait For Unlock Package:com.intangibleobject.securesettings.plugin Name:Secure Settings
> Exit: Lock (2)
> A1: Secure Settings [ Configuration:Set Pin Package:com.intangibleobject.securesettings.plugin Name:Secure Settings ]
>
For ease of testing you can add a flash to the beginning of the enter and exit tasks so you can see when you are connected and not connected, this can be viewed in the notifications as well, when you are connected you should see your profile name in the tasker notification, check the run log as well.... make sure your profile is active when you are connected to wifi and not active when not connected.
Does that resolve activation?
Profile: Wifi Connected (4)
State: Wifi Connected [ SSID:myqwest7053 MAC:50:67:f0:f1:2c:8c IP:* ]
Enter: Unlock (3)
A1: Secure Settings [ Configuration:Clear Password/Wait For Unlock Package:com.intangibleobject.securesettings.plugin Name:Secure Settings ]
A2: Flash [ Text:Unlocked Long:Off ]
Exit: Lock (2)
A1: Secure Settings [ Configuration:Set Pin Package:com.intangibleobject.securesettings.plugin Name:Secure Settings ]
A2: Flash [ Text:Locked Long:Off ]
Here's the associated log after making the changes. Link. It still doesn't seem to work.
--
Brandon: I'm not sure how to test your suggestion, can you clarify how I would do that?
A) Context, STATE: WiFi Connected: *,*,*
Entry: Action, ALERT: Flash [Connection Recognized]
If working, try...
B) add new Action, ALERT: Flash [WiFi Recognized] as A1 of task, 'Unlock'
This will narrow down context activation when troubleshooting.
> Here's the associated log after making the changes. Link. It still doesn't seem to work.
>
Your profile now looks correct.
The Run Log indicates that you are simply using the Test button to fire off the tasks. Please give a more detailed description of exactly how you are testing this, what is and is not working and when and if you are seeing the flash messages.
For example:
My wifi is off
1. Open tasker
2. I make sure the profile is enabled (green)
3. I save and close completely out of tasker
4. I turn my wifi on
5. Once my wifi is connected I see the flash message unlocked
6. I turn my wifi off
7. When my wifi disconnects I see the flash message locked
Rich..