home-assistant-garmin_connect
home-assistant-garmin_connect copied to clipboard
CNInvalid authentication
garmin fenix5 APAC CN use email and password show Invalid authentication
@realall What country did you set in General Home Assistant settings? And can you test with latest version 0.2.16?
tested with version 0.2.16, still show Invalid authentication.
I tried modifying the file (custom_components/garmin_connect/init.py) Line 67: change the self.in_china = True , reboot HA, It still show Invalid authentication
@douglasleft The integration check for certain Country selected and set the correct value (if you run one of the latest versions) Can you tell me which one you have selected? I cannot verify if something changed, it could be that Garmin changed something in their API which stopped it from working, or something er is wrong (temp block on your Garmin Connect account or something like that...
config-general - Country - 中国 (China),I can log in to my account at https://connect.garmin.cn/
Ok, I have a workaround for this. Modify line 43 of config_flow.py, change:
api = Garmin(username, password)
to
api = Garmin(username, password, True)
It worked for me.
Ok, I have a workaround for this. Modify line 43 of config_flow.py, change:
api = Garmin(username, password)
toapi = Garmin(username, password, True)
It worked for me.
Thanks,It worked~