Comments (6)
@solitudechn Are you having this problem when using with Home Assistant? Or seperate?
from home-assistant-garmin_connect.
This problem occurs when using it with Home Assistant. Because I can't log into my garmin account on Home Assistant.
@solitudechn Are you having this problem when using with Home Assistant? Or seperate?
from home-assistant-garmin_connect.
Hi, I found that my garmin Chinese account cannot log in by default, this is because line 108 in the python package garminconnect defaults to Chinese is_cn=False, can you add a switch on the login page to allow us to manually What about changing this parameter to True? If possible, I think this can greatly reduce login problems for Chinese users. thanks
Hi, I met this problem today,too. I set 'is_cn=True', and run the 'python3 ./example.py', I can get my data correctly, But when
I using with Home Assistant, it doesn't get the data.
IMPORTANT : After modify the file (custom_components/garmin_connect/init.py)
Line 61 : change the self._api = Garmin(entry.data[CONF_USERNAME], entry.data[CONF_PASSWORD])
to the
self._api = Garmin(entry.data[CONF_USERNAME], entry.data[CONF_PASSWORD], True)
, then reboot the HA, I found it WORK!
from home-assistant-garmin_connect.
Hi, I found that my garmin Chinese account cannot log in by default, this is because line 108 in the python package garminconnect defaults to Chinese is_cn=False, can you add a switch on the login page to allow us to manually What about changing this parameter to True? If possible, I think this can greatly reduce login problems for Chinese users. thanks
Hi, I met this problem today,too. I set 'is_cn=True', and run the 'python3 ./example.py', I can get my data correctly, But when I using with Home Assistant, it doesn't get the data.
IMPORTANT : After modify the file (custom_components/garmin_connect/init.py)
Line 61 : change the
self._api = Garmin(entry.data[CONF_USERNAME], entry.data[CONF_PASSWORD])
to theself._api = Garmin(entry.data[CONF_USERNAME], entry.data[CONF_PASSWORD], True)
, then reboot the HA, I found it WORK!
108行的is_cn
是在哪个文件里头?
from home-assistant-garmin_connect.
I will check how to gather the users Country settings from the integration and set the variable accordingly.
from home-assistant-garmin_connect.
Issue should be fixed in version 0.2.15
from home-assistant-garmin_connect.
Related Issues (20)
- All automations lost after upgre 0.2.16 to 0.2.17 HOT 3
- Tracking equipment data HOT 3
- Garmin Connect integration stopped working in HomeAssistant HOT 6
- Config flow could not be loaded: {"message":"Invalid handler specified"} HOT 9
- TypeError: 'NoneType' object is not subscriptable HOT 3
- Getting "Unexpected exception importing component custom_components.garmin_connect" after 9.3 update HOT 6
- security code for garmin account HOT 5
- Feature Request: Control of Do Not Disturb setting on Watch HOT 2
- Unexpected error HOT 5
- Unexpected error fetching garmin_connect data: 'NoneType' object has no attribute 'json' HOT 1
- [feature request] add weight measurement HOT 1
- HRV Status sensor HOT 2
- Any plans for a new release? HOT 3
- LOOP OF DEATH: Initializing... Failed Setup, Will Retry HOT 17
- Found missing word in en.json for translation HOT 1
- Impossible to exit after error 'Failed. phone not connected' HOT 1
- Entities showing unknown values HOT 4
- Add user in sensor name HOT 5
- E-Bike Battery Level
- Not showing any data HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from home-assistant-garmin_connect.