[Xposed Framework Modules] somemorestuff:
Upgraded to latest version & finally hooked up to Eclipse for logcat with NoLockHome debug turned on. It looks like it reads a clear "disconnect" when the WiFitether is turned on & ignores any connected clients. Also, I noticed that when I connect to a local only WiFi it temporarily unlocks, then re-locks as the phone determines there's no internet access.

Any way to get it to look at the actual client/ap connected rather than the internet state of the connection?

Logcat below for 3 cases, in all cases NoLockHome was set to unlock for any connected WiFi or Bluetooth device, but it behaves the same if I specify a mac address.

WiFi Tether version - looks like it gets a "disconnect" when WiFi tether is enabled, but nothing when disabled

First action is when I enabled WiFi Tether - it locked immediately. I unlocked it immediately, a PC connected right away (no log entry when it did connect).

Then I let it sit 1 minute to "time out". The screen promptly locked & I had to unlock it when I turned it back on.

10-14 21:01:29.311: I/Xposed(1193): [NoLockHome] onReceive: android.net.wifi.STATE_CHANGE
10-14 21:01:29.321: I/Xposed(1193): [NoLockHome] onReceive: NETWORK_STATE_CHANGED_ACTION: DISCONNECTED
10-14 21:01:29.341: I/Xposed(1193): [NoLockHome] Current cell (LAC-CID or NID-BSID): -1--1
10-14 21:01:29.441: I/Xposed(1193): [NoLockHome] getSecurityMode: None
10-14 21:01:29.781: I/Xposed(1193): [NoLockHome] getSecurityMode: None
10-14 21:01:30.071: I/Xposed(1193): [NoLockHome] getSecurityMode: None
10-14 21:01:30.111: I/Xposed(1193): [NoLockHome] getSecurityMode: None
10-14 21:01:35.691: I/Xposed(1193): [NoLockHome] getSecurityMode: None
10-14 21:01:35.821: I/Xposed(1193): [NoLockHome] getSecurityMode: None
10-14 21:01:35.891: I/Xposed(1193): [NoLockHome] getSecurityMode: None
10-14 21:01:36.071: I/Xposed(1193): [NoLockHome] getSecurityMode: None
10-14 21:01:40.251: I/Xposed(1193): [NoLockHome] onScreenTurnedOn
10-14 21:01:40.281: I/Xposed(1193): [NoLockHome] getSecurityMode: None
10-14 21:01:42.641: I/Xposed(1193): [NoLockHome] getSecurityMode: None
10-14 21:01:42.641: I/Xposed(1193): [NoLockHome] keyguardDone
10-14 21:02:47.971: I/Xposed(1193): [NoLockHome] doKeyguardLocked
10-14 21:02:48.061: I/Xposed(1193): [NoLockHome] Current cell (LAC-CID or NID-BSID): -1--1
10-14 21:02:48.471: I/Xposed(1193): [NoLockHome] getSecurityMode: None
10-14 21:02:49.001: I/Xposed(1193): [NoLockHome] getSecurityMode: None
10-14 21:02:49.801: I/Xposed(1193): [NoLockHome] getSecurityMode: None
10-14 21:02:50.261: I/Xposed(1193): [NoLockHome] getSecurityMode: None
10-14 21:03:13.521: I/Xposed(1193): [NoLockHome] onScreenTurnedOn
10-14 21:03:13.541: I/Xposed(1193): [NoLockHome] getSecurityMode: None
10-14 21:03:15.791: I/Xposed(1193): [NoLockHome] getSecurityMode: None
10-14 21:03:15.791: I/Xposed(1193): [NoLockHome] keyguardDone

WiFi version of the same sequence (I manually turned WiFi in phone settings):

Note, I don't have internet on my WiFi anymore, so it connects then promptly "disconnects" & locks the screen & times out

Shouldn't NoLockHome keep the phone unlocked even if it's just connected to a local WiFi network?

I had to turn the screen back on and unlock it

No log was recorded when I turned the WiFi back off

10-14 21:17:18.299: I/Xposed(1193): [NoLockHome] onReceive: android.net.wifi.STATE_CHANGE
10-14 21:17:18.309: I/Xposed(1193): [NoLockHome] onReceive: NETWORK_STATE_CHANGED_ACTION: CONNECTING
10-14 21:17:19.509: I/Xposed(1193): [NoLockHome] onReceive: android.net.wifi.STATE_CHANGE
10-14 21:17:19.519: I/Xposed(1193): [NoLockHome] onReceive: NETWORK_STATE_CHANGED_ACTION: CONNECTING
10-14 21:17:19.879: I/Xposed(1193): [NoLockHome] onReceive: android.net.wifi.STATE_CHANGE
10-14 21:17:19.889: I/Xposed(1193): [NoLockHome] onReceive: NETWORK_STATE_CHANGED_ACTION: DISCONNECTED
10-14 21:17:19.919: I/Xposed(1193): [NoLockHome] Current cell (LAC-CID or NID-BSID): -1--1
10-14 21:17:20.069: I/Xposed(1193): [NoLockHome] getSecurityMode: None
10-14 21:17:20.349: I/Xposed(1193): [NoLockHome] getSecurityMode: None
10-14 21:17:20.599: I/Xposed(1193): [NoLockHome] getSecurityMode: None
10-14 21:17:20.639: I/Xposed(1193): [NoLockHome] getSecurityMode: None
10-14 21:17:20.849: I/Xposed(1193): [NoLockHome] onReceive: android.net.wifi.STATE_CHANGE
10-14 21:17:20.849: I/Xposed(1193): [NoLockHome] onReceive: NETWORK_STATE_CHANGED_ACTION: DISCONNECTED
10-14 21:17:20.859: I/Xposed(1193): [NoLockHome] Current cell (LAC-CID or NID-BSID): -1--1
10-14 21:17:26.099: I/Xposed(1193): [NoLockHome] getSecurityMode: None
10-14 21:17:26.239: I/Xposed(1193): [NoLockHome] getSecurityMode: None
10-14 21:17:26.359: I/Xposed(1193): [NoLockHome] getSecurityMode: None
10-14 21:17:26.519: I/Xposed(1193): [NoLockHome] getSecurityMode: None
10-14 21:18:07.139: I/Xposed(1193): [NoLockHome] onScreenTurnedOn
10-14 21:18:07.159: I/Xposed(1193): [NoLockHome] getSecurityMode: None
10-14 21:18:09.009: I/Xposed(1193): [NoLockHome] getSecurityMode: None
10-14 21:18:09.009: I/Xposed(1193): [NoLockHome] keyguardDone

Bluetooth version of the same sequence (I turned on a bluetooth keyboard) - this all worked as expected:

First action is when I turned on the bluetooth keyboard - nothing visual happened onscreen

Then I let it sit 1 minute to "time out". The screen turned off, but did not lock - it turned back on no problem.

Note, it promptly locked the screen when I turned off the bluetooth keyboard

10-14 21:08:11.659: I/Xposed(1193): [NoLockHome] onReceive: android.bluetooth.device.action.ACL_CONNECTED
10-14 21:08:11.669: I/Xposed(1193): [NoLockHome] onReceive: com.smartmadsoft.xposed.nolockhome.UNLOCK
10-14 21:08:11.689: I/Xposed(1193): [NoLockHome] Current cell (LAC-CID or NID-BSID): -1--1
10-14 21:08:11.709: I/Xposed(1193): [NoLockHome] getSecurityMode: None
10-14 21:08:11.729: I/Xposed(1193): [NoLockHome] getSecurityMode: None
10-14 21:08:11.729: I/Xposed(1193): [NoLockHome] keyguardDone
10-14 21:08:11.729: I/Xposed(1193): [NoLockHome] keyguardDone
10-14 21:09:19.199: I/Xposed(1193): [NoLockHome] doKeyguardLocked
10-14 21:09:19.319: I/Xposed(1193): [NoLockHome] Current cell (LAC-CID or NID-BSID): -1--1
10-14 21:09:25.589: I/Xposed(1193): [NoLockHome] onScreenTurnedOn
10-14 21:09:25.939: I/Xposed(1193): [NoLockHome] Current cell (LAC-CID or NID-BSID): -1--1

If we get WiFiTether detection working then I can have it unlock at home (tethered to PC) or in the car (tethered to car computer aka old android phone). Thanks!

EDIT: This also helps my aging GAlarm keep working (it doesn't like the fingerprint unlock). I know there's a million other alarm apps, but I actually like this one...