KjetilSv / Win10As

Make your windows 10 computer IOT friendly
237 stars 42 forks source link

Ability to monitor Windows lock state? #28

Open qJake opened 4 years ago

qJake commented 4 years ago

Is it possible to implement (currently or in a future version) the ability to monitor if the workstation is currently locked or not (for the user's session who is running the Win10As app)?

I want to see the Lock/Unlock state in HA because it is more reliable than the Last Input State - if you are watching a video, for example, it would not see you are "active", but the workstation is unlocked.

Of course, this relies on the user knowing to lock their workstation whenever they leave, and that's an acceptable limitation.

pmknowles commented 4 years ago

My laptop changes the "is computer used" state when it locks.