Sonos steuern

Begonnen von Will, 05 Januar 2013, 15:51:12

Vorheriges Thema - Nächstes Thema

Reinerlein

Hi Jarnsen,

ich schaue mal, ob ich das UPnP-Modul dahingehend korrigieren kann... :)

Grüße
Reinerlein

Jarnsen

Zu Reinerlein,

Oder im Wiki oder irgendwo anders darauf hinweisen das Sonderzeichen Probleme machen können...
1 x RPi2,
1 x nanoCUL433, 1 x nanoCUL868, 1 x SIGNALduino433
Sonos/SonosSpeak, Homebridge, 2 x Enigma2, 10 x Nobily Rollläden, 3 x Intertechno Steckdosen
Pushover, Abfallerinnerung, MySensors, 7 x Max!

Reinerlein

Hi Jarnsen,

das wäre ja keine schöne Lösung :)

Ich habe da schon was gefunden... Damit gehen dann auch Smilies im Zonennamen :)
Das sieht in Fhem lustig aus, wenn ein Aliasname (nicht der Devicename) auf der Oberfläche ein Bildchen/Smilie enthält. Wird allerdings nur auf Platformen dargestellt, die dieses Zeichen dann im Unicode auch enthalten, was für meine Mobilplatformen zutrifft, aber bei meinem Windowsbrowser bereits einen Platzhalter bei der Darstellung hervorruft...

Ich muss das nur ausgiebig testen, da es doch eine tiefgreifende Anpassung ist. Deshalb dauert das Veröffentlichen noch etwas...
Interessant war auch, dass ich das ja mit "normalen" Umlauten getestet hatte (die auch immer noch funktionierten), aber ein "ß" wohl trotzdem etwas besonderes ist...

Grüße
Reinerlein

ujaudio

#2313
Tja, seit ich das Sonos-Modul wieder aktiv habe (attr disable 0), habe ich auch wieder die folgenden Meldungen im Logfile
Out of memory!
Perl exited with active threads:
2 running and unjoined
1 finished and unjoined
0 running and detached
Current: "./FHEM/00_SONOS.pm", gPath: ""

Gemerkt habe ich es, weil heute Morgen keine Musik lief - aber es gibt ja noch die Sonos-App  ;)

Ich habe jetzt den raspberry neu gebootet, nun läuft alles wieder.
Einen lieben Gruß
Jürgen

rapster

Hi Reiner,

heute früh hat sich das Modul (alte Version 10131 2015-12-08 17:54:18Z) nach einem fhem-freeze von ~20 sec. durch reduceLog winkend verabschiedet :-)
Evtl. hilft das ja die UPnP seite etwas "stabiler" zu bekommen.

2015.12.23 05:30:53.835 3: CUL_HM set og_sz_licht toggle

2015.12.23 04:12:26.908 1: SONOS1: Couldn't retrieve Current Transportsettings during Discovery: invalid method: ->GetTransportInfo() at ./FHEM/00_SONOS.pm line 5169 thread 1.
Error loading SCPD document:  at ./FHEM/00_SONOS.pm line 5027 thread 1.
(in cleanup) Unsubscription request failed with error: 500 Server closed connection without sending any data back at FHEM/lib/UPnP/ControlPoint.pm line 1025 thread 1.
2015.12.23 04:03:46.668 1: SONOS1: ContentDirectory-Event: device 'Sonos_Bad' is marked as disappeared. Restarting discovery-process!
2015.12.23 04:03:38.765 1: SONOS1: Alarm-Service-subscribing NOT successful
Subscription request failed with error: 500 Can't connect to 192.168.1.103:1400 at ./FHEM/00_SONOS.pm line 5255 thread 1.
2015.12.23 04:01:57.093 1: SONOS1: ZoneGroupTopology-Event: device 'Sonos_Bad' is marked as disappeared. Restarting discovery-process!
Loading device description failed with error: 500 Server closed connection without sending any data back at ./FHEM/00_SONOS.pm line 3672 thread 1.

2015.12.23 04:01:28.291 1: SONOS1: Couldn't retrieve Current Transportsettings during Discovery: Can't call method "GetPositionInfo" on an undefined value at ./FHEM/00_SONOS.pm line 5172.

2015.12.23 04:01:20.920 3: at_reduceLog: reduceLog executed. Rows processed: 453467, deleted: 42369, updated: 1620, time: 20.91sec


Der Subprozess lief anscheinend nach, allerdings fand keine Kommunikation mit den Playern mehr statt.

Gruß
  Claudiu

Mitch

Kann ich die Player irgendwie neu einlesen?

Ich habe zwei umbennant und zu einem Stereopaar gemacht.
Wird ab so nicht in FHEM dargestellt.
FHEM im Proxmox Container

dev0

Zitat von: Mitch am 23 Dezember 2015, 08:17:53
Wird ab so nicht in FHEM dargestellt.
Player in FHEM löschen und neu anlegen lassen.
Die bessere Vorgehensweise ist im Wiki beschrieben.

OliS.

Hallo, Reinerlein!

Ich habe ein Problem mit dem Erkennen meiner Sonos-Player. Bevor ich das Problem hier in epischer Breite schildere, die Frage, macht es Sinn, einen neuen Thread zu erstellen, oder soll ich meine Frage in diesem hier stellen. Der Thread hier ist ja schon ziemlich umfangreich.

Oli
PVE auf MiniPC (N100) mit FHEM, Zigbee2MQTT, Homebridge, DeConz

Reinerlein

Hallo Oli,

bei einem speziellen Problem würde ich einen eigenen Thread bevorzugen. Das findet man dann besser mit der Suche, und die Lösung ist auch dichter an der Frage...

Grüße
Reinerlein

rapster

Hab grad zufällig gefunden wie das SONOS-System AirPlay fähig wird, vll. brauchts ja einer.
Hatte selber schon öfter das Bedürfniss den Sound während man sich gerade zusammen was auf iPad und co. anschaut auf SONOS auszugeben.

Da das auf NodeJs aufbaut was bei mir aufgrund von Homebridge sowieso schon installiert ist, bin ich begeistert dass das nach 3 kurzen Shell-Befehlen sofort funktionierte.

Mehr Infos findet man hier: https://github.com/stephen/airsonos

Als Homebridge-User haben diese 2 Befehle zum installieren
$ apt-get install libasound2-dev
$ npm install airsonos -g

und dieser zum starten ausgereicht
airsonos(der Befehl sollte anschließend in ein init-Script o.ä. rein)

PS. Sorry Reiner, will hier nicht den Thread kapern, wollte für den kleinen "Tipp" aber auch keinen eigenen Thread starten ;)

Gruß
  Claudiu

Jarnsen

Airsonos funktioniert, habe aber noch nicht hinbekommen das es im autostart im rc.local läuft. Klappt nicht. Habe
/etc/bin/airsonos & disown hinzugefügt.
Wer kann helfen


Gesendet von iPhone mit Tapatalk
1 x RPi2,
1 x nanoCUL433, 1 x nanoCUL868, 1 x SIGNALduino433
Sonos/SonosSpeak, Homebridge, 2 x Enigma2, 10 x Nobily Rollläden, 3 x Intertechno Steckdosen
Pushover, Abfallerinnerung, MySensors, 7 x Max!

justme1968

funktioniert die so installierte version inzwischen mit el capitan und iOS 9.2 ?

gruss
  andre
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

rapster

Mit IOS9.2 ja,
habe allerdings keinen MAC.

Gruß
  Claudiu

CQuadrat

Hallo Reinerlein,

mein Log läuft mit folgenden Meldungen voll:

Loading device description failed with error: 400 URL must be absolute at ./FHEM/00_SONOS.pm line 3734 thread 1
Loading device description failed with error: 400 URL must be absolute at ./FHEM/00_SONOS.pm line 3734 thread 1
Loading device description failed with error: 400 URL must be absolute at ./FHEM/00_SONOS.pm line 3734 thread 1
Loading device description failed with error: 400 URL must be absolute at ./FHEM/00_SONOS.pm line 3734 thread 1
Loading device description failed with error: 400 URL must be absolute at ./FHEM/00_SONOS.pm line 3734 thread 1
Loading device description failed with error: 400 URL must be absolute at ./FHEM/00_SONOS.pm line 3734 thread 1
2015.12.25 23:30:28.676 3: SONOS0: Connection accepted from localhost:37020
Loading device description failed with error: 400 URL must be absolute at ./FHEM/00_SONOS.pm line 3734 thread 1
Loading device description failed with error: 400 URL must be absolute at ./FHEM/00_SONOS.pm line 3734 thread 1
Loading device description failed with error: 400 URL must be absolute at ./FHEM/00_SONOS.pm line 3734 thread 1
Loading device description failed with error: 400 URL must be absolute at ./FHEM/00_SONOS.pm line 3734 thread 1
Loading device description failed with error: 400 URL must be absolute at ./FHEM/00_SONOS.pm line 3734 thread 1
Loading device description failed with error: 400 URL must be absolute at ./FHEM/00_SONOS.pm line 3734 thread 1
2015.12.25 23:30:58.684 3: SONOS0: Connection accepted from localhost:37029
Loading device description failed with error: 400 URL must be absolute at ./FHEM/00_SONOS.pm line 3734 thread 1
Loading device description failed with error: 400 URL must be absolute at ./FHEM/00_SONOS.pm line 3734 thread 1
Loading device description failed with error: 400 URL must be absolute at ./FHEM/00_SONOS.pm line 3734 thread 1
Loading device description failed with error: 400 URL must be absolute at ./FHEM/00_SONOS.pm line 3734 thread 1
Loading device description failed with error: 400 URL must be absolute at ./FHEM/00_SONOS.pm line 3734 thread 1
Loading device description failed with error: 400 URL must be absolute at ./FHEM/00_SONOS.pm line 3734 thread 1
2015.12.25 23:31:28.692 3: SONOS0: Connection accepted from localhost:37039
Loading device description failed with error: 400 URL must be absolute at ./FHEM/00_SONOS.pm line 3734 thread 1
Loading device description failed with error: 400 URL must be absolute at ./FHEM/00_SONOS.pm line 3734 thread 1
Loading device description failed with error: 400 URL must be absolute at ./FHEM/00_SONOS.pm line 3734 thread 1
Loading device description failed with error: 400 URL must be absolute at ./FHEM/00_SONOS.pm line 3734 thread 1
Loading device description failed with error: 400 URL must be absolute at ./FHEM/00_SONOS.pm line 3734 thread 1
Loading device description failed with error: 400 URL must be absolute at ./FHEM/00_SONOS.pm line 3734 thread 1
2015.12.25 23:31:58.699 3: SONOS0: Connection accepted from localhost:37059


Hast Du einen Tipp für mich, wo das herkommt?


Danke und Gruß

Christoph
FHEM auf Mini-ITX-Server mit Intel Quad-Core J1900:
+ HM: HM-LAN, HM-USB, HM-MOD-UART mit div. HM-Komponenten
+ RFXtrx: Funkwetterstation Bresser mit ext. Thermometer, Regenmesser und Windmesser
+ TUL (KNX-Anbindung), MQTT, SONOS (div. Gimmicks), OneWire, Hue

Wuppi68

Habe auch eine "kleines" Problem :-)

mein Reading RINCON_... wird immer länger :-(

Habe meinen Cubietruck nach einem fehlgeschlagenen CPAN Perl Update komplett neu installiert und auch die Songs Player entsprechend NEU erkennen lassen und alle zusätzlichen Perl Module via CPAN ohne Fehler installiert.

Als OS habe ich Jessy

Weiß wer einen Rat? In dem 2. Code Block ist das komplette List eines von 3 Playern und das Solos Hauptdevice (verbose = 0 wurde hinterher von mir gesetzt .... nichts im Log zu finden

RINCON_5CAAFD4452F001400:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__


Internals:
   CFGFN
   DEF        RINCON_5CAAFD4452F001400_MR
   NAME       media.Sonos_Dusche
   NR         477
   NTFY_ORDER 50-media.Sonos_Dusche
   STATE      appeared
   TYPE       SONOSPLAYER
   UDN        RINCON_5CAAFD4452F001400_MR
   CHANGETIME:
   Helper:
     Dblog:
       Alarmlist:
         Mydblog:
           TIME       1451037056.59396
           VALUE      {}
       Alarmlistversion:
         Mydblog:
           TIME       1451037056.59396
           VALUE      RINCON_B8E9378943C601400:0
       Lastactionresult:
         Mydblog:
           TIME       1451084730.02825
           VALUE      Play
       Zonegroupid:
         Mydblog:
           TIME       1451085084.54399
           VALUE      RINCON_5CAAFD4452F001400:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__
       Currentnormalaudio:
         Mydblog:
           TIME       1451043618.48996
           VALUE      0
       Currentsenderinfo:
         Mydblog:
           TIME       1451084732.81856
           VALUE      Wird gestartet...
       Currenttrackprovider:
         Mydblog:
           TIME       1451037278.04397
           VALUE      Radio
       Currenttrackuri:
         Mydblog:
           TIME       1451037278.04397
           VALUE      http://edge.live.mp3.mdn.newmedia.nacamar.net/ps-radiowuppertal/livestream.mp3
       Infosummarize1:
         Mydblog:
           TIME       1451084734.51323
           VALUE      Radio Wuppertal:
       Infosummarize2:
         Mydblog:
           TIME       1451084734.51323
           VALUE      PLAYING => Radio Wuppertal:
       Presence:
         Mydblog:
           TIME       1451037049.45161
           VALUE      appeared
       State:
         Mydblog:
           TIME       1451084734.51323
           VALUE      currentSenderInfo:
       Transportstate:
         Mydblog:
           TIME       1451084731.45507
           VALUE      PLAYING
   Readings:
     2015-12-25 10:50:56   AlarmList       {}
     2015-12-25 10:50:56   AlarmListIDs
     2015-12-25 10:50:56   AlarmListVersion RINCON_B8E9378943C601400:0
     2015-12-25 02:08:12   AlarmRunning    0
     2015-12-25 02:08:12   AlarmRunningID
     2015-12-25 02:08:06   Balance         0
     2015-12-25 02:08:27   Bass            -2
     2015-12-25 02:08:12   CrossfadeMode   0
     2015-12-25 02:08:25   DailyIndexRefreshTime
     2015-12-25 02:08:26   FavouritesVersion RINCON_B8E9378943C601400,10
     2015-12-25 02:08:22   GroupMute       0
     2015-12-25 02:08:22   GroupVolume     7
     2015-12-25 02:08:12   HeadphoneConnected 0
     2015-12-26 00:05:30   LastActionResult Play: Success!
     2015-12-25 02:08:27   Loudness        1
     2015-12-25 02:08:12   Mute            0
     2015-12-25 02:08:27   OutputFixed     0
     2015-12-25 02:08:26   PlaylistsVersion RINCON_B8E9378943C601400,2
     2015-12-25 02:08:26   QueueHash       9a1c7ee2c7ce38d4bbbaf29ab9f2ac1e
     2015-12-25 02:08:26   QueueVersion
     2015-12-25 02:08:26   RadiosVersion   RINCON_B8E9378943C601400,10
     2015-12-25 02:08:12   Repeat          0
     2015-12-25 02:08:12   RepeatOne       0
     2015-12-25 02:08:12   Shuffle         0
     2015-12-25 02:08:12   SleepTimer      off
     2015-12-25 02:08:11   SleepTimerVersion
     2015-12-25 02:08:27   SubEnable       1
     2015-12-25 02:08:27   SubGain         0
     2015-12-25 02:08:27   SubPolarity     0
     2015-12-25 02:08:27   Treble          0
     2015-12-25 02:08:27   TruePlay        0
     2015-12-25 02:08:06   Volume          7
     2015-12-26 00:11:24   ZoneGroupID     RINCON_5CAAFD4452F001400:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__:__
     2015-12-25 02:08:12   currentAlbum
     2015-12-25 02:08:12   currentAlbumArtURI ./www/images/default/SONOSPLAYER/media.Sonos_Dusche_AlbumArt.gif
     2015-12-25 02:08:12   currentAlbumArtURL http://192.168.99.37:1400/getaa?s=1&u=x-sonosapi-stream%3as10843%3fsid%3d254%26flags%3d32
     2015-12-25 02:08:12   currentAlbumArtist
     2015-12-25 02:08:12   currentArtist
     2015-12-25 12:40:18   currentNormalAudio 0
     2015-12-25 02:08:12   currentOriginalTrackNumber
     2015-12-25 02:08:12   currentSender   Radio Wuppertal
     2015-12-25 02:08:12   currentSenderCurrent
     2015-12-26 00:05:34   currentSenderInfo
     2015-12-25 02:08:06   currentStreamAudio 1
     2015-12-25 02:08:12   currentTitle
     2015-12-25 02:08:06   currentTrack    1
     2015-12-25 02:08:06   currentTrackDuration 0:00:00
     2015-12-25 02:08:06   currentTrackPosition 0:00:00
     2015-12-25 10:54:38   currentTrackProvider Radio
     2015-12-25 10:54:38   currentTrackURI http://edge.live.mp3.mdn.newmedia.nacamar.net/ps-radiowuppertal/livestream.mp3
     2015-12-25 02:08:06   fieldType
     2015-12-26 00:05:34   infoSummarize1  Radio Wuppertal:
     2015-12-26 00:05:34   infoSummarize2  PLAYING => Radio Wuppertal:
     2015-12-25 02:08:12   infoSummarize3  Lautstärke: 7 ~ Ton An ~ Balance: Mitte ~ Kein Kopfhörer
     2015-12-25 02:08:12   infoSummarize4
     2015-12-25 02:08:06   location        http://192.168.99.37:1400/xml/device_description.xml
     2015-12-25 02:08:12   nextAlbum
     2015-12-25 02:08:12   nextAlbumArtURI ./www/images/default/SONOSPLAYER/media.Sonos_Dusche_NextAlbumArt.png
     2015-12-25 02:08:12   nextAlbumArtURL /fhem/sonos/cover/empty.jpg
     2015-12-25 02:08:12   nextAlbumArtist
     2015-12-25 02:08:12   nextArtist
     2015-12-25 02:08:12   nextOriginalTrackNumber
     2015-12-25 02:08:12   nextTitle
     2015-12-25 02:08:12   nextTrackDuration
     2015-12-25 02:08:12   nextTrackProvider
     2015-12-25 02:08:12   nextTrackURI
     2015-12-25 02:08:06   numberOfTracks  1
     2015-12-25 02:08:06   playerType      S1
     2015-12-25 10:50:49   presence        appeared
     2015-12-25 02:08:26   roomIcon        living
     2015-12-25 02:08:06   roomName        Dusche
     2015-12-25 02:08:06   roomNameAlias   Dusche
     2015-12-25 02:08:06   saveRoomName    Dusche
     2015-12-25 02:08:06   serialNum       5C-AA-FD-44-52-F0:E
     2015-12-25 02:08:06   softwareRevision 6.1
     2015-12-25 10:50:56   state           appeared
     2015-12-26 00:05:31   transportState  PLAYING
Attributes:
   alias      Dusche
   event-on-change-reading .*
   generateInfoSummarize1 <NormalAudio><Artist prefix="(" suffix=")"/><Title prefix=" '" suffix="'" ifempty="[Keine Musikdatei]"/><Album prefix=" vom Album '" suffix="'"/></NormalAudio> <StreamAudio><Sender suffix=":"/><SenderCurrent prefix=" '" suffix="' -"/><SenderInfo prefix=" "/></StreamAudio>
   generateInfoSummarize2 <TransportState/><InfoSummarize1 prefix=" => "/>
   generateInfoSummarize3 <Volume prefix="Lautstärke: "/><Mute instead=" ~ Kein Ton" ifempty=" ~ Ton An" emptyval="0"/> ~ Balance: <Balance ifempty="Mitte" emptyval="0"/><HeadphoneConnected instead=" ~ Kopfhörer aktiv" ifempty=" ~ Kein Kopfhörer" emptyval="0"/>
   generateVolumeSlider 1
   getAlarms  1
   group      Dusche
   icon       icoSONOSPLAYER_icon-S1.png
   minVolume  0
   model      Sonos_S1
   room       Dusche,Media,media.Sonos
   sortby     1
   stateVariable Presence
   userReadings Favourites:LastActionResult.*?GetFavouritesWithCovers.* { if (ReadingsVal("media.Sonos_Dusche", "LastActionResult", "") =~ m/.*?: (.*)/) { return $1; } }, Radios:LastActionResult.*?GetRadiosWithCovers.* { if (ReadingsVal("media.Sonos_Dusche", "LastActionResult", "") =~ m/.*?: (.*)/) { return $1; } }, Playlists:LastActionResult.*?GetPlaylistsWithCovers.* { if (ReadingsVal("media.Sonos_Dusche", "LastActionResult", "") =~ m/.*?: (.*)/) { return $1; } }, currentTrackPosition:LastActionResult.*?GetCurrentTrackPosition.* { if (ReadingsVal("media.Sonos_Dusche", "LastActionResult", "") =~ m/.*?: (.*)/) { return $1; } }


Internals:
   CFGFN
   DEF        localhost:4711 30
   DELAYTIME  0
   DeviceName localhost:4711
   FD         24
   INTERVAL   30
   NAME       media.Sonos
   NR         467
   NTFY_ORDER 50-media.Sonos
   PARTIAL
   STATE      opened
   TYPE       SONOS
   WAITTIME   8
   CHANGETIME:
   Helper:
     Dblog:
       Zonegroupstate:
         Mydblog:
           TIME       1451037279.91695
           VALUE      <ZoneGroups><ZoneGroup Coordinator="RINCON_B8E9378943C601400" ID="RINCON_B8E9378943C601400:1"><ZoneGroupMember UUID="RINCON_B8E9378943C601400" Location="http://192.168.99.248:1400/xml/device_description.xml" ZoneName="Badezimmer" Icon="x-rincon-roomicon:bathroom" Configuration="1" SoftwareVersion="31.8-24090" MinCompatibleVersion="29.0-00000" LegacyCompatibleVersion="24.0-00000" BootSeq="52" WirelessMode="1" HasConfiguredSSID="1" ChannelFreq="2447" BehindWifiExtender="0" WifiEnabled="1" Orientation="0" SonarState="1"/></ZoneGroup><ZoneGroup Coordinator="RINCON_5CAAFD4452F001400" ID="RINCON_5CAAFD4452F001400:1"><ZoneGroupMember UUID="RINCON_5CAAFD4452F001400" Location="http://192.168.99.37:1400/xml/device_description.xml" ZoneName="Dusche" Icon="x-rincon-roomicon:living" Configuration="1" SoftwareVersion="31.8-24090" MinCompatibleVersion="29.0-00000" LegacyCompatibleVersion="24.0-00000" BootSeq="10" WirelessMode="1" HasConfiguredSSID="1" ChannelFreq="2447" BehindWifiExtender="0" WifiEnabled="1" Orientation="0" SonarState="4"/></ZoneGroup><ZoneGroup Coordinator="RINCON_5CAAFD444E5C01400" ID="RINCON_5CAAFD444E5C01400:1"><ZoneGroupMember UUID="RINCON_5CAAFD444E5C01400" Location="http://192.168.99.38:1400/xml/device_description.xml" ZoneName="Mobil" Icon="x-rincon-roomicon:portable" Configuration="1" SoftwareVersion="31.8-24090" MinCompatibleVersion="29.0-00000" LegacyCompatibleVersion="24.0-00000" BootSeq="4" WirelessMode="1" HasConfiguredSSID="1" ChannelFreq="2447" BehindWifiExtender="0" WifiEnabled="1" Orientation="0" SonarState="4"/></ZoneGroup></ZoneGroups>
   Readings:
     2015-12-25 10:54:39   ZoneGroupState  <ZoneGroups><ZoneGroup Coordinator="RINCON_B8E9378943C601400" ID="RINCON_B8E9378943C601400:1"><ZoneGroupMember UUID="RINCON_B8E9378943C601400" Location="http://192.168.99.248:1400/xml/device_description.xml" ZoneName="Badezimmer" Icon="x-rincon-roomicon:bathroom" Configuration="1" SoftwareVersion="31.8-24090" MinCompatibleVersion="29.0-00000" LegacyCompatibleVersion="24.0-00000" BootSeq="52" WirelessMode="1" HasConfiguredSSID="1" ChannelFreq="2447" BehindWifiExtender="0" WifiEnabled="1" Orientation="0" SonarState="1"/></ZoneGroup><ZoneGroup Coordinator="RINCON_5CAAFD4452F001400" ID="RINCON_5CAAFD4452F001400:1"><ZoneGroupMember UUID="RINCON_5CAAFD4452F001400" Location="http://192.168.99.37:1400/xml/device_description.xml" ZoneName="Dusche" Icon="x-rincon-roomicon:living" Configuration="1" SoftwareVersion="31.8-24090" MinCompatibleVersion="29.0-00000" LegacyCompatibleVersion="24.0-00000" BootSeq="10" WirelessMode="1" HasConfiguredSSID="1" ChannelFreq="2447" BehindWifiExtender="0" WifiEnabled="1" Orientation="0" SonarState="4"/></ZoneGroup><ZoneGroup Coordinator="RINCON_5CAAFD444E5C01400" ID="RINCON_5CAAFD444E5C01400:1"><ZoneGroupMember UUID="RINCON_5CAAFD444E5C01400" Location="http://192.168.99.38:1400/xml/device_description.xml" ZoneName="Mobil" Icon="x-rincon-roomicon:portable" Configuration="1" SoftwareVersion="31.8-24090" MinCompatibleVersion="29.0-00000" LegacyCompatibleVersion="24.0-00000" BootSeq="4" WirelessMode="1" HasConfiguredSSID="1" ChannelFreq="2447" BehindWifiExtender="0" WifiEnabled="1" Orientation="0" SonarState="4"/></ZoneGroup></ZoneGroups>
     2015-12-25 10:50:40   state           opened
Attributes:
   event-on-change-reading .*
   room       media.Sonos
   targetSpeakDir /opt/fhem/SonosSpeak
   targetSpeakMP3FileConverter /usr/bin/avconv -c mp3 %infile% %outfile%
   targetSpeakURL //cubie.heibox.intern/SonosSpeak
   verbose    0
FHEM unter Proxmox als VM