Hacker News new | ask | show | jobs
by rrebelo 1886 days ago
Hi all, author here.

On macOS (Mojave, Catalina, ...) you can lock/unlock the computer with an Apple Watch by proximity. But I don't want an Apple Watch...

So I made a program to replicate this feature. It connects to any (classic) Bluetooth device and keeps monitoring the intensity of their Bluetooth signal (rssi). When it is below a threshold (defined by the user) it locks the computer. When it is above it unlocks.

Unlike Apple's version, my program doesn't require WiFi and works even with older Macs that don't support Auto Unlock. However it doesn't handle admin login or does 2-factor authentication, yet. That might come later.

I posted here before a Windows version[0], but it only works with Android phones.

[0] https://news.ycombinator.com/item?id=16476882

2 comments

Is there any version for Windows which works with any Apple Device or any Bluetooth Device besides Android phones?
No, there isn't yet. Sorry.

I'd have to create an app for Apple devices to connect to Windows and allow rssi readings. But I don't have the time to do it now.

The point of Wi-Fi is to measure time of flight.