Skip to content
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

Google didn't send the location #3

Closed
MrEmielH opened this issue Apr 19, 2017 · 2 comments
Closed

Google didn't send the location #3

MrEmielH opened this issue Apr 19, 2017 · 2 comments

Comments

@MrEmielH
Copy link

Make sure you are running the latest version of Home Assistant before reporting an issue.

You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:

Home Assistant release (hass --version):

0.42.4

Python release (python3 --version):

Python 3.5.3

Component/platform:

gplus.py

Description of problem:

Google refuses to send location, the following lines keep coming up in the log every time Home-Assistant tries to get my location.

17-04-19 14:15:04 ERROR (Thread-12) [custom_components.device_tracker.gplus] No response received to the location query
17-04-19 14:15:04 ERROR (Thread-12) [custom_components.device_tracker.gplus] Google didn't send the location. Updating data['at']

17-04-19 14:20:00 ERROR (Thread-12) [custom_components.device_tracker.gplus] No response received to the location query
17-04-19 14:20:00 ERROR (Thread-12) [custom_components.device_tracker.gplus] Google didn't send the location. Updating data['at']

Expected:

A new device_tracker pops up in the ui.

Problem-relevant configuration.yaml entries and steps to reproduce:

device_tracker 1:
  - platform: owntracks
    max_gps_accuracy: 200
    waypoints: True
    waypoint_whitelist:
      - emiel   
  - platform: gplus
    id: emiel_android
    url: https://plus.google.com/u/0/_/PlusAppUi/data?ds.extension=**3**3**&f.sid=-**0***4***4***1****&hl=nl&soc-app=***&soc-platform=1&soc-device=1&_reqid=*****5&rt=c
    cookie_sid: '*****************************_*****************************************'
    cookie_hsid: '*****************'
    cookie_ssid: '*****************'
    data_freq: 15
    home_url: https://plus.google.com/u/0/{id_Main}
  1. Boot Home-Assistant
  2. Look at the log

Additional info:

  • Home-Assistant is running in a docker

  • I Am using the "Safe Mode"

@aa755
Copy link
Owner

aa755 commented Apr 21, 2017

Does the location card appear when you visit your profile page after logging in with the dummy account?
If not, you need to properly share the location.
Also, I have only checked this component with Home Assistant versions v0.41.0 and earlier. Can you try that version? If not, some day soon, I should upgrade to the latest version of home assistant and see if something breaks.

@MrEmielH
Copy link
Author

I got it working, I was confused about the meaning of the data_freq parameter. I thought it was a duration on how much the tracker would update the location. My bad, thanks for the reply though

aa755 pushed a commit that referenced this issue Jun 19, 2017
* Added eddystone_temperature platform.

* Fixed style issues.

* Fixed style issues #2.

* Fixed style issues #3.

* Added new platform to .coveragerc

* Refactored platform to use the beacontools package.

* Fixed style issues and added beacontools to excluded requirements.

* Removed obsolete constants and added pylint exception.

* Added blank line

* Updated beacontools to version 1.0.0

* Updated beacontools to version 1.0.1

* Forgot to regenerate requirements_all

* Minor changes
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

No branches or pull requests

2 participants