

If this is your first time sharing, Maps will provide an introduction and let you choose contacts (you may be asked to provide access to your contacts).In Google Maps, tap on your profile icon in the upper right.

Google maps location sharing how to#
Here’s how to share your location with contacts on Android and iOS - the instructions are similar for both. Google Maps location sharing is designed primarily with that in mind, and there’s a fair amount of customization if you want to limit sharing to certain times. Where are we supposed to get the cookie file from if not cli.You’ll most likely want to share your location with specific people. This is telling me that the cookie file is actually an input to the cli.py, not an output file. If I touch a new cookie file and execute the cli.py, it returns an error of “Ran out of input”. The cookie file, however, isn’t changed (and still doesn’t work with HA). What’s interesting is if I use one of my old cookie file, the cli.py execution returns a prompt and no error, as if it succeeded.

[["gf.sicr",null,null,5,null,[null,null,"type: not sure how to get a cookie file now. google_maps_location_okiesĬookieGetter(args.email, args.password, okies_file)įile "/home/user/t/locationsharinglib/locationsharinglib/locationsharinglib.py", line 351, in _init_įile "/home/user/t/locationsharinglib/locationsharinglib/locationsharinglib.py", line 218, in _init_įile "/home/user/t/locationsharinglib/locationsharinglib/locationsharinglib.py", line 256, in _authenticateįile "/home/user/t/locationsharinglib/locationsharinglib/locationsharinglib.py", line 299, in _submit_password Here’s the message from cli.py: $ python3 cli.py -email -password 'mypassword' -cookies-file. This account doesn’t have 2-step on it and it used to work fine with location sharing in home assistant but I’m moving my home automation to another computer and now it’s broken and I can’t get it working again. I never get to the point where the cookie file was created. I’m sure the credentials are correct, I verified it several times using an incognito window. Right after that it spits out a data structure with a bunch of data in it like my email address and Google picture link and a message that says “INCORRECT_ANSWER_ENTERED”.

Scanner = GoogleMapsScanner(hass, config, see)įile "/usr/local/lib/python3.6/site-packages/homeassistant/components/device_tracker/google_maps.py", line 65, in _init_įile "/usr/local/lib/python3.6/site-packages/locationsharinglib/locationsharinglib.py", line 366, in _init_įile "/usr/local/lib/python3.6/site-packages/locationsharinglib/locationsharinglib.py", line 225, in _init_įile "/usr/local/lib/python3.6/site-packages/locationsharinglib/locationsharinglib.py", line 263, in _authenticateįile "/usr/local/lib/python3.6/site-packages/locationsharinglib/locationsharinglib.py", line 306, in _submit_password Result = self.fn(*self.args, **self.kwargs)įile "/usr/local/lib/python3.6/site-packages/homeassistant/components/device_tracker/google_maps.py", line 46, in setup_scanner 04:59:02 ERROR (MainThread) Error setting up platform google_mapsįile "/usr/local/lib/python3.6/site-packages/homeassistant/components/device_tracker/_init_.py", line 183, in async_setup_platformįile "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run Here’s the home assistant log: 04:59:01 ERROR (SyncWorker_19) Could not open pickle file, either file does not exist or no read access. I’ve tried the cli.py and it gives me a similar error as HA does in the log files (InvalidCredentials). I’ve been trying to debug it for a few hours tonight without success. I’m having a problem with location sharing too.
