Sonos: Neue Version vom 25.4.2018

Begonnen von Reinerlein, 25 April 2018, 17:09:19

Vorheriges Thema - Nächstes Thema

Reinerlein

Hallo zusammen,

hier eine kleine Auffrischung des Sonos-Moduls.
Folgendes ist enthalten:

  • "Deep Recursion"-Warnung beim loggen wird nun verhindert
  • Beim Erzeugen der Gruppen-ReadingsGroup ist bei der Verwendung eines Boosts ab und zu ein Fehler aufgetreten
  • Beim Erzeugen eines ControlPoint-Objekts kann man nun das Envelope-Prefix angeben (nicht für das Sonos-Modul relevant)
Wie immer ab sofort im SVN oder ab Morgen per update...

Grüße
Reinerlein

ToM_ToM

Na da bin ich mal gespannt :)

Ich habe aktuell noch das Problem dass ich morgens eine Sounddatei per PlayURITemp im Repeatmodus abspiele, was auch läuft. Sobald ich diese dann per Pause - Befehl anhalte, ist mein Sonos Device hinterher immer "disabled". Daher starte ich aktuell täglich mein System neu.

Vielleicht ist das ja damit auch behoben. :)

VG, Thomas
Hardware: BananaPi, Busmaster CUL, SanDisk 16GB Ultra SD, 16 GB USB-Stick | Software: Armbian, FHEM 5.8

Jamo

Hallo Reiner,
das alte Problem mit der Bridge scheint noch nicht gelöst:
2018.05.04 00:15:49 0: SONOS0: The Method 'SONOS_getSonosPlayerByUDN' cannot find the FHEM-Device according to '_MR'. This should not happen!
2018.05.04 00:15:49 3: SonosRG: <{getGroupsRG()}@ZoneGroupState>: Can't use an undefined value as a HASH reference at ./FHEM/00_SONOS.pm line 2111.

2018.05.04 00:15:50 0: SONOS0: The Method 'SONOS_getSonosPlayerByUDN' cannot find the FHEM-Device according to '_MR'. This should not happen!
2018.05.04 00:15:50 3: SonosRG: <{getGroupsRG()}@ZoneGroupState>: Can't use an undefined value as a HASH reference at ./FHEM/00_SONOS.pm line 2111.

2018.05.04 00:15:51 0: SONOS0: The Method 'SONOS_getSonosPlayerByUDN' cannot find the FHEM-Device according to '_MR'. This should not happen!
2018.05.04 00:15:51 3: SonosRG: <{getGroupsRG()}@ZoneGroupState>: Can't use an undefined value as a HASH reference at ./FHEM/00_SONOS.pm line 2111.

2018.05.04 00:15:52 3: groupSonos entered
2018.05.04 00:15:53 0: SONOS0: The Method 'SONOS_getSonosPlayerByUDN' cannot find the FHEM-Device according to '_MR'. This should not happen!
2018.05.04 00:15:53 3: SonosRG: <{getGroupsRG()}@ZoneGroupState>: Can't use an undefined value as a HASH reference at ./FHEM/00_SONOS.pm line 2111.

2018.05.04 00:15:53 0: SONOS0: The Method 'SONOS_getSonosPlayerByUDN' cannot find the FHEM-Device according to '_MR'. This should not happen!
2018.05.04 00:15:53 3: SonosRG: <{getGroupsRG()}@ZoneGroupState>: Can't use an undefined value as a HASH reference at ./FHEM/00_SONOS.pm line 2111.


Hier auch nochmal mein Reading "ZoneGroupState'"
<ZoneGroups><ZoneGroup Coordinator="RINCON_5CAAFD22856E01400" ID="RINCON_5CAAFD22856E01400:186"><ZoneGroupMember UUID="RINCON_B8E937B0815001400" Location="http://172.21.0.13:1400/xml/device_description.xml" ZoneName="Bad" Icon="x-rincon-roomicon:living" Configuration="1" SoftwareVersion="42.2-51240" MinCompatibleVersion="41.0-00000" LegacyCompatibleVersion="36.0-00000" BootSeq="3176" TVConfigurationError="0" WirelessMode="0" WirelessLeafOnly="0" HasConfiguredSSID="0" ChannelFreq="2462" BehindWifiExtender="0" WifiEnabled="1" Orientation="0" RoomCalibrationState="1" SecureRegState="2" VoiceState="0"/><ZoneGroupMember UUID="RINCON_949F3E0498E401400" Location="http://172.21.0.43:1400/xml/device_description.xml" ZoneName="Flur" Icon="x-rincon-roomicon:tvroom" Configuration="1" SoftwareVersion="42.2-51240" MinCompatibleVersion="41.0-00000" LegacyCompatibleVersion="36.0-00000" BootSeq="1834" TVConfigurationError="0" WirelessMode="0" WirelessLeafOnly="0" HasConfiguredSSID="0" ChannelFreq="2462" BehindWifiExtender="0" WifiEnabled="1" Orientation="0" RoomCalibrationState="1" SecureRegState="2" VoiceState="0"/><ZoneGroupMember UUID="RINCON_B8E9378ED7EC01400" Location="http://172.21.0.11:1400/xml/device_description.xml" ZoneName="Kueche" Icon="x-rincon-roomicon:living" Configuration="1" SoftwareVersion="42.2-51240" MinCompatibleVersion="41.0-00000" LegacyCompatibleVersion="36.0-00000" ChannelMapSet="RINCON_B8E9378ED7EC01400:LF,LF;RINCON_B8E9378B0AA601400:RF,RF" BootSeq="2282" TVConfigurationError="0" WirelessMode="0" WirelessLeafOnly="0" HasConfiguredSSID="0" ChannelFreq="2462" BehindWifiExtender="0" WifiEnabled="1" Orientation="0" RoomCalibrationState="1" SecureRegState="2" VoiceState="0"/><ZoneGroupMember UUID="RINCON_B8E9378B0AA601400" Location="http://172.21.0.12:1400/xml/device_description.xml" ZoneName="Kueche" Icon="x-rincon-roomicon:living" Configuration="1" Invisible="1" SoftwareVersion="42.2-51240" MinCompatibleVersion="41.0-00000" LegacyCompatibleVersion="36.0-00000" ChannelMapSet="RINCON_B8E9378ED7EC01400:LF,LF;RINCON_B8E9378B0AA601400:RF,RF" BootSeq="1893" TVConfigurationError="0" WirelessMode="0" WirelessLeafOnly="0" HasConfiguredSSID="0" ChannelFreq="2462" BehindWifiExtender="0" WifiEnabled="1" Orientation="0" RoomCalibrationState="5" SecureRegState="2" VoiceState="0"/><ZoneGroupMember UUID="RINCON_5CAAFD228CD401400" Location="http://172.21.0.42:1400/xml/device_description.xml" ZoneName="Schlaf" Icon="x-rincon-roomicon:masterbedroom" Configuration="1" Invisible="1" SoftwareVersion="42.2-51240" MinCompatibleVersion="41.0-00000" LegacyCompatibleVersion="36.0-00000" ChannelMapSet="RINCON_5CAAFD22856E01400:LF,LF;RINCON_5CAAFD228CD401400:RF,RF" BootSeq="3159" TVConfigurationError="0" WirelessMode="0" WirelessLeafOnly="0" HasConfiguredSSID="0" ChannelFreq="2462" BehindWifiExtender="0" WifiEnabled="1" Orientation="0" RoomCalibrationState="5" SecureRegState="2" VoiceState="0"/><ZoneGroupMember UUID="RINCON_5CAAFD22856E01400" Location="http://172.21.0.41:1400/xml/device_description.xml" ZoneName="Schlaf" Icon="x-rincon-roomicon:masterbedroom" Configuration="1" SoftwareVersion="42.2-51240" MinCompatibleVersion="41.0-00000" LegacyCompatibleVersion="36.0-00000" ChannelMapSet="RINCON_5CAAFD22856E01400:LF,LF;RINCON_5CAAFD228CD401400:RF,RF" BootSeq="3143" TVConfigurationError="0" WirelessMode="0" WirelessLeafOnly="0" HasConfiguredSSID="0" ChannelFreq="2462" BehindWifiExtender="0" WifiEnabled="1" Orientation="0" RoomCalibrationState="1" SecureRegState="2" VoiceState="0"/></ZoneGroup><ZoneGroup Coordinator="RINCON_B8E93702F1C401400" ID="RINCON_B8E93702F1C401400:732923909"><ZoneGroupMember UUID="RINCON_B8E93702F1C401400" Location="http://172.21.0.10:1400/xml/device_description.xml" ZoneName="BOOST" Icon="x-rincon-roomicon:viper" Configuration="1" Invisible="1" IsZoneBridge="1" SoftwareVersion="42.2-51240" MinCompatibleVersion="41.0-00000" LegacyCompatibleVersion="36.0-00000" BootSeq="3110" TVConfigurationError="0" WirelessMode="0" WirelessLeafOnly="0" HasConfiguredSSID="0" ChannelFreq="2462" BehindWifiExtender="0" WifiEnabled="1" Orientation="-1" RoomCalibrationState="0" SecureRegState="2" VoiceState="0"/></ZoneGroup></ZoneGroups>

Und die Sonos Version die ich verwende:

00_SONOS.pm                 16658 2018-04-25 06:00:12Z Reinerlein
21_SONOSPLAYER.pm           16478 2018-03-24 22:47:43Z Reinerlein
ControlPoint.pm             16658 2018-04-25 06:00:12Z Reinerlein
Bullseye auf iNUC, Homematic + HMIP(UART/HMUSB), Debmatic, HUEBridge, Zigbee/Conbee III, FB7690, Alexa (fhem-lazy), Livetracking, LaCrosse JeeLink, LoRaWan / TTN / Chirpstack, Sonos, ESPresence