Bluetooth Positioning in Home Assistant: 21 Proxies Beat Bermuda in One Home

Bluetooth Positioning in Home Assistant: 21 Proxies Beat Bermuda in One Home. AutoMatter

A Home Assistant community member, posting as jumacabo (Juancho), has described a custom Bluetooth positioning engine that tracks people to roughly a meter and a half inside their house. The code is not public, so this is a report of one person’s results, not something you can install today. The ideas travel well, though, especially if you already run Bluetooth proxies for room presence.

What was built

The poster had been using Bermuda for room presence and found it got worse as proxies were added. By their account, people flipped between rooms and even floors, such as the living room and the bedroom directly above it. In their words, Bermuda “doesn’t combine what the others hear, and it doesn’t know there’s a floor slab in between.”

The replacement works backwards. A Blender model of the house, with walls, floor slabs, stairs and furniture, is turned into a grid of points every 50 cm. For each point the engine predicts what every proxy should hear, allowing roughly 2 dB per wall and 7 dB per floor slab, then keeps the points that best match the real readings. The area only changes in Home Assistant once a new one holds 60% for 8 seconds. Results go back to Home Assistant over MQTT with auto-discovery: area, floor, confidence and X/Y/Z coordinates.

The 21 proxies are 14 Shelly devices that already switch lights and shutters, plus 7 Atom Echo boards. iPhones are recognised through Home Assistant’s Private BLE Device feature, and the poster says the key never leaves Home Assistant.

The numbers, as reported

  • Room changes per hour: 6.8 versus 38.4 for Bermuda for one person, and 1.9 versus 78.6 for another.
  • Floor jumps per hour: 1.9 versus 15.5.
  • Checked against presence sensors and Frigate cameras, the room was right 97 to 98% of the time in two rooms, and the floor over 90% of the time.
  • Position inside a room: about 1.5 m anywhere, around 60 cm at spots that were trained by standing still with a phone.

These are the poster’s own measurements in one house, not an independent test. Bermuda is a different tool with a different goal, and the comparison says nothing about how it behaves in your home.

What it means for an installed system

The most useful part needs no new software. Before blaming the algorithm, check how much data your proxies deliver. The poster was getting 15 to 18 readings per minute per person from only 3 proxies. After changing two scan settings, they reached about 250 per minute from 14 proxies. Their ESPHome proxies had been listening only 30 ms out of every 320 ms. They say recent ESPHome versions default to continuous scanning on Wi-Fi devices, but it is worth confirming on older boards. For Shelly proxies, the poster changed the Bluetooth scanner mode in each device’s options in Home Assistant.

A few things to weigh:

  • Proxy type matters. Home Assistant’s docs say all proxy types can listen to advertisements, but only ESPHome proxies can make active connections. Ethernet-connected ESPHome proxies with passive scanning are listed as the best-performing setup.
  • Bluetooth shares 2.4 GHz. It competes with Wi-Fi and Zigbee. Keep adapters away from USB 3 ports and cables, which Home Assistant notes can hurt reception.
  • Dense proxies help only if the data is good. More proxies with poor scan settings add noise, which matches what the poster saw.
  • Floors and walls need modelling. This approach depends on an accurate 3D model of the house. The poster says they want to make that part generic before releasing anything.

What to do now

If room presence is flaky, audit your proxy scan settings first, then your proxy placement, one per room being a sensible start. Pair Bluetooth with a real presence sensor where an automation must not misfire, such as lights switching off on someone sitting still. We would wait for a public release before planning around this engine. Nothing has been published, and the poster also credits AI coding agents for building the core in two days, so expect it to need real-world testing.

This builds on the same poster’s earlier live 3D house project, driven by Home Assistant. Read the positioning post and the 3D digital twin post for the full detail.

Sources