OpenHaystack lets you build accessories that broadcast Find My–compatible beacons and view their last reported locations on a Mac. Firmware targets boards such as micro:bit and ESP32.
Overview
OpenHaystack is a framework for tracking personal Bluetooth devices through Apple’s Find My offline-finding network. You attach or embed a small BLE accessory on keys, bags, or other gear, and a macOS application shows where nearby iPhones last reported it on a map.
Setup pairs a public-private key: the private key stays in the Mac keychain while firmware on the accessory advertises the public key. Nearby iPhones encrypt GPS fixes with that key and upload reports to Apple’s servers. The Mac app downloads matching reports, decrypts them, and plots recent positions. Reports can take time to appear, and the map can be refreshed manually.
The project ships a macOS app plus deployable firmware for devices like the BBC micro:bit, ESP32 modules, and generic Linux HCI setups. Accessories can be created in the GUI, flashed over USB, or configured manually with exported keys. A separate OpenHaystack Mobile app on Android and iOS reimplements tracking but needs a Mac-hosted proxy to fetch location reports.
The work originated from security research into Apple’s offline finding system and is experimental. Accessories may use fixed advertisement keys, so proximity tracking by others is a known limitation. The project is not affiliated with Apple.
Key features
- macOS map of accessory locations
- Find My network beacon firmware
- USB deploy to micro:bit and ESP32
- Keypair generation and keychain storage
- Apple Mail plugin for report download
- Linux HCI deployment option
- Flutter mobile companion app
- Manual public-key firmware flashing
Use cases
- Custom tags for keys or backpacks
- BLE tracker integrated into hardware
- Research into offline finding
- Tracking without cellular radios
- Teaching Find My beacon behavior
Open-source alternative to
AAirTag“Build your own 'AirTags' 🏷 today! Framework for tracking personal Bluetooth devices via Apple's massive Find My network.” source