diff --git a/source/_components/google_maps.markdown b/source/_components/google_maps.markdown index e0dfa1f4b7f..b6a7dc4d694 100644 --- a/source/_components/google_maps.markdown +++ b/source/_components/google_maps.markdown @@ -14,9 +14,12 @@ The `google_maps` platform allows you to detect presence using the unofficial AP ## Configuration -You first need to create an additional Google account and share your location with that account. This platform will use that account to fetch the location of your device(s). You have to setup sharing through the Google Maps app on your mobile phone. You can find more information [here](https://support.google.com/accounts?p=location_sharing). +You first need to create an additional Google account and share your location with that account. This platform will use that account to fetch the location of your device(s). -This platform will create a file named `.google_maps_location_sharing.cookies` extended with the slugified username where it caches your login session. +1. You have to setup sharing through the Google Maps app on your mobile phone. You can find more information [here](https://support.google.com/accounts?p=location_sharing). +2. You must use `mapscookiegettercli` to get a cookie file which can be used with this device tracker. See more information [here](#maps-cookie-getter) +3. Save the cookie file to your Home Assistant configuration directory with the following name: `.google_maps_location_sharing.cookies.` followed by the slugified username of the NEW Google account. + - For example: if your email was `location.tracker@gmail.com`, the filename would be: `.google_maps_location_sharing.cookies.location_tracker_gmail_com`.