Wenn dies dein erster Besuch hier ist, lies bitte zuerst die Hilfe - Häufig gestellte Fragen durch. Du musst dich vermutlich registrieren, bevor du Beiträge verfassen kannst. Klicke oben auf 'Registrieren', um den Registrierungsprozess zu starten. Du kannst auch jetzt schon Beiträge lesen. Suche dir einfach das Forum aus, das dich am meisten interessiert.
sh.Sonos.Badezimmer.play_tunein(sh.Vorgabe.Radiose nder. Badezimmer()) sh.Sonos.Badezimmer.volume(10) # startet die Sonos in Lautstärke 10 sh.Sonos.Badezimmer.play(1)
Wie schaut es mit Sonderzeichen wie z.B Ü aus - habe einen Sender Energy Zürich den muss ich so angeben
SWR3 möchte ebenfalls nicht funktionieren da es noch den Sender SWR3 Rock gibt und dieser oberhalb von SWR3 steht
Zuletzt geändert von jonny7792; 07.06.2020, 08:51.
kann mir jemand sagen wie ich das mit der "Türklingel" lösen kann damit alle Gruppen nach Klingeln wieder ihren alten Wert bekommen? Sprich Gruppen sind wie vohrer, Radiosender sind wie vorher und Play oder Stop wie vorher. Hier meine bisherige Logic.
kann mir jemand sagen wie ich das mit der "Türklingel" lösen kann damit alle Gruppen nach Klingeln wieder ihren alten Wert bekommen? Sprich Gruppen sind wie vohrer, Radiosender sind wie vorher und Play oder Stop wie vorher. Hier meine bisherige Logic.
Code:
if trigger['value'] == 1:
#Join alle Lautsprecher zu einer Gruppe
sh.mysonos.kueche2.join('rincon_000e58f752a801400')
sh.mysonos.bad.join( 'rincon_000e58f752a801400')
sh.mysonos.terasse.join( 'rincon_000e58f752a801400')
#Klingeln lassen
sh.mysonos.kueche1.play_snippet.group_command(1)
sh.mysonos.kueche1.play_snippet.snippet_volume(50)
sh.mysonos.kueche1.play_snippet('oldtimer2.mp3')
#Zustand vor dem Klingel wiederherstellen aber wie?
Danke und Gruß,
Danny
Hi Danny,
ich habe es selbst noch nicht getestet, aber ich denke du musst die ganzen Werte in neuen Items zwischenspeichern, bevor du die klingel aktivierst. Nachdem deine Klingelzeit abgelaufen ist, setzt du dann die Werte einfach alle wieder auf die vorherigen Werte.
Ich konnte mich endlich mal wieder dem Sonos plugin widmen.
Das Speicherleck ist jetzt behoben.
Bei Gelegenheit habe ich die Plagin Basis auf SoCo Version 0.20 upgedatet.
Die neuste sonos plugin Version 1.5.1 findet ihr im Develop branch.
das kling super,.. DANKE
Ich hab die dev-Version runtergeladen und werde den Speicher "beobachten".. Ich musste bisher alle paar Wochen das System neu starten, da es sehr träge wurde,. (KNX Telegramme wurden mit merklicher Verzögerung verarbeitet,..)
ich habe auf meiner Testinstanz mal die aktuelle Develop Version des Plugins installiert um zu testen.
Grundsätzlich funktioniert das Plugin, aber es wirft diverse Fehler.
Code:
2020-11-09 18:42:46 WARNING plugins.sonos Debug: zone is not in speaker list jet. Adding and subscribing zone <SoCo object at ip 192.168.2.110>
2020-11-09 19:26:09 WARNING lib.item.item Item sonos.esszimmer.play_mode: value "False" does not match type str. Via Sonos None
2020-11-09 19:26:09 WARNING lib.item.item Item sonos.esszimmer.coordinator: value "False" does not match type str. Via Sonos None
2020-11-09 19:26:09 WARNING lib.item.item Item sonos.esszimmer.zone_group_members: value "False" does not match type list. Via Sonos None
2020-11-09 19:26:09 WARNING lib.item.item Item sonos.esszimmer.player_name: value "False" does not match type str. Via Sonos None
2020-11-09 19:26:09 WARNING lib.item.item Item sonos.esszimmer.household_id: value "False" does not match type str. Via Sonos None
2020-11-09 19:26:09 WARNING lib.item.item Item sonos.esszimmer.streamtype: value "False" does not match type str. Via Sonos None
2020-11-09 19:26:09 WARNING lib.item.item Item sonos.esszimmer.track_album: value "False" does not match type str. Via Sonos None
2020-11-09 19:26:09 WARNING lib.item.item Item sonos.esszimmer.track_album_art: value "False" does not match type str. Via Sonos None
2020-11-09 19:26:09 WARNING lib.item.item Item sonos.esszimmer.current_track_duration: value "False" does not match type str. Via Sonos None
2020-11-09 19:26:09 WARNING lib.item.item Item sonos.esszimmer.current_transport_actions: value "False" does not match type str. Via Sonos None
2020-11-09 19:26:09 WARNING lib.item.item Item sonos.esszimmer.current_valid_play_modes: value "False" does not match type str. Via Sonos None
2020-11-09 19:26:09 WARNING lib.item.item Item sonos.esszimmer.stream_content: value "False" does not match type str. Via Sonos None
2020-11-09 19:26:09 WARNING lib.item.item Item sonos.esszimmer.sonos_playlists: value "False" does not match type list. Via Sonos None
2020-11-09 19:26:10 WARNING plugins.sonos Debug: zone is not in speaker list jet. Adding and subscribing zone <SoCo object at ip 192.168.2.130>
2020-11-09 19:26:10 WARNING lib.item.item Item sonos.esszimmer.play_mode: value "True" does not match type str. Via Sonos None
2020-11-09 19:26:10 WARNING lib.item.item Item sonos.esszimmer.coordinator: value "True" does not match type str. Via Sonos None
2020-11-09 19:26:10 WARNING lib.item.item Item sonos.esszimmer.zone_group_members: value "True" does not match type list. Via Sonos None
2020-11-09 19:26:10 WARNING lib.item.item Item sonos.esszimmer.player_name: value "True" does not match type str. Via Sonos None
2020-11-09 19:26:10 WARNING lib.item.item Item sonos.esszimmer.household_id: value "True" does not match type str. Via Sonos None
2020-11-09 19:26:10 WARNING lib.item.item Item sonos.esszimmer.streamtype: value "True" does not match type str. Via Sonos None
2020-11-09 19:26:10 WARNING lib.item.item Item sonos.esszimmer.track_album: value "True" does not match type str. Via Sonos None
2020-11-09 19:26:10 WARNING lib.item.item Item sonos.esszimmer.track_album_art: value "True" does not match type str. Via Sonos None
2020-11-09 19:26:10 WARNING lib.item.item Item sonos.esszimmer.current_track_duration: value "True" does not match type str. Via Sonos None
2020-11-09 19:26:10 WARNING lib.item.item Item sonos.esszimmer.current_transport_actions: value "True" does not match type str. Via Sonos None
2020-11-09 19:26:10 WARNING lib.item.item Item sonos.esszimmer.current_valid_play_modes: value "True" does not match type str. Via Sonos None
2020-11-09 19:26:10 WARNING lib.item.item Item sonos.esszimmer.stream_content: value "True" does not match type str. Via Sonos None
2020-11-09 19:26:10 WARNING lib.item.item Item sonos.esszimmer.sonos_playlists: value "True" does not match type list. Via Sonos None
2020-11-09 19:26:11 ERROR plugins.sonos 'NoneType' object has no attribute 'unsubscribe'
2020-11-09 19:26:12 ERROR plugins.sonos ''
Meine Itemstruktur entspricht der Vorlage des Plugins.
Kann jemand helfen bzw. etwas dazu sagen?
Das sieht nicht gut aus. Pro Speaker darf es nur jeweils einen Thread für eventZoneTopology, eventSystemProperties, eventRenderingControl,eventDeviceProperties, eventAVTransport, eventAlarmEvent geben. Bei mir läuft es aktuell im Test stabil und ohne Auffälligkeiten mit mehreren Speakern. Da der Autor des Plugins nicht mehr aktiv ist, müsstest Du mit ins Debugging einsteigen. Ein Blick ins Log des Plugins wäre der erste Schritt...
020-11-13 00:00:00 CET INFO services sonos_discover_scheduler Received status 200 from 192.168.0.141 -- (services.py:send_command:492)
2020-11-13 00:00:00 CET INFO services sonos_discover_scheduler Sending Browse [('ObjectID', 'SQ:'), ('BrowseFlag', 'BrowseDirectChildren'), ('Filter', '*'), ('StartingIndex', 0), ('RequestedCount', 100), ('SortCriteria', '')] to 192.168.0.141 -- (services.py:send_command:484)
2020-11-13 00:00:00 CET INFO events_base sonos_rincon_7828ca2b4d4a01400_eventZoneTopology Subscribed to http://192.168.0.141:1400/MediaRenderer/AVTransport/Event, sid: uuid:RINCON_7828CA2B4D4A01400_sub0000118824 -- (events_base.py:success:465)
2020-11-13 00:00:00 CET INFO events Thread-663 Event 0 received for SystemProperties service on thread <Thread(Thread-663, started 140156450531072)> at 1605221998.764724 -- (events.py:log_event:123)
2020-11-13 00:00:00 CET INFO services sonos_rincon_7828ca2b4d4a01400_eventZoneTopology Sending GetLEDState [] to 192.168.0.141 -- (services.py:send_command:484)
2020-11-13 00:00:00 CET INFO __init__ sonos_discover_scheduler Debug: Speaker found: 192.168.0.141, rincon_7828ca2b4d4a01400 -- (__init__.py:_discover:2866)
2020-11-13 00:00:00 CET INFO __init__ sonos_discover_scheduler Debug: SoCo instance <SoCo object at ip 192.168.0.141> already initiated, skipping. -- (__init__.py:_discover:2873)
2020-11-13 00:00:00 CET INFO services sonos_discover_scheduler Sending GetLEDState [] to 192.168.0.141 -- (services.py:send_command:484)
2020-11-13 00:00:00 CET INFO __init__ sonos_discover_scheduler Debug: Start discover fct -- (__init__.py:_discover:2821)
2020-11-13 00:00:01 CET INFO services sonos_discover_scheduler Received status 200 from 192.168.0.141 -- (services.py:send_command:492)
2020-11-13 00:00:01 CET INFO services sonos_discover_scheduler Sending Browse [('ObjectID', 'SQ:'), ('BrowseFlag', 'BrowseDirectChildren'), ('Filter', '*'), ('StartingIndex', 0), ('RequestedCount', 100), ('SortCriteria', '')] to 192.168.0.141 -- (services.py:send_command:484)
2020-11-13 00:00:01 CET INFO __init__ sonos_discover_scheduler Debug: Start discover fct -- (__init__.py:_discover:2821)
2020-11-13 00:00:01 CET INFO __init__ sonos_discover_scheduler Debug: Disposing offline speaker: 192.168.0.141, rincon_7828ca2b4d4a01400 -- (__init__.py:_discover:2890)
2020-11-13 00:00:01 CET INFO __init__ sonos_discover_scheduler Debug: rincon_7828ca2b4d4a01400: disposing -- (__init__.py:dispose:382)
2020-11-13 00:00:01 CET INFO __init__ sonos_discover_scheduler Debug: start unsubscribe for endpoint <bound method Speaker._av_transport_event of <plugins.sonos.Speaker object at 0x7f78d0db62b0>> -- (__init__.py:unsubscribe:201)
2020-11-13 00:00:02 CET INFO __init__ sonos_discover_scheduler Debug: Start discover fct -- (__init__.py:_discover:2821)
2020-11-13 00:00:02 CET INFO __init__ sonos_discover_scheduler Debug: Disposing offline speaker: 192.168.0.141, rincon_7828ca2b4d4a01400 -- (__init__.py:_discover:2890)
2020-11-13 00:00:02 CET INFO __init__ sonos_discover_scheduler Debug: rincon_7828ca2b4d4a01400: disposing -- (__init__.py:dispose:382)
2020-11-13 00:00:02 CET INFO __init__ sonos_discover_scheduler Debug: start unsubscribe for endpoint <bound method Speaker._av_transport_event of <plugins.sonos.Speaker object at 0x7f78d0db62b0>> -- (__init__.py:unsubscribe:201)
2020-11-13 00:00:03 CET INFO services sonos_discover_scheduler Received status 200 from 192.168.0.141 -- (services.py:send_command:492)
2020-11-13 00:00:03 CET INFO __init__ sonos_discover_scheduler Debug: setting 192.168.0.141, uid rincon_7828ca2b4d4a01400 to handled speaker -- (__init__.py:_discover:2899)
2020-11-13 00:00:03 CET INFO __init__ sonos_discover_scheduler Debug: Start discover fct -- (__init__.py:_discover:2821)
2020-11-13 00:00:03 CET INFO __init__ sonos_discover_scheduler Debug: Disposing offline speaker: 192.168.0.141, rincon_7828ca2b4d4a01400 -- (__init__.py:_discover:2890)
2020-11-13 00:00:03 CET INFO __init__ sonos_discover_scheduler Debug: rincon_7828ca2b4d4a01400: disposing -- (__init__.py:dispose:382)
2020-11-13 00:00:03 CET INFO __init__ sonos_discover_scheduler Debug: start unsubscribe for endpoint <bound method Speaker._av_transport_event of <plugins.sonos.Speaker object at 0x7f78d0db62b0>> -- (__init__.py:unsubscribe:201)
2020-11-13 00:00:04 CET INFO __init__ sonos_discover_scheduler Debug: Start discover fct -- (__init__.py:_discover:2821)
2020-11-13 00:00:04 CET INFO __init__ sonos_discover_scheduler Debug: Disposing offline speaker: 192.168.0.141, rincon_7828ca2b4d4a01400 -- (__init__.py:_discover:2890)
2020-11-13 00:00:04 CET INFO __init__ sonos_discover_scheduler Debug: rincon_7828ca2b4d4a01400: disposing -- (__init__.py:dispose:382)
2020-11-13 00:00:04 CET INFO __init__ sonos_discover_scheduler Debug: start unsubscribe for endpoint <bound method Speaker._av_transport_event of <plugins.sonos.Speaker object at 0x7f78d0db62b0>> -- (__init__.py:unsubscribe:201)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Debug: Start discover fct -- (__init__.py:_discover:2821)
2020-11-13 00:00:05 CET INFO events_base sonos_discover_scheduler Subscribed to http://192.168.0.141:1400/AlarmClock/Event, sid: uuid:RINCON_7828CA2B4D4A01400_sub0000118825 -- (events_base.py:success:465)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Debug: Preparing to terminate thread -- (__init__.py:unsubscribe:211)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Debug: Thread killed -- (__init__.py:unsubscribe:214)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Event <bound method Speaker._av_transport_event of <plugins.sonos.Speaker object at 0x7f78d0db62b0>> unsubscribed and thread terminated -- (__init__.py:unsubscribe:219)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Debug: start unsubscribe for endpoint <bound method Speaker._rendering_control_event of <plugins.sonos.Speaker object at 0x7f78d0db62b0>> -- (__init__.py:unsubscribe:201)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Debug: start unsubscribe for endpoint <bound method Speaker._system_properties_event of <plugins.sonos.Speaker object at 0x7f78d0db62b0>> -- (__init__.py:unsubscribe:201)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Debug: Preparing to terminate thread -- (__init__.py:unsubscribe:211)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Debug: Preparing to terminate thread -- (__init__.py:unsubscribe:211)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Debug: Thread killed -- (__init__.py:unsubscribe:214)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Event <bound method Speaker._av_transport_event of <plugins.sonos.Speaker object at 0x7f78d0db62b0>> unsubscribed and thread terminated -- (__init__.py:unsubscribe:219)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Debug: start unsubscribe for endpoint <bound method Speaker._rendering_control_event of <plugins.sonos.Speaker object at 0x7f78d0db62b0>> -- (__init__.py:unsubscribe:201)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Debug: start unsubscribe for endpoint <bound method Speaker._system_properties_event of <plugins.sonos.Speaker object at 0x7f78d0db62b0>> -- (__init__.py:unsubscribe:201)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Debug: Preparing to terminate thread -- (__init__.py:unsubscribe:211)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Debug: Thread killed -- (__init__.py:unsubscribe:214)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Event <bound method Speaker._av_transport_event of <plugins.sonos.Speaker object at 0x7f78d0db62b0>> unsubscribed and thread terminated -- (__init__.py:unsubscribe:219)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Debug: start unsubscribe for endpoint <bound method Speaker._rendering_control_event of <plugins.sonos.Speaker object at 0x7f78d0db62b0>> -- (__init__.py:unsubscribe:201)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Debug: start unsubscribe for endpoint <bound method Speaker._system_properties_event of <plugins.sonos.Speaker object at 0x7f78d0db62b0>> -- (__init__.py:unsubscribe:201)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Debug: Preparing to terminate thread -- (__init__.py:unsubscribe:211)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Debug: Thread killed -- (__init__.py:unsubscribe:214)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Event <bound method Speaker._av_transport_event of <plugins.sonos.Speaker object at 0x7f78d0db62b0>> unsubscribed and thread terminated -- (__init__.py:unsubscribe:219)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Debug: start unsubscribe for endpoint <bound method Speaker._rendering_control_event of <plugins.sonos.Speaker object at 0x7f78d0db62b0>> -- (__init__.py:unsubscribe:201)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Debug: start unsubscribe for endpoint <bound method Speaker._system_properties_event of <plugins.sonos.Speaker object at 0x7f78d0db62b0>> -- (__init__.py:unsubscribe:201)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Debug: Disposing offline speaker: 192.168.0.141, rincon_7828ca2b4d4a01400 -- (__init__.py:_discover:2890)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Debug: rincon_7828ca2b4d4a01400: disposing -- (__init__.py:dispose:382)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Debug: start unsubscribe for endpoint <bound method Speaker._av_transport_event of <plugins.sonos.Speaker object at 0x7f78d0db62b0>> -- (__init__.py:unsubscribe:201)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Debug: Preparing to terminate thread -- (__init__.py:unsubscribe:211)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Debug: Thread killed -- (__init__.py:unsubscribe:214)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Event <bound method Speaker._av_transport_event of <plugins.sonos.Speaker object at 0x7f78d0db62b0>> unsubscribed and thread terminated -- (__init__.py:unsubscribe:219)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Debug: start unsubscribe for endpoint <bound method Speaker._rendering_control_event of <plugins.sonos.Speaker object at 0x7f78d0db62b0>> -- (__init__.py:unsubscribe:201)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Debug: start unsubscribe for endpoint <bound method Speaker._system_properties_event of <plugins.sonos.Speaker object at 0x7f78d0db62b0>> -- (__init__.py:unsubscribe:201)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Debug: Thread killed -- (__init__.py:unsubscribe:214)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Event <bound method Speaker._system_properties_event of <plugins.sonos.Speaker object at 0x7f78d0db62b0>> unsubscribed and thread terminated -- (__init__.py:unsubscribe:219)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Debug: start unsubscribe for endpoint <bound method Speaker._zone_topology_event of <plugins.sonos.Speaker object at 0x7f78d0db62b0>> -- (__init__.py:unsubscribe:201)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Debug: Preparing to terminate thread -- (__init__.py:unsubscribe:211)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Debug: Preparing to terminate thread -- (__init__.py:unsubscribe:211)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Debug: Thread killed -- (__init__.py:unsubscribe:214)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Event <bound method Speaker._system_properties_event of <plugins.sonos.Speaker object at 0x7f78d0db62b0>> unsubscribed and thread terminated -- (__init__.py:unsubscribe:219)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Debug: start unsubscribe for endpoint <bound method Speaker._zone_topology_event of <plugins.sonos.Speaker object at 0x7f78d0db62b0>> -- (__init__.py:unsubscribe:201)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Debug: Preparing to terminate thread -- (__init__.py:unsubscribe:211)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Debug: Thread killed -- (__init__.py:unsubscribe:214)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Event <bound method Speaker._system_properties_event of <plugins.sonos.Speaker object at 0x7f78d0db62b0>> unsubscribed and thread terminated -- (__init__.py:unsubscribe:219)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Debug: start unsubscribe for endpoint <bound method Speaker._zone_topology_event of <plugins.sonos.Speaker object at 0x7f78d0db62b0>> -- (__init__.py:unsubscribe:201)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Debug: Preparing to terminate thread -- (__init__.py:unsubscribe:211)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Debug: Thread killed -- (__init__.py:unsubscribe:214)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Event <bound method Speaker._system_properties_event of <plugins.sonos.Speaker object at 0x7f78d0db62b0>> unsubscribed and thread terminated -- (__init__.py:unsubscribe:219)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Debug: start unsubscribe for endpoint <bound method Speaker._zone_topology_event of <plugins.sonos.Speaker object at 0x7f78d0db62b0>> -- (__init__.py:unsubscribe:201)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Debug: Preparing to terminate thread -- (__init__.py:unsubscribe:211)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Debug: Thread killed -- (__init__.py:unsubscribe:214)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Event <bound method Speaker._system_properties_event of <plugins.sonos.Speaker object at 0x7f78d0db62b0>> unsubscribed and thread terminated -- (__init__.py:unsubscribe:219)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Debug: start unsubscribe for endpoint <bound method Speaker._zone_topology_event of <plugins.sonos.Speaker object at 0x7f78d0db62b0>> -- (__init__.py:unsubscribe:201)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Debug: start unsubscribe for endpoint <bound method Speaker._rendering_control_event of <plugins.sonos.Speaker object at 0x7f78d0db62b0>> -- (__init__.py:unsubscribe:201)
2020-11-13 00:00:05 CET INFO __init__ sonos_discover_scheduler Debug: start subscribe for endpoint <bound method Speaker._rendering_control_event of <plugins.sonos.Speaker object at 0x7f78d0db62b0>> -- (__init__.py:subscribe:187)
2020-11-13 00:00:06 CET INFO services sonos_rincon_7828ca2b4d4a01400_eventZoneTopology Received status 200 from 192.168.0.141 -- (services.py:send_command:492)
2020-11-13 00:00:06 CET INFO services sonos_rincon_7828ca2b4d4a01400_eventZoneTopology Sending Browse [('ObjectID', 'SQ:'), ('BrowseFlag', 'BrowseDirectChildren'), ('Filter', '*'), ('StartingIndex', 0), ('RequestedCount', 100), ('SortCriteria', '')] to 192.168.0.141 -- (services.py:send_command:484)
2020-11-13 00:00:06 CET INFO services sonos_discover_scheduler Received status 200 from 192.168.0.141 -- (services.py:send_command:492)
2020-11-13 00:00:06 CET INFO services sonos_discover_scheduler Sending Browse [('ObjectID', 'SQ:'), ('BrowseFlag', 'BrowseDirectChildren'), ('Filter', '*'), ('StartingIndex', 0), ('RequestedCount', 100), ('SortCriteria', '')] to 192.168.0.141 -- (services.py:send_command:484)
2020-11-13 00:00:06 CET INFO __init__ sonos_discover_scheduler Debug: Start discover fct -- (__init__.py:_discover:2821)
2020-11-13 00:00:06 CET INFO __init__ sonos_discover_scheduler Debug: Disposing offline speaker: 192.168.0.141, rincon_7828ca2b4d4a01400 -- (__init__.py:_discover:2890)
2020-11-13 00:00:06 CET INFO __init__ sonos_discover_scheduler Debug: rincon_7828ca2b4d4a01400: disposing -- (__init__.py:dispose:382)
2020-11-13 00:00:06 CET INFO __init__ sonos_discover_scheduler Debug: start unsubscribe for endpoint <bound method Speaker._av_transport_event of <plugins.sonos.Speaker object at 0x7f78d0db62b0>> -- (__init__.py:unsubscribe:201)
2020-11-13 00:00:06 CET INFO __init__ sonos_discover_scheduler Debug: Preparing to terminate thread -- (__init__.py:unsubscribe:211)
2020-11-13 00:00:06 CET INFO __init__ sonos_discover_scheduler Debug: Thread killed -- (__init__.py:unsubscribe:214)
2020-11-13 00:00:06 CET INFO __init__ sonos_discover_scheduler Event <bound method Speaker._av_transport_event of <plugins.sonos.Speaker object at 0x7f78d0db62b0>> unsubscribed and thread terminated -- (__init__.py:unsubscribe:219)
2020-11-13 00:00:06 CET INFO __init__ sonos_discover_scheduler Debug: start unsubscribe for endpoint <bound method Speaker._rendering_control_event of <plugins.sonos.Speaker object at 0x7f78d0db62b0>> -- (__init__.py:unsubscribe:201)
2020-11-13 00:00:07 CET INFO __init__ sonos_discover_scheduler Debug: Start discover fct -- (__init__.py:_discover:2821)
2020-11-13 00:00:07 CET INFO __init__ sonos_discover_scheduler Debug: Disposing offline speaker: 192.168.0.141, rincon_7828ca2b4d4a01400 -- (__init__.py:_discover:2890)
2020-11-13 00:00:07 CET INFO __init__ sonos_discover_scheduler Debug: rincon_7828ca2b4d4a01400: disposing -- (__init__.py:dispose:382)
2020-11-13 00:00:07 CET INFO __init__ sonos_discover_scheduler Debug: start unsubscribe for endpoint <bound method Speaker._av_transport_event of <plugins.sonos.Speaker object at 0x7f78d0db62b0>> -- (__init__.py:unsubscribe:201)
2020-11-13 00:00:07 CET INFO __init__ sonos_discover_scheduler Debug: Preparing to terminate thread -- (__init__.py:unsubscribe:211)
2020-11-13 00:00:07 CET INFO __init__ sonos_discover_scheduler Debug: Thread killed -- (__init__.py:unsubscribe:214)
2020-11-13 00:00:07 CET INFO __init__ sonos_discover_scheduler Event <bound method Speaker._av_transport_event of <plugins.sonos.Speaker object at 0x7f78d0db62b0>> unsubscribed and thread terminated -- (__init__.py:unsubscribe:219)
2020-11-13 00:00:07 CET WARNING __init__ sonos_discover_scheduler Debug: Thread is still alive -- (__init__.py:unsubscribe:216)
2020-11-13 00:00:07 CET INFO __init__ sonos_discover_scheduler Debug: start unsubscribe for endpoint <bound method Speaker._rendering_control_event of <plugins.sonos.Speaker object at 0x7f78d0db62b0>> -- (__init__.py:unsubscribe:201)
2020-11-13 00:00:07 CET INFO __init__ sonos_discover_scheduler Event <bound method Speaker._zone_topology_event of <plugins.sonos.Speaker object at 0x7f78d0db62b0>> unsubscribed and thread terminated -- (__init__.py:unsubscribe:219)
2020-11-13 00:00:07 CET INFO __init__ sonos_discover_scheduler Debug: start unsubscribe for endpoint <bound method Speaker._alarm_event of <plugins.sonos.Speaker object at 0x7f78d0db62b0>> -- (__init__.py:unsubscribe:201)
2020-11-13 00:00:07 CET INFO __init__ sonos_discover_scheduler Debug: Preparing to terminate thread -- (__init__.py:unsubscribe:211)
2020-11-13 00:00:08 CET INFO __init__ sonos_discover_scheduler Debug: Start discover fct -- (__init__.py:_discover:2821)
2020-11-13 00:00:08 CET INFO __init__ sonos_discover_scheduler Debug: Disposing offline speaker: 192.168.0.141, rincon_7828ca2b4d4a01400 -- (__init__.py:_discover:2890)
2020-11-13 00:00:08 CET INFO __init__ sonos_discover_scheduler Debug: rincon_7828ca2b4d4a01400: disposing -- (__init__.py:dispose:382)
2020-11-13 00:00:08 CET INFO __init__ sonos_discover_scheduler Debug: start unsubscribe for endpoint <bound method Speaker._av_transport_event of <plugins.sonos.Speaker object at 0x7f78d0db62b0>> -- (__init__.py:unsubscribe:201)
2020-11-13 00:00:08 CET INFO __init__ sonos_discover_scheduler Debug: Preparing to terminate thread -- (__init__.py:unsubscribe:211)
2020-11-13 00:00:08 CET INFO __init__ sonos_discover_scheduler Debug: Thread killed -- (__init__.py:unsubscribe:214)
2020-11-13 00:00:08 CET INFO __init__ sonos_discover_scheduler Event <bound method Speaker._av_transport_event of <plugins.sonos.Speaker object at 0x7f78d0db62b0>> unsubscribed and thread terminated -- (__init__.py:unsubscribe:219)
2020-11-13 00:00:08 CET INFO __init__ sonos_discover_scheduler Debug: start unsubscribe for endpoint <bound method Speaker._rendering_control_event of <plugins.sonos.Speaker object at 0x7f78d0db62b0>> -- (__init__.py:unsubscribe:201)
2020-11-13 00:00:09 CET INFO __init__ sonos_discover_scheduler Debug: Start discover fct -- (__init__.py:_discover:2821)
2020-11-13 00:00:09 CET WARNING __init__ sonos_discover_scheduler Debug: Thread is still alive -- (__init__.py:unsubscribe:216)
ivande : Kann es sein, dass Du beim discovery_cycle nicht die Standardeinstellung 120 Sekunden verwendest? Es sieht danach aus, als ob Du den cycle auf eine Sekunde gesetzt hast. Um es kurz zu machen: Das wird nicht empfohlen .
Eingestellt habe ich discovery_cycle nicht, lediglich auskommentiert,..
Code:
Sonos:
plugin_name: sonos
tts: true # optional, default: false
local_webservice_path: /usr/local/smarthome/media/sounds # optional, default: empty. If 'tts' is enabled, this option is mandatory.
# All tts files will be stored here.
#local_webservice_path_snippet: /usr/local/smarthome/media/sounds
# webservice_ip: 192.168.1.40 # optional, default: automatic. You can set a specific ip address.
# If you're using a docker container, you have to set the host
# ip address here.
# webservice_port: 23500 # optional, default: 23500
# discover_cycle: 120 # optional, default: 120 (in seconds)
speaker_ips: # optional. You can set static IP addresses for your Sonos speaker. This
- 192.168.0.141 # will disable auto-discovery. This is useful if you're using a
Sisamiwe , dein Problem mit den falschen Datentypen wurde durch eine unvollständige Liste der Metadaten produziert. Diese habe ich im Develop vervollständigt. Bitte nochmal testen.
Wir verarbeiten personenbezogene Daten über die Nutzer unserer Website mithilfe von Cookies und anderen Technologien, um unsere Dienste bereitzustellen. Weitere Informationen findest Du in unserer Datenschutzerklärung.
Indem Du unten auf "ICH stimme zu" klickst, stimmst Du unserer Datenschutzerklärung und unseren persönlichen Datenverarbeitungs- und Cookie-Praktiken zu, wie darin beschrieben. Du erkennst außerdem an, dass dieses Forum möglicherweise außerhalb Deines Landes gehostet wird und bist damit einverstanden, dass Deine Daten in dem Land, in dem dieses Forum gehostet wird, gesammelt, gespeichert und verarbeitet werden.
Kommentar