core: Garmin Connect unreachable
The problem
As happened in the past, there we go again. Multiple users have reported lost connection with Garmin Connect. Mine is also not working anymore.
Thank you very much for investigating this
What is version of Home Assistant Core has the issue?
2021.5.4
What was the last working version of Home Assistant Core?
2021.5.3
What type of installation are you running?
Home Assistant Supervised
Integration causing the issue
Garmin Connect
Link to integration documentation on our website
https://www.home-assistant.io/integrations/garmin_connect/
Example YAML snippet
No response
Anything in the logs that might be useful for us?
log core:
2021-05-18 14:04:57 ERROR (MainThread) [homeassistant.components.garmin_connect] Connection error occurred during Garmin Connect login request: Error connecting
log book:
Logger: homeassistant.components.garmin_connect
Source: components/garmin_connect/__init__.py:42
Integration: Garmin Connect (documentation, issues)
First occurred: 00:07:17 (1438 occurrences)
Last logged: 16:04:59
Connection error occurred during Garmin Connect login request: Error connecting
Additional information
Seems to be the same behaviour, as issue #47058 #47018
see also:
https://community.home-assistant.io/t/garmin-connect-integration-errors/284336 for new last entries
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 3
- Comments: 97 (30 by maintainers)
I can confirm: still waiting for a version where Garmin Connect actually works. Integration that worked before not starting up and after removal of the integration, not able to connect anymore (‘unknown error’).
Doesn’t work here either, while it ran for weeks in my dev enviroment with 2 accounts. Thinking about removing the integration and stop development of it. Done with it
@BebeMischa are you stalking me??? ;-D
Can you this?
https://github.com/cyberjunky/home-assistant-garmin_connect
Just add repo to hacs and follow instructions. Still under development.
So yesterday i updated to 2021.6.5 My already configured two accounts did not start refreshing data. So i removed the integrations. Now I try to configure them again, I get stuck at login. After putting name/password in i see rotating circle of waiting and after a while “Unknown error occured”. So I can’t add anything now 😦
Thanks for the clear explanation! That worked for me.
Go to HACS and click Integrations:
Click three dots right upper corner and Custom repositories:
Fill in the form and you are ready…
Awww yiss! All working again.
@cyberjunky , you are a beautiful person, working like a dream here in Melbourne with 2 profiles!
@xtego correct, but scraping is not allowed in officiel integration, so trying to get it to work 100% without it, if this cannot be done (since Garmin changed their API) I will be force to release it in HACS and remove it from core.
Or something was wrong with the specific cherry pick/git merge. Will look at that too.
Let me look into it again.
The thing is if you install the python package locally on a Linux machine like described in github README below and run the example code (fill in your email/password) it runs all calls flawlessly here.
https://github.com/cyberjunky/python-garminconnect-ha
The second of this 2 calls, is failing in config flow when installing integration (with a HTTP code 403 and a loop) So if it’s something I overlooked (wrong creds send, or different user-agent for example, or sending the wrong headers)
I have to trace this from vs-code editor dev and correct code base (same as last release)
Maybe one of you can try this when you have the linux/python knowledge, to see if this example code is running for you as well. Note. if you start it to many times you run into the TooManyRequest 429 error, this is normal.
I can reproduce it it seems, will have a look.
@bebemischa what do you mean, did it stop working for you? Or did you read the conversation in the HA PR? ;-D
NOTED 😉
Thanks for the Paypal 🍻
Yes correct, simply deleted the directory! I have it running too.
Correction: it should be /config/custom_components/garmin_connect/ <all file here> my bad. So components, not modules.
@BebeMischa If you have no means to upload files to config directory yet (via Samba Share for example do step 1-4, otherwise skip them and upload zip file (below this message) otherwise.
I’ll try and report, when finished… 😉 thanks for the fast response