ESP32 Workshop

Pocket Detector

Finds AirTag, SmartTag, Tile and DULT trackers that keep following you. It can also check hotel rooms for cameras and meeting rooms for phones that were not handed in.

Pocket Detector sits in your bag or pocket and keeps receiving the Bluetooth advertisements around you. When the same tracker shows up again and again over a period of time and follows you to several places, the detector beeps, lights up red, and the panel on your phone shows an alert. At a hotel or in a meeting room, switch the same firmware to the “Rooms” tab to check the wireless devices in the room.

Try the panel on the web

Find trackers that follow you

The “Alert” screen of the simulated panel: A Find My accessory separated from its owner keeps following you and triggers an alert
Alert (sample data)

The detector recognizes Apple’s Find My (AirTag and compatible accessories), Samsung SmartTag, Tile, Google’s Find Hub network, Chipolo, Pebblebee, and trackers that support DULT (a specification from Apple and Google against unwanted tracking). Find My and DULT advertisements say whether the tracker is separated from its owner, and ones whose owner is nearby are not counted. SmartTag, Tile, Chipolo and Pebblebee’s own advertisements carry no such flag, so unless they also send DULT advertisements, a tracker its owner carries is counted too.

A tracker triggers an alert only when it meets three conditions at once: it has followed you for long enough, its signal was close enough often enough, and it was seen in most of the scans. With Wi-Fi Movement check turned on, it also has to follow you through 3 different places, so a neighbor’s tracker causes no false alarm while you sit at home or in the office for a long time.

The panel’s signal distance chart puts you at the center: the stronger the signal, the closer to the center, so you can see whether a tracker is getting closer. Tap “Find” and the signal strength updates every second, so you can carry the detector around to find where the tracker is hidden. Supported trackers can also be made to play a sound.

Keep a record as evidence

The “Alert history” screen of the simulated panel: Trackers that triggered an alert, when they were seen and the places they passed through
Alert history (sample data)

Trackers that triggered an alert are saved on the detector and are still there after a restart. The alert history shows when each tracker was seen, its strongest signal and the places it followed you through, in order, for example “Home → Place #5 → Office”. Create the summary in the panel and copy it to get a piece of text that includes the limits (based only on Bluetooth advertisements, no GPS), ready to paste when you report to the police or ask someone for help.

Places are recognized by the set of Wi-Fi access points around them. The detector stores a scrambled code, which cannot be traced back to coordinates. You name the places yourself on the panel.

Check a hotel room

The “Room check” screen of the simulated panel: Devices in a hotel room that may be cameras, each with the reason
Room check (sample data)

When you stay at a hotel or guesthouse, check the room once when you walk in. It takes about 2 minutes. The detector lists nearby Wi-Fi access points, connected devices and Bluetooth devices, marks the ones that may be cameras, and gives the reason for each:

  • The address belongs to a camera brand, or to a module maker commonly used in cheap Wi-Fi cameras
  • It keeps uploading data, sending far more than it receives, like a video stream

Whether to track it down is up to you. The “Find” button shows the signal strength to help you get closer. Only cameras that use a wireless network can be found. Cameras on a network cable, recording only to a memory card, or with Wi-Fi turned off cannot be found.

Check a meeting room

The “Meeting room check” screen of the simulated panel: After the baseline, one more phone with Bluetooth still on shows up in the room
Meeting room check (sample data)

After phones are collected for a closed-door meeting, use “Meeting room check” to make sure no device in the room still has Bluetooth or Wi-Fi on. When it starts, it first spends 2 minutes noting the fixed equipment next door, in the hallway and in the room. Any extra Bluetooth devices after that are listed on the panel:

  • Type and model, for example an iPhone with mobile data, a Windows laptop, AirPods
  • The name the device advertises, which often includes the owner’s name
  • Signs of use, for example the screen being on or an app that uses Continuity being open
  • Changes in signal and a timeline of when it appeared, which you can compare with the meeting’s schedule

A phone looking for Wi-Fi close by is marked with a yellow “Caution”, because phones next door or outside the door send the same requests.

Wi-Fi names leaked by nearby phones

The “Wi-Fi names leaked by phones nearby” screen of the simulated panel: Network names phones send while looking for Wi-Fi reveal places they have been
Wi-Fi names leaked by phones nearby (sample data)

When looking for Wi-Fi, some phones ask outright “is the network I joined before, so-and-so, around?”, and the name goes out with the request where anyone nearby can receive it. The detector listens for 5 minutes and counts how many leaked names there are in a space. Below the result it explains why phones send names and how to reduce this on your phone.

Names can reveal where someone lives, where they work and which hotels they have stayed at. The detector only shows the names on the panel and does not write them to the log, and phone addresses are counted only as scrambled codes.

Getting started

  1. Prepare: an ESP32-S3 N16R8 development board and a USB-C cable that can carry data. How to choose
  2. Install: open the install page in Chrome or Edge on a computer, plug in the board and click once. It takes about two minutes. The panel comes in Traditional Chinese, Simplified Chinese and English
  3. Connect: hold the BOOT button on the board for 2 seconds and connect your phone or computer to the detector’s Wi-Fi to see the panel above. Connection steps

Go to install

The board alone is enough. The lights on the board show the status, and everything else is on the phone panel. To see the status without opening your phone, you can add a 0.96-inch small screen (OLED), and for an audible alert you can add a buzzer:

OLED screen: Normal: nearby trackers, signal and presence
Normal: nearby trackers, signal and presence
OLED screen: Alert: the first row is the tracker that triggered the alert
Alert: the first row is the tracker that triggered the alert
OLED screen: Find: the stronger the signal, the faster the beeps
Find: the stronger the signal, the faster the beeps
OLED screen: Room check done: how many are worth finding and how many to keep an eye on
Room check done: how many are worth finding and how many to keep an eye on

What it does and doesn’t do

  • Normally it only receives Bluetooth signals around it. It does not connect to anything or send any signals, so people nearby cannot tell you carry it. Room check actively scans Bluetooth for 15 seconds, making a tracker ring connects to it, and opening the panel makes the detector send Wi-Fi. All of these start only when you tap them
  • Detection mode records only devices that match tracker characteristics. Phones, earphones and watches are not recorded
  • Records stay on the detector and nothing is uploaded. It connects to the Wi-Fi you set only when updating the firmware, to download versions published by the community
  • The hotspot and Bluetooth use a new random address every time, so others cannot recognize the same detector in different places
  • Research modes (stats, crowd counting, recording all devices) are off by default

Known limitations

  • Detection relies on the tracker’s Bluetooth address. SmartTag and Google accessories change their address more often and may change it before an alert is triggered
  • No GPS. Without Wi-Fi Movement check, it cannot tell “a tracker is following you” from “you are staying near a tracker”
  • Bluetooth advertisements are not authenticated, so any device can pretend to be a certain kind of tracker
  • AirPods separated from their owner also advertise in the Find My format and are counted
  • Tile, Chipolo, Pebblebee and SmartTag’s own advertisements do not say whether the tracker is separated from its owner, so one the owner carries may also be counted
  • The recognition rules are based on public research and specifications, and each model is still being verified with real trackers

For developers

Pocket Detector is a PlatformIO project. The source is in pocket-detector in anoni-net/esp32 (in Chinese). The documentation covers serial commands, research modes (stats, crowd counting), every panel feature and the log formats.

Current version on the stable channel. Web installation and “Check and install update” on the panel both install this one:

Build time
Nov 28 2026 01:35:25
commit
3813ec9
SHA-256
e3cc470c92decd1b9b789688ee1ec46be921fd02e9f761c0d8bb74ee46077488
File
tracker-e3cc470c92de.bin