0

This is follow-up to this question: Automatically lock screen if I leave the MacBook

I want to get some signal from a sensor if I leave the seat.

Background: I change the job and in the new company you need to pay pizza for the whole team if you forget to lock your screen :-)

I want it to be automated: I walk away and the screen should lock. No additional action should be required. Keyboard shortcuts, special mouse movements or unplugging devices from USB are not valid answers.

I never worked with sensors before.

Which sensor could be used to detect that I left my seat?

5
  • A cushion on your chair maybe? :-) Or an application using the camera to detect whether somebody sits in front of it.
    – nohillside
    Commented Dec 17, 2019 at 14:57
  • @nohillside where can I buy a cushion which sends a digital signal?
    – guettli
    Commented Dec 17, 2019 at 16:05
  • 3
    Sounds like a job for an Arduino, a pressure sensor and some DIY work :-) arduino.stackexchange.com might help.
    – nohillside
    Commented Dec 17, 2019 at 16:49
  • @ankii - Are you suggesting there are adverse health effects to using an infrared detector? Or even an emitter, part of the natural spectrum of sunlight, and powered typically at 20mW? Citation needed.
    – Glen Yates
    Commented Dec 19, 2019 at 18:31
  • I guess I am mistaken, due to a very old poorly informed reading which I never felt the need to revisit. @GlenYates thanks for reminding me to read some more over it
    – anki
    Commented Dec 19, 2019 at 19:36

1 Answer 1

1

Which sensor could be used to detect that I left my seat?

There is no sensor in any Mac that can be used to detect if you left your seat.

Rhetorically speaking, how would this hypothetical sensor work? How would it differentiate between not being in your seat because you left and not being in your seat because you have a standing desk?

The answer is it can’t.

The closest you can get to automating the locking/unlocking of your based on your physical position is through proximity. There’s an app called Near Lock that purports to achieve this, however, it requires an iPhone; it’s implied that you use an Android as you mention a Huawai smartwatch in your linked question.

Further, you’re looking to automate something that by design should be a user interactive process. As someone responsible for security and IT governance in my organizations, I can clearly see why they have the policy they do. They are trying to develop security minded habits.

1
  • "...that by design should be a user interactive process." - Not sure what is more user interactive, than getting up and walking away!
    – Glen Yates
    Commented Dec 19, 2019 at 18:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .