Skip to content

BPS 0.4.0b1 (beta)

Pre-release
Pre-release

Choose a tag to compare

@Hogster Hogster released this 27 Nov 17:18
720e9b4

🧪 BPS 0.4.0b1 (beta): finding your phone, faster maps, and a house that admits when it's wrong

Three new things this time. One makes setup less of a treasure hunt, one makes BPS lighter on your Home Assistant, and one lets you tell BPS "no, I'm over here" and get an honest answer about how far off it was.

Coming from 0.2.x? Read the 0.3.0b1 notes first.

What's new

📱 "Which of these 160 devices is my phone?" Solved.
Bermuda sees everything with Bluetooth: your phone, the neighbour's car, the toothbrush. Finding your own device in that list used to be the worst part of setup. Now there's a guide: Settings → Bluetooth devices → + Add a phone, watch or tag.

  1. Pick what you're adding: iPhone/Apple Watch, Android phone, or a tag.
  2. Make it recognisable. On Android, turn on the Companion app's BLE transmitter and BPS finds its ID for you. On Apple, set up an IRK in Private BLE Device.
  3. Hold it against a receiver. BPS spots the device that suddenly comes close. It's like a metal detector, but for your own phone.
  4. One click adds it to Bermuda and turns on its distance sensors.
  5. Tell BPS whose it is.

⚡ Reads Bermuda directly, and quietly tidies up after itself.
A read API for other integrations is proposed for Bermuda (agittins/bermuda#834, by David Coulson). If your Bermuda has it, BPS reads the distances straight from Bermuda instead of through hundreds of Distance to … sensors. Same numbers, without the recorder writing or the dashboard chatter.

  • Once the API has worked for 10 minutes, BPS turns those sensors off.
  • If the API disappears or stops answering for 2 minutes (a Bermuda update, a restart), BPS turns the sensors back on by itself and carries on. You shouldn't notice.
  • Without the API, nothing changes. The setting is now called Manage distance sensors automatically.

📍 "It's actually HERE."
On the map, click 📍 next to a device, then click where it really is, and leave it there for 45 seconds. BPS writes down what it calculated meanwhile and shows you, in the new Accuracy card in the Calibration tab, how many metres off it was. No excuses. As a bonus, every mark teaches BPS what the receivers hear at that spot.

🧭 Fingerprint positioning, the second opinion. Optional, off by default.
Your receivers hear each other's beacons, so BPS already knows what every receiver's spot "sounds" like. Your phone's pattern is compared with those spots (and with your 📍 marks), which gives a second position. It's good at ignoring the wall that makes one receiver think you're in the garden. It runs in the background from day one. After a few 📍 marks, the Accuracy card tells you whether mixing it in actually helps in your house, and gives you a button for the best mix. If it doesn't help, keep trilateration only.

🙏 Fingerprint positioning and 📍 marks are adapted from Sextant by David Coulson (MIT). Thanks, David!

Good to know

  • Fingerprint positioning needs receivers that send the iBeacon that auto-calibration uses (see the wiki page Hardware), plus a few minutes of auto-calibration. Without them it has nothing to compare against, and nothing changes.
  • One 📍 mark proves little. Aim for 5–8, spread over different rooms and floors.
  • Adding a device through the guide changes Bermuda's own settings (Configure → Select devices), exactly as if you had done it there yourself.

How to join the beta

In the Marketplace (the new name for HACS), open BPS → ⋮ → Include pre-releases. Then update, or use ⋮ → Install another version.

What I'd love from you

Try the guide with a phone BPS has never seen, and make a few 📍 marks. Then tell me how far off BPS was in your house, here or in an issue. That number is the most useful thing you can send me right now.