Hi everybody,
I have been trying to setup my openHAB instance with the Sonos binding and have it running for basic cases (like sending start and stop commands, mute/unmute, next/previous etc.). This works even through an OpenWRT box that is not configured as a switch between those two subnets for security reasons but as a router - I intend to write a post about howto configure Upnp multicast routing to make this work as soon as I have resolved my current issues.
However, I am so far unable to make the more advanced commands work with the Sonos binding, such as playing a specific track or starting a radio stream. What is the expected format for the "radio" command? One of my items is currently defined as
String Sonos_Bath_playradio "Sonos Bad Radiostation ein" (Sonos_Upnp) {sonos=">[bath:radio]"}
and I have tried sending strings to this item with sendCommand in a rule, e.g. "
icecast.omroep.nl/radio2-sb-mp3" and "x-rincon-mp3radio://
icecast.omroep.nl/radio2-sb-mp3". I have also tried sending plaintext strings of the radio stations as I see them in the Sonos controller in my favorites list. None of those seem to work.
So if anybody has it running successfully, I would very much appreciate examples of how to use e.g. the "radio" and "playlist" commands in rules or otherwise (and any more complex examples you wish to share, e.g. direct streaming of TTS from openHAB to Sonos, which is still on my would-like-to-have list).
Rene