Strava Home Assistant Integration

Hi,
Just found this integration and am very interested to try it out! However, I fail to install it, allready at the second point in the instruction… I cannot find the “My API Application” section at my Strava profile setting page! Can anyone point me in the direction as where to find it!
Any help is appreciated!

Answer to myself.
Needed to allow under Data Permissions, then I could go to the small item “Development” in the webpage footer and register a new project… The I got the My API Application…

Hi, thank you for sharing!
I tried all the installation process, the api creation, and all went fine. Right at the time I install the integration in HA, I fill in the Client ID and Client Secret fields, and it results in this page:
{“message”:“Bad Request”,“errors”:[{“resource”:“Application”,“field”:“redirect_uri”,“code”:“invalid”}]}

Can you help? What’s the problem?

Thank you!

After installing in HACS and restarting HA, I cannot find the Strava integration!
Any Idea what I can have made wrong?
I have installed and removed several times and different versions of the Strava Integration in HACS, but no difference!

If I can help… I hit the + Add integration button in the right bottom corner of the integration page, then wrote Strava, and I found it, so I could install it. But still it doesn’t work, sadly…

That is what I am trying! But after installing in HACS, I can still not find the Strava integration when hitting the “+” sign… (I am confused, since I have 15 integrations since earlier, and they all work as expected!)

Ah ok, seems all you’ve done it’s right. Sorry. I noticed that you managed to install and use the integration. I’m stuck with the id and secret client codes… Once I put them, the resulted web page doesn’t work. In the strava Api web page, in the callback domain field, I’ve added my domain in this format name.domain.net:port, it is correct? What am I doing wrong?

No problem! :slight_smile:

:slight_smile: Ok, maybe I was to impatient…
After a while, I can now see and install the Strava integration…

1 Like

@codingcyclist
Any chance you can add the “Walk” activity as well??

It looks like we’re getting closer to a solution here. First and foremost, clicking the “OAuth Authorization Page”-Link on the Strava My API Application page will not be helpful in the installation process. So lets try the following:

  1. I have understood that your NabuCasa External URL comes with “https://” in the beginning, correct? If that is the case, please go back to your Home Assistant general configuration (i.e. Configuration > General) and confirm that the URL which sits in the External URL field also has that leading “https://”.

  2. Please make sure that the Strava integration does not show up in Home Assistant under Configuration > Integrations

  3. Restart your Home Assistant instance

  4. Follow the installation instructions from the REAME. In particular, please pay very close attention to the fourth step where you search for the Strava integration in Home Assistant after hitting the “+” sign at the bottom right of the “Configuration > Integrations” Menu in Home Assistant (see the gif in the README). The installation wizzard should then guide you through the remainder of the installation process.

Good call - I’m super busy these days and I probably won’t get to that until my spring holiday. But I added your idea as a feature request

1 Like

Really cool project @codingcyclist , thanks for sharing!

Hello

I had the same issue on my side and finally was able to fix it by entering by HA Server IP Address in the Strava API Field called "Auhtorization Callback Domain”
Originally I entered here my external Domain name, but didn’t worked
Hope this helps

regards

Thanks for sharing, but I have already solved!
Regards

I have anyway a issue : I can properly get and display my strave Acfivities data in HA, but when I change the fields I want to get through the below screen, when I save my change by prressing Summit Button, HA said data was saved, but that’s not really the case. If I reopen the config, default fields are there
Any idea ?
My need is to change Kudo Field and replace it by Elevation field

Hello here, thanks a lot @codingcyclist this is awesome !

I just have a quick question: how do you get the strava icon with "mdi:strava" ? It doesn’t show up on my dashboard :frowning_face:

Thanks

Hi bourliam,

it seems like the icon got removed in one of the later versions of the Material Design Icon library. Anybody else experiencing the same behavior out there?

Can you explain how you resolved the issue? I have the same problem: a page opening saying:

{“message”:“Bad Request”,“errors”:[{“resource”:“Application”,“field”:“redirect_uri”,“code”:“invalid”}]}

Hi there, not completely sure how I managed, but it finally worked after many times entering in the Strava API Field called "Auhtorization Callback Domain” my HA domain with port. For example: name.domain.com:8123. Hope this help