Multiple google maps trackers?

Hey guys, i’m using the google maps tracker for my phone and it’s working pretty well. Seems to be a bit slower than owntracks but also seems to be a bit less of a battery drain. I’d also like to set it up for my wife’s phone, but HA seems to completely ignore the 2nd tracker device. Anyone else using this with multiple accounts/phones? YAML below… no errors that i’ve noticed, it just pretty much ignore’s my wife’s account.

device_tracker:
  - platform: google_maps
    username: <my account>
    password: <my password>
  - platform: google_maps
    username: <her account>
    password: <her password>

You both just need to share your position with the account that you use for the tracker.

2 Likes

Trying to switch from owntracks to google_maps.
Here is my current “presence.yaml”

device_tracker:
  #- platform: owntracks
  - platform: google_maps
    username: !secret locator_paul_username
    password: !secret locator_paul_password
sensor:
  - platform: google_geocode
    name: Paul
    origin: device_tracker.test_mqtt_paul_cell
    options: street_number, street, city
    display_zone: display
    gravatar: [email protected]
    api_key: !secret google_map_api

I was expecting my owntracks device to go away and to see a google_maps one show up.
When I look at states when owntracks was created there was a device_tracker.test_mqtt_paul_cell. Now when I look at states I still see “device_tracker.test_mqtt_paul_cell”

image

Should I see a google maps? I created a google account locatepaul and shared the location from my personal google account paul.
So how do I reference it all in the config.yaml?

Once working, then I would like to share my wife personal google account, with locatepaul.
Somewhere I am missing how to glue this all together.