Beim SONOS Modul wird nach wie vor das FHEM Log mit Meldungen
Renewal of subscription failed with error: 500 Can't connect to ...
vollgeschrieben, wenn man SONOS Lautsprecher vom Strom nimmt. Gibt es eine Möglichkeit, diese Meldung zu unterdrücken? Sie ist in diesem Fall völlig überflüssig, da ich die Lautsprecher absichtlich ausschalte.
Wenn man sie nicht unterdrücken kann, könnte man die Anzahl der Meldungen dann wenigsten auf 1 reduzieren?
Leider entspricht die Meldung nicht dem FHEM Logformat, wird also vermutlich nicht mit Log3() ausgegeben.
Hi zap,
diese Meldung kommt direkt aus dem UPnP-Modul und wird auf dem Fehlerkanal (STDERR) ausgegeben.
Geht denn das Playerdevice auf den State "disappeared"?
Grüße
Reinerlein
Ja, der Status ist disappeared
Hi zap,
hmm... das ist komisch.
Hast du in deinem normalen Log Meldungen wie:
Delete ProxyObjects and SubscriptionObjects...
auf Loglevel 4
oder
Subscription for ZonePlayer [UDN] has expired and...
auf Loglevel 3?
Grüße
Reinerlein
Hallo Reinerlein,
ist bei mir auch so mit den unendlichen Fehlermeldungen, schalte die Sonos Geräte auch ab.
Renewal of subscription failed with error: 500 Can't connect to 192.168.0.27:1400 at ./FHEM/00_SONOS.pm line 4085 thread 1.
Renewal of subscription failed with error: 500 Can't connect to 192.168.0.27:1400 at ./FHEM/00_SONOS.pm line 4109 thread 1.
Renewal of subscription failed with error: 500 Can't connect to 192.168.0.27:1400 at ./FHEM/00_SONOS.pm line 4133 thread 1.
Renewal of subscription failed with error: 500 Can't connect to 192.168.0.27:1400 at ./FHEM/00_SONOS.pm line 4157 thread 1.
Renewal of subscription failed with error: 500 Can't connect to 192.168.0.27:1400 at ./FHEM/00_SONOS.pm line 4181 thread 1.
Renewal of subscription failed with error: 500 Can't connect to 192.168.0.27:1400 at ./FHEM/00_SONOS.pm line 4205 thread 1.
Renewal of subscription failed with error: 500 Can't connect to 192.168.0.27:1400 at ./FHEM/00_SONOS.pm line 4229 thread 1.
Renewal of subscription failed with error: 500 Can't connect to 192.168.0.27:1400 at ./FHEM/00_SONOS.pm line 4277 thread 1.
Renewal of subscription failed with error: 412 Precondition Failed at ./FHEM/00_SONOS.pm line 4085 thread 1.
Renewal of subscription failed with error: 412 Precondition Failed at ./FHEM/00_SONOS.pm line 4109 thread 1.
Renewal of subscription failed with error: 412 Precondition Failed at ./FHEM/00_SONOS.pm line 4133 thread 1.
Renewal of subscription failed with error: 412 Precondition Failed at ./FHEM/00_SONOS.pm line 4157 thread 1.
Renewal of subscription failed with error: 412 Precondition Failed at ./FHEM/00_SONOS.pm line 4181 thread 1.
Renewal of subscription failed with error: 412 Precondition Failed at ./FHEM/00_SONOS.pm line 4205 thread 1.
Renewal of subscription failed with error: 412 Precondition Failed at ./FHEM/00_SONOS.pm line 4229 thread 1.
Renewal of subscription failed with error: 412 Precondition Failed at ./FHEM/00_SONOS.pm line 4253 thread 1.
Renewal of subscription failed with error: 412 Precondition Failed at ./FHEM/00_SONOS.pm line 4277 thread 1.
Habe das Sonos Modul erstmal disabled.
Gruß Dieter
Habe diese Probleme auch des längeren. Ich habe mir ein DOIF angelegt, was sobald der Player mit der Funktsteckdose ausgeschaltet wird das Sonos Modul auf disabled schaltet. Nach 60 Sekunden wird das Attribut wieder gelöscht.
Dies löst die Probleme und keine Log Einträge sind mehr zu finden.
Ein schönes Workaround ist das allerdings nicht.
Hallo, das Problem existiert noch immer. Gibt es schon eine allgemeine Lösung? Ich ziehe zum Beispiel manuell den Stecker und kann das schlecht in eine Regel zur Automatisierung umsetzen.
Danke und Gruß
Hallo Zusammen,
Hab seit 2 Tagen auch das Problem das im Log diese Meldung erscheint.
Renewal of subscription failed with error: 412 Precondition Failed at ./FHEM/00_SONOS.pm line 4144 thread 4
Weiß jemand wodurch diese Meldung ausgelöst wird ?
Hab das Problem das meine Sonos auch kurzzeitig nicht über fhem steuerbar sind.
Grüße Marco
Hallo,
ich habe auch das gleiche Problem. 2 Sonos Play 1 die bei nicht Bedarf vom Strom getrennt werden. Dank dem Tipp von Fixel setzt ich das Sonos Modul auch kurz auf disable. Nicht schön, funktioniert aber.
Gruß
Mike
Gesendet von meinem A0001 mit Tapatalk
Gibt noch keine weitere Lösungen, außer das Modul zu deaktiveren oder?
Schalte meine Sonos auch bei Bedarf stromlos...
Gruß,
SteRa
Ihr könnt ja mal versuchen diesen Code in Zeile 4046 hinzuzufügen:
$SIG{__WARN__} = sub { $_ = shift; };
ALT:
} elsif ($workType eq 'renewSubscription') {
if (defined($SONOS_TransportSubscriptions{$udn}) && (Time::HiRes::time() - $SONOS_TransportSubscriptions{$udn}->{_startTime} > $SONOS_SUBSCRIPTIONSRENEWAL)) {
NEU:
} elsif ($workType eq 'renewSubscription') {
$SIG{__WARN__} = sub { $_ = shift; };
if (defined($SONOS_TransportSubscriptions{$udn}) && (Time::HiRes::time() - $SONOS_TransportSubscriptions{$udn}->{_startTime} > $SONOS_SUBSCRIPTIONSRENEWAL)) {
Ich hatte das selbe Problem mit dem DLNARenderer und konnte damit das Problem lösen.