The Is in Device List? false setting is expected, as Sonos devices do not appear in the Spotify Web API player device list (they are considered “restricted”).
You can also just switch to the Devices section, and click on the Oefenzaal raam + 2 entry to transfer playback to that device; you should then be able to click on play button.
Were you able to create the Sonos authorization token from the OAuth2 Token for TokenType=Authorization_Code Devices instructions (using the AuthTokenGenerator.py python script)? I know you were working on that previously. If so, did you add the generated token to the <config>/.storage/spotifyplus_tokens.json file location?
@Faecon
Yes - just unselect the “Devices” entry in the SpotifyPlus Card configuration General \ Card Sections to Enable selection; that will hide the devices section.
At this point, I just want you to be able to select the device and make sure it starts playing; then you can hide the devices section once you have that working.
Did you switch to the Devices section, and click on the Oefenzaal raam + 2 entry to transfer playback to that device? you should then be able to click on play button.
What do you have specified in your SpotifyPlus integration configuration options for the Spotify Connect Device LoginId value? That value should match what you have specified in the /homeassistant/.storage/spotifyplus_tokens.json file for the SpotifyWebApiAuthCodePkce/65b708073fc0480ea92a077233ca87bd/[YOUR_LOGINID_VALUE] token key.
Hi! Great card and control - TY! Can you help me find why I’m missing controls and anything other than what you see? I believe I have everything set to display and no hiding.
@Grendelkid
It appears you are using a Spotify Free account with the integration; player control requires a Spotify Premium account (Spotify rules, not mine). This include player deck controls (pause, resume, skip next / prev, shuffle, repeat, volume up / down / mute) as well as starting play of tracks / context. You basically have to control the player on a Spotify mobile / desktop / web player.
The only things you can do with a Free account with SpotifyPlus are manage your favorites, and search for / display Spotify catalog information.
@SeppelM83
Are you upgrading both the SpotifyPlus Integration (v1.0.89 is latest), as well as the SpotifyPlus Card (v1.0.34 is latest)? They are 2 separate components. I’m thinking you may have the latest integration version, but not the latest card version.
The SpotifyPlus Card version is only displayed in the browser debugging tools screen (for Chrome browser, press F12). In the screen capture below, I have v1.0.35 installed, but it has not been released yet - current release is v1.0.34.
The following is what I tested, and works for me …
I then click on the “Section Filter, Ninjago Playlists” userpreset, which then displays the “Playlist Favorites” section and filters the list to “Ninjago” entries.
You are the best! It works now!! Great work!!!
One last question. Is there an easy way to get i.e. a spotify Ninjago Image as cover in the preset view?
@SeppelM83
You can save a custom image to your Home Assistant www folder and reference it in the userPreset image_url: attribute using the /local/ ... prefix. Note that HA replaces the local/ with www/ when searching for the image (it’s an HA thing; weird, but it works).
example - assumes you have the image stored in <config>/www/images/spotifyplus/my_custom_image.jpg
Basically everything works now! What I tried is to filter for the album name. That would be the easiest way for filtering because it already exists in Spotify in the most cases. Here one example:
If I chose the preset “Garde der Löwen” it would be cool if all playlists with this album name are shown. As I understand, currently only the song name ist relavant for your preset type, isn’t it?