codingcyclist / ha_strava

Pipe your Activity Data from Strava directly into Home Assistant
MIT License
76 stars 29 forks source link

Adding the Strava Home Assistant Integration #11

Closed lvfh3078 closed 3 years ago

lvfh3078 commented 3 years ago

Unable to add the Strava Home Assistant Integration.

When trying to install, I get the following message:

"Please wait while the integration is being installed"

The message appears for a while and the integration doesn't install.

remco1985 commented 3 years ago

I did have the same issue as you're having. I did try a couple things before I got it resolved and I do think in the end the problem was that my external URL for the Home Assistant installation was not set. I thought it was set in the configuration.yaml file however this was changed in an earlier release to the GUI.

Can you check if you have your external URL set via Settings - General - and than at the bottom of the page.

codingcyclist commented 3 years ago

@alasdairnott let me know if configuring the external URL works for you as a solution - otherwise I'll look into this in more detail

lvfh3078 commented 3 years ago

Thanks for getting back to me.

Unfortunately, adding my external URL in Configuration - General did not resolve the issue.

lvfh3078 commented 3 years ago

Is there any way I can add the integration in the configuration.yaml file?

codingcyclist commented 3 years ago

@alasdairnott unfortunately, there is no way to install the integration via configuration.yaml (configuration.yaml-based installation will soon be deprecated: https://www.home-assistant.io/blog/2020/04/14/the-future-of-yaml/).

To further diagnose the problem you're experiencing, could you share some of the logs?

codingcyclist commented 3 years ago

@alasdairnott Please try again. I just made a light change to automatically remove any leading and trailing whitespace from the client_id and client_secret when you enter those credentials during the first step of the configuration wizard. Maybe the whitespace was causing troubles in your case as id also did in other cases

nmclain31 commented 3 years ago

I'm having this same issue. Did you ever solve this @alasdairnott ? Nothing in my log files.

weber8thomas commented 3 years ago

Same issue here. I checked multiple times my external URL, removed and reinstalled your extension in HACS, restart many times and still the infinite loading. I also looked at my log files and nothing.