Sonos Player disappeared

Begonnen von aherby, 22 Dezember 2015, 18:20:38

Vorheriges Thema - Nächstes Thema

aherby

Hallo Claudiu, hallo Reiner,

scheinbar hat der Tipp mit dem Wechsel vom Sonos Net auf das eigene WLAN geholfen.
Jedoch ist nun halt der Play1 mindestens im Standby.
Bei Wheezy und Jessie kann ich nun zu jeder Zeit die Sonos Geräte wieder ansteuern.
Die 00_Sonos.pm und 21_Sonosplayer.pm sind vom 31.12.2015.

Jedoch habe ich gerade gesehen, dass es ein neue Sonos-Update gibt.
Was hat sich da geändert?

Danke

Gruß

Alex
FHEM 6.0 auf Raspberry Pi 4b 4GB, RaspberryMatic auf Raspi3b mit Charly-Funkmodul, ZigeeBridge mt deCONZ... . Homematic mittels HMCCU, Sonos 3xS1, 1xS6 (Play5 in der 2te Generation), 1xS9 (Soundbar), 1x SonosSub
1-Wire® to I2C host interface with ESD mit DS18B/S20.

j.koopmann

Habe seit kurzem das selbe Problem. Gibt es hier schon neue Erkenntnisse?

iCure

Habe das Problem schon immer. Jetzt kann ich allerdings garnicht mehr verbinden... Sonos sind alle im WLAN und nur wenige Meter vom Router entfernt.. Würde mich um Hilfe freuen!

PerlJoe

Hallo zusammen, das Problem habe ich leider auch... Gibt es schon Abhilfe?

Muellermann

Also bei mir hat ein 'set sonos rescan network' geholfen.

Allerdings wird nun die CoverArt nicht mehr geladen.
Folgender Fehler ersteint

2017.07.07 16:29:43 4: SONOS0: Transport-Event: CoverArt wurde nicht geladen, weil das Attribut "getLocalCoverArt" nicht gesetzt ist...

Was muss denn da drin stehen? Hab es mal auf '1' gesetzt, aber das bringt nichts

zap

#50
und für welches device muss man diesen Befehl ausführen? Das Modul legt einen Wust an Devices an. Keine Ahnung, welches davon den Rescan Befehl ausführen kann.

Update: Habs gefunden. Rescan bringt nix, nur FHEM Neustart. Morgen geh ich zurück auf eine ältere Version, auch wenn ich mir damit natürlich andere ältere Bugs wieder einhandle.
2xCCU3, Fenster, Rollläden, Themostate, Stromzähler, Steckdosen ...)
Entwicklung: FHEM auf AMD NUC (Ubuntu)
Produktiv inzwischen auf Home Assistant gewechselt.
Maintainer: FULLY, Meteohub, HMCCU, AndroidDB

Bastian0302

Also ich habe auch Probleme bei mir hilft auch nur ein shutdown restart.
Aber selbst wenn er die sonos lautsprecher steuern kann, hält das für ein paar minuten und dann geht wieder nichts mehr.
Aber über sonos app weiter bedienbar.

Gibts schon was neues diesbezüglich??

Raspbarry Pi 3, Panstamp NRG 2, Cul 433Mhz Sender/Empfänger, Mcp23017 Ein/Ausgabebaugruppe, TabletUi, Doorpi mit Nextion/RFID und Integration in Fhem, Sonos

wcraffonara

Hallo,
  ich habe genau das gleiche Problem... die Sonos-Boxen erscheinen erst wieder nach einem FHEM restart und set Sonos RescanNetwork. Gibt es bereits eine Lösung dafür?

lG
Walter

bstohs

Hallo,

leider habe ich auch das Problem mit den Playern, die immer wieder weg sind.

Bind failed... at ./FHEM/00_SONOS.pm line 10035.
2017.12.21 11:09:16 0: SONOS0: Das Lauschen auf der Schnittstelle wurde beendet. Prozess endet nun auch...
Subscription request failed with error: 500 Internal Server Error at ./FHEM/00_SONOS.pm line 6282 thread 1.
Use of uninitialized value $value in concatenation (.) or string at ./FHEM/00_SONOS.pm line 10214, <$client> line 9.
Use of uninitialized value $value in concatenation (.) or string at ./FHEM/00_SONOS.pm line 10218, <$client> line 9.
Use of uninitialized value $value in concatenation (.) or string at ./FHEM/00_SONOS.pm line 10214, <$client> line 9.
Use of uninitialized value $value in concatenation (.) or string at ./FHEM/00_SONOS.pm line 10218, <$client> line 9.
Subscription request failed with error: 500 Internal Server Error at ./FHEM/00_SONOS.pm line 6282 thread 1.
2017.12.21 11:11:47 0: SONOS0: Das Lauschen auf der Schnittstelle wurde beendet. Prozess endet nun auch...
Subscription request failed with error: 500 Internal Server Error at ./FHEM/00_SONOS.pm line 6282 thread 1.
Use of uninitialized value $value in concatenation (.) or string at ./FHEM/00_SONOS.pm line 10214, <$client> line 9.
Use of uninitialized value $value in concatenation (.) or string at ./FHEM/00_SONOS.pm line 10218, <$client> line 9.
Use of uninitialized value $value in concatenation (.) or string at ./FHEM/00_SONOS.pm line 10214, <$client> line 9.
Use of uninitialized value $value in concatenation (.) or string at ./FHEM/00_SONOS.pm line 10218, <$client> line 9.
Subscription request failed with error: 500 Internal Server Error at ./FHEM/00_SONOS.pm line 6282 thread 1.
2017.12.21 11:14:17 0: SONOS0: Das Lauschen auf der Schnittstelle wurde beendet. Prozess endet nun auch...
Subscription request failed with error: 500 Internal Server Error at ./FHEM/00_SONOS.pm line 6282 thread 1.
Use of uninitialized value $value in concatenation (.) or string at ./FHEM/00_SONOS.pm line 10214, <$client> line 9.
Use of uninitialized value $value in concatenation (.) or string at ./FHEM/00_SONOS.pm line 10218, <$client> line 9.
Use of uninitialized value $value in concatenation (.) or string at ./FHEM/00_SONOS.pm line 10214, <$client> line 9.
Use of uninitialized value $value in concatenation (.) or string at ./FHEM/00_SONOS.pm line 10218, <$client> line 9.
Subscription request failed with error: 500 Internal Server Error at ./FHEM/00_SONOS.pm line 6282 thread 1.
2017.12.21 11:16:48 0: SONOS0: Das Lauschen auf der Schnittstelle wurde beendet. Prozess endet nun auch...
Subscription request failed with error: 500 Internal Server Error at ./FHEM/00_SONOS.pm line 6282 thread 1.
Use of uninitialized value $value in concatenation (.) or string at ./FHEM/00_SONOS.pm line 10214, <$client> line 9.
Use of uninitialized value $value in concatenation (.) or string at ./FHEM/00_SONOS.pm line 10218, <$client> line 9.
Use of uninitialized value $value in concatenation (.) or string at ./FHEM/00_SONOS.pm line 10214, <$client> line 9.
Use of uninitialized value $value in concatenation (.) or string at ./FHEM/00_SONOS.pm line 10218, <$client> line 9.
Subscription request failed with error: 500 Internal Server Error at ./FHEM/00_SONOS.pm line 6282 thread 1.
2017.12.21 11:19:19 0: SONOS0: Das Lauschen auf der Schnittstelle wurde beendet. Prozess endet nun auch...
Use of uninitialized value $value in concatenation (.) or string at ./FHEM/00_SONOS.pm line 10214, <$client> line 9.
Use of uninitialized value $value in concatenation (.) or string at ./FHEM/00_SONOS.pm line 10218, <$client> line 9.
Use of uninitialized value $value in concatenation (.) or string at ./FHEM/00_SONOS.pm line 10214, <$client> line 9.
Use of uninitialized value $value in concatenation (.) or string at ./FHEM/00_SONOS.pm line 10218, <$client> line 9.
Subscription request failed with error: 500 Internal Server Error at ./FHEM/00_SONOS.pm line 6282 thread 1.
Subscription request failed with error: 500 Internal Server Error at ./FHEM/00_SONOS.pm line 6282 thread 1.
2017.12.21 11:21:49 0: SONOS0: Das Lauschen auf der Schnittstelle wurde beendet. Prozess endet nun auch...
Subscription request failed with error: 500 Internal Server Error at ./FHEM/00_SONOS.pm line 6282 thread 1.
Subscription request failed with error: 500 Internal Server Error at ./FHEM/00_SONOS.pm line 6282 thread 1.
Use of uninitialized value $value in concatenation (.) or string at ./FHEM/00_SONOS.pm line 10214, <$client> line 9.
Use of uninitialized value $value in concatenation (.) or string at ./FHEM/00_SONOS.pm line 10218, <$client> line 9.
Use of uninitialized value $value in concatenation (.) or string at ./FHEM/00_SONOS.pm line 10214, <$client> line 9.
Use of uninitialized value $value in concatenation (.) or string at ./FHEM/00_SONOS.pm line 10218, <$client> line 9.
2017.12.21 11:24:20 0: SONOS0: Das Lauschen auf der Schnittstelle wurde beendet. Prozess endet nun auch...



Hier der Auszug aus der config:

Internals:
   DEF        localhost:4711 10
   DELAYTIME  0
   DeviceName localhost:4711
   FD         18
   INTERVAL   10
   NAME       Sonos
   NOTIFYDEV  global
   NR         373
   NTFY_ORDER 50-Sonos
   PARTIAL   
   STATE      opened
   TYPE       SONOS
   WAITTIME   8
   READINGS:
     2017-12-20 22:25:31   AllPlayer       ['Sonos_Bad_EG','Sonos_Bad_UG','Sonos_Wohnzimmer']
     2017-12-20 22:25:31   AllPlayerCount  3
     2017-12-20 22:25:31   AllPlayerNotBonded ['Sonos_Bad_EG','Sonos_Bad_UG','Sonos_Wohnzimmer']
     2017-12-20 22:25:31   AllPlayerNotBondedCount 3
     2017-11-21 17:28:34   LastActionResult RefreshShareIndex: Success!
     2017-12-21 11:31:01   LastProcessAnswer 2100-01-01 00:00:00
     2017-12-21 11:29:22   LastProcessRestart 2017-12-21 11:29:22
     2017-12-21 11:29:22   LastProcessRestartCount 2160
     2017-11-10 19:21:14   LineInPlayer    []
     2017-11-20 20:10:07   LineInPlayerList
     2017-11-20 20:10:07   LineInPlayerListAlias
     2017-12-21 05:39:40   MasterPlayer    ['Sonos_Bad_EG','Sonos_Bad_UG','Sonos_Wohnzimmer']
     2017-12-21 05:39:40   MasterPlayerCount 3
     2017-12-21 11:28:41   MasterPlayerNotPlaying ['Sonos_Bad_EG','Sonos_Bad_UG']
     2017-12-21 11:28:41   MasterPlayerNotPlayingCount 2
     2017-12-21 11:28:41   MasterPlayerPlaying ['Sonos_Wohnzimmer']
     2017-12-21 11:28:41   MasterPlayerPlayingCount 1
     2017-12-21 11:31:00   state           opened
Attributes:
   alias      SONOS Gerät in FHEM
   deviceRoomView DeviceLineOnly
   getFavouritesListAtNewVersion 1
   getListsDirectlyToReadings 1
   getPlaylistsListAtNewVersion 1
   getQueueListAtNewVersion 1
   getRadiosListAtNewVersion 1
   group      SONOS
   pingType   syn
   room       _Sonos
   sortby     1
   targetSpeakDir /mnt/SonosSpeak
   targetSpeakURL \\x.y.x.y\SonosSpeak
   verbose    0



Hat evtl. noch jemand eine Idee, wie man das lösen kann?
Einen Downgrade auf ältere Modulversionen habe ich leider nicht geschafft.

Danke und Gruß

Horst_T

Ich habe das gleiche Problem. Nach maximal einer Minute kommt Player Disappeared.

Ich würde mich freuen, wenn eine Lösung verfügbar ist.

Horst
FHEM-Server: RaspberryPi 3 Stretch fhem:Ver. 5.8
HomeMatic: HM-LC-Sw1PBU-FM, HM-LC-DIM1PBU-FM, HM-Sec-SD, HM-Sec-RHS, HM-RC-19-B
RaspberryMatic: HmIP-FAL230-C6, HmIP-WTH2
FritzBox 7490 FritzOS 06.92

det.

Hallo Horst,
bei mit hat die Änderung von pingType auf icpm beim SONOS Modul geholfen
defmod Sonos SONOS localhost:4711 30
attr Sonos pingType icmp

mit pingType tcp hatte ich den Fehler auch.
LG
det.

Horst_T

Hallo Det.

Vielen Dank für den Tipp, jetzt funktioniert es bei mir auch wieder ;D

Gruß Horst
FHEM-Server: RaspberryPi 3 Stretch fhem:Ver. 5.8
HomeMatic: HM-LC-Sw1PBU-FM, HM-LC-DIM1PBU-FM, HM-Sec-SD, HM-Sec-RHS, HM-RC-19-B
RaspberryMatic: HmIP-FAL230-C6, HmIP-WTH2
FritzBox 7490 FritzOS 06.92

PerlJoe

Da die Verbindungen noch immer abbrechen habe ich einen Workaround erstellt welcher wohl nicht so dolle ist, aber bis jetzt funktioniert.

Ich frage alle 10 Minuten ab, ob Sonos einen anderen State hat als opened, wenn dies so ist setze ich einfach DEF neu:


# Sonos connect check and reconnect
my $SonosState = main::InternalVal("Sonos", "STATE", "");
if( $SonosState ne "opened" ){
  main::fhem( "modify Sonos 127.0.0.1:4711 30" );   
}


Vielleicht kann ich hier auch mal helfen :)

Gruß

Wuppi68

wenn ich das so sehe, scheint es ein Netzwerk Problem zu sein

sind der FHEM Server, Router und die Songs Player im gleichen Netzwerk?
sind irgendwelche Switche im Netz?
ist ein Broadcast Filter eingestellt?
gibt es andere "Multicast/UPNP" Devices?
mehrere Sonons Devices im Netz? Insbesondere LAN und WIFI Verbindung benutzt?

Hintergrund ist, dass ich ähnliche Probleme hatte die alle mit den obigen Punkten zu tun hatten :-(

@ PerlJoe, Horst_T, det., bstohs ... : Es wäre vermutlich hilfreich, wenn Ihr mal bitte die internen IP Adressen von den Songs Devices, des FHEM Servers und des Routers inclusive Typ hier posten würdet :-) Falls Ihr evtl die IP Adressen nicht hier posten möchtet, könnt Ihr auch gerne die Adressen "ändern" aber bitte nachvollziehbar :-)

z.B:

Fritzbox (192.168.0.1) --> a.b.c.1
FHEM (192.168.1.1) --> a.b.d.1
Sonos1 (192.168.2.1) --> a.b.e.1
Jetzt auf nem I3 und primär Homematic - kein Support für cfg Editierer

Support heißt nicht wenn die Frau zu Ihrem Mann sagt: Geh mal bitte zum Frauenarzt, ich habe Bauchschmerzen

det.

Hallo Wuppi68,
will ich mal den Anfang machen. Dein Beitrag hat mich animiert, die Netzarchitektur mal anzusehen und siehe da: aus unnützen Gründen (freies Netzwerkkabel im Keller in unmittelberer Nähe einer Steckdose) steckte die ZoneBridge in einem anderen Switch als der FHEM Server:
vorher:
fritz.box            DSL        1x.xx.x.1
Fhem                LAN 1     1x.xx.x.3
SonosZB           LAN 3     1x.xx.x.47
SonosPlay5       LAN 3     1x.xx.x.65
SonosPlaybar    LAN 3     1x.xx.x.63
SonosZP90       LAN 3     1x.xx.x.43
SonosZP120     LAN 3     1x.xx.x.31
jetzt alles in LAN1 bei gleichen IP Adressen

Habe die ZoneBridge jetzt mit in LAN 1 gesteckt und FHEM neu gestartet. Alle anderen SONOS sind nur über das SONOS eigene WLAN angebunden. Da ich die nicht dauerhaft am Strom habe, brauche ich noch die ZoneBridge. Filter für die IP Adressen sind gesetzt, andere UpnP Geräte gibt es nicht.Ich werde mal beobachten, wie sich die Sache so entwickelt.
LG
det.