![]() I believe that it’s a bit more difficult to get it to work on an Echo. Unfortunately, I do not own an Echo myself, so I did not test this on an Amazon Echo. I use a Chromecast Audio in this example, but I’ve also tested it on a Google Home Speaker. Now that Spotify and the Spotcast integrations are installed, let’s test if we can play a Spotify playlist through one of our smart speakers. Click restart, and Spotcast is now also installed.Go back to the inspector of the browser.We’re going to do the same for the sp_key. Paste that code after sp_dc: with Ctrl-V.Go back to the secrets.yaml file in Home Assistant.And you see that I have a sp_key here and I have an sp_dc here.We’re going to application, cookies,.Click on new incognito window and we are going to. For that we’re going to open a new incognito browser window, so we’re going to the three dots over here. And now we have to retrieve these two values. So go to secrets.yaml.Īdd these two lines sp_dc: and sp_key. So we have to add them in the secrets.yaml. Click on configuration.yaml and add the following code: # Spotcast settings #Īnd as you can see, there are two codes here sp_dc and sp_key, and they are both secrets. Now go to Studio code server and here you see all the files that are on your Home Assistant server. Now we have to add some code to the configuration.yaml, and for that it’s handy that we have Studio code server installed. Now reboot Home Assistant by going to Settings, System, Restart.Go to Explore and Download Repositories.To install Spotcast, we are going to HACS.To make it work easily with the media player, we have to install the Spotcast integration using HACS. The Spotify integration is now installed. Let’s say office in my case.Īnd now Spotify is installed in Home Assistant Install Spotcast Click on link account, and you can select an area if you want.Now give this a name, for instance my Spotify, and paste the client ID and client secrets that you copied to your text file.Click on ADD integration and search for Spotify.Now click on show client secrets and copy the client ID and client secret to a text file.Now click on edit settings, and add a redirect URI.Now go to create an app give the app a name.Then go to the dashboard and log in, and if you’re not having an account then sign up for a free Spotify account first.To install Spotify in Home Assistant go to the Spotify developers page that is on.Let’s start with installing the Spotify integration in Home Assistant now. If you do not have HACS installed yet, I created this easy-to-follow video on how to do that. For this, you need to have HACS installed. The second integration is a HACS integration called Spotcast. The first integration is the Spotify integration in Home Assistant. How to set up Spotify in Home Assistantīefore we can start with the media player, we have to make sure that Spotify works in Home Assistant.The topics that I will cover in this video are: And even if you find it difficult, you can download the code I used in this video via the link in the description of this video below. It’s really not that difficult to set up this Spotify player. ![]() This way, you make sure that I can keep creating these videos for you! Yes, you hear that correctly, you can use this player with a free Spotify account! You can also use Music Assistant in Home Assistant to play music, but I wanted to have a music player that looks sexier and that I can add easily to my dashboard.īut, before we start, please subscribe to my channel and hit the thumbs-up button for this video. If you combine both videos, you can create one media player that plays your favorite Radio stations and Spotify playlists on your smart speakers in your home like this! And you don’t even need to have a Spotify Premium account for this! So, here you have it! This video explains how to set up this AMAZING Spotify media player on your dashboard. A lot of people asked me if I could show how to do the same for Spotify. Last week, I created this video that shows how you can create an AWESOME Radio Player on your dashboard in Home Assistant. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |