Smart Home

Add Spotify Integration to Home Assistant

Create an app in the Spotify developer dashboard, then add the Spotify integration to Home Assistant using its client ID and secret.

· Updated · 2 min read
Illustration of a music note with sound waves beside a house with connected smart devices

Home Assistant has Spotify Integration readily available from within the default integrations options. You must have a Spotify account in order to enable this integration. If you do not have on head over to Spotify and create an account. If youi already have an account make sure you have your login details to hand.

Lets begin.

1) Create an App within the Spotify Developer Panel

Head over to https://developer.spotify.com/dashboard/applications and login with your Spotify account details.

You should see a screen similar to the below. Click to ‘Create an App’.

Spotify developer dashboard with the Create an App button

Enter an App Name and description if you like. You will also need to confirm you agree to the T’s & C;’s

Click Create.

Spotify app creation form with name, description and terms checkbox

Once the App is create you should be taken to a screen like below. You need to click the ‘Show Client Secret’ text. Take a note of the ‘Client ID’ and the ‘Client Secret’. Its probably easier to just leave this window open as you move to the next steps.

Spotify app overview showing the Client ID and the Show Client Secret link

2. Add the Call Back URL into the Spotify App Settings

In your Spotify App click ‘ Edit Settings’

Spotify app page with the Edit Settings button

Enter the below into the redirect URL field and click Add.

https://my.home-assistant.io/redirect/oauth

When complete don’t forget to click ‘Save’!!

Spotify app settings with the redirect URL field and Save button

3. Enable The Spotify Integrations within Home Assistant

Open a new browser window into Home Assistant (use a new browser window so you don’t close the Spotify developer page).

Go to Settings And Select ‘Devices & Services’

Home Assistant settings page with Devices and Services selected

Search for Spotify and Click on the Spotify Integration

Home Assistant integration search results for Spotify

Enter Spotify for the Name and enter the ‘Client ID’ and ‘Client Secret’ from the Spotify Developer App page.

Home Assistant form for entering the Spotify Client ID and Client Secret

Agree to the Terms and Conditions

Home Assistant Spotify integration terms and conditions prompt

You should now see a ‘Success’ window. Add an area if you like and click ‘finish’.

Home Assistant success message with the Finish button

IanA proven thought leader across multiple IT disciplines, Ian has always had a strong passion for technology and its application in an ever evolving digital world.

Keep reading