I tried to get the integration above running.
Here is the link to the description:
It says:
Once enabled and you have rebooted devices discovered through this integration will be listed in the known_devices.yaml
file within your configuration directory. I have 4 people sharing locations with me and I can see them, p.ex. in maps on android.
They will be created with indentifiers like google_maps_<numeric_id>
. To be able to properly track entities you must set the track
attribute to true
.
From what I know, known_devices.yaml is depreciated. Under
http://192.168.103.44:8123/config/entities, I do not see anything new (I restarted the docker container).
The logs say:
2023-01-06 12:48:55.486 ERROR (SyncWorker_5) [homeassistant.components.google_maps.device_tracker] The cookie file provided does not provide a valid session. Please create another one and try again
2023-01-06 12:48:56.117 ERROR (MainThread) [homeassistant.components.device_tracker] Error setting up platform legacy google_maps
The cookie file (changed some parts) look somehow like this:
# Netscape HTTP Cookie File
.google.com TRUE / TRUE 1688543600 AEC AakniGNEHPLpmjhfnQneMldbcvea_ml6Phu_twx2Bwösafdjsfjfsjlasf0
.google.com TRUE / TRUE 1736333600 CONSENT PENDING+646
consent.google.com FALSE / TRUE 1675597631 OTZ 6845027_52_52_166600_48_466680
.google.com TRUE / TRUE 1733333634 SOCS CAISNQgEEitib3FfaWRlbnksfahökfsajjlkfasdjklasfhfasölA3X3AxGgJkZSACGgYIgMndnQY
.google.com TRUE / TRUE 1633360340 NID
device_tracker:
- platform: google_maps
username: "[email protected]"
homeassistant$ ls -alth
insgesamt 88M
-rw-r--r-- 1 root root 4,3M Jan 6 12:36 home-assistant_v2.db-wal
-rw-r--r-- 1 root root 32K Jan 6 12:36 home-assistant_v2.db-shm
-rw-r--r-- 1 root root 230M Jan 6 12:36 home-assistant_v2.db
drwxrwxr-x 10 simon simon 23 Jan 6 12:35 .
drwxr-xr-x 2 root root 27 Jan 6 12:28 .storage
-rw-r--r-- 1 root root 862 Jan 6 12:25 home-assistant.log
-rw-r--r-- 1 root root 0 Jan 6 12:25 home-assistant.log.fault
-rw-r--r-- 1 root root 34K Jan 6 12:25 home-assistant.log.1
-rw-r--r-- 1 root root 397 Jan 6 12:24 configuration.yaml
-rw-rw-r-- 1 simon simon 2,8K Jan 6 12:22 .google_maps_location_sharing.cookies.notmyham_google_com.txt
drwxrwxr-x 4 simon simon 4 Jan 3 15:27 custom_components
drwxr-xr-x 2 root root 3 Jan 3 15:19 backups
drwxr-xr-x 16 simon simon 32 Jan 3 11:47 ..
drwxr-xr-x 3 root root 3 Jan 3 10:31 www
drwxr-xr-x 2 root root 2 Jan 3 09:33 tts
drwxr-xr-x 4 root root 4 Jan 3 09:33 blueprints
drwxr-xr-x 2 root root 2 Jan 3 09:33 .cloud
-rw-r--r-- 1 root root 2 Jan 3 09:33 automations.yaml
-rw-r--r-- 1 root root 9 Jan 3 09:33 .HA_VERSION
-rw-r--r-- 1 root root 0 Jan 3 09:33 scenes.yaml
-rw-r--r-- 1 root root 0 Jan 3 09:33 scripts.yaml
-rw-r--r-- 1 root root 161 Jan 3 09:33 secrets.yaml
drwxr-xr-x 2 root root 2 Jan 3 09:33 deps