librepods icon indicating copy to clipboard operation
librepods copied to clipboard

Find My: nearby finder (Bluetooth signal strength) + play a sound to find them (no root)

Open IvanChanPing opened this issue 3 months ago • 0 comments

Separate from finding them over the network — the everyday case is "they're somewhere in this room / house / car." That one is easy, needs no Apple account, and no root.

Two pieces:

  1. A warmer/colder finder based on Bluetooth signal strength. LibrePods already sees the buds' BLE advertisements and can connect over GATT, so the RSSI is available both ways: readRemoteRssi() on the GATT connection when they're connected, and the RSSI from scan results when they're not. Turn that into a rough distance with the usual log-distance estimate (e.g. 10^((|rssi| - 59) / 25)) and you've got a live "getting closer / getting further" meter as the user walks around. I checked how the little "Pods Finder"-style apps on the Play Store do it and it's exactly this — plain RSSI, nothing clever.

  2. Play a sound to find them. Send the AACP "play tone" command so the buds (or the case) chirp while the user homes in on them.

Both are no-root and reuse the BLE + AACP plumbing LibrePods already has. This covers the "dropped them in the couch" case completely, without touching the account/network side at all.

IvanChanPing avatar Aug 11 '26 15:08 IvanChanPing