Create "Jukebox" Dashboard with Album Art for Echo or Sonos Devices

Hi James,

2 questions. Hope you can help answer.

  1. Will the rules that I created a while back work when Smartthings completely move away from Groovy? Will play preset numbers stay after Smartthings migration? If yes, how are we going to find out the preset number if IDE web site is gone? If not, is there any solution?

  2. Can we create rules to interact with Home Assistant Media Browser? As you know that all Sonos favorites are stored in Home Assistant Media Browser. I wonder if we can create similar rule to activate a Sonos favorites or playlists in Home Assistant Media. If the answer is “No”, will you and Josh have plans to implement this feature?

Thanks

Hi James or Josh,

Can you please help answer the below 2 questions?

Hi James,

2 questions. Hope you can help answer.

  1. Will the rules that I created a while back work when Smartthings completely move away from Groovy? Will play preset numbers stay after Smartthings migration? If not, is there any solution?

  2. Can we create rules to interact with Home Assistant Media Containers in browser? As you know that all Sonos favorites are stored in Home Assistant Media containers. I wonder if we can create similar rule to activate a Sonos favorites or playlists in Home Assistant Media. If the answer is “No”, will you guys have plans to implement this feature?

Thanks

It depends on how SmartThings handles the transition of the Sonos device DTH to Driver. If they maintain the same set of capabilities and commands, like they have for many devices, then yes.

Yes, you can control media players from Home Assistant in SharpTools Rules. I hadn’t personally tried to mimic this ‘jukebox’ playlist control, but from a quick test I was able to add Sonos or Spotify items to ‘My Sonos’, then when I was playing that item I could review the Home Assistant ‘Developer Tools’ → ‘States’ where I could see the media_playlist attribute.

Then if I took that attribute value and used it in a playPreset() command, it would start that ‘My Sonos’ favorite playing…

1 Like

Oh, thanks so much! I really appreciated that you showed me exactly how to tie the preset in Home Assistant to SharpTools. Thanks so much. Now, I can forget about smartthings migration away from Groovy. Now, I am so so relieved.

1 Like

Where do i go to get the “Get the preset number from the device page in SmartThings IDE site” for the Sonos playlist?
I want to add a few statations.
Thanks

With SmartThings in the process of shutting down the IDE, I would just complete a fresh sync of your devices by going through the authorization flow again from your SharpTools User Page → Manage Connections.

Once that’s done, you can view the device’s details by tapping the ... next to your location on your SharpTools User Page, then scroll down and tap on your device, then scroll down to view the presets attribute.