FHEM Forum

FHEM - Anwendungen => Multimedia => Thema gestartet von: Kai-Alfonso am 28 Mai 2015, 10:46:49

Titel: Sonos - State ändert sich nicht nach ausschalten
Beitrag von: Kai-Alfonso am 28 Mai 2015, 10:46:49
Hi,

müsste sich nach einem Ausschalten der Sonos per schaltbarer Steckdose nicht der Status von appeared nach disappeared ändern? Das tut er bei mir nicht - mache ich ein shutdown restart, ist der Sonosplayer dann disappeared

umgekehrt geht es - er geht von Initialized auf appeared
Titel: Antw:Sonos - State ändert sich nicht nach ausschalten
Beitrag von: Reinerlein am 28 Mai 2015, 12:15:10
Hi Kai-Alfonso,

dafür gibt es einen zyklischen Ping-Test im Modul. Dieser versucht den Player zu erreichen, und bei negativer Reaktion den Player auf "disappeared" zu setzen.
Dabei wird im Abstand von Ping-Intervall (die Zahl nach dem Host:Port beim define) eine Prüfung durchgeführt. Schlägt diese Prüfung dreimal hintereinander fehl, dann wird der Player auf "disappeared" gesetzt. Es dauert also ca. 1,5 Minuten, bis das Fhem-Device den Zustand repräsentiert.

Erste Frage dazu: Was steht im Reading "presence"? Manchmal wird dieses nicht korrekt in den State Übertragen.
Wenn dort immer noch "appeared" steht, dann klappt die Prüfung vielleicht nicht korrekt. Setz dann mal den Verbose-Level am Sonos-Device auf 4 und schaue auf der Konsole des Subprozesses (nicht im Fhem-Log) nach, was da so passiert. Notfalls hier posten...

Grüße
Reinerlein
Titel: Antw:Sonos - State ändert sich nicht nach ausschalten
Beitrag von: Kai-Alfonso am 28 Mai 2015, 21:05:39
Hi Jörg

Zitat von: Reinerlein am 28 Mai 2015, 12:15:10
Hi Kai-Alfonso,

dafür gibt es einen zyklischen Ping-Test im Modul. Dieser versucht den Player zu erreichen, und bei negativer Reaktion den Player auf "disappeared" zu setzen.
Dabei wird im Abstand von Ping-Intervall (die Zahl nach dem Host:Port beim define) eine Prüfung durchgeführt. Schlägt diese Prüfung dreimal hintereinander fehl, dann wird der Player auf "disappeared" gesetzt. Es dauert also ca. 1,5 Minuten, bis das Fhem-Device den Zustand repräsentiert.

Also ich habe jetzt 5 Minuten gewartet - keine Änderung des State

Zitat von: Reinerlein am 28 Mai 2015, 12:15:10Erste Frage dazu: Was steht im Reading "presence"? Manchmal wird dieses nicht korrekt in den State Übertragen..

In  presence steht appeared

Zitat von: Reinerlein am 28 Mai 2015, 12:15:10Wenn dort immer noch "appeared" steht, dann klappt die Prüfung vielleicht nicht korrekt. Setz dann mal den Verbose-Level am Sonos-Device auf 4 und schaue auf der Konsole des Subprozesses (nicht im Fhem-Log) nach, was da so passiert. Notfalls hier posten...

Ich hab jetzt mal Verbose auf 4 gesetzt - wo sehe ich denn das Log?

Vielen Dank

Kai
Titel: Antw:Sonos - State ändert sich nicht nach ausschalten
Beitrag von: Reinerlein am 28 Mai 2015, 21:17:34
Hi Kai,

das kommt auf der Konsole raus, also auf STDOUT beim Aufruf von Fhem.
Unter http://www.fhemwiki.de/wiki/SONOS#Fehlersuche (http://www.fhemwiki.de/wiki/SONOS#Fehlersuche) sind ein paar Hinweise dazu, wie man da rankommt...

Grüße
Reiner
Titel: Antw:Sonos - State ändert sich nicht nach ausschalten
Beitrag von: Kai-Alfonso am 28 Mai 2015, 22:05:03
Sorry, ich stand auf dem Schlauch :D

Klar STDOUT Umleitung - habs mal direkt im Startscript gemacht, das es schön im /opt/fhem/log/ aufschlägt

Hier das Log - um ca 22:00:00 hab ich die Steckdosen ausgeschaltet und bis 3 Minuten danach geloggt....

2015.05.28 21:59:05 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E9372F7CDC01400_MR, reading, presence, disappeared) -> appeared
2015.05.28 21:59:11 3: SONOS0: Connection accepted from localhost:53909
2015.05.28 21:59:13 4: SONOS2: IsAlive-Event UDN=RINCON_B8E937DA5BF401400_MR
2015.05.28 21:59:13 4: SONOS2: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, reading, location, ) -> http://192.168.1.154:1400/xml/device_description.xml
2015.05.28 21:59:13 4: SONOS2: 192.168.1.154 is alive
2015.05.28 21:59:13 4: SONOS2: IsAlive-Event UDN=RINCON_B8E9372F7CDC01400_MR
2015.05.28 21:59:13 4: SONOS2: SONOS_Client_Data_Retreive(RINCON_B8E9372F7CDC01400_MR, reading, location, ) -> http://192.168.1.144:1400/xml/device_description.xml
2015.05.28 21:59:13 4: SONOS2: 192.168.1.144 is alive
2015.05.28 21:59:41 3: SONOS0: Connection accepted from localhost:53912
2015.05.28 21:59:43 4: SONOS2: IsAlive-Event UDN=RINCON_B8E937DA5BF401400_MR
2015.05.28 21:59:43 4: SONOS2: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, reading, location, ) -> http://192.168.1.154:1400/xml/device_description.xml
2015.05.28 21:59:43 4: SONOS2: 192.168.1.154 is alive
2015.05.28 21:59:43 4: SONOS2: IsAlive-Event UDN=RINCON_B8E9372F7CDC01400_MR
2015.05.28 21:59:43 4: SONOS2: SONOS_Client_Data_Retreive(RINCON_B8E9372F7CDC01400_MR, reading, location, ) -> http://192.168.1.144:1400/xml/device_description.xml
2015.05.28 21:59:43 4: SONOS2: 192.168.1.144 is alive
2015.05.28 22:00:11 3: SONOS0: Connection accepted from localhost:53915
2015.05.28 22:00:13 4: SONOS2: IsAlive-Event UDN=RINCON_B8E937DA5BF401400_MR
2015.05.28 22:00:13 4: SONOS2: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, reading, location, ) -> http://192.168.1.154:1400/xml/device_description.xml
2015.05.28 22:00:13 4: SONOS2: 192.168.1.154 is alive
2015.05.28 22:00:13 4: SONOS2: IsAlive-Event UDN=RINCON_B8E9372F7CDC01400_MR
2015.05.28 22:00:13 4: SONOS2: SONOS_Client_Data_Retreive(RINCON_B8E9372F7CDC01400_MR, reading, location, ) -> http://192.168.1.144:1400/xml/device_description.xml
2015.05.28 22:00:13 4: SONOS2: 192.168.1.144 is alive
2015.05.28 22:00:41 3: SONOS0: Connection accepted from localhost:53922
2015.05.28 22:00:43 4: SONOS2: IsAlive-Event UDN=RINCON_B8E937DA5BF401400_MR
2015.05.28 22:00:43 4: SONOS2: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, reading, location, ) -> http://192.168.1.154:1400/xml/device_description.xml
2015.05.28 22:00:43 4: SONOS2: 192.168.1.154 is alive
2015.05.28 22:00:43 4: SONOS2: IsAlive-Event UDN=RINCON_B8E9372F7CDC01400_MR
2015.05.28 22:00:43 4: SONOS2: SONOS_Client_Data_Retreive(RINCON_B8E9372F7CDC01400_MR, reading, location, ) -> http://192.168.1.144:1400/xml/device_description.xml
2015.05.28 22:00:43 4: SONOS2: 192.168.1.144 is alive
2015.05.28 22:01:11 3: SONOS0: Connection accepted from localhost:53927
2015.05.28 22:01:13 4: SONOS2: IsAlive-Event UDN=RINCON_B8E937DA5BF401400_MR
2015.05.28 22:01:13 4: SONOS2: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, reading, location, ) -> http://192.168.1.154:1400/xml/device_description.xml
2015.05.28 22:01:13 4: SONOS2: 192.168.1.154 is alive
2015.05.28 22:01:13 4: SONOS2: IsAlive-Event UDN=RINCON_B8E9372F7CDC01400_MR
2015.05.28 22:01:13 4: SONOS2: SONOS_Client_Data_Retreive(RINCON_B8E9372F7CDC01400_MR, reading, location, ) -> http://192.168.1.144:1400/xml/device_description.xml
2015.05.28 22:01:13 4: SONOS2: 192.168.1.144 is alive
2015.05.28 22:01:41 3: SONOS0: Connection accepted from localhost:53932
2015.05.28 22:01:43 4: SONOS2: IsAlive-Event UDN=RINCON_B8E937DA5BF401400_MR
2015.05.28 22:01:43 4: SONOS2: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, reading, location, ) -> http://192.168.1.154:1400/xml/device_description.xml
2015.05.28 22:01:43 4: SONOS2: 192.168.1.154 is alive
2015.05.28 22:01:43 4: SONOS2: IsAlive-Event UDN=RINCON_B8E9372F7CDC01400_MR
2015.05.28 22:01:43 4: SONOS2: SONOS_Client_Data_Retreive(RINCON_B8E9372F7CDC01400_MR, reading, location, ) -> http://192.168.1.144:1400/xml/device_description.xml
2015.05.28 22:01:43 4: SONOS2: 192.168.1.144 is alive
2015.05.28 22:02:11 3: SONOS0: Connection accepted from localhost:53935
2015.05.28 22:02:13 4: SONOS2: IsAlive-Event UDN=RINCON_B8E937DA5BF401400_MR
2015.05.28 22:02:13 4: SONOS2: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, reading, location, ) -> http://192.168.1.154:1400/xml/device_description.xml
2015.05.28 22:02:13 4: SONOS2: 192.168.1.154 is alive
2015.05.28 22:02:13 4: SONOS2: IsAlive-Event UDN=RINCON_B8E9372F7CDC01400_MR
2015.05.28 22:02:13 4: SONOS2: SONOS_Client_Data_Retreive(RINCON_B8E9372F7CDC01400_MR, reading, location, ) -> http://192.168.1.144:1400/xml/device_description.xml
2015.05.28 22:02:13 4: SONOS2: 192.168.1.144 is alive
2015.05.28 22:02:41 3: SONOS0: Connection accepted from localhost:53938
2015.05.28 22:02:43 4: SONOS2: IsAlive-Event UDN=RINCON_B8E937DA5BF401400_MR
2015.05.28 22:02:43 4: SONOS2: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, reading, location, ) -> http://192.168.1.154:1400/xml/device_description.xml
2015.05.28 22:02:43 4: SONOS2: 192.168.1.154 is alive
2015.05.28 22:02:43 4: SONOS2: IsAlive-Event UDN=RINCON_B8E9372F7CDC01400_MR
2015.05.28 22:02:43 4: SONOS2: SONOS_Client_Data_Retreive(RINCON_B8E9372F7CDC01400_MR, reading, location, ) -> http://192.168.1.144:1400/xml/device_description.xml
2015.05.28 22:02:43 4: SONOS2: 192.168.1.144 is alive
2015.05.28 22:03:11 3: SONOS0: Connection accepted from localhost:53941
2015.05.28 22:03:13 4: SONOS2: IsAlive-Event UDN=RINCON_B8E937DA5BF401400_MR
2015.05.28 22:03:13 4: SONOS2: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, reading, location, ) -> http://192.168.1.154:1400/xml/device_description.xml
2015.05.28 22:03:13 4: SONOS2: 192.168.1.154 is alive
2015.05.28 22:03:13 4: SONOS2: IsAlive-Event UDN=RINCON_B8E9372F7CDC01400_MR
2015.05.28 22:03:13 4: SONOS2: SONOS_Client_Data_Retreive(RINCON_B8E9372F7CDC01400_MR, reading, location, ) -> http://192.168.1.144:1400/xml/device_description.xml
2015.05.28 22:03:13 4: SONOS2: 192.168.1.144 is alive

Titel: Antw:Sonos - State ändert sich nicht nach ausschalten
Beitrag von: Reinerlein am 28 Mai 2015, 22:38:33
Hi Kai,

kein Problem, dafür habe ich das ja mal im Wiki zusammengefasst... :)
Na, der ist ja locker flockig der Meinung, dass der Player noch prima reagiert (wenn es einer der beiden .144 oder .154 ist).

Kannst du, zumindest testweise, den pingType (am Sonos-Device) auf "icmp" umstellen? Dazu muss Fhem allerdings als root gestartet werden.
Und vielleicht doch den Verbose auf 5 setzen (aber Achtung: die Konsolenausgabe wird dann schlagartig viel größer :) )

Danke schon mal...

Grüße
Reiner
Titel: Antw:Sonos - State ändert sich nicht nach ausschalten
Beitrag von: Kai-Alfonso am 01 Juni 2015, 10:29:47
Guten Morgen,

sorry das ich jetzt erst antworte, aber ich war das ganze WE unterwegs und bin erst jetzt wieder ansprechbar ;-)

Also, ich hab das jetzt nochmal getestet - mit geänderten Ping Type und Verbose = 5. Ab 10.20 hab ich die Steckdose ausgemacht und dann ca 4 weitere Minuten geloggt. Nicht wundern wegen der geänderten IP - Adresse. Habs mit ner anderen Sonos Box  getestet.

Danke und Gruß

Kai


Current: "fhem.pl", gPath: "./FHEM"
Current: "./FHEM/00_SONOS.pm", gPath: ""
2015.06.01 10:16:09 1: SONOS0: ./FHEM/00_SONOS.pm is listening to Port 4711
2015.06.01 10:17:09 3: SONOS0: Connection accepted from localhost:35330
2015.06.01 10:17:13 3: SONOS1: UPnP-Thread gestartet.
2015.06.01 10:17:13 4: SONOS2: SONOS_Client_Data_Retreive(SONOS, def, INTERVAL, 0) -> 30
2015.06.01 10:17:13 1: SONOS2: IsAlive-Thread gestartet. Warte 120 Sekunden und pruefe dann alle 30 Sekunden...
2015.06.01 10:17:14 1: SONOS3: Restore-Thread gestartet. Warte auf Arbeit...
2015.06.01 10:17:15 4: SONOS1: SONOS_Client_Data_Retreive(SONOS, attr, characterDecoding, CP1252) -> DEFAULT
2015.06.01 10:17:15 4: SONOS1: Discover-Event: Description-Document: <?xml version="1.0" encoding="utf-8" ?>
<root xmlns="urn:schemas-upnp-org:device-1-0">
<specVersion>

    <major>1</major>

    <minor>0</minor>
</specVersion>
<device>

    <deviceType>urn:schemas-upnp-org:device:ZonePlayer:1</deviceType>

    <friendlyName>192.168.1.151 - Sonos PLAY:1</friendlyName>

    <manufacturer>Sonos, Inc.</manufacturer>

    <manufacturerURL> http://www.sonos.com</manufacturerURL >

    <modelNumber>S1</modelNumber>

    <modelDescription>Sonos PLAY:1</modelDescription>

    <modelName>Sonos PLAY:1</modelName>

    <modelURL> http://www.sonos.com/products/zoneplayers/S1</modelURL >

    <softwareVersion>28.1-83040</softwareVersion>

    <hardwareVersion>1.8.3.7-2</hardwareVersion>

    <serialNum>B8-E9-37-EC-3A-A2:1</serialNum>

    <UDN>uuid:RINCON_B8E937EC3AA201400</UDN>

    <iconList>

      <icon>

        <id>0</id>

        <mimetype>image/png</mimetype>

        <width>48</width>

        <height>48</height>

        <depth>24</depth>

        <url>/img/icon-S1.png</url>

      </icon>

    </iconList>

    <minCompatibleVersion>27.0-00000</minCompatibleVersion>

    <legacyCompatibleVersion>24.0-0000</legacyCompatibleVersion>

    <displayVersion>5.2</displayVersion>

    <extraVersion>OTP: </extraVersion>

    <roomName>Bad</roomName>

    <displayName>PLAY:1</displayName>

    <zoneType>9</zoneType>

    <feature1>0x00000000</feature1>

    <feature2>0x00403332</feature2>

    <feature3>0x0001000e</feature3>

    <internalSpeakerSize>5</internalSpeakerSize>

    <bassExtension>75.000</bassExtension>

    <satGainOffset>6.000</satGainOffset>

    <memory>128</memory>

    <flash>64</flash>

    <ampOnTime>10</ampOnTime>

    <serviceList>

      <service>

        <serviceType>urn:schemas-upnp-org:service:AlarmClock:1</serviceType>

        <serviceId>urn:upnp-org:serviceId:AlarmClock</serviceId>

        <controlURL>/AlarmClock/Control</controlURL>

        <eventSubURL>/AlarmClock/Event</eventSubURL>

        <SCPDURL>/xml/AlarmClock1.xml</SCPDURL>

      </service>   

      <service>

        <serviceType>urn:schemas-upnp-org:service:MusicServices:1</serviceType>

        <serviceId>urn:upnp-org:serviceId:MusicServices</serviceId>

        <controlURL>/MusicServices/Control</controlURL>

        <eventSubURL>/MusicServices/Event</eventSubURL>

        <SCPDURL>/xml/MusicServices1.xml</SCPDURL>

      </service>   

      <service>

        <serviceType>urn:schemas-upnp-org:service:DeviceProperties:1</serviceType>

        <serviceId>urn:upnp-org:serviceId:DeviceProperties</serviceId>

        <controlURL>/DeviceProperties/Control</controlURL>

        <eventSubURL>/DeviceProperties/Event</eventSubURL>

        <SCPDURL>/xml/DeviceProperties1.xml</SCPDURL>

      </service>   

      <service>

        <serviceType>urn:schemas-upnp-org:service:SystemProperties:1</serviceType>

        <serviceId>urn:upnp-org:serviceId:SystemProperties</serviceId>

        <controlURL>/SystemProperties/Control</controlURL>

        <eventSubURL>/SystemProperties/Event</eventSubURL>

        <SCPDURL>/xml/SystemProperties1.xml</SCPDURL>

      </service>   

      <service>

        <serviceType>urn:schemas-upnp-org:service:ZoneGroupTopology:1</serviceType>

        <serviceId>urn:upnp-org:serviceId:ZoneGroupTopology</serviceId>

        <controlURL>/ZoneGroupTopology/Control</controlURL>

        <eventSubURL>/ZoneGroupTopology/Event</eventSubURL>

        <SCPDURL>/xml/ZoneGroupTopology1.xml</SCPDURL>

      </service>   

      <service>

        <serviceType>urn:schemas-upnp-org:service:GroupManagement:1</serviceType>

        <serviceId>urn:upnp-org:serviceId:GroupManagement</serviceId>

        <controlURL>/GroupManagement/Control</controlURL>

        <eventSubURL>/GroupManagement/Event</eventSubURL>

        <SCPDURL>/xml/GroupManagement1.xml</SCPDURL>

      </service>

      <service>

        <serviceType>urn:schemas-tencent-com:service:QPlay:1</serviceType>

        <serviceId>urn:tencent-com:serviceId:QPlay</serviceId>

        <controlURL>/QPlay/Control</controlURL>

        <eventSubURL>/QPlay/Event</eventSubURL>

        <SCPDURL>/xml/QPlay1.xml</SCPDURL>

      </service>

    </serviceList>

    <deviceList>

      <device>
<deviceType>urn:schemas-upnp-org:device:MediaServer:1</deviceType>
<friendlyName>192.168.1.151 - Sonos PLAY:1 Media Server</friendlyName>
<manufacturer>Sonos, Inc.</manufacturer>
<manufacturerURL>http://www.sonos.com</manufacturerURL >
<modelNumber>S1</modelNumber>
<modelDescription>Sonos PLAY:1 Media Server</modelDescription>
<modelName>Sonos PLAY:1</modelName>
<modelURL>http://www.sonos.com/products/zoneplayers/S1</modelURL >
<UDN>uuid:RINCON_B8E937EC3AA201400_MS</UDN>
<serviceList>

    <service>

      <serviceType>urn:schemas-upnp-org:service:ContentDirectory:1</serviceType>

      <serviceId>urn:upnp-org:serviceId:ContentDirectory</serviceId>

      <controlURL>/MediaServer/ContentDirectory/Control</controlURL>

      <eventSubURL>/MediaServer/ContentDirectory/Event</eventSubURL>

      <SCPDURL>/xml/ContentDirectory1.xml</SCPDURL>

    </service>

    <service>

      <serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType>
 
    <serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId>
 
    <controlURL>/MediaServer/ConnectionManager/Control</controlURL>
 
    <eventSubURL>/MediaServer/ConnectionManager/Event</eventSubURL>
 
    <SCPDURL>/xml/ConnectionManager1.xml</SCPDURL>
  </service>
</serviceList>

      </device>

      <device>
<deviceType>urn:schemas-upnp-org:device:MediaRenderer:1</deviceType>
<friendlyName>Bad - Sonos PLAY:1 Media Renderer</friendlyName>
<manufacturer>Sonos, Inc.</manufacturer>
<manufacturerURL>http://www.sonos.com</manufacturerURL >
<modelNumber>S1</modelNumber>
<modelDescription>Sonos PLAY:1 Media Renderer</modelDescription>
<modelName>Sonos PLAY:1</modelName>
<modelURL>http://www.sonos.com/products/zoneplayers/S1</modelURL >
<UDN>uuid:RINCON_B8E937EC3AA201400_MR</UDN>
<serviceList>
  <service>
 
    <serviceType>urn:schemas-upnp-org:service:RenderingControl:1</serviceType>
 
    <serviceId>urn:upnp-org:serviceId:RenderingControl</serviceId>
 
    <controlURL>/MediaRenderer/RenderingControl/Control</controlURL>
 
    <eventSubURL>/MediaRenderer/RenderingControl/Event</eventSubURL>
 
    <SCPDURL>/xml/RenderingControl1.xml</SCPDURL>
  </service>
  <service>
 
    <serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType>
 
    <serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId>
 
    <controlURL>/MediaRenderer/ConnectionManager/Control</controlURL>
 
    <eventSubURL>/MediaRenderer/ConnectionManager/Event</eventSubURL>
 
    <SCPDURL>/xml/ConnectionManager1.xml</SCPDURL>
  </service>
  <service>
 
    <serviceType>urn:schemas-upnp-org:service:AVTransport:1</serviceType>
 
    <serviceId>urn:upnp-org:serviceId:AVTransport</serviceId>
 
    <controlURL>/MediaRenderer/AVTransport/Control</controlURL>
 
    <eventSubURL>/MediaRenderer/AVTransport/Event</eventSubURL>
 
    <SCPDURL>/xml/AVTransport1.xml</SCPDURL>
  </service>
  <service>
 
    <serviceType>urn:schemas-sonos-com:service:Queue:1</serviceType>
 
    <serviceId>urn:sonos-com:serviceId:Queue</serviceId>
 
    <controlURL>/MediaRenderer/Queue/Control</controlURL>
 
    <eventSubURL>/MediaRenderer/Queue/Event</eventSubURL>
 
    <SCPDURL>/xml/Queue1.xml</SCPDURL>
  </service>

          <service>

            <serviceType>urn:schemas-upnp-org:service:GroupRenderingControl:1</serviceType>

            <serviceId>urn:upnp-org:serviceId:GroupRenderingControl</serviceId>

            <controlURL>/MediaRenderer/GroupRenderingControl/Control</controlURL>

            <eventSubURL>/MediaRenderer/GroupRenderingControl/Event</eventSubURL>

            <SCPDURL>/xml/GroupRenderingControl1.xml</SCPDURL>

          </service>
</serviceList>

        <X_Rhapsody-Extension xmlns=" http://www.real.com/rhapsody/xmlns/upnp-1-0 ">

          <deviceID>urn:rhapsody-real-com:device-id-1-0:sonos_1:RINCON_B8E937EC3AA201400</deviceID>

            <deviceCapabilities>

              <interactionPattern type="real-rhapsody-upnp-1-0"/>

            </deviceCapabilities>

        </X_Rhapsody-Extension>

        <qq:X_QPlay_SoftwareCapability xmlns:qq=" QPlay:2http://www.tencent.com">QPlay:2</qq:X_QPlay_SoftwareCapability >

        <iconList>

          <icon>

            <mimetype>image/png</mimetype>

            <width>48</width>

            <height>48</height>

            <depth>24</depth>

            <url>/img/icon-S1.png</url>

          </icon>

        </iconList>

      </device>

    </deviceList>
</device>
</root>

2015.06.01 10:17:15 4: SONOS1: RoomName: 'Bad', SaveRoomName: 'Bad', ModelNumber: 'S1', DisplayVersion: '5.2', SerialNum: 'B8-E9-37-EC-3A-A2:1', IconURI: '/img/icon-S1.png', IconOrigPath: 'http://192.168.1.151:1400/img/icon-S1.png ', IconPath: 'icoSONOSPLAYER_icon-S1.png'
2015.06.01 10:17:15 2: SONOS1: Discover Sonosplayer 'Bad' (S1) Software Revision 5.2 with ID 'RINCON_B8E937EC3AA201400_MR'
2015.06.01 10:17:17 4: SONOS1: SubDevice found: uuid:RINCON_B8E937EC3AA201400_MS
2015.06.01 10:17:18 4: SONOS1: SubDevice found: uuid:RINCON_B8E937EC3AA201400_MR
2015.06.01 10:17:21 4: SONOS1: ControlProxies wurden gesichert
2015.06.01 10:17:22 4: SONOS1: Retrieved TopoType:
2015.06.01 10:17:22 4: SONOS1: Retrieve Current Volumelevels. Master: "50", Balance: "0"
2015.06.01 10:17:22 2: SONOS1: SonosPlayer 'Bad' (S1) with ID 'RINCON_B8E937EC3AA201400_MR' is already defined and will only be updated
2015.06.01 10:17:22 4: SONOS1: ProxyObject exists: UPnP::ControlPoint::ControlProxy=HASH(0x216cbe0)
2015.06.01 10:17:23 2: SONOS1: SonosPlayer 'Bad' is now updated
2015.06.01 10:17:23 2: SONOS1: Service-subscribing successful with SID=uuid:RINCON_B8E937EC3AA201400_sub0000000035
2015.06.01 10:17:24 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, attr, minVolume, -1) -> 0
2015.06.01 10:17:24 2: SONOS1: Rendering-Service-subscribing successful with SID=uuid:RINCON_B8E937EC3AA201400_sub0000000036
2015.06.01 10:17:24 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, attr, minVolume, -1) -> 0
2015.06.01 10:17:24 2: SONOS1: GroupRendering-Service-subscribing successful with SID=uuid:RINCON_B8E937EC3AA201400_sub0000000037
2015.06.01 10:17:24 2: SONOS1: ContentDirectory-Service-subscribing successful with SID=uuid:RINCON_B8E937EC3AA201400_sub0000000038
2015.06.01 10:17:24 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, attr, getAlarms, 0) -> 1
2015.06.01 10:17:24 2: SONOS1: Alarm-Service-subscribing successful with SID=uuid:RINCON_B8E937EC3AA201400_sub0000000039
2015.06.01 10:17:24 2: SONOS1: ZoneGroupTopology-Service-subscribing successful with SID=uuid:RINCON_B8E937EC3AA201400_sub0000000040
2015.06.01 10:17:25 2: SONOS1: DeviceProperties-Service-subscribing successful with SID=uuid:RINCON_B8E937EC3AA201400_sub0000000041
2015.06.01 10:17:25 3: SONOS1: Discover: End of discover-event for "Bad".
2015.06.01 10:17:25 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, def, NAME, RINCON_B8E937EC3AA201400_MR) -> Sonos_Bad
2015.06.01 10:17:25 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, attr, disable, 0) -> DEFAULT
2015.06.01 10:17:25 3: SONOS1: Event: Received Transport-Event for Zone "Sonos_Bad".
2015.06.01 10:17:25 4: SONOS1: Transport-Event: All correct with this service-call till now. UDN='uuid:RINCON_B8E937EC3AA201400_MR'
2015.06.01 10:17:25 4: SONOS1: Transport-Event: GroundURL: http://192.168.1.151:1400
2015.06.01 10:17:25 4: SONOS1: Transport-Event: LastChange: <Event xmlns="urn:schemas-upnp-org:metadata-1-0/AVT/" xmlns:r="urn:schemas-rinconnetworks-com:metadata-1-0/"><InstanceID val="0"><TransportState val="PAUSED_PLAYBACK"/><CurrentPlayMode val="NORMAL"/><CurrentCrossfadeMode val="0"/><NumberOfTracks val="165"/><CurrentTrack val="11"/><CurrentSection val="0"/><CurrentTrackURI val="x-sonos-spotify:spotify%3atrack%3a7lStQGM6xHmvMizrmnS55X?sid=9&amp;flags=32&amp;sn=2"/><CurrentTrackDuration val="0:04:31"/><CurrentTrackMetaData val="&lt;DIDL-Lite xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:upnp=&quot;urn:schemas-upnp-org:metadata-1-0/upnp/&quot; xmlns:r=&quot;urn:schemas-rinconnetworks-com:metadata-1-0/&quot; xmlns=&quot;urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/&quot;&gt;&lt;item id=&quot;-1&quot; parentID=&quot;-1&quot; restricted=&quot;true&quot;&gt;&lt;res protocolInfo=&quot;sonos.com-spotify:*:audio/x-spotify:*&quot; duration=&quot;0:04:31&quot;&gt;x-sonos-spotify:spotify%3atrack%3a7lStQGM6xHmvMizrmnS55X?sid=9&amp;amp;flags=32&amp;amp;sn=2&lt;/res&gt;&lt;r:streamContent&gt;&lt;/r:streamContent&gt;&lt;r:radioShowMd&gt;&lt;/r:radioShowMd&gt;&lt;upnp:albumArtURI&gt;/getaa?s=1&amp;amp;u=x-sonos-spotify%3aspotify%253atrack%253a7lStQGM6xHmvMizrmnS55X%3fsid%3d9%26flags%3d32%26sn%3d2&lt;/upnp:albumArtURI&gt;&lt;dc:title&gt;Stadt in den Wolken&lt;/dc:title&gt;&lt;upnp:class&gt;object.item.audioItem.musicTrack&lt;/upnp:class&gt;&lt;dc:creator&gt;Joris&lt;/dc:creator&gt;&lt;upnp:album&gt;Hoffnungslos Hoffnungsvoll&lt;/upnp:album&gt;&lt;/item&gt;&lt;/DIDL-Lite&gt;"/><r:NextTrackURI val="x-sonos-spotify:spotify%3atrack%3a0gH5kOIqPur9lYM3dCwK8H?sid=9&amp;flags=32&amp;sn=2"/><r:NextTrackMetaData val="&lt;DIDL-Lite xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot ; xmlns:upnp=&quot;urn:schemas-upnp-org:metadata-1-0/upnp/&quot; xmlns:r=&quot;urn:schemas-rinconnetworks-com:metadata-1-0/&quot; xmlns=&quot;urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/&quot;&gt;&lt;item id=&quot;-1&quot; parentID=&quot;-1&quot; restricted=&quot;true&quot;&gt;&lt;res protocolInfo=&quot;sonos.com-spotify:*:audio/x-spotify:*&quot; duration=&quot;0:03:36&quot;&gt;x-sonos-spotify:spotify%3atrack%3a0gH5kOIqPur9lYM3dCwK8H?sid=9&amp;amp;flags=32&amp;amp;sn=2&lt;/res&gt;&lt;upnp:albumArtURI&gt;/getaa?s=1&amp;amp;u=x-sonos-spotify%3aspotify%253atrack%253a0gH5kOIqPur9lYM3dCwK8H%3fsid%3d9%26flags%3d32%26sn%3d2&lt;/upnp:albumArtURI&gt;&lt;dc:title&gt;Schwarz-Weiss&lt;/dc:title&gt;&lt;upnp:class&gt;object.item.audioItem.musicTrack&lt;/upnp:class&gt;&lt;dc:creator&gt;Joris&lt;/dc:creator&gt;&lt;upnp:album&gt;Hoffnungslos Hoffnungsvoll&lt;/upnp:album&gt;&lt;/item&gt;&lt;/DIDL-Lite&gt;"/><r:EnqueuedTransportURI val="x-rincon-cpcontainer:100a006cstarred"/><r:EnqueuedTransportURIMetaData val="&lt;DIDL-Lite xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot ; xmlns:upnp=&quot;urn:schemas-upnp-org:metadata-1-0/upnp/&quot; xmlns:r=&quot;urn:schemas-rinconnetworks-com:metadata-1-0/&quot; xmlns=&quot;urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/&quot;&gt;&lt;item id=&quot;100a006cstarred&quot; parentID=&quot;0&quot; restricted=&quot;true&quot;&gt;&lt;dc:title&gt;Markiert&lt;/dc:title&gt;&lt;upnp:class&gt;object.container&lt;/upnp:class&gt;&lt;desc id=&quot;cdudn&quot; nameSpace=&quot;urn:schemas-rinconnetworks-com:metadata-1-0/&quot;&gt;SA_RINCON2311_X_#Svc2311-5c2460cd-Token&lt;/desc&gt;&lt;/item&gt;&lt;/DIDL-Lite&gt;"/><PlaybackStorageMedium val="NETWORK"/><AVTransportURI val="x-rincon-queue:RINCON_B8E937EC3AA201400#0"/><AVTransportURIMetaData val=""/><NextAVTransportURI val=""/><NextAVTransportURIMetaData val=""/><CurrentTransportActions val="Set, Play, Stop, Pause, Seek, Next, Previous"/><r:CurrentValidPlayModes val="SHUFFLE, REPEAT, CROSSFADE"/><TransportStatus val="OK"/><r:SleepTimerGeneration val="0"/><r:AlarmRunning val="0"/><r:SnoozeRunning val="0"/><r:RestartPending val="0"/><TransportPlaySpeed val="NOT_IMPLEMENTED"/><CurrentMediaDuration val="NOT_IMPLEMENTED"/><RecordStorageMedium val="NOT_IMPLEMENTED"/><PossiblePlaybackStorageMedia val="NONE, NETWORK"/><PossibleRecordStorageMedia val="NOT_IMPLEMENTED"/><RecordMediumWriteStatus val="NOT_IMPLEMENTED"/><CurrentRecordQualityMode val="NOT_IMPLEMENTED"/><PossibleRecordQualityModes val="NOT_IMPLEMENTED"/></InstanceID></Event>
2015.06.01 10:17:25 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, reading, SleepTimerVersion, ) -> 0
2015.06.01 10:17:25 4: SONOS1: Transport-Event: CurrentTrackMetaData: <DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/ " xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:r="urn:schemas-rinconnetworks-com:metadata-1-0/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"><item id="-1" parentID="-1" restricted="true"><res protocolInfo="sonos.com-spotify:*:audio/x-spotify:*" duration="0:04:31">x-sonos-spotify:spotify%3atrack%3a7lStQGM6xHmvMizrmnS55X?sid=9&amp;flags=32&amp;sn=2</res><r:streamContent></r:streamContent><r:radioShowMd></r:radioShowMd><upnp:albumArtURI>/getaa?s=1&amp;u=x-sonos-spotify%3aspotify%253atrack%253a7lStQGM6xHmvMizrmnS55X%3fsid%3d9%26flags%3d32%26sn%3d2</upnp:albumArtURI><dc:title>Stadt in den Wolken</dc:title><upnp:class>object.item.audioItem.musicTrack</upnp:class><dc:creator>Joris</dc:creator><upnp:album>Hoffnungslos Hoffnungsvoll</upnp:album></item></DIDL-Lite>
2015.06.01 10:17:25 4: SONOS1: Transport-Event: Normal erkannt!
2015.06.01 10:17:25 4: SONOS1: Transport-Event: NextTrackMetaData: <DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/ " xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:r="urn:schemas-rinconnetworks-com:metadata-1-0/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"><item id="-1" parentID="-1" restricted="true"><res protocolInfo="sonos.com-spotify:*:audio/x-spotify:*" duration="0:03:36">x-sonos-spotify:spotify%3atrack%3a0gH5kOIqPur9lYM3dCwK8H?sid=9&amp;flags=32&amp;sn=2</res><upnp:albumArtURI>/getaa?s=1&amp;u=x-sonos-spotify%3aspotify%253atrack%253a0gH5kOIqPur9lYM3dCwK8H%3fsid%3d9%26flags%3d32%26sn%3d2</upnp:albumArtURI><dc:title>Schwarz-Weiss</dc:title><upnp:class>object.item.audioItem.musicTrack</upnp:class><dc:creator>Joris</dc:creator><upnp:album>Hoffnungslos Hoffnungsvoll</upnp:album></item></DIDL-Lite>
2015.06.01 10:17:25 4: SONOS1: ProxyObject exists: UPnP::ControlPoint::ControlProxy=HASH(0x216cbe0)
2015.06.01 10:17:25 3: SONOS1: Event: End of Transport-Event for Zone "Sonos_Bad".
2015.06.01 10:17:25 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, reading, presence, disappeared) -> appeared
2015.06.01 10:17:25 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, def, NAME, RINCON_B8E937EC3AA201400_MR) -> Sonos_Bad
2015.06.01 10:17:25 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, attr, disable, 0) -> DEFAULT
2015.06.01 10:17:25 3: SONOS1: Event: Received GroupRendering-Event for Zone "Sonos_Bad".
2015.06.01 10:17:25 4: SONOS1: GroupRendering-Event: All correct with this service-call till now. UDN='uuid:RINCON_B8E937EC3AA201400_MR'
2015.06.01 10:17:25 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, attr, generateVolumeEvent, 0) -> DEFAULT
2015.06.01 10:17:25 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, reading, GroupVolume, ~~) -> 50
2015.06.01 10:17:25 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, reading, GroupMute, ~~) -> 0
2015.06.01 10:17:25 3: SONOS1: Event: End of GroupRendering-Event for Zone "Sonos_Bad".
2015.06.01 10:17:25 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, reading, presence, disappeared) -> appeared
2015.06.01 10:17:25 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, def, NAME, RINCON_B8E937EC3AA201400_MR) -> Sonos_Bad
2015.06.01 10:17:25 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, attr, disable, 0) -> DEFAULT
2015.06.01 10:17:25 3: SONOS1: Event: Received Alarm-Event for Zone "Sonos_Bad".
2015.06.01 10:17:25 4: SONOS1: Alarm-Event: All correct with this service-call till now. UDN='uuid:RINCON_B8E937EC3AA201400_MR'
2015.06.01 10:17:25 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, reading, AlarmListVersion, ~~) -> ~~NotLoadedMarker~~
2015.06.01 10:17:25 4: SONOS1: Set new Alarm-Data
2015.06.01 10:17:26 3: SONOS1: Event: End of Alarm-Event for Zone "Sonos_Bad".
2015.06.01 10:17:26 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, reading, presence, disappeared) -> appeared
2015.06.01 10:17:26 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, def, NAME, RINCON_B8E937EC3AA201400_MR) -> Sonos_Bad
2015.06.01 10:17:26 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, attr, disable, 0) -> DEFAULT
2015.06.01 10:17:26 3: SONOS1: Event: Received ZoneGroupTopology-Event for Zone "Sonos_Bad".
2015.06.01 10:17:26 4: SONOS1: ZoneGroupTopology-Event: All correct with this service-call till now. UDN='uuid:RINCON_B8E937EC3AA201400_MR'
2015.06.01 10:17:26 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, reading, ZonePlayerUUIDsInGroup, ) -> RINCON_B8E937EC3AA201400
2015.06.01 10:17:26 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, reading, ZoneGroupID, ) -> RINCON_B8E937EC3AA201400:__
2015.06.01 10:17:26 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, reading, fieldType, ) ->
2015.06.01 10:17:26 4: SONOS1: Retrieved TopoType:
2015.06.01 10:17:26 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, reading, roomName, ) -> Bad
2015.06.01 10:17:26 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, reading, ZoneGroupName, ) -> Bad
2015.06.01 10:17:26 3: SONOS1: Event: End of ZoneGroupTopology-Event for Zone "Sonos_Bad".
2015.06.01 10:17:26 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, reading, presence, disappeared) -> appeared
2015.06.01 10:17:26 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, def, NAME, RINCON_B8E937EC3AA201400_MR) -> Sonos_Bad
2015.06.01 10:17:26 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, attr, disable, 0) -> DEFAULT
2015.06.01 10:17:26 3: SONOS1: Event: Received DeviceProperties-Event for Zone "Sonos_Bad".
2015.06.01 10:17:26 4: SONOS1: DeviceProperties-Event: All correct with this service-call till now. UDN='uuid:RINCON_B8E937EC3AA201400_MR'
2015.06.01 10:17:26 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, reading, roomName, ) -> Bad
2015.06.01 10:17:26 4: SONOS1: SONOS_Client_Data_Retreive(SONOS, attr, characterDecoding, CP1252) -> DEFAULT
2015.06.01 10:17:26 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, reading, fieldType, ) ->
2015.06.01 10:17:26 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, reading, roomIcon, ) -> bathroom
2015.06.01 10:17:26 3: SONOS1: Event: End of DeviceProperties-Event for Zone "Sonos_Bad".
2015.06.01 10:17:26 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, reading, presence, disappeared) -> appeared
2015.06.01 10:17:26 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, def, NAME, RINCON_B8E937EC3AA201400_MR) -> Sonos_Bad
2015.06.01 10:17:26 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, attr, disable, 0) -> DEFAULT
2015.06.01 10:17:26 3: SONOS1: Event: Received ContentDirectory-Event for Zone "Sonos_Bad".
2015.06.01 10:17:26 4: SONOS1: ContentDirectory-Event: All correct with this service-call till now. UDN='uuid:RINCON_B8E937EC3AA201400_MR'
2015.06.01 10:17:26 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, reading, PlaylistsVersion, ~~) -> RINCON_B8E937DA5BF401400,3
2015.06.01 10:17:26 3: SONOS1: Event: End of ContentDirectory-Event for Zone "Sonos_Bad".
2015.06.01 10:17:26 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, reading, presence, disappeared) -> appeared
2015.06.01 10:17:26 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, def, NAME, RINCON_B8E937EC3AA201400_MR) -> Sonos_Bad
2015.06.01 10:17:26 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, attr, disable, 0) -> DEFAULT
2015.06.01 10:17:26 3: SONOS1: Event: Received Rendering-Event for Zone "Sonos_Bad".
2015.06.01 10:17:26 4: SONOS1: Rendering-Event: All correct with this service-call till now. UDN='uuid:RINCON_B8E937EC3AA201400_MR'
2015.06.01 10:17:26 4: SONOS1: Rendering-Event: LastChange: <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="50"/><Volume channel="LF" val="100"/><Volume channel="RF" val="100"/><Mute channel="Master" val="0"/><Mute channel="LF" val="0"/><Mute channel="RF" val="0"/><Bass val="-4"/><Treble val="0"/><Loudness channel="Master" val="1"/><OutputFixed val="0"/><HeadphoneConnected val="0"/><SpeakerSize val="5"/><SubGain val="0"/><SubCrossover val="0"/><SubPolarity val="0"/><SubEnabled val="1"/><PresetNameList val="FactoryDefaults"/></InstanceID></Event>
2015.06.01 10:17:26 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, attr, generateVolumeEvent, 0) -> DEFAULT
2015.06.01 10:17:26 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, reading, Mute, 0) -> 0
2015.06.01 10:17:26 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, reading, HeadphoneConnected, 0) -> 0
2015.06.01 10:17:26 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, reading, Balance, 0) -> 0
2015.06.01 10:17:26 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, reading, Volume, 0) -> 50
2015.06.01 10:17:26 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, reading, Loudness, 0) -> 1
2015.06.01 10:17:26 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, reading, Bass, 0) -> -4
2015.06.01 10:17:26 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, reading, Treble, 0) -> 0
2015.06.01 10:17:26 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, reading, OutputFixed, 0) -> 0
2015.06.01 10:17:26 4: SONOS1: Rendering-Event: Current Values for 'Sonos_Bad' ~ Volume: 50, HeadphoneConnected: 0, Bass: -4, Treble: 0, Balance: 0, Loudness: 1, Mute: 0
2015.06.01 10:17:26 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, attr, minVolume, 0) -> 0
2015.06.01 10:17:26 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, attr, maxVolume, 100) -> DEFAULT
2015.06.01 10:17:26 4: SONOS1: Rendering-Event: Current Borders for 'Sonos_Bad' ~ minVolume: 0, maxVolume: 100
2015.06.01 10:17:26 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, attr, buttonEvents, ) -> DEFAULT
2015.06.01 10:17:26 3: SONOS1: Event: End of Rendering-Event for Zone "Sonos_Bad".
2015.06.01 10:17:26 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, reading, presence, disappeared) -> appeared
2015.06.01 10:18:12 3: SONOS0: Connection accepted from localhost:35360
2015.06.01 10:18:42 3: SONOS0: Connection accepted from localhost:35361
2015.06.01 10:19:12 3: SONOS0: Connection accepted from localhost:35362
2015.06.01 10:19:42 3: SONOS0: Connection accepted from localhost:35363
2015.06.01 10:19:44 4: SONOS2: IsAlive-Event UDN=RINCON_B8E937EC3AA201400_MR
2015.06.01 10:19:44 4: SONOS2: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, reading, location, ) -> http://192.168.1.151:1400/xml/device_description.xml
2015.06.01 10:19:44 4: SONOS2: 192.168.1.151 is alive
2015.06.01 10:20:12 3: SONOS0: Connection accepted from localhost:35365
2015.06.01 10:20:14 4: SONOS2: IsAlive-Event UDN=RINCON_B8E937EC3AA201400_MR
2015.06.01 10:20:14 4: SONOS2: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, reading, location, ) -> http://192.168.1.151:1400/xml/device_description.xml
2015.06.01 10:20:14 4: SONOS2: 192.168.1.151 is alive
2015.06.01 10:20:42 3: SONOS0: Connection accepted from localhost:35369
2015.06.01 10:20:44 4: SONOS2: IsAlive-Event UDN=RINCON_B8E937EC3AA201400_MR
2015.06.01 10:20:44 4: SONOS2: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, reading, location, ) -> http://192.168.1.151:1400/xml/device_description.xml
2015.06.01 10:20:44 4: SONOS2: 192.168.1.151 is alive
2015.06.01 10:21:12 3: SONOS0: Connection accepted from localhost:35375
2015.06.01 10:21:14 4: SONOS2: IsAlive-Event UDN=RINCON_B8E937EC3AA201400_MR
2015.06.01 10:21:14 4: SONOS2: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, reading, location, ) -> http://192.168.1.151:1400/xml/device_description.xml
2015.06.01 10:21:14 4: SONOS2: 192.168.1.151 is alive
2015.06.01 10:21:42 3: SONOS0: Connection accepted from localhost:35377
2015.06.01 10:21:44 4: SONOS2: IsAlive-Event UDN=RINCON_B8E937EC3AA201400_MR
2015.06.01 10:21:44 4: SONOS2: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, reading, location, ) -> http://192.168.1.151:1400/xml/device_description.xml
2015.06.01 10:21:44 4: SONOS2: 192.168.1.151 is alive
2015.06.01 10:22:12 3: SONOS0: Connection accepted from localhost:35379
2015.06.01 10:22:14 4: SONOS2: IsAlive-Event UDN=RINCON_B8E937EC3AA201400_MR
2015.06.01 10:22:14 4: SONOS2: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, reading, location, ) -> http://192.168.1.151:1400/xml/device_description.xml
2015.06.01 10:22:14 4: SONOS2: 192.168.1.151 is alive
2015.06.01 10:22:42 3: SONOS0: Connection accepted from localhost:35381
2015.06.01 10:22:44 4: SONOS2: IsAlive-Event UDN=RINCON_B8E937EC3AA201400_MR
2015.06.01 10:22:44 4: SONOS2: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, reading, location, ) -> http://192.168.1.151:1400/xml/device_description.xml
2015.06.01 10:22:44 4: SONOS2: 192.168.1.151 is alive
2015.06.01 10:23:12 3: SONOS0: Connection accepted from localhost:35383
2015.06.01 10:23:14 4: SONOS2: IsAlive-Event UDN=RINCON_B8E937EC3AA201400_MR
2015.06.01 10:23:14 4: SONOS2: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, reading, location, ) -> http://192.168.1.151:1400/xml/device_description.xml
2015.06.01 10:23:14 4: SONOS2: 192.168.1.151 is alive
2015.06.01 10:23:42 3: SONOS0: Connection accepted from localhost:35385
2015.06.01 10:23:45 4: SONOS2: IsAlive-Event UDN=RINCON_B8E937EC3AA201400_MR
2015.06.01 10:23:45 4: SONOS2: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, reading, location, ) -> http://192.168.1.151:1400/xml/device_description.xml
2015.06.01 10:23:45 4: SONOS2: 192.168.1.151 is alive
2015.06.01 10:24:12 3: SONOS0: Connection accepted from localhost:35387
2015.06.01 10:24:15 4: SONOS2: IsAlive-Event UDN=RINCON_B8E937EC3AA201400_MR
2015.06.01 10:24:15 4: SONOS2: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, reading, location, ) -> http://192.168.1.151:1400/xml/device_description.xml
2015.06.01 10:24:15 4: SONOS2: 192.168.1.151 is alive
2015.06.01 10:24:42 3: SONOS0: Connection accepted from localhost:35389
2015.06.01 10:24:45 4: SONOS2: IsAlive-Event UDN=RINCON_B8E937EC3AA201400_MR
2015.06.01 10:24:45 4: SONOS2: SONOS_Client_Data_Retreive(RINCON_B8E937EC3AA201400_MR, reading, location, ) -> http://192.168.1.151:1400/xml/device_description.xml
2015.06.01 10:24:45 4: SONOS2: 192.168.1.151 is alive
Titel: Antw:Sonos - State ändert sich nicht nach ausschalten
Beitrag von: Reinerlein am 01 Juni 2015, 10:48:27
Hallo Kai,

kein Problem. Aber es scheint nur ein Verbose von 4 angekommen zu sein :)
Dann vielleicht auch gleich noch sicherstellen, dass auch wirklich der andere Pingtype konfiguriert ist.

Was passiert denn, wenn du selber von deinem Computer aus den Player anpingst? Bekommst du da auch eine Antwort?

Grüße
Reiner
Titel: Antw:Sonos - State ändert sich nicht nach ausschalten
Beitrag von: Kai-Alfonso am 01 Juni 2015, 11:28:16
Ja sorry - war dämlich - hatte das geändert und OHNE zu speichern den Dienst neu gestartet.

Bevor ich das ganze neue Log hier poste, ist mir folgendes aufgefallen

Thread 2 terminated abnormally: icmp ping requires root privilege at ./FHEM/00_SONOS.pm line 5561 thread 2.

Ich habe aber als root  /etc/init.d/fhem gestartet, wo ich den perl aufruf in sudo perl geändert habe. Müsste je eigentlich, so dachte ich, ausreichen.

sudo perl fhem.pl fhem.cfg
Titel: Antw:Sonos - State ändert sich nicht nach ausschalten
Beitrag von: Reinerlein am 01 Juni 2015, 12:27:04
Hallo Kai,

du musst noch (temporär) den Benutzer fhem deaktivieren. Fhem prüft beim Start, ob es diesen Benutzer gibt, und wechselt dann in dessen Kontext.

Einfach in der /etc/passwd die entsprechende Zeile mit einem # ausmarkieren...

Grüße
Reiner
Titel: Antw:Sonos - State ändert sich nicht nach ausschalten
Beitrag von: Kai-Alfonso am 01 Juni 2015, 12:59:08
Hi,

das sieht in der Tat besser aus - der Status wurde richtig auf dissapeared gesetzt nach ca 1:30


Current: "fhem.pl", gPath: "./FHEM"
Current: "./FHEM/00_SONOS.pm", gPath: ""
2015.06.01 12:50:32 1: SONOS0: ./FHEM/00_SONOS.pm is listening to Port 4711
2015.06.01 12:51:33 3: SONOS0: Connection accepted from localhost:36127
2015.06.01 12:51:34 5: SONOS0: Received: 'SetData:Sonos:5:icmp::Sonos_Bad,Sonos_Wohnzimmer,Sonos_Wohnzimmer_X:RINCON_B8E937EC3AA201400_MR,RINCON_B8E937DA5BF401400_MR,RINCON_B8E9372F7CDC01400_MR'
2015.06.01 12:51:34 5: SONOS0: Received: 'SetValues:SONOS:NAME=Sonos|UserID_Spotify=SA_RINCON2311_X_%2523Svc2311-5c2460cd-Token|INTERVAL=30'
2015.06.01 12:51:34 5: SONOS0: Received: 'SetValues:RINCON_B8E937EC3AA201400_MR:OutputFixed=0|Volume=50|AlarmList=~~NotLoadedMarker~~|fieldType=0|AlarmListIDs=~~NotLoadedMarker~~|roomName=Bad|presence=~~NotLoadedMarker~~|currentTitle=Stadt%20in%20den%20Wolken|location=http%3A%2F%2F192.168.1.151%3A1400%2Fxml%2Fdevice_description.xml|Bass=-4|AlarmListVersion=~~NotLoadedMarker~~|ZoneGroupID=RINCON_B8E937EC3AA201400%3A__|HeadphoneConnected=0|Mute=0|PlaylistsVersion=RINCON_B8E937DA5BF401400%2C3|GroupMute=0|ZoneGroupName=Bad|roomNameAlias=Bad|Treble=0|roomIcon=bathroom|Balance=0|ZonePlayerUUIDsInGroup=RINCON_B8E937EC3AA201400|SleepTimerVersion=0|NAME=Sonos_Bad|currentArtist=Joris|GroupVolume=50|minVolume=0|getAlarms=1|RadiosVersion=RINCON_B8E937DA5BF401400%2C13|currentAlbum=Hoffnungslos%20Hoffnungsvoll|FavouritesVersion=RINCON_B8E937DA5BF401400%2C13|Loudness=1'
2015.06.01 12:51:34 5: SONOS0: Received: 'SetValues:RINCON_B8E937DA5BF401400_MR:OutputFixed=0|Volume=52|AlarmList=~~NotLoadedMarker~~|AlarmListIDs=~~NotLoadedMarker~~|roomName=Wohnzimmer|presence=~~NotLoadedMarker~~|location=http%3A%2F%2F192.168.1.154%3A1400%2Fxml%2Fdevice_description.xml|Bass=0|AlarmListVersion=~~NotLoadedMarker~~|ZoneGroupID=RINCON_B8E937DA5BF401400%3A__|HeadphoneConnected=0|Mute=0|PlaylistsVersion=RINCON_B8E937DA5BF401400%2C3|GroupMute=0|ZoneGroupName=Wohnzimmer|Treble=0|roomNameAlias=Wohnzimmer|Balance=0|roomIcon=living|ZonePlayerUUIDsInGroup=RINCON_B8E937DA5BF401400|SleepTimerVersion=0|NAME=Sonos_Wohnzimmer|GroupVolume=52|minVolume=0|RadiosVersion=RINCON_B8E937DA5BF401400%2C13|getAlarms=1|FavouritesVersion=RINCON_B8E937DA5BF401400%2C13|Loudness=1'
2015.06.01 12:51:34 5: SONOS0: Received: 'SetValues:RINCON_B8E9372F7CDC01400_MR:OutputFixed=0|Volume=39|AlarmList=~~NotLoadedMarker~~|fieldType=0|AlarmListIDs=~~NotLoadedMarker~~|roomName=Wohnzimmer|presence=~~NotLoadedMarker~~|currentTitle=0|location=http%3A%2F%2F192.168.1.144%3A1400%2Fxml%2Fdevice_description.xml|Bass=0|AlarmListVersion=~~NotLoadedMarker~~|ZoneGroupID=RINCON_B8E9372F7CDC01400%3A__|HeadphoneConnected=0|Mute=0|PlaylistsVersion=RINCON_B8E937DA5BF401400%2C3|GroupMute=0|LineInConnected=0|ZoneGroupName=Wohnzimmer|Treble=0|roomNameAlias=Wohnzimmer|Balance=0|roomIcon=living|ZonePlayerUUIDsInGroup=RINCON_B8E9372F7CDC01400|SleepTimerVersion=0|NAME=Sonos_Wohnzimmer_X|currentArtist=0|GroupVolume=39|minVolume=0|RadiosVersion=RINCON_B8E937DA5BF401400%2C13|getAlarms=1|currentAlbum=0|FavouritesVersion=RINCON_B8E937DA5BF401400%2C13|Loudness=1'
2015.06.01 12:51:34 5: SONOS0: Received: 'StartThread'
2015.06.01 12:51:35 3: SONOS1: UPnP-Thread gestartet.
2015.06.01 12:51:36 4: SONOS2: SONOS_Client_Data_Retreive(SONOS, def, INTERVAL, 0) -> 30
2015.06.01 12:51:36 1: SONOS2: IsAlive-Thread gestartet. Warte 120 Sekunden und pruefe dann alle 30 Sekunden...
2015.06.01 12:51:37 1: SONOS3: Restore-Thread gestartet. Warte auf Arbeit...
2015.06.01 12:51:37 4: SONOS1: SONOS_Client_Data_Retreive(SONOS, attr, characterDecoding, CP1252) -> DEFAULT
2015.06.01 12:51:37 4: SONOS1: Discover-Event: Description-Document: <?xml version="1.0" encoding="utf-8" ?>
<root xmlns="urn:schemas-upnp-org:device-1-0">
<specVersion>

    <major>1</major>

    <minor>0</minor>
</specVersion>
<device>

    <deviceType>urn:schemas-upnp-org:device:ZonePlayer:1</deviceType>

    <friendlyName>192.168.1.154 - Sonos PLAY:3</friendlyName>

    <manufacturer>Sonos, Inc.</manufacturer>

    <manufacturerURL> http://www.sonos.com</manufacturerURL >

    <modelNumber>S3</modelNumber>

    <modelDescription>Sonos PLAY:3</modelDescription>

    <modelName>Sonos PLAY:3</modelName>

    <modelURL> http://www.sonos.com/products/zoneplayers/S3</modelURL >

    <softwareVersion>28.1-86173</softwareVersion>

    <hardwareVersion>1.8.1.3-2</hardwareVersion>

    <serialNum>B8-E9-37-DA-5B-F4:D</serialNum>

    <UDN>uuid:RINCON_B8E937DA5BF401400</UDN>

    <iconList>

      <icon>

        <id>0</id>

        <mimetype>image/png</mimetype>

        <width>48</width>

        <height>48</height>

        <depth>24</depth>

        <url>/img/icon-S3.png</url>

      </icon>

    </iconList>

    <minCompatibleVersion>27.0-00000</minCompatibleVersion>

    <legacyCompatibleVersion>24.0-0000</legacyCompatibleVersion>

    <displayVersion>5.3.2</displayVersion>

    <extraVersion>OTP: </extraVersion>

    <roomName>Wohnzimmer</roomName>

    <displayName>PLAY:3</displayName>

    <zoneType>7</zoneType>

    <feature1>0x00000000</feature1>

    <feature2>0x00006332</feature2>

    <feature3>0x0003002e</feature3>

    <internalSpeakerSize>4</internalSpeakerSize>

    <bassExtension>60.000</bassExtension>

    <satGainOffset>3.000</satGainOffset>

    <memory>128</memory>

    <flash>64</flash>

    <ampOnTime>425</ampOnTime>

    <serviceList>

      <service>

        <serviceType>urn:schemas-upnp-org:service:AlarmClock:1</serviceType>

        <serviceId>urn:upnp-org:serviceId:AlarmClock</serviceId>

        <controlURL>/AlarmClock/Control</controlURL>

        <eventSubURL>/AlarmClock/Event</eventSubURL>

        <SCPDURL>/xml/AlarmClock1.xml</SCPDURL>

      </service>   

      <service>

        <serviceType>urn:schemas-upnp-org:service:MusicServices:1</serviceType>

        <serviceId>urn:upnp-org:serviceId:MusicServices</serviceId>

        <controlURL>/MusicServices/Control</controlURL>

        <eventSubURL>/MusicServices/Event</eventSubURL>

        <SCPDURL>/xml/MusicServices1.xml</SCPDURL>

      </service>   

      <service>

        <serviceType>urn:schemas-upnp-org:service:DeviceProperties:1</serviceType>

        <serviceId>urn:upnp-org:serviceId:DeviceProperties</serviceId>

        <controlURL>/DeviceProperties/Control</controlURL>

        <eventSubURL>/DeviceProperties/Event</eventSubURL>

        <SCPDURL>/xml/DeviceProperties1.xml</SCPDURL>

      </service>   

      <service>

        <serviceType>urn:schemas-upnp-org:service:SystemProperties:1</serviceType>

        <serviceId>urn:upnp-org:serviceId:SystemProperties</serviceId>

        <controlURL>/SystemProperties/Control</controlURL>

        <eventSubURL>/SystemProperties/Event</eventSubURL>

        <SCPDURL>/xml/SystemProperties1.xml</SCPDURL>

      </service>   

      <service>

        <serviceType>urn:schemas-upnp-org:service:ZoneGroupTopology:1</serviceType>

        <serviceId>urn:upnp-org:serviceId:ZoneGroupTopology</serviceId>

        <controlURL>/ZoneGroupTopology/Control</controlURL>

        <eventSubURL>/ZoneGroupTopology/Event</eventSubURL>

        <SCPDURL>/xml/ZoneGroupTopology1.xml</SCPDURL>

      </service>   

      <service>

        <serviceType>urn:schemas-upnp-org:service:GroupManagement:1</serviceType>

        <serviceId>urn:upnp-org:serviceId:GroupManagement</serviceId>

        <controlURL>/GroupManagement/Control</controlURL>

        <eventSubURL>/GroupManagement/Event</eventSubURL>

        <SCPDURL>/xml/GroupManagement1.xml</SCPDURL>

      </service>

      <service>

        <serviceType>urn:schemas-tencent-com:service:QPlay:1</serviceType>

        <serviceId>urn:tencent-com:serviceId:QPlay</serviceId>

        <controlURL>/QPlay/Control</controlURL>

        <eventSubURL>/QPlay/Event</eventSubURL>

        <SCPDURL>/xml/QPlay1.xml</SCPDURL>

      </service>

    </serviceList>

    <deviceList>

      <device>
<deviceType>urn:schemas-upnp-org:device:MediaServer:1</deviceType>
<friendlyName>192.168.1.154 - Sonos PLAY:3 Media Server</friendlyName>
<manufacturer>Sonos, Inc.</manufacturer>
<manufacturerURL>http://www.sonos.com</manufacturerURL >
<modelNumber>S3</modelNumber>
<modelDescription>Sonos PLAY:3 Media Server</modelDescription>
<modelName>Sonos PLAY:3</modelName>
<modelURL>http://www.sonos.com/products/zoneplayers/S3</modelURL >
<UDN>uuid:RINCON_B8E937DA5BF401400_MS</UDN>
<serviceList>

    <service>

      <serviceType>urn:schemas-upnp-org:service:ContentDirectory:1</serviceType>

      <serviceId>urn:upnp-org:serviceId:ContentDirectory</serviceId>

      <controlURL>/MediaServer/ContentDirectory/Control</controlURL>

      <eventSubURL>/MediaServer/ContentDirectory/Event</eventSubURL>

      <SCPDURL>/xml/ContentDirectory1.xml</SCPDURL>

    </service>

    <service>

      <serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType>
 
    <serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId>
 
    <controlURL>/MediaServer/ConnectionManager/Control</controlURL>
 
    <eventSubURL>/MediaServer/ConnectionManager/Event</eventSubURL>
 
    <SCPDURL>/xml/ConnectionManager1.xml</SCPDURL>
  </service>
</serviceList>

      </device>

      <device>
<deviceType>urn:schemas-upnp-org:device:MediaRenderer:1</deviceType>
<friendlyName>Wohnzimmer - Sonos PLAY:3 Media Renderer</friendlyName>
<manufacturer>Sonos, Inc.</manufacturer>
<manufacturerURL>http://www.sonos.com</manufacturerURL >
<modelNumber>S3</modelNumber>
<modelDescription>Sonos PLAY:3 Media Renderer</modelDescription>
<modelName>Sonos PLAY:3</modelName>
<modelURL>http://www.sonos.com/products/zoneplayers/S3</modelURL >
<UDN>uuid:RINCON_B8E937DA5BF401400_MR</UDN>
<serviceList>
  <service>
 
    <serviceType>urn:schemas-upnp-org:service:RenderingControl:1</serviceType>
 
    <serviceId>urn:upnp-org:serviceId:RenderingControl</serviceId>
 
    <controlURL>/MediaRenderer/RenderingControl/Control</controlURL>
 
    <eventSubURL>/MediaRenderer/RenderingControl/Event</eventSubURL>
 
    <SCPDURL>/xml/RenderingControl1.xml</SCPDURL>
  </service>
  <service>
 
    <serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType>
 
    <serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId>
 
    <controlURL>/MediaRenderer/ConnectionManager/Control</controlURL>
 
    <eventSubURL>/MediaRenderer/ConnectionManager/Event</eventSubURL>
 
    <SCPDURL>/xml/ConnectionManager1.xml</SCPDURL>
  </service>
  <service>
 
    <serviceType>urn:schemas-upnp-org:service:AVTransport:1</serviceType>
 
    <serviceId>urn:upnp-org:serviceId:AVTransport</serviceId>
 
    <controlURL>/MediaRenderer/AVTransport/Control</controlURL>
 
    <eventSubURL>/MediaRenderer/AVTransport/Event</eventSubURL>
 
    <SCPDURL>/xml/AVTransport1.xml</SCPDURL>
  </service>
  <service>
 
    <serviceType>urn:schemas-sonos-com:service:Queue:1</serviceType>
 
    <serviceId>urn:sonos-com:serviceId:Queue</serviceId>
 
    <controlURL>/MediaRenderer/Queue/Control</controlURL>
 
    <eventSubURL>/MediaRenderer/Queue/Event</eventSubURL>
 
    <SCPDURL>/xml/Queue1.xml</SCPDURL>
  </service>

          <service>

            <serviceType>urn:schemas-upnp-org:service:GroupRenderingControl:1</serviceType>

            <serviceId>urn:upnp-org:serviceId:GroupRenderingControl</serviceId>

            <controlURL>/MediaRenderer/GroupRenderingControl/Control</controlURL>

            <eventSubURL>/MediaRenderer/GroupRenderingControl/Event</eventSubURL>

            <SCPDURL>/xml/GroupRenderingControl1.xml</SCPDURL>

          </service>
</serviceList>

        <X_Rhapsody-Extension xmlns=" http://www.real.com/rhapsody/xmlns/upnp-1-0 ">

          <deviceID>urn:rhapsody-real-com:device-id-1-0:sonos_1:RINCON_B8E937DA5BF401400</deviceID>

            <deviceCapabilities>

              <interactionPattern type="real-rhapsody-upnp-1-0"/>

            </deviceCapabilities>

        </X_Rhapsody-Extension>

        <qq:X_QPlay_SoftwareCapability xmlns:qq=" QPlay:2http://www.tencent.com">QPlay:2</qq:X_QPlay_SoftwareCapability >

        <iconList>

          <icon>

            <mimetype>image/png</mimetype>

            <width>48</width>

            <height>48</height>

            <depth>24</depth>

            <url>/img/icon-S3.png</url>

          </icon>

        </iconList>

      </device>

    </deviceList>
</device>
</root>

2015.06.01 12:51:37 4: SONOS1: RoomName: 'Wohnzimmer', SaveRoomName: 'Wohnzimmer', ModelNumber: 'S3', DisplayVersion: '5.3.2', SerialNum: 'B8-E9-37-DA-5B-F4:D', IconURI: '/img/icon-S3.png', IconOrigPath: 'http://192.168.1.154:1400/img/icon-S3.png ', IconPath: 'icoSONOSPLAYER_icon-S3.png'
2015.06.01 12:51:37 2: SONOS1: Discover Sonosplayer 'Wohnzimmer' (S3) Software Revision 5.3.2 with ID 'RINCON_B8E937DA5BF401400_MR'
2015.06.01 12:51:39 4: SONOS1: SubDevice found: uuid:RINCON_B8E937DA5BF401400_MS
2015.06.01 12:51:40 4: SONOS1: SubDevice found: uuid:RINCON_B8E937DA5BF401400_MR
2015.06.01 12:51:44 4: SONOS1: ControlProxies wurden gesichert
2015.06.01 12:51:44 5: SONOS1: ZoneGroupState: <ZoneGroups><ZoneGroup Coordinator="RINCON_B8E937DA5BF401400" ID="RINCON_B8E937DA5BF401400:7"><ZoneGroupMember UUID="RINCON_B8E937DA5BF401400" Location="http://192.168.1.154:1400/xml/device_description.xml " ZoneName="Wohnzimmer" Icon="x-rincon-roomicon:living" Configuration="1" SoftwareVersion="28.1-86173" MinCompatibleVersion="27.0-00000" LegacyCompatibleVersion="24.0-0000" BootSeq="34" WirelessMode="1" ChannelFreq="2412" BehindWifiExtender="0" WifiEnabled="1"/></ZoneGroup></ZoneGroups>
2015.06.01 12:51:44 4: SONOS1: Retrieved TopoType:
2015.06.01 12:51:45 4: SONOS1: Retrieve Current Volumelevels. Master: "52", Balance: "0"
2015.06.01 12:51:45 2: SONOS1: SonosPlayer 'Wohnzimmer' (S3) with ID 'RINCON_B8E937DA5BF401400_MR' is already defined and will only be updated
2015.06.01 12:51:45 4: SONOS1: ProxyObject exists: UPnP::ControlPoint::ControlProxy=HASH(0x1cb4e10)
2015.06.01 12:51:46 2: SONOS1: SonosPlayer 'Wohnzimmer' is now updated
2015.06.01 12:51:46 2: SONOS1: Service-subscribing successful with SID=uuid:RINCON_B8E937DA5BF401400_sub0000000028
2015.06.01 12:51:46 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, attr, minVolume, -1) -> 0
2015.06.01 12:51:46 2: SONOS1: Rendering-Service-subscribing successful with SID=uuid:RINCON_B8E937DA5BF401400_sub0000000029
2015.06.01 12:51:46 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, attr, minVolume, -1) -> 0
2015.06.01 12:51:46 2: SONOS1: GroupRendering-Service-subscribing successful with SID=uuid:RINCON_B8E937DA5BF401400_sub0000000030
2015.06.01 12:51:46 2: SONOS1: ContentDirectory-Service-subscribing successful with SID=uuid:RINCON_B8E937DA5BF401400_sub0000000031
2015.06.01 12:51:46 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, attr, getAlarms, 0) -> 1
2015.06.01 12:51:46 2: SONOS1: Alarm-Service-subscribing successful with SID=uuid:RINCON_B8E937DA5BF401400_sub0000000032
2015.06.01 12:51:47 2: SONOS1: ZoneGroupTopology-Service-subscribing successful with SID=uuid:RINCON_B8E937DA5BF401400_sub0000000033
2015.06.01 12:51:47 2: SONOS1: DeviceProperties-Service-subscribing successful with SID=uuid:RINCON_B8E937DA5BF401400_sub0000000034
2015.06.01 12:51:47 3: SONOS1: Discover: End of discover-event for "Wohnzimmer".
2015.06.01 12:51:47 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, def, NAME, RINCON_B8E937DA5BF401400_MR) -> Sonos_Wohnzimmer
2015.06.01 12:51:47 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, attr, disable, 0) -> DEFAULT
2015.06.01 12:51:47 3: SONOS1: Event: Received Transport-Event for Zone "Sonos_Wohnzimmer".
2015.06.01 12:51:47 4: SONOS1: Transport-Event: All correct with this service-call till now. UDN='uuid:RINCON_B8E937DA5BF401400_MR'
2015.06.01 12:51:47 4: SONOS1: Transport-Event: GroundURL: http://192.168.1.154:1400
2015.06.01 12:51:47 4: SONOS1: Transport-Event: LastChange: <Event xmlns="urn:schemas-upnp-org:metadata-1-0/AVT/" xmlns:r="urn:schemas-rinconnetworks-com:metadata-1-0/"><InstanceID val="0"><TransportState val="STOPPED"/><CurrentPlayMode val="NORMAL"/><CurrentCrossfadeMode val="0"/><NumberOfTracks val="0"/><CurrentTrack val="0"/><CurrentSection val="0"/><CurrentTrackURI val=""/><CurrentTrackDuration val="0:00:00"/><CurrentTrackMetaData val=""/><r:NextTrackURI val=""/><r:NextTrackMetaData val=""/><r:EnqueuedTransportURI val=""/><r:EnqueuedTransportURIMetaData val=""/><PlaybackStorageMedium val="NONE"/><AVTransportURI val=""/><AVTransportURIMetaData val=""/><NextAVTransportURI val=""/><NextAVTransportURIMetaData val=""/><CurrentTransportActions val="Set, Play, Stop, Pause, Seek, Next, Previous"/><r:CurrentValidPlayModes val=""/><TransportStatus val="OK"/><r:SleepTimerGeneration val="0"/><r:AlarmRunning val="0"/><r:SnoozeRunning val="0"/><r:RestartPending val="0"/><TransportPlaySpeed val="NOT_IMPLEMENTED"/><CurrentMediaDuration val="NOT_IMPLEMENTED"/><RecordStorageMedium val="NOT_IMPLEMENTED"/><PossiblePlaybackStorageMedia val="NONE, NETWORK"/><PossibleRecordStorageMedia val="NOT_IMPLEMENTED"/><RecordMediumWriteStatus val="NOT_IMPLEMENTED"/><CurrentRecordQualityMode val="NOT_IMPLEMENTED"/><PossibleRecordQualityModes val="NOT_IMPLEMENTED"/></InstanceID></Event>
2015.06.01 12:51:47 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, reading, SleepTimerVersion, ) -> 0
2015.06.01 12:51:47 4: SONOS1: Transport-Event: CurrentTrackMetaData:
2015.06.01 12:51:47 4: SONOS1: Transport-Event: Normal erkannt!
2015.06.01 12:51:47 4: SONOS1: Transport-Event: NextTrackMetaData:
2015.06.01 12:51:47 4: SONOS1: ProxyObject exists: UPnP::ControlPoint::ControlProxy=HASH(0x1cb4e10)
2015.06.01 12:51:47 3: SONOS1: Event: End of Transport-Event for Zone "Sonos_Wohnzimmer".
2015.06.01 12:51:47 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, reading, presence, disappeared) -> appeared
2015.06.01 12:51:47 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, def, NAME, RINCON_B8E937DA5BF401400_MR) -> Sonos_Wohnzimmer
2015.06.01 12:51:47 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, attr, disable, 0) -> DEFAULT
2015.06.01 12:51:47 3: SONOS1: Event: Received GroupRendering-Event for Zone "Sonos_Wohnzimmer".
2015.06.01 12:51:47 4: SONOS1: GroupRendering-Event: All correct with this service-call till now. UDN='uuid:RINCON_B8E937DA5BF401400_MR'
2015.06.01 12:51:47 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, attr, generateVolumeEvent, 0) -> DEFAULT
2015.06.01 12:51:47 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, reading, GroupVolume, ~~) -> 52
2015.06.01 12:51:47 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, reading, GroupMute, ~~) -> 0
2015.06.01 12:51:47 3: SONOS1: Event: End of GroupRendering-Event for Zone "Sonos_Wohnzimmer".
2015.06.01 12:51:48 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, reading, presence, disappeared) -> appeared
2015.06.01 12:51:48 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, def, NAME, RINCON_B8E937DA5BF401400_MR) -> Sonos_Wohnzimmer
2015.06.01 12:51:48 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, attr, disable, 0) -> DEFAULT
2015.06.01 12:51:48 3: SONOS1: Event: Received Alarm-Event for Zone "Sonos_Wohnzimmer".
2015.06.01 12:51:48 4: SONOS1: Alarm-Event: All correct with this service-call till now. UDN='uuid:RINCON_B8E937DA5BF401400_MR'
2015.06.01 12:51:48 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, reading, AlarmListVersion, ~~) -> ~~NotLoadedMarker~~
2015.06.01 12:51:48 4: SONOS1: Set new Alarm-Data
2015.06.01 12:51:48 3: SONOS1: Event: End of Alarm-Event for Zone "Sonos_Wohnzimmer".
2015.06.01 12:51:48 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, reading, presence, disappeared) -> appeared
2015.06.01 12:51:48 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, def, NAME, RINCON_B8E937DA5BF401400_MR) -> Sonos_Wohnzimmer
2015.06.01 12:51:48 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, attr, disable, 0) -> DEFAULT
2015.06.01 12:51:48 3: SONOS1: Event: Received ZoneGroupTopology-Event for Zone "Sonos_Wohnzimmer".
2015.06.01 12:51:48 4: SONOS1: ZoneGroupTopology-Event: All correct with this service-call till now. UDN='uuid:RINCON_B8E937DA5BF401400_MR'
2015.06.01 12:51:48 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, reading, ZonePlayerUUIDsInGroup, ) -> RINCON_B8E937DA5BF401400
2015.06.01 12:51:48 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, reading, ZoneGroupID, ) -> RINCON_B8E937DA5BF401400:__
2015.06.01 12:51:48 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, reading, fieldType, ) ->
2015.06.01 12:51:48 4: SONOS1: Retrieved TopoType:
2015.06.01 12:51:48 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, reading, roomName, ) -> Wohnzimmer
2015.06.01 12:51:48 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, reading, ZoneGroupName, ) -> Wohnzimmer
2015.06.01 12:51:48 3: SONOS1: Event: End of ZoneGroupTopology-Event for Zone "Sonos_Wohnzimmer".
2015.06.01 12:51:48 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, reading, presence, disappeared) -> appeared
2015.06.01 12:51:48 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, def, NAME, RINCON_B8E937DA5BF401400_MR) -> Sonos_Wohnzimmer
2015.06.01 12:51:48 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, attr, disable, 0) -> DEFAULT
2015.06.01 12:51:48 3: SONOS1: Event: Received DeviceProperties-Event for Zone "Sonos_Wohnzimmer".
2015.06.01 12:51:48 4: SONOS1: DeviceProperties-Event: All correct with this service-call till now. UDN='uuid:RINCON_B8E937DA5BF401400_MR'
2015.06.01 12:51:48 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, reading, roomName, ) -> Wohnzimmer
2015.06.01 12:51:48 4: SONOS1: SONOS_Client_Data_Retreive(SONOS, attr, characterDecoding, CP1252) -> DEFAULT
2015.06.01 12:51:48 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, reading, fieldType, ) ->
2015.06.01 12:51:48 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, reading, roomIcon, ) -> living
2015.06.01 12:51:48 3: SONOS1: Event: End of DeviceProperties-Event for Zone "Sonos_Wohnzimmer".
2015.06.01 12:51:48 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, reading, presence, disappeared) -> appeared
2015.06.01 12:51:48 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, def, NAME, RINCON_B8E937DA5BF401400_MR) -> Sonos_Wohnzimmer
2015.06.01 12:51:48 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, attr, disable, 0) -> DEFAULT
2015.06.01 12:51:48 3: SONOS1: Event: Received ContentDirectory-Event for Zone "Sonos_Wohnzimmer".
2015.06.01 12:51:48 4: SONOS1: ContentDirectory-Event: All correct with this service-call till now. UDN='uuid:RINCON_B8E937DA5BF401400_MR'
2015.06.01 12:51:48 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, reading, PlaylistsVersion, ~~) -> RINCON_B8E937DA5BF401400,3
2015.06.01 12:51:48 3: SONOS1: Event: End of ContentDirectory-Event for Zone "Sonos_Wohnzimmer".
2015.06.01 12:51:48 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, reading, presence, disappeared) -> appeared
2015.06.01 12:51:49 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, def, NAME, RINCON_B8E937DA5BF401400_MR) -> Sonos_Wohnzimmer
2015.06.01 12:51:49 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, attr, disable, 0) -> DEFAULT
2015.06.01 12:51:49 3: SONOS1: Event: Received Rendering-Event for Zone "Sonos_Wohnzimmer".
2015.06.01 12:51:49 4: SONOS1: Rendering-Event: All correct with this service-call till now. UDN='uuid:RINCON_B8E937DA5BF401400_MR'
2015.06.01 12:51:49 4: SONOS1: Rendering-Event: LastChange: <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="52"/><Volume channel="LF" val="100"/><Volume channel="RF" val="100"/><Mute channel="Master" val="0"/><Mute channel="LF" val="0"/><Mute channel="RF" val="0"/><Bass val="0"/><Treble val="0"/><Loudness channel="Master" val="1"/><OutputFixed val="0"/><HeadphoneConnected val="0"/><SpeakerSize val="4"/><SubGain val="0"/><SubCrossover val="0"/><SubPolarity val="0"/><SubEnabled val="1"/><PresetNameList val="FactoryDefaults"/></InstanceID></Event>
2015.06.01 12:51:49 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, attr, generateVolumeEvent, 0) -> DEFAULT
2015.06.01 12:51:49 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, reading, Mute, 0) -> 0
2015.06.01 12:51:49 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, reading, HeadphoneConnected, 0) -> 0
2015.06.01 12:51:49 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, reading, Balance, 0) -> 0
2015.06.01 12:51:49 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, reading, Volume, 0) -> 52
2015.06.01 12:51:49 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, reading, Loudness, 0) -> 1
2015.06.01 12:51:49 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, reading, Bass, 0) -> 0
2015.06.01 12:51:49 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, reading, Treble, 0) -> 0
2015.06.01 12:51:49 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, reading, OutputFixed, 0) -> 0
2015.06.01 12:51:49 4: SONOS1: Rendering-Event: Current Values for 'Sonos_Wohnzimmer' ~ Volume: 52, HeadphoneConnected: 0, Bass: 0, Treble: 0, Balance: 0, Loudness: 1, Mute: 0
2015.06.01 12:51:49 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, attr, minVolume, 0) -> 0
2015.06.01 12:51:49 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, attr, maxVolume, 100) -> DEFAULT
2015.06.01 12:51:49 4: SONOS1: Rendering-Event: Current Borders for 'Sonos_Wohnzimmer' ~ minVolume: 0, maxVolume: 100
2015.06.01 12:51:49 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, attr, buttonEvents, ) -> DEFAULT
2015.06.01 12:51:49 3: SONOS1: Event: End of Rendering-Event for Zone "Sonos_Wohnzimmer".
2015.06.01 12:51:49 4: SONOS1: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, reading, presence, disappeared) -> appeared
2015.06.01 12:52:34 3: SONOS0: Connection accepted from localhost:36155
2015.06.01 12:52:34 5: SONOS0: Received: 'hello'
2015.06.01 12:52:34 5: SONOS0: Received: 'goaway'
2015.06.01 12:53:04 3: SONOS0: Connection accepted from localhost:36156
2015.06.01 12:53:04 5: SONOS0: Received: 'hello'
2015.06.01 12:53:04 5: SONOS0: Received: 'goaway'
2015.06.01 12:53:34 3: SONOS0: Connection accepted from localhost:36157
2015.06.01 12:53:34 5: SONOS0: Received: 'hello'
2015.06.01 12:53:34 5: SONOS0: Received: 'goaway'
2015.06.01 12:54:04 3: SONOS0: Connection accepted from localhost:36158
2015.06.01 12:54:04 5: SONOS0: Received: 'hello'
2015.06.01 12:54:04 5: SONOS0: Received: 'goaway'
2015.06.01 12:54:06 4: SONOS2: IsAlive-Event UDN=RINCON_B8E937DA5BF401400_MR
2015.06.01 12:54:06 4: SONOS2: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, reading, location, ) -> http://192.168.1.154:1400/xml/device_description.xml
2015.06.01 12:54:06 5: SONOS2: Location: http://192.168.1.154:1400/xml/device_description.xml
2015.06.01 12:54:06 5: SONOS2: PingType: icmp
2015.06.01 12:54:06 4: SONOS2: 192.168.1.154 is alive
2015.06.01 12:54:34 3: SONOS0: Connection accepted from localhost:36159
2015.06.01 12:54:34 5: SONOS0: Received: 'hello'
2015.06.01 12:54:34 5: SONOS0: Received: 'goaway'
2015.06.01 12:54:36 4: SONOS2: IsAlive-Event UDN=RINCON_B8E937DA5BF401400_MR
2015.06.01 12:54:36 4: SONOS2: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, reading, location, ) -> http://192.168.1.154:1400/xml/device_description.xml
2015.06.01 12:54:36 5: SONOS2: Location: http://192.168.1.154:1400/xml/device_description.xml
2015.06.01 12:54:36 5: SONOS2: PingType: icmp
2015.06.01 12:54:36 4: SONOS2: 192.168.1.154 is alive
2015.06.01 12:55:04 3: SONOS0: Connection accepted from localhost:36160
2015.06.01 12:55:04 5: SONOS0: Received: 'hello'
2015.06.01 12:55:04 5: SONOS0: Received: 'goaway'
2015.06.01 12:55:06 4: SONOS2: IsAlive-Event UDN=RINCON_B8E937DA5BF401400_MR
2015.06.01 12:55:06 4: SONOS2: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, reading, location, ) -> http://192.168.1.154:1400/xml/device_description.xml
2015.06.01 12:55:06 5: SONOS2: Location: http://192.168.1.154:1400/xml/device_description.xml
2015.06.01 12:55:06 5: SONOS2: PingType: icmp
2015.06.01 12:55:07 3: SONOS2: 192.168.1.154 is NOT alive, but in merci level 1/2.
2015.06.01 12:55:34 3: SONOS0: Connection accepted from localhost:36165
2015.06.01 12:55:34 5: SONOS0: Received: 'hello'
2015.06.01 12:55:34 5: SONOS0: Received: 'goaway'
2015.06.01 12:55:38 4: SONOS2: IsAlive-Event UDN=RINCON_B8E937DA5BF401400_MR
2015.06.01 12:55:38 4: SONOS2: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, reading, location, ) -> http://192.168.1.154:1400/xml/device_description.xml
2015.06.01 12:55:38 5: SONOS2: Location: http://192.168.1.154:1400/xml/device_description.xml
2015.06.01 12:55:38 5: SONOS2: PingType: icmp
2015.06.01 12:55:39 3: SONOS2: 192.168.1.154 is NOT alive, but in merci level 2/2.
2015.06.01 12:56:04 3: SONOS0: Connection accepted from localhost:36166
2015.06.01 12:56:04 5: SONOS0: Received: 'hello'
2015.06.01 12:56:04 5: SONOS0: Received: 'goaway'
2015.06.01 12:56:09 4: SONOS2: IsAlive-Event UDN=RINCON_B8E937DA5BF401400_MR
2015.06.01 12:56:09 4: SONOS2: SONOS_Client_Data_Retreive(RINCON_B8E937DA5BF401400_MR, reading, location, ) -> http://192.168.1.154:1400/xml/device_description.xml
2015.06.01 12:56:09 5: SONOS2: Location: http://192.168.1.154:1400/xml/device_description.xml
2015.06.01 12:56:09 5: SONOS2: PingType: icmp
2015.06.01 12:56:10 3: SONOS2: 192.168.1.154 is REALLY NOT alive (out of merci maxlevel '2')
2015.06.01 12:56:10 3: SONOS2: ReportUnresponsiveDevice: RINCON_B8E937DA5BF401400
2015.06.01 12:56:10 4: SONOS1: Delete ProxyObjects and SubscriptionObjects for 'RINCON_B8E937DA5BF401400_MR'
2015.06.01 12:56:10 4: SONOS1: Delete of ProxyObjects and SubscriptionObjects DONE for 'RINCON_B8E937DA5BF401400_MR'
2015.06.01 12:56:34 3: SONOS0: Connection accepted from localhost:36167
2015.06.01 12:56:34 5: SONOS0: Received: 'hello'
2015.06.01 12:56:34 5: SONOS0: Received: 'goaway'
2015.06.01 12:57:04 3: SONOS0: Connection accepted from localhost:36168
2015.06.01 12:57:04 5: SONOS0: Received: 'hello'
2015.06.01 12:57:04 5: SONOS0: Received: 'goaway'
Titel: Antw:Sonos - State ändert sich nicht nach ausschalten
Beitrag von: Reinerlein am 01 Juni 2015, 13:15:23
Hallo Kai,

ok, dann hast du eine Netzwerkkomponente dazwischen, die mit dem syn-Aufruf Probleme hat, bzw. immer einen Erfolg meldet. Das kommt z.B. bei hochwertigen Switchen vor, da die oftmals einen riesigen dauherhaften ARP-Cache haben...

Du könntest jetzt noch mit "tcp" als pingType herumexperimentieren, der braucht keine root Rechte.

Wenn das nicht zufriedenstellend funktioniert, dann wirst du um root-Rechte für Fhem nicht rumkommen (wenn du dieses Feature brauchst :) )

Grüße
Reiner
Titel: Antw:Sonos - State ändert sich nicht nach ausschalten
Beitrag von: Kai-Alfonso am 01 Juni 2015, 13:17:40
Danke für die Info - ob man ne Fritzbox 7390 als hochwertig bezeichnen kann, muss jeder selber wissen ;-) - ich experimentiere mal mit den PingType Attributen

Vielen Dank für deine Hilfe
Titel: Antw:Sonos - State ändert sich nicht nach ausschalten
Beitrag von: Kai-Alfonso am 01 Juni 2015, 13:32:13
Kurze Info:

mit pingtype tcp geht es jetzt (mit Benutzer fhem) - dauert zwar ein bisschen länger als icmp (also genauso lange wie der Sonos Controller - pingtype icmp war sogar schneller als der Sonos Controller bei der Erkennung)
Titel: Antw:Sonos - State ändert sich nicht nach ausschalten
Beitrag von: Reinerlein am 01 Juni 2015, 13:37:56
Hi Kai,

der Sonos-Controller macht eigentlich überhaupt keine Erkennung. Erst wenn man eine Aktion an den nicht mehr vorhandenen Player sendet, wird er aus dem Controller entfernt.

Das Modul teilt allen Controllern mit, wenn es einen Player als nicht vorhanden erkannt hat. Das ist das ReportUnresponsiveDevice im Log...

Das kannst du testen, indem du das Modul deaktivierst, und mal wartest, was dein Sonos-Controller mit einem abwesenden Player macht. Der sollte eigentlich dauerhaft in der Liste bleiben.
Wenn das Modul allerdings aktiv ist und einen Player ausschaltest, wird er auch bei dem offenen Controller aus der Liste entfernt, ohne das man dort eine Aktion durchführt.

Grüße
Reiner
Titel: Antw:Sonos - State ändert sich nicht nach ausschalten
Beitrag von: Devender am 16 April 2016, 00:03:05
Hallo zusammen!

ich habe diese Thema durch Zufall über die Suche gefunden, da ich seit Einrichtung meines Sonos Probleme hatte mit dem Status: appeared bzw. disappeared. wenn ich das Sonos per Funksteckdose ausgeschaltet hatte.
Nach Umstellung des ping-type auf tcp klappt die Statusübergabe nun einwandfrei und ich muss mein System nicht regelmäßig neu starten, um die u.a Speakfunktion zuverlässig nutzen zu können.

Besteht die Möglichkeit, das ins Wiki einzufügen?

Vielen Dank für den klasse Tipp!
Grüße, Dirk

Sorry für das aktivieren diese alten Themas  :-X