8000 Google location sharing issue · Issue #26275 · home-assistant/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Google location sharing issue #26275

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Bergasha opened this issue Aug 29, 2019 · 19 comments · Fixed by #26328
Closed

Google location sharing issue #26275

Bergasha opened this issue Aug 29, 2019 · 19 comments · Fixed by #26328

Comments

@Bergasha
Copy link

Home Assistant release with the issue:
0.98 and 980b2
-->

Last working Home Assistant release (if known):
0.980b1

Operating environment (Hass.io/Docker/Windows/etc.):
Hass.io, Docker Ubuntu 14.8

Component/platform:
Google maps location sharing

Description of problem:
98.0b1 working great but 98.0b2 and 0.98 Google location or battery info are not updating, will only update on a restart. No errors in logs.

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

```- platform: google_maps


**Traceback (if applicable):**
  • platform: google_maps
    username: YOUR_USERNAME``

Additional information:

@WedHumpDay
Copy link
WedHumpDay commented Aug 29, 2019

While I can confirmed this was an issue after upgrading to 0.98.0, I generated a new cookie and restarted HA and all worked for the first initial poll. Tracking would not update after the one instance. Definitely an issues here.

@phdelodder
Copy link
Contributor

Having the same problem, I have a combination of Google maps and Fritz box WiFi tracking and presence was completely off. Did a rollback to 0.97.1

@chomupashchuk
Copy link

Have the same issue. For me it's a big problem as phone Wifi disconnects for ~25 minutes to save battery and GPS was used to "cover" not_home parts

@tcastberg
Copy link
Contributor

I did exactly the same as @WedHumpDay. Whole house went dark when my daughter went to bed because apparently my wife and I weren't home... 😆
I haven't seen any errors related to google_maps in the log file either.

@CultusMechanicus
Copy link

For some reason, it doesn't update unless you manually add a scan interval. Adding
scan_interval: 180
fixes it.

@lweberru
Copy link

I already had a scan_interval in place. But this does not help. I enabled some debugging for the locationsharinglib.Service and saw, that the issue is because the library tries to also add the authenticated user itself to the result. And this fails. I removed it, the error in the logs is gone, but the component is still only updated once...

@tcastberg
Copy link
Contributor

@lweberru I added scan_interval=60 and it now seems to be updating. Not sure if that's why but it seems to be worth a try for those that don't have it.

@lweberru
Copy link

I already tried 2 different scan_interval levels, does not change anything. I saw in the logs, that the issue is perhaps the authenticated_user itself but even I removed it, it is still not running multiple times, so there are multiple issues with this service I fear.

@felipemfa
Copy link

Same problem here, no error logs. updating device track only on restart.

@chomupashchuk
Copy link

Setting scan_interval helped in my case

8000

@felipemfa
Copy link

Setting scan_interval helped in my case

what value did you define?

@WedHumpDay
Copy link
WedHumpDay commented Aug 30, 2019

scan_interval isnt working on my end. Will be rolling back (restoring snapshot prior upgrade).

Update: Rolled Back to 0.79.x and working again.

@elmigbot
Copy link

scan_interval: 60 worked for me.

@WedHumpDay
Copy link

Whom from development taking this action item on?

@mrsnyds
Copy link
mrsnyds commented Aug 31, 2019

On version 0.98.1, Hassio. Same issue. Manually setting a scan interval (I used "60") does seem to resolve.

@RoSulek1
Copy link

I have the same issue. Rollback to 0.79.1

@dshokouhi
Copy link
Member

might be related: #26165

@tyjtyj
Copy link
Contributor
tyjtyj commented Sep 1, 2019

I found the issue but not sure how to submit for the fix
components/google_maps/device_tracker.py
Line 55
From
self.scan_interval = config.get(CONF_SCAN_INTERVAL) or timedelta(60)
To
self.scan_interval = config.get(CONF_SCAN_INTERVAL) or timedelta(seconds=60)

Temporary work around add scan_interval

- platform: google_maps
  username: your_gmail
  scan_interval: 60

@dshokouhi
Copy link
Member

MartinHjelmare pushed a commit that referenced this issue Sep 1, 2019
balloob pushed a commit that referenced this issue Sep 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

0