Hacker News new | ask | show | jobs
by andyrew 2040 days ago
IOTLink could be used for this: https://iotlink.gitlab.io/

As far as I'm aware it doesn't report locked/unlocked status, but it does report system idle time which you could use for a similar automation.