After couple of days and many many hours or trying to get the Google Maps integration working as per instructions:
Sharing the location in Google accounts
Getting the cookies with both Chrome and Firefox, both in normal and Private mode etc.
And trying all the possible combinations, I still get the:
“The cookie file provided does not provide a valid session. Please create another one and try again” error.
Could someone confirm that the integration is working as expected with the most recent versions of HASSIO (core-2021.8.8 & supervisor-2021.06.8)?
My aim is to have HA inform me, when my child arrives & leaves home/school/etc. zones. I would prefer using Google Location information, since I already have it through Google Family Link.
@koying Thanks for the info. Could you kindly share at least a partial copy-paste/screenshot of your cookie file, so that I could check the format. How did you generate the cookie file? Chrome or Firefox? Private mode or not? www.google.com or .google.com? “Prefix HttpOnly cookies” unchecked or checked?
Just to double-check - if my Google account email address, that I use in configuration.yaml, is of format [email protected], what is the slugified format? xx_yy_zz_gmail_com?
If anyone reading this topic is interested, I spent quite a bit of time improving the Google Maps integration to address the issues I’ve had with it over the years. At some point I may submit these changes to the standard integration, but for now, it’s available as a custom integration. I also provide detailed instructions for obtaining the cookies file with a few common browsers and make it easier to get the file onto your system.