Feature Request: Built-in Sonos integration — request for track details (album art, track length and position, play mode)

Hi Hubitat team,

I use the built-in Sonos integration with a wall-panel dashboard, and it works well for play, pause, skip and volume. The speaker devices don’t expose enough track information to show a proper “now playing” screen, though. Could the following be added as attributes on the Sonos player devices?

Track details

  • Album art: a full address (for example http://<speaker-ip>:1400/getaa?...) rather than a short relative path, so a dashboard can load it directly.
  • Title, artist and album as separate attributes, not only the combined trackDescription.
  • Track length (duration) and current position (elapsed), in seconds.
  • Source / station name (for example the radio station or playlist).

Play mode

  • Shuffle, repeat (off / all / one) and crossfade state.
  • Matching commands to set them would be a bonus: setShuffle, setRepeat, setCrossfade.

Grouping

  • Whether the speaker is grouped, and which speaker is the group coordinator. Commands sent to a non-coordinator speaker in a group don’t take effect.

Several community Sonos drivers already provide most of these, so the speakers clearly report them. Having them in the built-in integration would let dashboards and rules use them without a third-party driver.

Thanks for considering it!