I found a way to do the room detection using BT. I created a new thread so I don't take this one off the tracks.
New version: