Dashboard: Sonos card

@PunxsutawneyPhil Hi, I am using your card with great pleasure on a daily base. Thanks.

Today I updated HA to 2023.12.0 and I use Sonos Card 6.13.2. After the upgrade the Sonos Card doesn’t work anymore. A blank screen and the pressing the options buttons doesn’t change the screen (although it seems not to change) How can this be solved?

Something seems to change, but not all is visible.

Yes, there’s some bug there. I’ve pulled back the release now. Please download the latest (6.11.3) again.

Does this fit into the same bug? Info doesn’t fit nicely in the card as it did previously, rather it spans across much longer.

Please file a bug on GitHub

Thanks for solving with release 6.13.7

1 Like

Hello, in fact this does NOT work for me for my favourites that are on my local library.
I have a local music library, whose Sonos favorites show well in the ios (or Mac) app but do not show in this card in HA… I only see the favorites linked to spotify playlists.
thanks!

I’ll look into it. Same issue as this one? Ignore Titles in new media bowser · johanfrick/custom-sonos-card · Discussion #239 · GitHub

@raglandan - Did you find a way of doing this? I’m looking to try and do something the same. Have tried using CardMod, but I’m no expert with that and have failed misserably even after many attempts! lol

@PunxsutawneyPhil - Thanks for all your work on this. Is there anyway to change the artwork size in the player? As above I have tried with CardMod but failed

Is your Sonos integration working well in the ha built in media browser?
http://homeassistant.local/media-browser/browser

Lot’s of different examples in these links on how to use card mod:


PunxaPhil
image

thanks for the (double) feedback !

re: your question if it is same issue as “Ignore Titles in new media browser: …” yes from what I understand I have same issue, my local media Sonos favorites do not show in the card, just those that are connected to Spotify account

re: your question if Sonos integration works well in the built in media browser: yes it does as far as I can tell. However, same issue, I do not see local favorites in this built in media browser but only those connected to Spotify

Sorry if my answers are very basic. Basic user here :slight_smile:

Alright, yeah, then there is nothing we can fix in this card. Make sure it works in the built in media browser. This card is just mirroring those features.

1 Like

Is there a way to hide some of the favorites? The newly added hide browsemediabutton was a very nice addition for the cards on my kids’ dashboards for their rooms, but before I add more playlists from Plex into Sonos, I’d like to be able to hide some of those playlists from my kids’ cards.

@thewolf56 It’s in the documentation:

mediaBrowserTitlesToIgnore:
  - My Playlist
1 Like

Great! Thanks. I don’t know how I missed that when I read through and reordered the top playlists. It was right before that…

First, I want to say thanks for the work on this card. It makes life so much easier for my wife and oldest kid for controlling the speakers in the kids rooms.

I read through the documentation again before asking (so I apologize if I missed it again), but is there a way to block sources (such as “DLNA Servers” or “Radio Browser”) or specific artists if Browse Media is left on? I’d like to give me oldest kid the ability to browse only through my Plex account, but with limitations. At home, she has her own managed user Plex login with appropriate restrictions on TV, Movies, and Music and would like to allow her the same type of freedom with her Sonos in her room.

I’m using this card for a while now. Pretty basic, but since it is holiday time I wanted to make it a bit more stylish. I have a wall tablet based on Android 12 (nPad plus) and an iPhone on iOS 17.2.1 which shows a different experience compared to my Windows 11 device.

For example:

type: custom:sonos-card
sections:
  - grouping
mediaBrowserItemsPerRow: 4
widthPercentage: 100
showVolumeUpAndDownButtons: false
entities:
  - media_player.eetkamer
  - media_player.woonkamer
  - media_player.veranda
  - media_player.slaapkamer
predefinedGroups:
  - name: Woon + Eet
    media: ''
    entities:
      - player: media_player.woonkamer
        volume: 12
      - player: media_player.eetkamer
        volume: 12
  - name: Woon + Eet + Veranda
    media: ''
    entities:
      - player: media_player.eetkamer
        volume: 12      
      - player: media_player.woonkamer
        volume: 12      
      - player: media_player.veranda
        volume: 12      

The above code hides my squeezeLite devices on my Windows 11 system, or to be more accurate, it only shows my 4 sonos players.

On both my iphone as android it keeps showing the SqueezeLite devices.

The same goes for the Media Browser, i’ve hidden a couple of sources, and this works perfectly fine on my Windows 11 device, but on both the iphone as android they keep showing. This is the code:

type: custom:sonos-card
sections:
  - player
  - media browser
widthPercentage: 100
mediaArtworkOverrides:
  - mediaTitleEquals: TV
    imageUrl: https://cdn-icons-png.flaticon.com/512/716/716429.png
    sizePercentage: 40
mediaBrowserTitlesToIgnore:
  - Reolink
  - My media
  - Frigate
topFavorites:
  - 360 Dance
  - Techno Bunker
mediaBrowserItemsPerRow: 1
showVolumeUpAndDownButtons: true
mediaBrowserShowTitleForThumbnailIcons: true
numberOfFavoritesToShow: 5

I’m on card 6.14.3. On 2023.12.3 HA.

Quite a few different moving parts there. Could you please report each issue separately on Github? :pray:

1 Like