Good morning,
I am really enjoying the Sonos plugin with my Vera Edge. I would like to ask a few questions about the Say facility.
I’d like to get a definitive understanding of the relationship between GroupZones and Device ID (the last parameter you pass).
If I have some Sonos speakers, where Zone “Study” is Vera device 4 and Zone “Kitchen” is Vera device 5 and I use Say with GroupZones=“Study,Kitchen” and the last parameter being 4, then I get sound only in the Study.
If I make the last parameter 5, then I get sound in both the Study and the Kitchen.
If I change the order of GroupZones to be “Kitchen,Study” and leave the last parameter as 5, then sound is heard in both Zones… if I change the last parameter back to 4, sound is only heard in the Study again.
Is there a way of sending a Say command to multiple Sonos speakers by just using GroupZones and ignoring the last device ID parameter? I tried -1, 0 and nil but nothing resulted in anything being heard.
If GroupZones has a number of Zones listed, it’s seeming like the last parameter has to be the highest device ID of any Zone listed? In my case, if the Zones refer to Sonos devices 4 and 5, as long as my last parameter is 5 I get sound in both Zones, if it’s 4 then I get sound only in the Study, regardless of what’s listed in GroupZones and whether the Zone that relates to device 5 is listed or not.
If I am missing something very obvious, please tell me.
This plays sound only in the Study (4):
[font=courier]luup.call_action (“urn:micasaverde-com:serviceId:Sonos1”,“Say”,{Text=“Zones Test”,Language=“en”,Volume=40,SameVolumeForAll=“true”,GroupZones=“Study,Kitchen”},4)[/font]
This plays sound in Study (4) and Kitchen (5):
[font=courier]luup.call_action (“urn:micasaverde-com:serviceId:Sonos1”,“Say”,{Text=“Zones Test”,Language=“en”,Volume=40,SameVolumeForAll=“true”,GroupZones=“Study,Kitchen”},5)[/font]
This plays sound only in the Study (4):
[font=courier]luup.call_action (“urn:micasaverde-com:serviceId:Sonos1”,“Say”,{Text=“Zones Test”,Language=“en”,Volume=40,SameVolumeForAll=“true”,GroupZones=“Kitchen,Study”},4)[/font]
This plays sound in Study (4) and Kitchen (5):
[font=courier]luup.call_action (“urn:micasaverde-com:serviceId:Sonos1”,“Say”,{Text=“Zones Test”,Language=“en”,Volume=40,SameVolumeForAll=“true”,GroupZones=“Kitchen,Study”},5)[/font]