Coder Social home page Coder Social logo

aa755 / home-assistant Goto Github PK

View Code? Open in Web Editor NEW

This project forked from home-assistant/core

8.0 8.0 3.0 63.18 MB

:house_with_garden: Open-source home automation platform running on Python 3

Home Page: https://home-assistant.io

License: Other

Python 77.21% HTML 22.58% Shell 0.20% Ruby 0.01%

home-assistant's People

Contributors

andrey-git avatar andythigpen avatar balloob avatar danielhiversen avatar emlove avatar fabaff avatar happyleavesaoc avatar hydrelioxgithub avatar jaharkes avatar jamespcole avatar kellerza avatar kk7ds avatar lwis avatar maddox avatar martinhjelmare avatar molobrakos avatar nkgilley avatar pavoni avatar persandstrom avatar philipbl avatar pvizeli avatar rmkraus avatar robbiet480 avatar sander76 avatar sdague avatar sfam avatar tchellomello avatar teagan42 avatar tomduijf avatar turbokongen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

home-assistant's Issues

Google didn't send the location

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"

Google's recent change to location sharing

About a week ago, Google made changes to how location is shared.
As a result, the gplus component started malfunctioning, especially if used in the safe mode

Fortunately, no change to the component is needed. It suffices to open google maps on Android and share the location again with the dummy account.

gplus.py

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.41

Component/platform:

gplus.py

Description of problem:

No device tracker is added and the following lines are shown in the log.

17-04-18 21:59:30 ERROR (Thread-5) [homeassistant.core] Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/device_tracker/gplus.py", line 95, in get_position
update_data_at()
File "/config/custom_components/device_tracker/gplus.py", line 90, in update_data_at
data['at'] = sdict['SNlM0e']
KeyError: 'SNlM0e'
17-04-18 22:01:30 ERROR (Thread-5) [homeassistant.core] Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/device_tracker/gplus.py", line 95, in get_position
update_data_at()
File "/config/custom_components/device_tracker/gplus.py", line 90, in update_data_at
data['at'] = sdict['SNlM0e']
KeyError: 'SNlM0e'

Expected:

A new device Tracker is added

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

device_tracker:
   - platform: owntracks
     max_gps_accuracy: 200
     waypoints: True
     waypoint_whitelist:
       - emiel
   - platform: gplus
     id: Emiel_Android
     url: https://www.googleapis.com/plus/v1/people/{idDummy}?key={api-key linked to dummy}
     cookie_sid: {cookie_sid}
     cookie_hsid: {cookie_hsid}
     cookie_ssid: {cookie_ssid}
     data_freq: 15
     home_url: https://plus.google.com/{idMain}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.