saykalik / SamsungSpeakerController

4 stars 1 forks source link

Issue grouping more then 2 speakers #1

Open jccoral opened 6 years ago

jccoral commented 6 years ago

Hi Saykalik,

Did you already try to group more than 2 speakers? I'm trying to integrate my four speaker in node-red. Thanks

saykalik commented 6 years ago

I don't think so. Let me try tonight.

jccoral commented 6 years ago

Moosy sent me some wireshark logs of the commands. I will also check if i can construct a command to manage more than 2 speakers. Will try this week-end

DaveGut commented 6 years ago

I have done three speakers in a group and also (with a soundbar) as a surround group. One delta: The subSpeaker command does not appear necessary. I did not use it for either one. The command is add the two lines (MAC and IP) for each additional speaker.

Be sure to change the number of speakers in the string from 2 to 4.

jccoral commented 6 years ago

Hello DaveGut Thanks for the replay. I've understud my mistake. i sent the command UIC to create a stereo group. That was the reason it was not possible to add a speaker. JCC

DaveGut commented 6 years ago

Has anyone seen a command to play URL's. I know it exists - see below response method captured when the SmartThings app causes a sound to play.

<method>UrlPlayback</method>   
<version>1.0</version     >
<speakerip>192.168.0.122</speakerip>     
<user_identifier></user_identifier>     
<response result="ok">            
     <url>http://s3.amazonaws.com/smartapp-media/sonos/the+mail+has+arrived.mp3</url>
     <buffersize>0</buffersize>            
     <seektime>0</seektime>     
</response>

--