News for hackers. Stuff that matters.
Re:Show HN: Smartlock your Mac with any Bluetooth device, no... by rrebelo on Wednesday April 21, 2021 @12:02PM (#26891417)
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

Re:Show HN: Smartlock your Mac with any Bluetooth device, no... by bueny on Thursday April 22, 2021 @10:11PM (#26910330)
Is there any version for Windows which works with any Apple Device or any Bluetooth Device besides Android phones?
Re:Show HN: Smartlock your Mac with any Bluetooth device, no... by rrebelo on Friday April 23, 2021 @11:36PM (#26922054)
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.

Re:Show HN: Smartlock your Mac with any Bluetooth device, no... by ThePowerOfFuet on Sunday April 25, 2021 @05:03PM (#26936646)
The point of Wi-Fi is to measure time of flight.