DIY Bluetooth sensor maps your home's rooms

Image / How-To Geek Smart Home
A tiny ESP32 can tell your smart home which room you’re in.
A maker has shown that a single, pocketable microcontroller can do more than flash LED patterns. By turning an ESP32 into a Bluetooth presence sensor, they claim it can identify not just whether someone is home, but exactly which room they’re in. The concept sounds straightforward in theory: the ESP32 scans nearby Bluetooth signals, gauges signal strength, and uses that data to infer proximity. In practice, the setup becomes a practical building block for room aware automations. Lights can dim or switch off in unoccupied rooms, heating and cooling can scale back in empty zones, and idle devices can be powered down simply because the system knows where you are inside the house.
The project rests on a simple premise. Bluetooth devices broadcast signals that attenuate as they travel through walls and furniture. By placing a small ESP32 in each room and monitoring the report from a nearby device, you can deduce which room is most likely occupied at any moment. The author walks through wiring a board, loading open source code, and testing with common Bluetooth devices to see how well the room mapping holds up. The result is not a polished product, but a proof of concept that sits within reach of most hobbyists. It’s the kind of DIY tweak that shows how far cheap, off the shelf hardware has come in practical home automation.
Cost is a major talking point here. The hardware is inexpensive, a few dollars for each ESP32 board, and there are no ongoing subscription fees to speak of. What you gain is local processing and control: you’re not paying a cloud service to track your movements, and you’re not locked into a single vendor’s ecosystem. That makes this kind of project appealing to readers who want more control, tighter privacy, and a clear line of sight into how their automation behaves. The tradeoff is that you’re not buying a plug-and-play system. You’re buying a template you must tune for your home, your devices, and your privacy comfort level.
If you are weighing this against a commercial presence system, the catch becomes clearer. The DIY path rewards those who like to tinker and who value keeping data on their own network, but it comes with reliability caveats. Bluetooth presence sensing depends on a stable radio environment. Walls, furniture, or even a neighbor’s device can affect signal strength, which means room attribution can wobble if you calibrate carefully. The more rooms you want to differentiate, the more sensors you’ll likely need, in turn increasing complexity and power considerations. For a single room condo, this approach can be surprisingly effective with minimal hardware. In a multi-room house, you’ll want a thoughtful layout, ideally a sensor per room or a central hub that triangulates signals from several beacons to improve accuracy.
Looking ahead, a prudent practitioner takeaway is to treat this as a niche do it yourself tool rather than a turnkey smart home feature. It’s a compelling demonstration of what’s possible with low-cost hardware, but it also spotlights the gaps you’ll want to watch. Expect maintenance work: occasional calibration as devices move, firmware updates to handle new Bluetooth stacks, and potentially rethinking how you store and secure presence data on your network. If privacy is paramount, keep all processing local, and resist adding cloud-based components that expand your attack surface. If convenience is the goal, you may eventually settle for a commercial system with vendor guarantees and support, then supplement it with DIY tinkering for specific use cases.
In the end, the ESP32 presence sensor offers a practical glimpse into room-aware automation at near-zero ongoing cost. It won’t replace a purpose-built system for every home, but it does give readers a concrete, low-stakes path from concept to a working demonstration. For the curious, it’s a reminder that the line between hobbyist dreaming and real world automation is thinner than you might think.
- I turned an ESP32 into a Bluetooth presence sensor, and it knows which room I'm inHow-To Geek Smart Home / Mainstream / Published JUL 13, 2026 / Accessed JUL 15, 2026