Checking sensor.family_room_brain_gh_rssi and sensor.master_bedroom_brain_gh in the States developer tool I see that the value is “unknown”. If I check the device_tracker values that those friendly names (set in known_devices.yaml) correspond to, I see an rssi value for both:
device_tracker.192168153_b02a43fexxxx
source_type: bluetooth
scanner: GoogleHomeDeviceScanner
rssi: -68
btle_mac_address: b0:2a:43:fe:xx:xx
ghname: Family Room speaker
friendly_name: brain_bt_family_room
I haven’t gotten to troubleshoot the automations yet, since a value of “unknown” in the sensors isn’t going to get me anywhere. Any thoughts are appreciated, TIA!
funny I was just talking to someone else about this, but no. I haven’t gotten to work much on it since I made the original post. It seems like it should work, but I’m clearly missing something.
This whole scheme is based on the two forum posts I linked in the OP. The whole idea is room presence detection by comparing the RSSI values for my phone as seen by the Google Home Minis in the respective rooms.
There is additional config to be added to compare the RSSI values, but just getting the RSSI values into master_bedroom_brain_gh_rssi and family_room_brain_gh_rssi was the initial problem. When I stopped troubleshooting last night, the values had gone from “unknown” to just “” (a blank). This might have more to do with the Android phone BT operation than anything else but I won’t be able to dig further until later today.
the value assigned to bedroom_brain_gh_rssi is -99, despite the state of device_tracker.brainbtfamilyroom being ‘home’ and the rssi value in that device_tracker being -65.
I’ve tried a lot of variations using different syntax (friendly name vs not, single quotes, double quotes), but I feel like I’m missing something.