Re: SONOS Plugin Official (download here)
Posted: Fri Mar 28, 2014 10:51 pm
I see the UnGroup action, but I don't see a Group action. Is that coming in a future release?

Was looking for troubleshooting tips and found out the first thing to do was to restart all devices, that fixed the errors.techoguy wrote:Hi Telorast,
Can you double check that EG is allowed in your firewall? A quick way to do this is to disable your firewall and restart EG (not just the plugin, but EG).
Some other questions, do you have 2 or more active LAN ports on your PC?
What OS are you running?
Do you get different results if you restart EG vs restarting the plugin?
Do you get different results if you restart your PC?
do you have the ability to use Wireshark to see if the MSEARCH broadcast is actually sending?
As for events when you are connecting and disconnecting SONOS, how are you testing this? Is it during a time when the plugin does find your SONOS ZPs? How much time are you waiting between testing this? SONOS can take some time before realizing a player has been disconnecting.
And lastly, how many ZPs do you have and what are they?
If possible, can you also enable your time in the log output from the EG settings and then copy and paste the log into this window using the code tags? it will make it much easier to read and debug.
Code: Select all
08:10:03 --- EVENT Received --- ZoneGroupTopology from BRIDGE
08:10:03 RINCON_B8E93751634201400 192.168.0.130 Bathroom :coordinator -uuid:RINCON_B8E93751634201400_sub0000000028-
08:10:03 RINCON_B8E9371800D601400 192.168.0.129 BRIDGE (Invisible) :coordinator --
08:10:16 Main.EventGhost.Speakers.On
08:10:16 Speakers On
08:10:16 TellStickDuo.Speakers.ON u"selflearning-switch:gao.6"
08:10:48 --- EVENT Received --- ZoneGroupTopology from BRIDGE
08:10:48 RINCON_000E58B9705D01400 192.168.0.150 Living Room :coordinator -uuid:RINCON_000E58B9705D01400_sub0000000015-
08:10:48 RINCON_B8E93751634201400 192.168.0.130 Bathroom :coordinator -uuid:RINCON_B8E93751634201400_sub0000000028-
08:10:48 RINCON_B8E9371800D601400 192.168.0.129 BRIDGE (Invisible) :coordinator --Code: Select all
08:21:50 SONOS.NewZonePlayerAdded '192.168.0.130-RINCON_B8E93751634201400'
08:21:50 SONOS.NewZonePlayerAdded '192.168.0.129-RINCON_B8E9371800D601400'
08:21:50 SONOS.NewZonePlayerAdded '192.168.0.150-RINCON_000E58B9705D01400'When you are testing this, i'm assuming you have all 3 ZPs powered up and connected then you disconnect (power down) one of the ZPs (Kitchen) then power it back up?I still have one problem, there is no event generated when a new speaker is discovered:
This appears to be an issue with the PlayBar. I don't have one currently setup to test. The error that is received is saying that the arguements provided or incorrect. This tells me that the PlayBar must require a different request or variables to select it's input vs all the other ZPs. I will have to see if i can get my hands on a PlayBar and test this to see what commands it needs.There seems to be a problem with the PlayLineIn function. I'm trying to set my Playbar to play it's own Line In
Code: Select all
No. Time Source Destination Protocol Length Info
3738 18.427933000 192.168.1.5 192.168.1.8 HTTP/XML 664 POST /MediaRenderer/AVTransport/Control HTTP/1.1
Frame 3738: 664 bytes on wire (5312 bits), 664 bytes captured (5312 bits) on interface 0
Ethernet II, Src: IntelCor_8c:72:b5 (00:19:d1:8c:72:b5), Dst: Sonos_b0:c2:08 (00:0e:58:b0:c2:08)
Internet Protocol Version 4, Src: 192.168.1.5 (192.168.1.5), Dst: 192.168.1.8 (192.168.1.8)
Transmission Control Protocol, Src Port: 52647 (52647), Dst Port: cadkey-tablet (1400), Seq: 1, Ack: 1, Len: 610
Source port: 52647 (52647)
Destination port: cadkey-tablet (1400)
[Stream index: 39]
Sequence number: 1 (relative sequence number)
[Next sequence number: 611 (relative sequence number)]
Acknowledgment number: 1 (relative ack number)
Header length: 20 bytes
Flags: 0x018 (PSH, ACK)
000. .... .... = Reserved: Not set
...0 .... .... = Nonce: Not set
.... 0... .... = Congestion Window Reduced (CWR): Not set
.... .0.. .... = ECN-Echo: Not set
.... ..0. .... = Urgent: Not set
.... ...1 .... = Acknowledgment: Set
.... .... 1... = Push: Set
.... .... .0.. = Reset: Not set
.... .... ..0. = Syn: Not set
.... .... ...0 = Fin: Not set
Window size value: 16425
[Calculated window size: 65700]
[Window size scaling factor: 4]
Checksum: 0x85da [validation disabled]
[Good Checksum: False]
[Bad Checksum: False]
[SEQ/ACK analysis]
[Bytes in flight: 610]
Hypertext Transfer Protocol
POST /MediaRenderer/AVTransport/Control HTTP/1.1\r\n
[Expert Info (Chat/Sequence): POST /MediaRenderer/AVTransport/Control HTTP/1.1\r\n]
[Message: POST /MediaRenderer/AVTransport/Control HTTP/1.1\r\n]
[Severity level: Chat]
[Group: Sequence]
Request Method: POST
Request URI: /MediaRenderer/AVTransport/Control
Request Version: HTTP/1.1
CONNECTION: close\r\n
ACCEPT-ENCODING: gzip\r\n
HOST: 192.168.1.8:1400\r\n
USER-AGENT: Linux UPnP/1.0 Sonos/26.1-76020 (WDCR:Microsoft Windows NT 6.2.9200.0)\r\n
CONTENT-LENGTH: 272\r\n
[Content length: 272]
CONTENT-TYPE: text/xml; charset="utf-8"\r\n
SOAPACTION: "urn:schemas-upnp-org:service:AVTransport:1#GetPositionInfo"\r\n
\r\n
[Full request URI: http://192.168.1.8:1400/MediaRenderer/AVTransport/Control]
[HTTP request 1/1]
[Response in frame: 3829]
eXtensible Markup Language
<s:Envelope
xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"
s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:GetPositionInfo
xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">
<InstanceID>
0
</InstanceID>
</u:GetPositionInfo>
</s:Body>
</s:Envelope>
No. Time Source Destination Protocol Length Info
3834 18.456044000 192.168.1.5 192.168.1.8 HTTP/XML 664 POST /MediaRenderer/AVTransport/Control HTTP/1.1
Frame 3834: 664 bytes on wire (5312 bits), 664 bytes captured (5312 bits) on interface 0
Ethernet II, Src: IntelCor_8c:72:b5 (00:19:d1:8c:72:b5), Dst: Sonos_b0:c2:08 (00:0e:58:b0:c2:08)
Internet Protocol Version 4, Src: 192.168.1.5 (192.168.1.5), Dst: 192.168.1.8 (192.168.1.8)
Transmission Control Protocol, Src Port: 52648 (52648), Dst Port: cadkey-tablet (1400), Seq: 1, Ack: 1, Len: 610
Source port: 52648 (52648)
Destination port: cadkey-tablet (1400)
[Stream index: 40]
Sequence number: 1 (relative sequence number)
[Next sequence number: 611 (relative sequence number)]
Acknowledgment number: 1 (relative ack number)
Header length: 20 bytes
Flags: 0x018 (PSH, ACK)
000. .... .... = Reserved: Not set
...0 .... .... = Nonce: Not set
.... 0... .... = Congestion Window Reduced (CWR): Not set
.... .0.. .... = ECN-Echo: Not set
.... ..0. .... = Urgent: Not set
.... ...1 .... = Acknowledgment: Set
.... .... 1... = Push: Set
.... .... .0.. = Reset: Not set
.... .... ..0. = Syn: Not set
.... .... ...0 = Fin: Not set
Window size value: 16425
[Calculated window size: 65700]
[Window size scaling factor: 4]
Checksum: 0x85da [validation disabled]
[Good Checksum: False]
[Bad Checksum: False]
[SEQ/ACK analysis]
[Bytes in flight: 610]
Hypertext Transfer Protocol
POST /MediaRenderer/AVTransport/Control HTTP/1.1\r\n
[Expert Info (Chat/Sequence): POST /MediaRenderer/AVTransport/Control HTTP/1.1\r\n]
[Message: POST /MediaRenderer/AVTransport/Control HTTP/1.1\r\n]
[Severity level: Chat]
[Group: Sequence]
Request Method: POST
Request URI: /MediaRenderer/AVTransport/Control
Request Version: HTTP/1.1
CONNECTION: close\r\n
ACCEPT-ENCODING: gzip\r\n
HOST: 192.168.1.8:1400\r\n
USER-AGENT: Linux UPnP/1.0 Sonos/26.1-76020 (WDCR:Microsoft Windows NT 6.2.9200.0)\r\n
CONTENT-LENGTH: 272\r\n
[Content length: 272]
CONTENT-TYPE: text/xml; charset="utf-8"\r\n
SOAPACTION: "urn:schemas-upnp-org:service:AVTransport:1#GetPositionInfo"\r\n
\r\n
[Full request URI: http://192.168.1.8:1400/MediaRenderer/AVTransport/Control]
[HTTP request 1/1]
[Response in frame: 3846]
eXtensible Markup Language
<s:Envelope
xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"
s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:GetPositionInfo
xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">
<InstanceID>
0
</InstanceID>
</u:GetPositionInfo>
</s:Body>
</s:Envelope>
No. Time Source Destination Protocol Length Info
3969 18.900802000 192.168.1.5 192.168.1.8 HTTP/XML 664 POST /MediaRenderer/AVTransport/Control HTTP/1.1
Frame 3969: 664 bytes on wire (5312 bits), 664 bytes captured (5312 bits) on interface 0
Ethernet II, Src: IntelCor_8c:72:b5 (00:19:d1:8c:72:b5), Dst: Sonos_b0:c2:08 (00:0e:58:b0:c2:08)
Internet Protocol Version 4, Src: 192.168.1.5 (192.168.1.5), Dst: 192.168.1.8 (192.168.1.8)
Transmission Control Protocol, Src Port: 52649 (52649), Dst Port: cadkey-tablet (1400), Seq: 1, Ack: 1, Len: 610
Source port: 52649 (52649)
Destination port: cadkey-tablet (1400)
[Stream index: 44]
Sequence number: 1 (relative sequence number)
[Next sequence number: 611 (relative sequence number)]
Acknowledgment number: 1 (relative ack number)
Header length: 20 bytes
Flags: 0x018 (PSH, ACK)
000. .... .... = Reserved: Not set
...0 .... .... = Nonce: Not set
.... 0... .... = Congestion Window Reduced (CWR): Not set
.... .0.. .... = ECN-Echo: Not set
.... ..0. .... = Urgent: Not set
.... ...1 .... = Acknowledgment: Set
.... .... 1... = Push: Set
.... .... .0.. = Reset: Not set
.... .... ..0. = Syn: Not set
.... .... ...0 = Fin: Not set
Window size value: 16425
[Calculated window size: 65700]
[Window size scaling factor: 4]
Checksum: 0x85da [validation disabled]
[Good Checksum: False]
[Bad Checksum: False]
[SEQ/ACK analysis]
[Bytes in flight: 610]
Hypertext Transfer Protocol
POST /MediaRenderer/AVTransport/Control HTTP/1.1\r\n
[Expert Info (Chat/Sequence): POST /MediaRenderer/AVTransport/Control HTTP/1.1\r\n]
[Message: POST /MediaRenderer/AVTransport/Control HTTP/1.1\r\n]
[Severity level: Chat]
[Group: Sequence]
Request Method: POST
Request URI: /MediaRenderer/AVTransport/Control
Request Version: HTTP/1.1
CONNECTION: close\r\n
ACCEPT-ENCODING: gzip\r\n
HOST: 192.168.1.8:1400\r\n
USER-AGENT: Linux UPnP/1.0 Sonos/26.1-76020 (WDCR:Microsoft Windows NT 6.2.9200.0)\r\n
CONTENT-LENGTH: 272\r\n
[Content length: 272]
CONTENT-TYPE: text/xml; charset="utf-8"\r\n
SOAPACTION: "urn:schemas-upnp-org:service:AVTransport:1#GetPositionInfo"\r\n
\r\n
[Full request URI: http://192.168.1.8:1400/MediaRenderer/AVTransport/Control]
[HTTP request 1/1]
[Response in frame: 3971]
eXtensible Markup Language
<s:Envelope
xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"
s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:GetPositionInfo
xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">
<InstanceID>
0
</InstanceID>
</u:GetPositionInfo>
</s:Body>
</s:Envelope>
Actually, the playbar input shows up as a separate option labeled "TV" in the Sonos App. There is no Line In option for it.techoguy wrote:Can you try again and let me know what process you did within the SONOS app as well, for example, selected your group with a play5 and selected Aux input in the audio choices then selected the playbar? Also can you validate that in the SONOS app that the playbar shows up as an Aux input option?