I have Sonos speakers and i control the speakers by openhab. The control of a single speaker works fine, but i can’t group the speaker. I’ve try it like descripted in the manual, but it will not work.
Items:
Player EgKu_SonosPlay1_Control "ZSonos EgKu Control" <soundvolume> {channel="sonos:PLAY1:RINCON_000E58C3AC7401400:control"}
String EgKu_SonosPlay1_RadioStation "ZSonos EgKu RadioStation" <soundvolume> {channel="sonos:PLAY1:RINCON_000E58C3AC7401400:radio"}
Dimmer EgKu_SonosPlay1_Volume "ZSonos EgKu Volume" <soundvolume> {channel="sonos:PLAY1:RINCON_000E58C3AC7401400:volume"}
Switch EgKu_SonosPlay1_StandAlone "ZSonos EgKu StandAlone" <soundvolume> {channel="sonos:PLAY1:RINCON_000E58C3AC7401400:standalone"}
String EgKu_SonosPlay1_Add "ZSonos EgKu Add" <soundvolume> {channel="sonos:PLAY1:RINCON_000E58C3AC7401400:add"}
Player EgEz_SonosPlay5_Control "ZSonos EgEz Control" <soundvolume> {channel="sonos:PLAY5:RINCON_000E588374EC01400:control"}
String EgEz_SonosPlay5_RadioStation "ZSonos EgEz RadioStation" <soundvolume> {channel="sonos:PLAY5:RINCON_000E588374EC01400:radio"}
Dimmer EgEz_SonosPlay5_Volume "ZSonos EgEz Volume" <soundvolume> {channel="sonos:PLAY5:RINCON_000E588374EC01400:volume"}
Switch EgEz_SonosPlay5_StandAlone "ZSonos EgEz StandAlone" <soundvolume> {channel="sonos:PLAY5:RINCON_000E588374EC01400:standalone"}
String EgEz_SonosPlay5_Add "ZSonos EgEz Add" <soundvolume> {channel="sonos:PLAY5:RINCON_000E588374EC01400:add"}
Rule to group two speakers, but doesn’t work:
rule "Button Sonos Kueche"
when
Item EgKuSonosButton received command
then
if (receivedCommand == 2)
{
sendCommand(EgKu_SonosPlay1_Add, "Esszimmer")
sendTelegram("MobileMarcel", "Sonos EG ein")
}
end
Sonos App:
No Error in the logfile:
The rule is called … the telegram in the rule works fine. but the group doesn’ work.
when i open the sonos app, the speakers “küche” & “esszimmer” are not grouped.
Have anyone an idea what’s the problem with group the speakers?