Hi Karel,
Thanks for your answer and help.
Yes, all radio stations are in sonos list of "favorite radios"
Got it working with the changes below, however not sure what the problem was.
However it looks like there is a problem with some radio stations, not sure why. Perhaps the string displayed for the radio station is not the "real" string.
Is there a way to read the strings from sonos favorite list (web interface or anything else) to check this?
Regards Jens
/* Sonos Radio Station */
rule "Select Sonos Radio Station"
when
Item Sonos_Radio_Station received command
then
switch (receivedCommand)
{
case 0 : {
sendCommand(SO_Living_Station, "NDR N-Joy" )
}
case 1 : {
sendCommand(SO_Living_Station, "BAYERN 3")
}
case 2 : {
sendCommand(SO_Living_Station, "Radio Rivera")
}
case 3 : {
sendCommand(SO_Living_Station, "Radio Vitamine") //does not work with this radio station
//sendCommand(SO_Living_Station, "100 HIT radio") //works with this station
}
}
end