More in Home, Repairs & Tech Help.
Find a mystery beeping device in a room full of boxes by triangulating sound with Claude Code
Simon Willison's Claude Code app turned spare devices into listeners and located a beeping carbon monoxide detector in a box room.
Result: WorkedTool: Claude CodeLevel: AdvancedSetup: Needs Python
Outcome
Something in Simon Willison's box room, still full of boxes from a move, started beeping every so often, too rarely to track down by ear. Willison had Claude Code build Beep Locator, a Python web app that turns spare devices into listeners through the browser microphone, and set up two iPads, a phone, a MacBook Pro and a Surface around the room. While writing up the problem, Claude found and read a research paper on measuring distance between ordinary devices with sound. Having the devices locate each other by sound didn't work well, so a rough mode let Willison drag them to approximate spots on a map, and replay and 'this is the mystery beep' buttons followed as feature requests. The system placed the beep within about 40 centimeters, and in that pile of boxes Willison found an old carbon monoxide detector that needed new batteries.
Evidence: Described by posterThe person describes what happened in words, without screenshots or video.
WorkedEvidence: Described by posterPosted Last checked
- Source checked
- Results shared. The poster described their results. This doesn't mean proof is attached.
Level: Advanced. You need: A tool that takes actions for you or writes code, connected accounts, or some setup on your computer.
How to use this
- Tap Copy prompt.
- Open the tool the case used (or a similar one) and paste the prompt; results may differ from the original.
- Paste it into the message box.
- Send it, then read the answer before acting on it.
New to this? What's a prompt?
A prompt is the message you send to the AI tool. Copy the one on this page, put your own details where it asks, and read the answer before you act on it.
Prompt
These are the person's own words, as shared in the source.
Write out a problem.md file describing the problem we want to solve There is a device beeping in a room and I cannot find it I want to set up several devices - laptops, phones, iPads - around the room all listening at the same time and have them help triangulate where the beep comes from There needs to be a Python web app which coordinates it all - one device shows a web page for the app, other devices join a URL which turns them into listeners - all via browser WebAudio and WebSockets back to the Python server app Ideally I wouldn't need to manually input the relative locations of the devices - it would be amazing if they could play sounds to each other in order to locate each other in 2D space - is that even possible though?
Try this in:
Sends the Original prompt shown above. ChatGPT and Grok open with it filled in, and ChatGPT may send it straight away. Gemini and Claude open empty, so we copy the prompt for you to paste. Every button also copies it.
The source used Claude Code, which can take actions on your computer or in a browser. These are general chat tools, so results may differ, and a normal chat may only give you a plan.
Opens in a new tab. We don't see what you send.
These links are only a shortcut. We're not affiliated with OpenAI, Google, Anthropic or xAI, and your results may not match the source.
Optional stronger version
Our rewrite with extra checks. The poster didn't test it.
Before you start, ask me 1–3 short questions about the details below and wait for my answers. Once I've answered, confirm the plan in one line and run the whole task start to finish. Goal: Locate an intermittent beep in a cluttered room using spare phones, tablets and laptops as listeners. Questions to ask me first: - How many devices can you spare, and what kinds? - How big is the room? - How often does the beep happen? Inputs (fill in or confirm): - Devices: [LIST] - Room: [SIZE, LAYOUT] - Beep: [HOW OFTEN, HOW LOUD] - Computer to run the server: [LAPTOP] Rules: - Write a problem.md describing the approach before coding. - Use a small Python web app; other devices join by URL as listeners. - Let me place devices on a map by hand if automatic positioning fails. - Record each heard beep so I can replay it. Checkpoint: Test with a clap before waiting for the real beep. If you get stuck: If positioning by sound is unreliable, fall back to manual placement. Verify before you finish: Check that the estimated spot matches a test sound played at a known spot. Output: A running app, setup steps and a map showing where the beep came from. Done when: I know which part of the room to search.
Customize the stronger version
Answer these questions and we'll put your answers into the stronger version. The original prompt above stays exactly as published.
4 blanks are still empty: Devices; Room; Beep; Computer to run the server. They'll stay in brackets in your prompt, so the chat tool may ask you about them.
What you type stays in this browser tab. We don't send it or save it, and it's gone when you leave the page.
AI tool
Source
- Posted
- by Simon Willison
- Last checked
- Method:
- How we verify
https://simonwillison.net/2026/Nov/9/mysterious-beeps/
Context: Blog post; date from the post. The prompt is the first of several quoted in the post.
Tell us how it went A reader message. It is not published on this page, and it is not a test of the prompt.
More in Home, Repairs & Tech Help
Fight a contractor's invoice for an unfinished job with ChatGPT, Gemini and Claude
A homeowner's year of ChatGPT, Gemini and Claude help cut a contractor's claim to about a quarter, but the AI odds were wrong.
PartialChatGPT +3Evidence: Described by posterAdvancedView CaseTry to get an HP printer back on Wi-Fi with Copilot and fix it with a hard reset
Copilot reassured Dusty Roads for two hours but couldn't get an HP 2800e printer back; a hard reset after a night unplugged worked.
FailureCopilotEvidence: Described by posterEverydayView CasePlan a yard path and rain garden in retirement with Copilot
Retiree Laurie Nickels gave Copilot a few words like railroad ties, stairs and lighting and got a yard path design to start planning.
WorkedCopilotEvidence: Screenshots or logsEverydayView CaseStrip unwanted apps from a Chinese-firmware phone with Copilot-written ADB commands
Copilot's ADB script partly cleaned up a retiree's Chinese-firmware phone after a failed first try, and some Chinese text stayed.
PartialCopilotEvidence: Described by posterAdvancedView CaseClear a washing machine ES error by finding a sock in the pump with Claude
Shimul Sood uploaded an ES error photo to Claude; it pointed to the pump filter, where a jammed sock was cleared in five minutes.
WorkedClaudeEvidence: Article or interviewEverydayView CaseMove recorded TV shows from a Toshiba to a Panasonic recorder with Gemini, through conflicting answers
Ai copied unedited TV recordings to a Panasonic recorder over a wired network with Gemini, but edited ones failed amid mixed answers.
PartialGeminiEvidence: Described by posterEverydayView Case
Similar cases
Winterize old plumbing from photos with Gemini, and know when to call a plumber
Gemini Pro showed how to winterize two plumbing issues at a 100-plus-year-old house and told the poster to call a plumber on the third.
WorkedGeminiEvidence: Described by posterEverydayView CaseBuild a tiny house with no experience using ChatGPT for quantities, purchase order and cost-splitting, while catching frequent errors
ChatGPT helped with quantities and math for a self-built tiny home, but an architect friend found it often wrong: partial.
PartialChatGPTEvidence: Article or interviewEverydayView CaseAudit a Proxmox home lab with Claude and find skipped backups, stale IPv6 settings and a stuck update
Claude checked two Proxmox machines without changing anything and found skipped backups, a stale IPv6 address and a stuck update.
WorkedClaudeEvidence: Article or interviewEverydayView CaseChange a thermostat setting by video with Gemini Live, but not a dryer (partial)
Gemini Live helped a blind user lower a thermostat from 78 to 74, but gave wrong dryer instructions twice before they gave up.
PartialGemini LiveEvidence: Described by posterEverydayView CaseCheck whether a noisy dishwasher is failing from a recording with Claude
From a recording and spectrogram, Claude judged a noisy dishwasher was working normally; a reply asked how to verify that.
WorkedClaudeEverydayView Case

