Combine BLE & presence / motion for more accurate room detection #540
-
In brief (described in more detail at agittins/bermuda#627), I am trying to combine BLE & presence / motion sensors for more accurate room detection. The problem I am trying to solve is that of overlapping BLE coverage - Bermuda will simply pick the "closest" (in RSSI terms) BLE sensor as the room indicator, while this might not be the case - I might be in the adjacent room, but farther away from that room's BLE sensor (or my body being between the sensor and the phone). Following a suggestion from Bermuda's author, I installed and configured Magic Areas (both are fantastic tools, by the way), but I can't seem to be able to leverage this. My test setup is the following:
Expected result: if my phone is in Room2 (being "seen" by both BLE proxies), but I am physically in Room1 (being "seen" by the Room1 Presence sensor), the "BLE area" entity in Bermuda (or some other entity in Magic Areas, but I didn't see any) would put my location in Room1. Am I doing something wrong in terms of configuration? Am I misunderstanding the way this is supposed to work? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
I think that until Bermuda does real trilateration this is an unsolved problem. (unless adding more and more proxies). Maybe BPS works for you (it's a bit of a trilateration PoC on top of Bermuda): https://community.home-assistant.io/t/bps-the-indoor-precise-tracking-system/843429 With magic areas I only use the BLE feature in rooms that don't have this "adjacent" problem. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
If indeed the mmwave is on "keep only" on both rooms, Magic Areas should report BLE occupancy on Room 2, but will not mark the room as occupied if it's not occupied already, unless any other presence sensor on the room that is not on "keep only" triggers. BLE will have no effect on Room 1, as for its point of view, whatever its tracking is on Room 2. Room 1's presence will be maintained only by the other presence sensors. Does that clarify? |
Beta Was this translation helpful? Give feedback.
-
It does - thanks a lot for the quick response. Basically, what I am looking for is not in Magic Areas either... I'll give BPS a try. |
Beta Was this translation helpful? Give feedback.
If indeed the mmwave is on "keep only" on both rooms, Magic Areas should report BLE occupancy on Room 2, but will not mark the room as occupied if it's not occupied already, unless any other presence sensor on the room that is not on "keep only" triggers.
BLE will have no effect on Room 1, as for its point of view, whatever its tracking is on Room 2.
Room 1's presence will be maintained only by the other presence sensors.
Does that clarify?