I’ve been playing with Habpanel widgets to create a Dashboard for Sonos. Attached are 3 widgets which link to my Sonos system of 7 rooms. All are extensively reworked from other people’s versions for similar things and I’m no expert at coding so I’m quite sure they can be improved on!
There are three widgets:
SonosControlWithArt shows AlbumArt and does player controls and volume
SonosControlWithArt.widget (2).json (10.1 KB)
SonosAlbumSelect shows 8 slots which link to Sonos favourite playlists (or stations etc) with a link to png for Album cover
SonosAlbumSelect.widget (1).json (7.0 KB)
SonosSystemVolume groups different speakers (I use the one called SN_DiningRoom as a master) and controls the volume. The top right master one runs buttons called Chill and Loud which run rules which set all speakers to a pre-determined volume for background music and party mode. This one is a bit more complicated and I can post more detailed instructions if helpful to people!
SonosSystemVolume.widget (2).json (18.3 KB)
Hopefully of use to someone - improvements and code tips helpful as learnt from scratch through copying and guesswork!!