Garmin Connect Integration - Errors

Yes I am expecting that to happen, but I am not seeing it to becoming available for more than
12 hours already.

Okey, so now I see some sensors available.
But as it goes again, still not for all.

A few days ago the Garmin Connect integration stopped working. I installed yesterday HA 2021.6.3 and when I try to login in the Garmin Connect integgration I get an “unknown error” on the screen.
In the logs I see that I need to install brotlipy:

aiohttp.http_exceptions.ContentEncodingError: 400, message='Can not decode content-encoding: brotli (br). Please install brotlipy

When I try to install it manual then I see this:
homeassistant@VanDerMedPlay:~$ pip3 install brotlipy
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: brotlipy in ./.pyenv/versions/3.8.10/lib/python3.8/site-packages (0.7.0)
Requirement already satisfied: cffi>=1.0.0 in ./.pyenv/versions/3.8.10/lib/python3.8/site-packages (from brotlipy) (1.14.5)
Requirement already satisfied: pycparser in ./.pyenv/versions/3.8.10/lib/python3.8/site-packages (from cffi>=1.0.0->brotlipy) (2.20)
WARNING: You are using pip version 20.2.4; however, version 21.1.2 is available.
You should consider upgrading via the ‘/home/homeassistant/.pyenv/versions/3.8.10/bin/python3.8 -m pip install --upgrade pip’ command.
homeassistant@VanDerMedPlay:~$

So no brotlipy is installed. Someone knows why?
Regards
Bernd

read the whole topic, follow the links, and you will see, hard work is now being done and still not finished to fix it… :wink:

@BernieV, I run hass on “bare” linux so for me it was as simple as installing brotlipy with pip. Your installation will depend on how you’re running hass on your machine but that should do the trick.

Finally it works… After times of trying and then I tried pip install brotlipy --force-reinstall and it works again. I suppose the brotlipy was broken.

I see that the new garminconnect_ha has been implemented in 2021.6.5 - when I upgraded, the existing integration told me it couldn’t be loaded, which I expected, so I deleted it.

Now it sits there spinning whilst trying to authenticate either of my two accounts, without any logs being created anywhere, and the Integration shows this in the interface

image

EDIT: rolled back to 2021.6.4, loaded the previous iteration of the Garmin Connect Integration, which worked for a single account, then rolled forward to 2021.6.5.

Once rolled forward, my Home Assistant installation wouldn’t finish starting until the Garmin Integration was removed, again nothing in any of the logs that I know the existence of

1 Like

Kind of same here, and it looks, like it will not come back again :frowning:

@rdnzl got a little tired of this. And i understand that.

I just rolled back to 2021.6.3 again and it’s still working ok… Did not work for me in 2021.6.4 or 2021.6.5.

I’d be happy to help fix it, but I’m doing well to code “Hello World” these days :frowning:

Has anyone opened an issue in github? I realize the general consensus is that Garmin is a pita, but I still think we should try.

Did you read the thread? it’s just 3 post above yours…

I swear I have no idea how I missed that.

:rofl: :poop: happens…

2 Likes

there is a solution on it’s way: Garmin Connect unreachable · Issue #50822 · home-assistant/core · GitHub

working well here!!

I had been experiencing problems getting the integration to work again. I deleted it and every time I tried to install it again via the integrations panel it would hang forever and make HA unavailable until a hard reboot.

This method seems to have done the trick though and I have all my sensors back. Thanks for all your hard work :slight_smile:

I love this integration when it works!

Is this integration currently working??

I ve linked my account from garmin connect, i can see all sensors, but all of them say “unknown”

The official HA integration does not exist anymore.

There is a briliant alternative in HACS, made by CyberJunky.
This one works fine, I’m currently usingit on two watches together.

Thanks!

This is the one i am triying to use… but no luck getting the data to HA

Maybe should i configure some options in garmin connect or the app?

It takes a while, until they come with numbers.

Your watch has to be connected with your phone. The app needs internet access.
Nothing, you need to do else on watch or phone.