aa755 / home-assistant Goto Github PK
View Code? Open in Web Editor NEWThis project forked from home-assistant/core
:house_with_garden: Open-source home automation platform running on Python 3
Home Page: https://home-assistant.io
License: Other
This project forked from home-assistant/core
:house_with_garden: Open-source home automation platform running on Python 3
Home Page: https://home-assistant.io
License: Other
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}
Additional info:
Home-Assistant is running in a docker
I Am using the "Safe Mode"
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.
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}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.