π BPS Update: Smoother, Smarter, Stronger (v0.1.2)
Hey fellow position enthusiasts! π―
This release brings a whole new level of stability, predictability, and Home Assistant friendliness to your beloved Bluetooth Positioning System (BPS). Whether you're tracking pets, plants, or peculiar family members, your zones just got a lot smarter. Letβs dive into whatβs new! πββοΈ
π§ Smarter Trilateration & Position Filtering
-
Sensor sanity checks π§ͺ
If a sensor's new distance value suddenly spikes or plummets (default +/-50% compared to the previous value), it's benched for that trilateration round. No more drama from rogue signals! -
Position smoothing π§
We now average the last N (default: 3) positions per entity before reporting. Say goodbye to jittery zig-zags β hello to buttery-smooth tracking (well that might be a bit of over selling but lets agree that it's better)! π§β¨
π§© Buffer Zones for Better Zone Matching
-
Zone-edge leniency π§
A buffer zone (default 5% of the zone size) surrounds each zone. So even if you're just barely outside, you're still in β no more awkward "unknown" limbo! -
Intelligent prioritization π
If a point lands in multiple buffers (but no actual zone), the zone with the closest edge wins. We pick the best match instead of flipping coins. Because logic. π‘π§
π Stable unique_ids for Home Assistant Integration
- Persistent sensor identity π
Sensors now use unique_ids (like bps_zone_{entity}), ensuring they stick around in Home Assistant between restarts. Your customizations are safe and sound πβ¨
π οΈ Why This Matters
- Reduces noisy blips and teleporting entities ππ
- Protects against flaky measurements π₯π‘οΈ
- Delivers a smoother, more predictable user experience π―
- Plays nicely with Home Assistantβs best practices π
Thanks for using BPS β the Bluetooth Positioning System thatβs as nerdy as it is nifty. Now go forth and track with confidence! π°οΈπΎ
Want to contribute, report bugs, or just say hi? Check out the repo and drop a β if you like what is being built!