Thanks, I've removed the checkbox marking your post as the "solution", because all it does it get me an attribute I can use to display the album art, not details on how to set it up so it looks like the example image.
I'm already playing around with @tomw's drivers, I'll keep plugging away and see what I can come up with.
Technically it's exactly what your ask for place the attribute above your media player and you have recreated your example. To make it as your media player background, place the attribute tile behind the music player and make the background of the music player transparent (yes, a bit CSS will be involved, I could help you with that).
In that same post somebody says: "...incorporate my sharptools dashboard into hubitat as sharptools makes it easy to have cover art" I haven't use sharptools, but it might be worth looking at?
PS If you manage to get it to work, would you be so kind to share it? I have a sonos too
Unfortunately, as you can see from the difference between the background and the media player detail, the Webhook for the SONOS Buttons setup isn't working
Awesome, it seems you're almost there!
(Probably just a typo but: Tile-0 = Media Player and tile-12 = Album Art)
Do you have multiple speakers? Maybe it has the last state of another sonos?
Is the Album Art changing after a few minutes? or does it change when you skip to the next song? if so it's probably a parameter you need to change.
Maybe @tomw can help you further with why it isn't working..
Thanks @tomwpublic - not sure if you want to continue the discussion here or on the forums thread, but this is my current settings.json:
{
"spotify": {
"clientId": "IKNOWWHOIAM",
"clientSecret": "SHHHHHHHHHHHHHHH"
},
"webhook": "http://:39501"
}
On the hub, I've made sure that the MAC Address is set correctly along with the other settings, however the only time that the AlbumArtwork URI updates is if I click the "refresh" button in the console:
That all seems correct. What environment are you running the node server in?
I think we need to figure out whether the webhook is not being sent or if it is being sent but not properly received.
Please open a Hubitat Logs view in another tab or window. Then change the track on the Sonos side. What shows up in the logs, if anything?
Edit: FYI @proffalken . I think my post snuck in before yours, so just making sure you didn't miss this.
The album art is correct for this device, it's just not automatically updating when the track changes (in this case the artwork is the album cover for the previous track, but unless I refresh it in the device it won't update at all)
Another idea: maybe my advice to use MAC of the server for the DNI was an issue, depending on your networking setup. You could also try IP of server as described here: Sonos Move - #2 by mike.maxwell
I don't see anything in the logs, that's part of the issue, I'm wondering where the settings are within Hubitat to debug the webhook receivers (or if that's even possible!)
The node server is running on a central server that has full access through to the hubitat hub even though they're on different VLANs - a curl to the ip/port for the hubitat hub from the server returns a server 200 status code so that should be fine.