@Jakesa
It appears the latest http://192.168.1.10:8123/
was a step back, and exhibits the same behavior as the https://homeassistant.local:8123/
.
Do you have the homeassistant:
key specified in your configuration.yaml
file? If so, what do you have specified for the internal_url:
value? Your homeassistant:
key should look something like this:
homeassistant:
external_url: 'https://xxxxxxx.duckdns.org'
internal_url: 'http://192.168.1.248:8123'
allowlist_external_dirs:
...
If you DO have an internal_url:
value, then use that value to access your Home Assistant image from your browser of choice. In the example above, I use http://192.168.1.248:8123
to access my HA on the internal network. I also use the Google Chrome browser myself, but any browser should work.
With that said, let’s try adding the HA Application Credentials manually (instead of through the Spotify integration install process).
Use the following:
***** IMPORTANT *****
You will want to clear any previous Application Credentials again, as well as log out of Spotify.
Also restart Home Assistant and clear your browser cache (including files, cookies, and images) prior to executing the following steps.
We are now ready to add Home Assistant Application Credentials for each of the Spotify Developer Applications that were created in Step 2.
Go to the Application Credentials page to list any existing OAuth2 application credentials, as well as define new ones. This is located under Settings \ Devices & Services \ Application Credentials (have to click the 3 dots menu in the upper right corner).
Step 3a - Add Application Credential(s)
Click the Add Application Credentials
button to add a new credential.
Fill in the Credential Form fields (see Figure 3a):
- Integration:
Spotify
(select from dropdown list).
Note - if you don’t see the Spotify
entry in the list, then it denotes that a problem occurred with the integration installation (e.g. failed, HA was not restarted, browser cache was not cleared, etc).
- Name: Enter a name for the credential. I would suggest using “Spotify FIRST LAST” for this value, with FIRST being the Spotify user first name and LAST being the Spotify user last name (e.g. “Spotify John Smith”).
- OAuth client ID: The Spotify Developer App Client ID value for the Spotify User.
- OAuth client secret: The Spotify Developer App Client Secret value for the Spotify User.
- click
Add
to add the credential.
Figure 3a - Home Assistant Application Credentials Form
For multiple Spotify User support, repeat the above step for each of the Spotify Developer Applications that you created. Once you are done, your Application Credentials list should contain all of your Spotify credential entries (see Figure 3b).
Figure 3b - Home Assistant Application Credentials List
If the above worked, then you are now ready to add the Spotify integration. When you add the integration, it should allow yo uto select a pre-existing Application Credential to use with the Spotify instance being installed (assuming the above steps worked to add the credential).