SONOS Player Disappeared ... immer und immer wieder

Begonnen von KalleBlomquist, 01 Dezember 2017, 08:48:45

Vorheriges Thema - Nächstes Thema

Reinerlein

Hi Karsten,

da hast du recht. Sowohl DLNARenderer als auch Sonos verwenden denselben Port für die Rückmeldungen.
Der Port (1900) ist Default für SSDP, ich bin mir gerade überhaupt nicht sicher, ob ich den überhaupt ändern kann/darf (bzw. ob die Antworten dann noch ankommen).

So wie sich die Dokus allgemein lesen, kann man an einer IP-Adresse nur einmal auf diese Multicast-Nachrichten reagieren.

Kennt sich da jemand aus?
Ich kann das bei Gelegenheit aber auch mal ausprobieren... kann aber bis zum Wochenende dauern...

Grüße
Reinerlein

Bastel Bastel

Moin Reiner,
hast du schon etwas Neues herausgefunden?

Es scheint wirklich am doppelt genutzten Port zu liegen :(

Habe heute alle DLNARenderer devices gelöscht und siehe da, Sonoff legt automatisch alles an :)

Aber wär ja trotzdem schön den Raumfeldconnector wieder einzubinden ;)

Gruß Karsten
FHEM auf Mac Mini mit i7, Unifi APAC und Controller, 2 Siemens Logo 8er, 1 Wago 830er, diverse Ufos über Wifilight, diverse Homematicdevices, Harmony Hub, Sonos

h-man-kl

Hallo zusammen,
Ich habe das hier mal quergelesen und habe ähnlich gelagerte Probleme.
Meine Player haben sich irgendwann im Laufe der letzten Wochen verabschiedet. Bis auf einen, der wird angezeigt.
Ich habe das Modul angehalten, alle Player neu gestartet. Der eine der vorher als einziges nicht auf disappeard stand kam auch relativ gleich wieder zurück.
Die anderen Player tauchen nicht mehr auf. Auch ein rescan bringt genau nichts.
Interessant ist aber, dass sich immer dann wenn eine Änderung vorgenommen wird mein fhem aufhängt.
Stoppen und starten über die Konsole geht nicht ich muss den ganzen Raspberry neu starten.
Das selbe Phänomen habe ich auch wenn ich Dlna devices anlegen lassen will.........
Leider steht aber zu dem Zeitpunkt nichts im log fhem bleibt einfach undefiniert stehen
Vielleicht helfen meine Angaben ja irgendwie weiter.
Wenn ich noch etwas konkretes testen soll dann bitte einfach Bescheid sagen.

Gruß h-man
RasPi 3 mit MaxCube für FS20 , HM-Urart, HM-LAN, MiLight, HUE, Lightify, SONOS, Harmony, Unifi, FritzBox 7490... :-)
Ganz nach dem Motto: Normal? Normal is langweilig....

h-man-kl

Hallo zusammen ich habe auch Neuigkeiten.
Nach mehreren SONOS entfernen, hängenbleiben und Neustarts habe ich folgendes gemacht:
- In der SONOS Software habe ich den Haken bei UPNP-Server anzeigen rausgenommen
- SONOS in Fhem ndeaktiviert
- Alles was mit SONOS zu tun hat gelöscht
- Fehm neu gestartet
- SONOS wieder aktivert.

Nach kurzer Zeit ist erst wieder der Player erschienen der die ganze Zeit dageblieben war und dann nach langem warten sind alle anderen Player auch wieder aufgetaucht und nun seit 4 Tagen dageblieben.
Verstehen tu ichs zwar nicht, aber es läuft im Moment.

Gruß
H-Man
RasPi 3 mit MaxCube für FS20 , HM-Urart, HM-LAN, MiLight, HUE, Lightify, SONOS, Harmony, Unifi, FritzBox 7490... :-)
Ganz nach dem Motto: Normal? Normal is langweilig....

elmer

Ich habe seit einigen Wochen auch immer wieder das Problem das die Player jeden Tag auf disappeared stehen, so sind die Sonos Player nicht mehr zu gebrauchen. Wieso ist das plötzlich so, hat es eine Änderung gegeben?


2018.03.11 13:24:51 2: SONOS0: LastProcessAnswer way too old (Lastanswer: 1520770610.05777 ~ 2018-03-11 13:16:50)... try to restart the process and connection...
2018.03.11 13:24:52 0: SONOS0: Das Lauschen auf der Schnittstelle wurde beendet. Prozess endet nun auch...


Internals:
   .triggerUsed 0
   DEF        192.168.197.33:4711 120
   DELAYTIME  0
   DeviceName 192.168.197.33:4711
   INTERVAL   120
   NAME       Sonos
   NOTIFYDEV  global
   NR         76
   NTFY_ORDER 50-Sonos
   STATE      disabled
   TYPE       SONOS
   WAITTIME   8
   .attraggr:
   .attrminint:
   READINGS:
     2018-03-11 01:29:21   AllPlayer       ['Sonos_Bad','Sonos_Kueche','Sonos_Wohnzimmer']
     2018-03-11 01:29:21   AllPlayerCount  3
     2018-03-11 01:29:21   AllPlayerNotBonded ['Sonos_Bad','Sonos_Kueche','Sonos_Wohnzimmer']
     2018-03-11 01:29:21   AllPlayerNotBondedCount 3
     2018-03-10 23:41:30   LastActionResult SaveBookmarks: Success!
     2018-03-11 13:16:50   LastProcessAnswer 1520770610.05777
     2018-03-11 13:24:51   LastProcessRestart 2018-03-11 13:24:51
     2018-03-11 13:24:51   LastProcessRestartCount 186
     2018-03-10 19:58:26   LineInPlayer    ['Sonos_Bad','Sonos_Kueche','Sonos_Wohnzimmer']
     2018-03-11 01:29:21   MasterPlayer    ['Sonos_Bad','Sonos_Kueche','Sonos_Wohnzimmer']
     2018-03-11 01:29:21   MasterPlayerCount 3
     2018-03-10 22:00:26   MasterPlayerNotPlaying ['Sonos_Bad','Sonos_Kueche','Sonos_Wohnzimmer']
     2018-03-10 22:00:26   MasterPlayerNotPlayingCount 3
     2018-03-11 01:29:21   MasterPlayerPlaying []
     2018-03-11 01:29:21   MasterPlayerPlayingCount 0
     2018-03-10 19:58:26   MusicServicesList {'268' => {'Capabilities' => '513','SMAPI' => 'https://sonos.mytuner.mobi/api/v2/sonos/soap','Name' => 'myTuner Radio','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/68615/68615-400x400.png','Resolution' => undef,'ResolutionSubstitution' => undef,'ServiceType' => '68615','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/68615/68615-72x72.png'},'13' => {'Capabilities' => '579','SMAPI' => 'https://www.stitcher.com/Service/Sonos/Sonos.php','Name' => 'Stitcher SmartRadio','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/3335/3335-400x400.png','Resolution' => '328','ResolutionSubstitution' => 'lain328','ServiceType' => '3335','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/3335/3335-72x72.png'},'256' => {'Capabilities' => '594496','SMAPI' => 'https://cbcmusic-sonos.azurewebsites.net/SonosService.svc','Name' => 'CBC Radio & Music','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/65543/65543-400x400.png','Resolution' => '1500','ResolutionSubstitution' => 'w_1500,h_1500','ServiceType' => '65543','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/65543/65543-72x72.png'},'235' => {'Capabilities' => '70145','SMAPI' => 'https://sonos.playsr.com/ws','Name' => 'Sveriges Radio','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/60167/60167-400x400.png','Resolution' => undef,'ResolutionSubstitution' => undef,'ServiceType' => '60167','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/60167/60167-72x72.png'},'146' => {'Capabilities' => '513','SMAPI' => 'https://www.daytrotter.com/ws/MOAPI.asmx','Name' => 'Daytrotter','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/37383/37383-400x400.png','Resolution' => undef,'ResolutionSubstitution' => undef,'ServiceType' => '37383','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/37383/37383-72x72.png'},'171' => {'Capabilities' => '4609','SMAPI' => 'https://sonos.mix.moodmedia.com/api','Name' => 'Mood Mix','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/43783/43783-400x400.png','Resolution' => '1500','ResolutionSubstitution' => '_1500.png','ServiceType' => '43783','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/43783/43783-72x72.png'},'163' => {'Capabilities' => '513','SMAPI' => 'https://sonos.spreaker.com/sonos/service/v1','Name' => 'Spreaker','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/41735/41735-400x400.png','Resolution' => '200','ResolutionSubstitution' => '/large/','ServiceType' => '41735','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/41735/41735-72x72.png'},'232' => {'Capabilities' => '577','SMAPI' => 'https://sonosrp.radioapi.io/Service.svc','Name' => 'Radioplayer','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/59399/59399-400x400.png','Resolution' => '1500','ResolutionSubstitution' => '_1500.jpg','ServiceType' => '59399','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/59399/59399-72x72.png'},'31' => {'Capabilities' => '2643','SMAPI' => 'http://www.qobuz.com/api.xml/0.2/sonos','Name' => 'Qobuz','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/7943/7943-400x400.png','Resolution' => '600','ResolutionSubstitution' => '_600.jpg','ServiceType' => '7943','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/7943/7943-72x72.png'},'164' => {'Capabilities' => '12865','SMAPI' => 'https://www.saavn.com/apps/sonos/SonosAPI.php','Name' => 'Saavn','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/41991/41991-400x400.png','Resolution' => '500','ResolutionSubstitution' => '500x500.jpg','ServiceType' => '41991','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/41991/41991-72x72.png'},'162' => {'Capabilities' => '513','SMAPI' => 'https://sonos.townsquaremedia.com/index.php','Name' => 'radioPup','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/41479/41479-400x400.png','Resolution' => undef,'ResolutionSubstitution' => undef,'ServiceType' => '41479','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/41479/41479-72x72.png'},'157' => {'Capabilities' => '513','SMAPI' => 'https://sns.bandcamp.com/api/sonos/2/sonos_api','Name' => 'Bandcamp','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/40199/40199-400x400.png','Resolution' => undef,'ResolutionSubstitution' => undef,'ServiceType' => '40199','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/40199/40199-72x72.png'},'150' => {'Capabilities' => '512','SMAPI' => 'https://www.rusc.com/sonos.asmx','Name' => 'RUSC','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/38407/38407-400x400.png','Resolution' => undef,'ResolutionSubstitution' => undef,'ServiceType' => '38407','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/38407/38407-72x72.png'},'169' => {'Capabilities' => '512','SMAPI' => 'https://sonos.tribeofnoise.com/server-v2.0.php','Name' => 'Tribe of Noise','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/43271/43271-400x400.png','Resolution' => '1500','ResolutionSubstitution' => '_1500.jpg','ServiceType' => '43271','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/43271/43271-72x72.png'},'53' => {'Capabilities' => '1536','SMAPI' => 'https://securea.mlb.com/ce/sonos/default.jsp','Name' => 'MLB.com Gameday Audio','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/13575/13575-400x400.png','Resolution' => '400','ResolutionSubstitution' => '/400x400/','ServiceType' => '13575','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/13575/13575-72x72.png'},'167' => {'Capabilities' => '577','SMAPI' => 'http://sonosapi.gaana.com/SonosAPI.php','Name' => 'Gaana','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/42759/42759-400x400.png','Resolution' => '480','ResolutionSubstitution' => '_480x480_','ServiceType' => '42759','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/42759/42759-72x72.png'},'258' => {'Capabilities' => '512','SMAPI' => 'https://api.fm.qq.com/v1/sonos/sonos_cgi','Name' => '企鹅FM','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/66055/66055-400x400.png','Resolution' => undef,'ResolutionSubstitution' => undef,'ServiceType' => '66055','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/66055/66055-72x72.png'},'33' => {'Capabilities' => '513','SMAPI' => 'https://sonos.murfie.com/','Name' => 'Murfie','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/8455/8455-400x400.png','Resolution' => '300','ResolutionSubstitution' => '-huge.jpg?size=300','ServiceType' => '8455','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/8455/8455-72x72.png'},'212' => {'Capabilities' => '266817','SMAPI' => 'https://sonos.plex.tv/v2/soap','Name' => 'Plex','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/54279/54279-400x400.png','Resolution' => '1500','ResolutionSubstitution' => 'width=1500','ServiceType' => '54279','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/54279/54279-72x72.png'},'191' => {'Capabilities' => '1030739','SMAPI' => 'https://api.classicalarchives.com/smapi/endpoint','Name' => 'Classical Archives','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/48903/48903-400x400.png','Resolution' => undef,'ResolutionSubstitution' => undef,'ServiceType' => '48903','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/48903/48903-72x72.png'},'174' => {'Capabilities' => '1083923','SMAPI' => 'https://sonos.tidal.com/v1/sonos','Name' => 'TIDAL','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/44551/44551-400x400.png','Resolution' => '640','ResolutionSubstitution' => '640x640.jpg','ServiceType' => '44551','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/44551/44551-72x72.png'},'154' => {'Capabilities' => '513','SMAPI' => 'https://sonos.radionomy.com/SonosService.svc','Name' => 'Radionomy','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/39431/39431-400x400.png','Resolution' => '999','ResolutionSubstitution' => '.s999','ServiceType' => '39431','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/39431/39431-72x72.png'},'192' => {'Capabilities' => '5632','SMAPI' => 'https://www.focusatwill.com/sonos/action','Name' => 'focus@will','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/49159/49159-400x400.png','Resolution' => '1500','ResolutionSubstitution' => '-1500.png','ServiceType' => '49159','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/49159/49159-72x72.png'},'203' => {'Capabilities' => '595','SMAPI' => 'https://sonosapi-napster.rhapsody.com/smapi','Name' => 'Napster','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/51975/51975-400x400.png','Resolution' => '1500','ResolutionSubstitution' => '1500x1500.jpg','ServiceType' => '51975','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/51975/51975-72x72.png'},'211' => {'Capabilities' => '515','SMAPI' => 'https://themusicmanager.eu/sonos/SonosAPI.php','Name' => 'The Music Manager','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/54023/54023-400x400.png','Resolution' => '119','ResolutionSubstitution' => '.l.jpg','ServiceType' => '54023','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/54023/54023-72x72.png'},'189' => {'Capabilities' => '513','SMAPI' => 'https://provider.sound-machine.com/sonosapi','Name' => 'SOUNDMACHINE','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/48391/48391-400x400.png','Resolution' => '1500','ResolutionSubstitution' => '_1500.png','ServiceType' => '48391','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/48391/48391-72x72.png'},'20' => {'Capabilities' => '2579','SMAPI' => 'https://sonos.tidalhifi.com/sonos-wimp','Name' => 'WiMP','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/5127/5127-400x400.png','Resolution' => '640','ResolutionSubstitution' => '640x640.jpg','ServiceType' => '5127','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/5127/5127-72x72.png'},'2' => {'Capabilities' => '2643','SMAPI' => 'https://api.deezer.com/sonos','Name' => 'Deezer','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/519/519-400x400.png','Resolution' => '1000','ResolutionSubstitution' => '1000x1000-000000-80-0-0.jpg','ServiceType' => '519','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/519/519-72x72.png'},'230' => {'Capabilities' => '512','SMAPI' => 'https://www.nts.live/smapi','Name' => 'NTS Radio','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/58887/58887-400x400.png','Resolution' => '1000','ResolutionSubstitution' => '/1000x1000/','ServiceType' => '58887','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/58887/58887-72x72.png'},'218' => {'Capabilities' => '512','SMAPI' => 'https://soundsuit.fm/smapi','Name' => 'Soundsuit.fm','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/55815/55815-400x400.png','Resolution' => undef,'ResolutionSubstitution' => undef,'ServiceType' => '55815','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/55815/55815-72x72.png'},'216' => {'Capabilities' => '4627','SMAPI' => 'https://sonosapi-aldimusic.rhapsody.com/smapi','Name' => 'Aldi life Musik','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/55303/55303-400x400.png','Resolution' => '1500','ResolutionSubstitution' => '1500x1500.jpg','ServiceType' => '55303','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/55303/55303-72x72.png'},'265' => {'Capabilities' => '512','SMAPI' => 'https://api.powergroup.com.tr/Sonos/','Name' => 'PowerApp','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/67847/67847-400x400.png','Resolution' => undef,'ResolutionSubstitution' => undef,'ServiceType' => '67847','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/67847/67847-72x72.png'},'231' => {'Capabilities' => '537153','SMAPI' => 'https://moapi.wolfgangs.com/ws/wolfgangs.asmx','Name' => 'Wolfgang's Music','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/59143/59143-400x400.png','Resolution' => '640','ResolutionSubstitution' => '640','ServiceType' => '59143','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/59143/59143-72x72.png'},'36' => {'Capabilities' => '512','SMAPI' => 'https://sonos.hos.com/SOAP/Server1.2.php','Name' => 'Hearts of Space','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/9223/9223-400x400.png','Resolution' => '290','ResolutionSubstitution' => '_290.png','ServiceType' => '9223','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/9223/9223-72x72.png'},'204' => {'Capabilities' => '3117633','SMAPI' => 'https://sonos-music.apple.com/ws/SonosSoap','Name' => 'Apple Music','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/52231/52231-400x400.png','Resolution' => '1200','ResolutionSubstitution' => '1200x1200','ServiceType' => '52231','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/52231/52231-72x72.png'},'160' => {'Capabilities' => '4611','SMAPI' => 'https://soundcloud-go.ws.sonos.com/smapi','Name' => 'SoundCloud','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/40967/40967-400x400.png','Resolution' => '500','ResolutionSubstitution' => 't500x500','ServiceType' => '40967','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/40967/40967-72x72.png'},'7' => {'Capabilities' => '513','SMAPI' => 'https://www.concertvault.com/ws/MOAPI.asmx','Name' => 'Concert Vault','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/1799/1799-400x400.png','Resolution' => '569','ResolutionSubstitution' => '/569/','ServiceType' => '1799','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/1799/1799-72x72.png'},'233' => {'Capabilities' => '1028672','SMAPI' => 'https://integrations.pocketcasts.com/service/smapi','Name' => 'Pocket Casts','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/59655/59655-400x400.png','Resolution' => '960','ResolutionSubstitution' => '/960/','ServiceType' => '59655','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/59655/59655-72x72.png'},'183' => {'Capabilities' => '37395','SMAPI' => 'http://www.narando.com/sonos/service/action','Name' => 'narando','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/46855/46855-400x400.png','Resolution' => undef,'ResolutionSubstitution' => undef,'ServiceType' => '46855','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/46855/46855-72x72.png'},'201' => {'Capabilities' => '45633','SMAPI' => 'https://sonos.amazonmusic.com/','Name' => 'Amazon Music','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/51463/51463-400x400.png','Resolution' => undef,'ResolutionSubstitution' => undef,'ServiceType' => '51463','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/51463/51463-72x72.png'},'222' => {'Capabilities' => '6675','SMAPI' => 'https://sonos.nugs.net/soap/nugs','Name' => 'nugs.net','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/56839/56839-400x400.png','Resolution' => undef,'ResolutionSubstitution' => undef,'ServiceType' => '56839','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/56839/56839-72x72.png'},'237' => {'Capabilities' => '328193','SMAPI' => 'https://api.storeplay.com.au/sonos/SonosService.asmx','Name' => 'storePlay','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/60679/60679-400x400.png','Resolution' => '1500','ResolutionSubstitution' => 'artwork_1500','ServiceType' => '60679','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/60679/60679-72x72.png'},'221' => {'Capabilities' => '6675','SMAPI' => 'https://sonos.nugs.net/soap/livephish','Name' => 'LivePhish+','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/56583/56583-400x400.png','Resolution' => undef,'ResolutionSubstitution' => undef,'ServiceType' => '56583','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/56583/56583-72x72.png'},'9' => {'Capabilities' => '1116691','SMAPI' => 'https://spotify-v4.ws.sonos.com/smapi','Name' => 'Spotify','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/2311/2311-400x400.png','Resolution' => undef,'ResolutionSubstitution' => undef,'ServiceType' => '2311','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/2311/2311-72x72.png'},'264' => {'Capabilities' => '889409','SMAPI' => 'https://api.radio.de/sonos/v1/ws','Name' => 'radio.de','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/67591/67591-400x400.png','Resolution' => undef,'ResolutionSubstitution' => undef,'ServiceType' => '67591','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/67591/67591-72x72.png'},'262' => {'Capabilities' => '33281','SMAPI' => 'https://sonos.mycloud.com/musicservice','Name' => 'My Cloud Home','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/67079/67079-400x400.png','Resolution' => '290','ResolutionSubstitution' => '_290x290.png','ServiceType' => '67079','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/67079/67079-72x72.png'},'181' => {'Capabilities' => '2627','SMAPI' => 'https://www.mixcloud.com/sonos-app/','Name' => 'Mixcloud','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/46343/46343-400x400.png','Resolution' => '1500','ResolutionSubstitution' => 'w/1500/h/1500/','ServiceType' => '46343','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/46343/46343-72x72.png'},'151' => {'Capabilities' => '98899','SMAPI' => 'https://mclients.googleapis.com/music/sonos/wsf/smapi','Name' => 'Google Play Music','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/38663/38663-400x400.png','Resolution' => undef,'ResolutionSubstitution' => undef,'ServiceType' => '38663','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/38663/38663-72x72.png'},'198' => {'Capabilities' => '2627','SMAPI' => 'https://api.anghami.com/anghmob/SonosAPI.php','Name' => 'Anghami','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/50695/50695-400x400.png','Resolution' => undef,'ResolutionSubstitution' => undef,'ServiceType' => '50695','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/50695/50695-72x72.png'},'38' => {'Capabilities' => '513','SMAPI' => 'https://sonos-service.7digital.com/sonos.asmx','Name' => '7digital','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/9735/9735-400x400.png','Resolution' => '800','ResolutionSubstitution' => '_800.jpg','ServiceType' => '9735','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/9735/9735-72x72.png'},'217' => {'Capabilities' => '4610','SMAPI' => 'https://www.fitradio.com/apisonos/ws','Name' => 'FIT Radio Workout Music','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/55559/55559-400x400.png','Resolution' => '1500','ResolutionSubstitution' => '_1500.jpg','ServiceType' => '55559','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/55559/55559-72x72.png'},'260' => {'Capabilities' => '512','SMAPI' => 'https://sonos.minidisco.nl/server.php','Name' => 'Minidisco','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/66567/66567-400x400.png','Resolution' => '1500','ResolutionSubstitution' => '_1500.jpg','ServiceType' => '66567','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/66567/66567-72x72.png'},'234' => {'Capabilities' => '512','SMAPI' => 'https://sonos.deliver.media/musicservice','Name' => 'deliver.media','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/59911/59911-400x400.png','Resolution' => undef,'ResolutionSubstitution' => undef,'ServiceType' => '59911','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/59911/59911-72x72.png'},'195' => {'Capabilities' => '2579','SMAPI' => 'https://360-smapi.api.247e.com/musicopen.svc','Name' => 'JUKE','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/49927/49927-400x400.png','Resolution' => '1500','ResolutionSubstitution' => '/1500x1500','ServiceType' => '49927','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/49927/49927-72x72.png'},'184' => {'Capabilities' => '295427','SMAPI' => 'https://sonos.stingray.com/ws/Sonos','Name' => 'Stingray Music','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/47111/47111-400x400.png','Resolution' => undef,'ResolutionSubstitution' => undef,'ServiceType' => '47111','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/47111/47111-72x72.png'},'223' => {'Capabilities' => '513','SMAPI' => 'https://sonos-smapi.rautemusik.fm/smapi','Name' => 'RauteMusik.FM','PromoText' => '','IconQuadraticURL' => 'http://sonos-logo.ws.sonos.com/57095/57095-400x400.png','Resolution' => undef,'ResolutionSubstitution' => undef,'ServiceType' => '57095','IconRoundURL' => 'http://sonos-logo.ws.sonos.com/57095/57095-72x72.png'}}
     2018-03-10 19:59:00   MusicServicesListVersion RINCON_5CAAFD0D1DCE01400:324
     2017-06-14 02:28:43   ShareIndexInProgress 0
     2018-03-03 15:38:09   UserID_Spotify  SA_RINCON2311_X_%23Svc2311-0-Token
     2018-03-11 01:29:21   ZoneGroupState  <ZoneGroups><ZoneGroup Coordinator="RINCON_5CAAFD0D1DCE01400" ID="RINCON_5CAAFD0D1DCE01400:30"><ZoneGroupMember UUID="RINCON_5CAAFD0D1DCE01400" Location="http://192.168.197.55:1400/xml/device_description.xml" ZoneName="Wohnzimmer" Icon="x-rincon-roomicon:living" Configuration="1" SoftwareVersion="41.3-50131" MinCompatibleVersion="40.0-00000" LegacyCompatibleVersion="25.2-00000" BootSeq="42" TVConfigurationError="0" WirelessMode="1" WirelessLeafOnly="0" HasConfiguredSSID="1" ChannelFreq="2412" BehindWifiExtender="0" WifiEnabled="1" Orientation="0" RoomCalibrationState="1" SecureRegState="3" VoiceState="0"/></ZoneGroup><ZoneGroup Coordinator="RINCON_5CAAFD01DBDE01400" ID="RINCON_5CAAFD01DBDE01400:48"><ZoneGroupMember UUID="RINCON_5CAAFD01DBDE01400" Location="http://192.168.197.27:1400/xml/device_description.xml" ZoneName="Küche" Icon="x-rincon-roomicon:kitchen" Configuration="1" SoftwareVersion="41.3-50131" MinCompatibleVersion="40.0-00000" LegacyCompatibleVersion="25.2-00000" BootSeq="48" TVConfigurationError="0" WirelessMode="1" WirelessLeafOnly="0" HasConfiguredSSID="1" ChannelFreq="2412" BehindWifiExtender="0" WifiEnabled="1" Orientation="0" RoomCalibrationState="1" SecureRegState="3" VoiceState="0"/></ZoneGroup><ZoneGroup Coordinator="RINCON_5CAAFD05436801400" ID="RINCON_5CAAFD05436801400:60"><ZoneGroupMember UUID="RINCON_5CAAFD05436801400" Location="http://192.168.197.28:1400/xml/device_description.xml" ZoneName="Bad" Icon="x-rincon-roomicon:bathroom" Configuration="1" SoftwareVersion="41.3-50131" MinCompatibleVersion="40.0-00000" LegacyCompatibleVersion="25.2-00000" BootSeq="45" TVConfigurationError="0" WirelessMode="1" WirelessLeafOnly="0" HasConfiguredSSID="1" ChannelFreq="2412" BehindWifiExtender="0" WifiEnabled="1" Orientation="0" RoomCalibrationState="1" SecureRegState="3" VoiceState="0"/></ZoneGroup></ZoneGroups>
     2018-03-11 13:24:52   state           disabled
Attributes:
   bookmarkPlaylistDefinition Bookmark:(Sonos_Bad|Sonos_Kueche|Sonos_Wohnzimmer)::600
   bookmarkSaveDir /opt/fhem/sonosbookmarks
   bookmarkTitleDefinition Bookmark:(Sonos_Bad|Sonos_Kueche|Sonos_Wohnzimmer)::600
   ignoredIPs 192.168.197.29:2000
   room       System Geräte
   targetSpeakDir /opt/fhem/SonosSpeak
   targetSpeakFileTimestamp 1
   targetSpeakMP3FileDir /opt/fhem/SonosSpeak
   targetSpeakURL \\192.168.197.33\SonosSpeak
   verbose    2



yagi

Bei mir beendet sich auch das Sonos Modul in unregelmäßigen Abständen. Nach einem fhem Neustart sind alle Player wieder da.
Ich bin bis jetzt noch nicht auf ausführliche Suche im Log gegangen, aber auch ich habe das Gefühl, das ist erst seit einem fhem update vor einigen Wochen (vorher hatte ich ewig lang nicht mehr geupdated).

n._markus

Gibt es hier schon etwas neues zu dem Thema?
Ich habe seit einem Update vor ca 4-6 Wochen das gleiche Problem.
Ich hatte mal zwischendurch alle DLNA-Geräte in FHEM gelöscht, worauf die Problematik verschwand.
In den letzten Tagen ist das ganze jedoch wieder schlimmer geworden. Teilweise halten meine Sonos noch ca 5 Minuten durch...
Hatte auch schon ein DOIF geschrieben, welches den Status der Sonos prüft und dann über das Attribut "disable" zurücksetzt. Danach ist allerdings mein FHEM komplett abgestürzt.  :'(

elmer

Ich habe auch keine richtige Lösung für das Problem finden können. Da ich immer wieder mal Probleme mit Bluetooth habe das sich meine Smartphones nicht verbinden, 1-2 mal in der Woche lasse ich jetzt jeden Tag um 4 Uhr den Raspberry einen Renoir machen. Seit dem täglichen reboot des Systems waren die Player auch nicht mehr disappeared, ist sicherlich nicht die beste Lösung aber es funktioniert in meinem Fall.
Bluetooth und Player immer vorhanden.

WolfgangV

Hallo,

mein Sonos ist leider auch schon geraume Zeit von dem Problem betroffen, indem es ständig verschwindet. Dann hilft nur die manuelle Eingabe von "attr Sonos disable1" gefolgt von "attr Sonos disable 0". Das gleiche in einem DOIF funktioniert leider nicht, warum auch immer...
Leider hat es auch nichts genutzt die vorhandenen DNLA-Geräte auszuschießen und auch der letzte Tipp hat leider nichts gebracht.
Das ist sehr schade, denn alle Ansagen und Signale, die über Sonos laufen, sind damit leider ebenfalls komplett verschwunden.
Nutzen kann ich Sonos nur noch über die entsprechenden apps. Da aber ohne Einschränkungen.


Gruß


Wolfgang
Raspi5  HmUART, Jeelink, VU+Duo2, Viera, Sonos, HM-CC-RT-DN,     
HM-WDS30-OT2-SM, HM-LC-Dim1TPBU-FM,    
Jeelink, TUL

Reinerlein

Hallo zusammen,

bevor das hier in eine Art "Reden in einer Selbsthilfegruppe" ausartet...

Um den Fehler einzugrenzen (oder sogar zu finden), braucht es Logausgaben. Bislang sind hier mehr oder weniger nur Symptombeschreibungen aufgetaucht.
Die Sache mit "LastProcessAnswer way too old" kann mehrere Gründe haben, die auch nicht unbedingt am Sonos-Modul liegen müssen.
Zunächst mal heißt es nur, dass seit einer gewissen Zeit (4 * definiertes Intervall) keine Reaktion vom SubProzess in Fhem verarbeitet wurde.
Das kann daran liegen, dass der SubProzess tatsächlich nicht mehr sendet (dafür ist es gedacht), oder dass Fhem zu beschäftigt (sprich blockiert) war, um anstehende Sendungen des SubProzesses zu verarbeiten (dann hilft es, das Prüfintervall hochzusetzen).

Diesen Unterschied muss man mithilfe von Logs ausarbeiten, um eine Lösung erarbeiten zu können.
Einen bereits bekannten (aber noch nicht gelösten) Problemfall stellen viele Durchsagen gleichzeitig (an verschiedene Player) oder kurz hintereinander (an denselben) dar. Da muss ich mir noch etwas ausdenken...

Also, Logs auf Ebene 5, sowohl vom Fhem-Teil (normales Fhem-Log) als auch vom SubProzess (siehe Attribut "SubProcessLogfileName").
Verbose 5 nur am Sonos-Device setzen.

Dann kommen wir hier vielleicht auch weiter :)

Grüße
Reinerlein

WolfgangV

Hallo Rainerlein,


hier sind die gewünschten Logs.
Sonos hat sich heute um 15:51 disabled.


2018.04.02 15:51:53.996 2: SONOS0: LastProcessAnswer way too old (Lastanswer: 1522676993.84779 ~ 2018-04-02 15:49:53)... try to restart the process and connection...
2018.04.02 15:51:53.998 4: SONOS0: ReadingsBeginUpdate from Module for "Sonos"
2018.04.02 15:51:54.041 4: SONOS0: ReadingsEndUpdate from Module for "Sonos"
2018.04.02 15:51:55.044 5: SW: shutdown

2018.04.02 15:51:55.056 4: SONOS0: ReadingsBeginUpdate from Module for "Sonos_Arbeitszimmer"
2018.04.02 15:51:55.059 4: SONOS0: ReadingsEndUpdate from Module for "Sonos_Arbeitszimmer"
2018.04.02 15:51:55.061 4: SONOS0: ReadingsBeginUpdate from Module for "Sonos_Bad"
2018.04.02 15:51:55.158 4: SONOS0: ReadingsEndUpdate from Module for "Sonos_Bad"
2018.04.02 15:51:55.159 4: SONOS0: ReadingsBeginUpdate from Module for "Sonos_Dach"
2018.04.02 15:51:55.234 4: SONOS0: ReadingsEndUpdate from Module for "Sonos_Dach"
2018.04.02 15:51:55.235 4: SONOS0: ReadingsBeginUpdate from Module for "Sonos_Kueche"
2018.04.02 15:51:55.312 4: SONOS0: ReadingsEndUpdate from Module for "Sonos_Kueche"
2018.04.02 15:51:55.313 4: SONOS0: ReadingsBeginUpdate from Module for "Sonos_Wohnzimmer"
2018.04.02 15:51:55.388 4: SONOS0: ReadingsEndUpdate from Module for "Sonos_Wohnzimmer"
2018.04.02 15:51:55.389 4: SONOS0: ReadingsBeginUpdate from Module for "Sonos_Wohnzimmer_RF"
2018.04.02 15:51:55.477 4: SONOS0: ReadingsEndUpdate from Module for "Sonos_Wohnzimmer_RF"
2018.04.02 15:51:56.404 4: SONOS0: ReadingsBeginUpdate from Module for "Sonos_Wohnzimmer_RF"
2018.04.02 15:51:56.480 4: SONOS0: ReadingsEndUpdate from Module for "Sonos_Wohnzimmer_RF"/code]

[code]
                       File: Sonoslog

2018.04.02 15:50:59.631 4: SONOS3: 192.168.178.26 is alive
2018.04.02 15:50:59.631 4: SONOS3: IsAlive-Event UDN=RINCON_5CAAFD0B2D6E01400_MR
2018.04.02 15:50:59.631 4: SONOS3: SONOS_Client_Data_Retreive(RINCON_5CAAFD0B2D6E01400_MR, reading, location, )$
2018.04.02 15:50:59.631 5: SONOS3: Location: http://192.168.178.30:1400/xml/device_description.xml
2018.04.02 15:50:59.632 5: SONOS3: PingType: syn
2018.04.02 15:50:59.632 4: SONOS3: 192.168.178.30 is alive
2018.04.02 15:50:59.633 4: SONOS3: IsAlive-Event UDN=RINCON_5CAAFD25271001400_MR
2018.04.02 15:50:59.633 4: SONOS3: SONOS_Client_Data_Retreive(RINCON_5CAAFD25271001400_MR, reading, location, )$
2018.04.02 15:50:59.633 5: SONOS3: Location: http://192.168.178.31:1400/xml/device_description.xml
2018.04.02 15:50:59.633 5: SONOS3: PingType: syn
2018.04.02 15:50:59.634 4: SONOS3: 192.168.178.31 is alive
2018.04.02 15:50:59.635 4: SONOS3: IsAlive-Event UDN=RINCON_949F3E04C5AA01400_MR
2018.04.02 15:50:59.635 4: SONOS3: SONOS_Client_Data_Retreive(RINCON_949F3E04C5AA01400_MR, reading, location, )$
2018.04.02 15:50:59.635 5: SONOS3: Location: http://192.168.178.17:1400/xml/device_description.xml
2018.04.02 15:50:59.635 5: SONOS3: PingType: syn
2018.04.02 15:50:59.636 4: SONOS3: 192.168.178.17 is alive
2018.04.02 15:51:23.987 5: SONOS0: Received: 'DoWork:undef:refreshProcessAnswer:'
2018.04.02 15:51:29.670 4: SONOS3: IsAlive-Event UDN=RINCON_949F3E08127C01400_MR
2018.04.02 15:51:29.673 4: SONOS3: SONOS_Client_Data_Retreive(RINCON_949F3E08127C01400_MR, reading, location, )$
2018.04.02 15:51:29.674 5: SONOS3: Location: http://192.168.178.19:1400/xml/device_description.xml
2018.04.02 15:51:29.675 5: SONOS3: PingType: syn
2018.04.02 15:51:29.676 4: SONOS3: 192.168.178.19 is alive
2018.04.02 15:51:29.677 4: SONOS3: IsAlive-Event UDN=RINCON_5CAAFD08AA8E01400_MR
2018.04.02 15:51:29.678 4: SONOS3: SONOS_Client_Data_Retreive(RINCON_5CAAFD08AA8E01400_MR, reading, location, )$
2018.04.02 15:51:29.678 5: SONOS3: Location: http://192.168.178.26:1400/xml/device_description.xml
2018.04.02 15:51:29.679 5: SONOS3: PingType: syn
2018.04.02 15:51:29.680 4: SONOS3: 192.168.178.26 is alive
2018.04.02 15:51:29.681 4: SONOS3: IsAlive-Event UDN=RINCON_5CAAFD0B2D6E01400_MR
2018.04.02 15:51:29.682 4: SONOS3: SONOS_Client_Data_Retreive(RINCON_5CAAFD0B2D6E01400_MR, reading, location, )$
2018.04.02 15:51:29.682 5: SONOS3: Location: http://192.168.178.30:1400/xml/device_description.xml
2018.04.02 15:51:29.683 5: SONOS3: PingType: syn
2018.04.02 15:51:29.684 4: SONOS3: 192.168.178.30 is alive
[code]

Gruß


Wolfgang
Raspi5  HmUART, Jeelink, VU+Duo2, Viera, Sonos, HM-CC-RT-DN,     
HM-WDS30-OT2-SM, HM-LC-Dim1TPBU-FM,    
Jeelink, TUL

Reinerlein

Hi WolfgangV,

kannst du bitte das Log früher beginnend und länger anhaltend posten?
Um 15:51:23 ist noch eine Aufforderung an den SubProzess gegangen, dass auf eine Antwort gewartet wird.

Interessant sind die beiden Logs ab ca. 15:45 bis ca. 15:55...

Dann am Besten als Anhang.
Grüße
Reinerlein

WolfgangV

Hallo,

Das Sonos-Log ist leider schon gelöscht.
Ich fange nochmal neu an mit loggen und schicke dann die Daten.


Gruß


Wolfgang


Raspi5  HmUART, Jeelink, VU+Duo2, Viera, Sonos, HM-CC-RT-DN,     
HM-WDS30-OT2-SM, HM-LC-Dim1TPBU-FM,    
Jeelink, TUL

WolfgangV

Hallo,

So, da hätten wir wieder mal den Sonos-Stillstand, und zwar um

state
disabled
2018-04-04 09:52:08


Das fhem-log mit Daten von 5 Minuten vorher und nachher befindet sich im Anhang, ebenso das Sonos-log. Allerdings gibt es da über den Zeitpunkt des Stillstands hinaus keine Daten mehr.
Das ist übrigens auch beim fhem-log der Fall. Ich hab trotzdem noch die Minuten drangehangen.


Gruß


Wolfgang
Raspi5  HmUART, Jeelink, VU+Duo2, Viera, Sonos, HM-CC-RT-DN,     
HM-WDS30-OT2-SM, HM-LC-Dim1TPBU-FM,    
Jeelink, TUL

Reinerlein

Hallo Wolfgang,

das ist das bekannte Problem mit den vielen parallelen Durchsagen gleichzeitig.

Das werde ich umbauen, und dann schauen wir mal weiter...

Grüße
Reiner