Giter VIP home page Giter VIP logo

Comments (6)

cyberjunky avatar cyberjunky commented on June 1, 2024

@solitudechn Are you having this problem when using with Home Assistant? Or seperate?

from home-assistant-garmin_connect.

solitudechn avatar solitudechn commented on June 1, 2024

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.

arthurfsy avatar arthurfsy commented on June 1, 2024

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.

EvanVV avatar EvanVV commented on June 1, 2024

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!

108行的is_cn是在哪个文件里头?

from home-assistant-garmin_connect.

cyberjunky avatar cyberjunky commented on June 1, 2024

I will check how to gather the users Country settings from the integration and set the variable accordingly.

from home-assistant-garmin_connect.

cyberjunky avatar cyberjunky commented on June 1, 2024

Issue should be fixed in version 0.2.15

from home-assistant-garmin_connect.

Related Issues (20)

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.