Skip to content
Muhammet Şafak
tr
Cover — a phone reading BLUETOOTH RSSI: -58 dBm, STATUS: VERIFIED PRESENT over a graph with LOCK THRESHOLD and SIGNAL DROP (BUFFERED) lines; the laptop shows SignalLock: ACTIVE
Became a product

Screen lock by Bluetooth proximity: present/absent is not enough

Why a Bluetooth proximity lock needs a proximity assessment, not a raw present/absent signal, and how it shipped as SignalLock; development has stopped.

What it does today

Locks the macOS screen when the device you carry moves away; the call rests on a proximity assessment rather than a raw present/absent signal, so fluctuation no longer produces false locks. The menu-bar app is published and ready to install.

Started
March 2026 — May 2026
Left Labs

Form

Open-Source Desktop

Technologies

Swift SwiftUI CoreBluetooth C# .NET 8

This one became a product:

SignalLock

Asking whether a Bluetooth device is in range is easy; getting the answer right is a different job. The raw “present / absent” signal lies several times a second, and every lie is a wrong lock.

“Present / absent” lies

An unlocked Mac in a shared workspace is a privacy risk, and remembering to lock it should not be the user’s job. The solution tried: treat a Bluetooth device the user already carries (iPhone, Apple Watch, AirPods, a BLE tag) as a trusted device, and lock the screen when it leaves range.

The real subject turned out to be the signal itself. A Bluetooth signal fluctuates by nature; the device disappears from a few samples even while it is sitting on the desk. A lock that reads plain visibility locks the screen while the user is still in their chair.

Proximity assessment instead of visibility

The core of the app was built on a proximity assessment rather than plain visibility: a smoothed RSSI value is read together with a last-seen timestamp. The RSSI threshold, the away delay and the smoothing window are all user-adjustable; the defaults were deliberately chosen on the conservative side to minimise false locks.

Never going near the network

For a tool like this the cloud is the easy road: keep the device pairing on a server, sync the settings, add features like “find my desk”. All of it means an account system and a backend.

The constraint chosen was the opposite: the app makes no network requests at all. There is no backend server, no cloud sync, no account, no telemetry, no analytics; location services are not used and every setting stays on the user’s own machine.

The cost is plain — no sync across devices, no remote management — and with no usage data, the default thresholds rest on a conservative choice rather than a measurement. In exchange, a user who wants their screen locked does not have to hand the identity of the phone in their pocket to a server. For a security tool that is the right trade.

Two codebases, one algorithm

The second consequence of the zero-network decision is on the platform side. An app that never goes online, that scans Bluetooth continuously and triggers the screen lock, touches the lowest layers of the operating system it runs on: CoreBluetooth and the lock API on macOS, its own Bluetooth stack and session management on Windows.

A single cross-platform shell would have kept both versions in one codebase. The cost would have been writing that platform difference underneath the shell anyway and carrying a runtime on top of it — a heavy bill for a tool that sits in the menu bar and stays open all day.

The path chosen was two separate native versions: Swift/SwiftUI for macOS, .NET 8 for Windows. What is shared is not code but the proximity algorithm and the configuration model itself — the thresholds, the delay and the smoothing window mean the same thing on both sides. The maintenance surface doubles, the behaviour stays single.

The road to the menu bar app

It shipped as a menu bar app; the product page and the download live on their own domain. Details in the portfolio.

Tags: #bluetooth#macos#security
Share:

More Records

All records

Build notes on putting ad-hoc production SQL behind approval, masking and an immutable record so nobody has to hand out a password. It became QueryProxy.

What it does today

Runs a developer's SQL against production through an approval step rather than directly; results are masked as they are written to disk and every request lands in an immutable record. Teams where production access sits with one person can run it today.

Open-Source Web PHP Laravel Livewire +5 more
September 2026 — September 2026

A desktop app that reads Claude Code, Codex CLI and Gemini CLI logs locally and shows token usage by project, model and session.

What it does today

Collects AI agent token usage from local logs and shows it by project, model, session and time, with estimated cost and subscription limit tracking. A developer who uses Claude Code, Codex CLI or Gemini CLI heavily and wants to see the spend can install it.

Open-Source Desktop Go Wails Svelte +2 more
November 2026 — Ongoing

An open-source desktop app in Rust and Tauri 2 records a meeting's audio and the screen frames that change, then writes a summary and action items.

What it does today

Records a meeting's microphone and system audio on separate tracks plus only the screen frames that change, then writes a note with a summary, decisions, action items and open questions. Anyone who wants meeting recordings turned into notes without keeping video can build it from source and try it.

Desktop Open-Source Rust Tauri 2 React +4 more
November 2026 — Ongoing

Search the site

Start typing to search posts, projects and pages.

Esc to close Powered by Pagefind