New Google Home device tracker Component - Introduced in HA 0.83


#41

Just wanted to add to the thread. Adding one GH mini works fine, adding 2 or more breaks alot of stuff

device_tracker:
  - platform: googlehome
    host: 192.168.1.206

  - platform: googlehome
    host: 192.168.1.226

  - platform: googlehome
    host: 192.168.1.162

  - platform: googlehome
    host: 192.168.1.174


#42

My google home mini has trouble staying connected to my Bluetooth speaker for music with this component running, which makes sense but is a bit of a nuisance. Anyone else having the same problem or found a work around?


#43

Yeah I have a similar issue. Adding several devices makes the system grind to a crawl with a lot of things timing out.


#44

The “track_new_devices: false” dont seem to work on the Googlehome device_tracker

device_tracker:
  - platform: googlehome
    host: !secret googlehome_host
    new_device_defaults:
      track_new_devices: false

This would be needed to not fill upp your known_devices.yaml


#45

I also tried adding multiple devices and my hassio has slowed to the point of barely usable!


#46

image

All these Away MAC addresses keep on adding as time passes …
So I am assuming these are random mac advertisements from phone.
Only devices in range: iPhone, MacBook. Both added as known devices. A bluetooth keyboard which isn’t in pairing mode (connected to Macbook)


#47

Strange, I don’t have this issue. I wonder what could be causing that, or why something would be broadcasting random mac addresses. Can you eliminate what it is by turning the devices off and seeing if it continues?


#48

And strangely enough, iPhone goes to away after 2 minutes. Until I go to bluetooth settings

Monitor on a pi zero w: doesn’t have that problem with the iphone.


#49

Can you share what your setup is on the RPiZero? I used to use a Bluetooth scanner that would send updates via MQTT. It worked really good and allowed me to put it in my garage which would detect me as home very quickly, but I found that it degraded my wifi quite a bit in that area.


#50

Checkout monitor in the forums.
Amazing work.


#51

Are those mac addresses all different I suppose? Then in known_device you hide them. They will finish unless you are near a public place where lots of people with ble devices pass


#52

I would like to know as well


#53

Me too having this issue


#54

if you go to:
http://google_homes_ip:8008/setup/bluetooth/scan_results

you should see what it found in the recent scan.


#55

I can confirm that Android devices are only tracked when they actively scan for other BT devices. Tested with Samsung Galaxy S8 and A3.


#56

Mine are hidden and have been detected

edit: if you go to the link i sent above yours, can you see your mac addresses in there, even when the phones themselves aren’t scanning?


#57

Came here to ask exactly this.
I get the same behaviour. If my phone is not scanning, the Home does not see it.

I also have a Galaxy S8+

I guess there is no workaround for this, right?


#58

I am at my home with no other devices around.


#59

There is a good chance that the reason people are seeing multiple random MAC addresses is due to all the people who complained about privacy several years ago - who did not want to be tracked by MAC address. iOS devices since iOS v8 use random MAC addresses when they are scanning for networks to connect to.

the device needs to be locked to start randomzing its MAC address.

from: https://9to5mac.com/2014/09/26/more-details-on-how-ios-8s-mac-address-randomization-feature-works-and-when-it-doesnt/

Android devices since v8 (Oreo) also give random MAC addresses out when probing for networks to connect to.

See: https://source.android.com/devices/tech/connect/wifi-mac-randomization

EDIT2: More information about Bluetooth LE privacy - https://blog.bluetooth.com/bluetooth-technology-protecting-your-privacy in general both iOS and Android will only present the REAL MAC address of the device when they are paired to another device. But the address they advertise while scanning for a device / network to connect to - is NOT the real address.


#60

Without arguing about the Randomization stuff too much, the bluetooth location tracker with the RPI works just fine with Android as well as IOS bluetooth devices and we never had to pair them.


Google Home device tracker, rssi sensor value = unknown