Strava Home Assistant Integration

Hi
Yesterday I installed the latest HA update 2022.3.0, and since that installation the ha_strava integration doesn’t load. I didn"t change anything else than just the update install.
I tried several restart ==> Same
In the Log I have this:
image

Is one of you have any idea how to fix it ?
Thanks

image

I switched to https://github.com/madmic1314/ha_strava and that works fine. I needed to remove the old ha_strava integration completely, add a custom repo in HACS (use that URL) and set up with my strava credentials again. Hope that helps.

I managed to get mine working again by modifying the manifest file, I used the latest aiohttp and voluptuous and increased the version number


{
  "domain": "ha_strava",
  "name": "Strava Home Assistant",
  "config_flow": true,
  "documentation": "https://github.com/codingcyclist/ha_strava",
  "requirements": ["aiohttp==3.8.1", "voluptuous==0.12.2"],
  "dependencies": [],
  "codeowners": ["@codingcyclist"],
  "version": "0.2"
}

2 Likes

Thanks @BertrumUK
I did the same as you and my Strava integration is back live again !
Just updated Manifest file and restarted HA, done.

1 Like

Does anyone using this integration know how fast a completed activity gets reported into Home Assistant? I’d like to trigger automation as soon as a workout gets completed.

In my case it’s directly.

for me GitHub - codingcyclist/ha_strava: Pipe your Activity Data from Strava directly into Home Assistant cannot be added as “Repository structure for 0.1.1 is not compliant”

GitHub - madmic1314/ha_strava: Activity Data from Strava directly into Home Assistant can be added as a custom repository through hacs but is not locatable as an integration

well a day later HA Strava appeared as an integration

Figured it out. You need to add it as a custom GitHub integration in HACS. Not done that before :slight_smile:

I’m trying to integrate and assemble a tutorial for the Brazilian home assistant community, but it’s reporting this error.

Can you help me?

error

This integration does not support configuration through the UI. If you follow this link from the Home Assistant website, be sure to check for the latest version of Home Assistant.

same here :frowning:

@leojcs2021 @jfmfreire you could try https://github.com/craibo/ha_strava - (I’ve not tried it myself though, I wrote an appdaemon script to pull the stats I wanted)

1 Like

When opening the site to authorize, this error occurs.

Same here sorry, (I did say I’d not tried it :wink: ) Maybe raise an issue on the github page ?

1 Like

per his github page https://github.com/madmic1314/ha_strava is now abandoned and has been broken for me or over a month i think. does anyone have a working strava integration please

This integration works fine for me: https://github.com/craibo/ha_strava

2 Likes

Hi All,
Thanks for the mention @Fleshi

I have fixed the dependencies and I’m actively using the integration. So it has support for any issues raised.

Please note when using it that the domain on Strava needs to be set to: my.home-assistant.io

3 Likes

finally had some time to look at this and all working, thanks a lot

to @Fleshi too :+1:

1 Like

hi - i have just come across an issue i think. when i try to use the slider to adjust the number of concurrent activities i get “unknown error occured”

log says

1 Like

Hi,
I’ve installed this and with some fiddling got it to work.
Love it!

I see the title of the activities has the date at the beginning. How could I create a sensor to show the weekly distance ran?
I guess the sensors (sensor.strava_0_0 shows up as DD/MM time) would first need to be converted to a date (DD/MM/YYYY) then some kind of calc to add the distances if it’s within the start and end date of that week.

This is totally beyond my knowledge so any pointers would be helpful.

Thanks