Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. Sonos Adapter aktualisiert nur teilweise

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    818

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    18
    1
    6.3k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.6k

Sonos Adapter aktualisiert nur teilweise

Scheduled Pinned Locked Moved Solved Error/Bug
sonosdatenpunkteaktualisierung
52 Posts 8 Posters 5.9k Views 7 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    TJ1973
    wrote on last edited by
    #9

    OK, jetzt wird es seltsam. Seit eben kann ich über state bzw. state_simple auch die box steuern (mit play/stop bzw. true/false), aber wenn ich sie über andere wege anschalte aktualisieren sie sich noch immer nicht. state_simple bleibt auf false, state auf stop.

    1 Reply Last reply
    0
    • cashC Offline
      cashC Offline
      cash
      Most Active
      wrote on last edited by
      #10

      Kann es sein das Du vorher die Sonos Geräte nicht per Lan angeschlossen hattest und sie da noch funktionierten?

      Richte den Sonos mal ohne Kabel ein und ich würde fast wetten das die Datenpunkte dann wieder aktualisiert werden!?

      1 Reply Last reply
      0
      • T Offline
        T Offline
        TJ1973
        wrote on last edited by
        #11

        Nein, daran hat sich nichts geändert aber ich kann ja das setup mal etwas durchtesten. Nur kurze Frage..."ohne LAN"? Eine muss doch physisch an den Router. Oder eine bridge, korrekt?

        S 1 Reply Last reply
        0
        • T TJ1973

          Nein, daran hat sich nichts geändert aber ich kann ja das setup mal etwas durchtesten. Nur kurze Frage..."ohne LAN"? Eine muss doch physisch an den Router. Oder eine bridge, korrekt?

          S Offline
          S Offline
          Stormbringer
          wrote on last edited by Stormbringer
          #12

          @TJ1973 Nein musst du nicht. Hab keinen einzigen Speaker (hab Play 1, 3 und one) an LAN angeschlossen. Glaub das gabs früher mal. Seit ein paar Jahren nicht mehr.

          Hab irgendwann mal gelesen, dass man ein Sonos System per LAN anschließen kann dann kommuniziert das System über eigenes Funksystem und nicht mehr über WLAN.

          Hier der Link 😉
          https://gdgts.de/sonosnet-sonos-funknetzwerk/

          Angaben zur Installation: JS Controller 5.0.12, npm 9.6.7, node 18.17.1, auf einem Intel NUC mit Ubuntu 22.04

          1 Reply Last reply
          0
          • cashC Offline
            cashC Offline
            cash
            Most Active
            wrote on last edited by
            #13

            Wenn ein Sonos per Lan angeschlossen ist baut es sein eigenes WLAN auf. Das soll stabiler sein. Allerdings ist es ja dann nicht mehr in Deinem LAN bzw nur der eine. Ich hätte deshalb vermutet das ioBroker dann von den Sonos Geräten nichts mit bekommt.

            Ich betreibe alle meine Geräte über das normale WLAN und habe keine Probleme.

            Wie gesagt sicher bin ich mir nicht, da ich nicht weiß wie der Adapter technisch die Daten von Sonos bezieht. War nur eine Vermutung.

            BBTownB 1 Reply Last reply
            0
            • cashC cash

              Wenn ein Sonos per Lan angeschlossen ist baut es sein eigenes WLAN auf. Das soll stabiler sein. Allerdings ist es ja dann nicht mehr in Deinem LAN bzw nur der eine. Ich hätte deshalb vermutet das ioBroker dann von den Sonos Geräten nichts mit bekommt.

              Ich betreibe alle meine Geräte über das normale WLAN und habe keine Probleme.

              Wie gesagt sicher bin ich mir nicht, da ich nicht weiß wie der Adapter technisch die Daten von Sonos bezieht. War nur eine Vermutung.

              BBTownB Offline
              BBTownB Offline
              BBTown
              wrote on last edited by BBTown
              #14

              @cash Ich habe den SONOS Adapter seit einigen Jahren problem mit insgesamt 13 Sonos Geräten am laufen. Davon sind 5 per LAN und die anderen im SONOS Mesh eingerichtet.

              Über ein Script wird bei jedem SONOS Gerät die Lautstärke gemonitort, bei größer 1 werden die states "play = true", "stop = false" und "state = play" gesetzt.
              Bei Laustärke kleiner 2 entsprechend "play = false", "stop = true", und "state = stop".

              Und seit kurzem erhalte ich hierbei folgende Fehlermeldungen:

              javascript.0	2019-07-04 23:14:17.178	warn	at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)
              javascript.0	2019-07-04 23:14:17.178	warn	at Socket.Readable.push (_stream_readable.js:224:10)
              javascript.0	2019-07-04 23:14:17.178	warn	at readableAddChunk (_stream_readable.js:269:11)
              javascript.0	2019-07-04 23:14:17.178	warn	at addChunk (_stream_readable.js:288:12)
              javascript.0	2019-07-04 23:14:17.178	warn	at Socket.emit (events.js:198:13)
              javascript.0	2019-07-04 23:14:17.178	warn	at Socket.realHandler (/opt/iobroker/node_modules/ws/lib/WebSocket.js:825:20)
              javascript.0	2019-07-04 23:14:17.178	warn	at Receiver.add (/opt/iobroker/node_modules/ws/lib/Receiver.js:103:24)
              javascript.0	2019-07-04 23:14:17.178	warn	at Receiver.expectHandler (/opt/iobroker/node_modules/ws/lib/Receiver.js:499:31)
              javascript.0	2019-07-04 23:14:17.178	warn	at Receiver.finish (/opt/iobroker/node_modules/ws/lib/Receiver.js:541:12)
              javascript.0	2019-07-04 23:14:17.177	warn	at Receiver.flush (/opt/iobroker/node_modules/ws/lib/Receiver.js:347:3)
              javascript.0	2019-07-04 23:14:17.177	warn	at /opt/iobroker/node_modules/ws/lib/Receiver.js:508:14
              javascript.0	2019-07-04 23:14:17.177	warn	at Receiver.applyExtensions (/opt/iobroker/node_modules/ws/lib/Receiver.js:371:5)
              javascript.0	2019-07-04 23:14:17.177	warn	at /opt/iobroker/node_modules/ws/lib/Receiver.js:536:18
              javascript.0	2019-07-04 23:14:17.177	warn	at Receiver.ontext (/opt/iobroker/node_modules/ws/lib/WebSocket.js:841:10)
              javascript.0	2019-07-04 23:14:17.177	warn	at WebSocket.emit (events.js:198:13)
              javascript.0	2019-07-04 23:14:17.177	warn	at WebSocket.onMessage (/opt/iobroker/node_modules/ws/lib/WebSocket.js:442:14)
              javascript.0	2019-07-04 23:14:17.177	warn	at WebSocket.ws.onmessage (/opt/iobroker/node_modules/engine.io-client/lib/transports/websocket.js:146:10)
              javascript.0	2019-07-04 23:14:17.177	warn	at WS.Transport.onData (/opt/iobroker/node_modules/engine.io-client/lib/transport.js:137:8)
              javascript.0	2019-07-04 23:14:17.177	warn	at WS.Transport.onPacket (/opt/iobroker/node_modules/engine.io-client/lib/transport.js:145:8)
              javascript.0	2019-07-04 23:14:17.176	warn	at WS.Emitter.emit (/opt/iobroker/node_modules/engine.io-client/node_modules/component-emitter/index.js:133:20)
              javascript.0	2019-07-04 23:14:17.176	warn	at WS.<anonymous> (/opt/iobroker/node_modules/engine.io-client/lib/socket.js:268:10)
              javascript.0	2019-07-04 23:14:17.176	warn	at Socket.onPacket (/opt/iobroker/node_modules/engine.io-client/lib/socket.js:451:14)
              javascript.0	2019-07-04 23:14:17.176	warn	at Socket.Emitter.emit (/opt/iobroker/node_modules/engine.io-client/node_modules/component-emitter/index.js:133:20)
              javascript.0	2019-07-04 23:14:17.176	warn	at Socket.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
              javascript.0	2019-07-04 23:14:17.176	warn	at Manager.ondata (/opt/iobroker/node_modules/socket.io-client/lib/manager.js:322:16)
              javascript.0	2019-07-04 23:14:17.176	warn	at Decoder.add (/opt/iobroker/node_modules/socket.io-parser/index.js:246:12)
              javascript.0	2019-07-04 23:14:17.176	warn	at Decoder.Emitter.emit (/opt/iobroker/node_modules/component-emitter/index.js:134:20)
              javascript.0	2019-07-04 23:14:17.176	warn	at Decoder.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
              javascript.0	2019-07-04 23:14:17.176	warn	at Manager.ondecoded (/opt/iobroker/node_modules/socket.io-client/lib/manager.js:332:8)
              javascript.0	2019-07-04 23:14:17.175	warn	at Manager.Emitter.emit (/opt/iobroker/node_modules/socket.io-client/node_modules/component-emitter/index.js:133:20)
              javascript.0	2019-07-04 23:14:17.174	warn	at Manager.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
              javascript.0	2019-07-04 23:14:17.174	warn	at Socket.onpacket (/opt/iobroker/node_modules/socket.io-client/lib/socket.js:228:12)
              javascript.0	2019-07-04 23:14:17.174	warn	at Socket.onevent (/opt/iobroker/node_modules/socket.io-client/lib/socket.js:270:10)
              javascript.0	2019-07-04 23:14:17.174	warn	at Socket.Emitter.emit (/opt/iobroker/node_modules/socket.io-client/node_modules/component-emitter/index.js:133:20)
              javascript.0	2019-07-04 23:14:17.174	warn	at Socket.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInMemClient.js:52:30)
              javascript.0	2019-07-04 23:14:17.174	warn	at Object.change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3705:37)
              javascript.0	2019-07-04 23:14:17.174	warn	at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:364:25)
              javascript.0	2019-07-04 23:14:17.174	warn	at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:973:38)
              javascript.0	2019-07-04 23:14:17.173	warn	at Object.<anonymous> (script.js.MultiMedia.SONOS.Sonos_Status:32:9)
              javascript.0	2019-07-04 23:14:17.173	warn	at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1276:20)
              javascript.0	2019-07-04 23:14:17.173	warn	State "script.js.MultiMedia.SONOS.Sonos_Wohnzimmer,sonos.0.root.192_168_11_69.stop" not found
              javascript.0	2019-07-04 23:14:17.172	warn	at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)
              javascript.0	2019-07-04 23:14:17.172	warn	at Socket.Readable.push (_stream_readable.js:224:10)
              javascript.0	2019-07-04 23:14:17.172	warn	at readableAddChunk (_stream_readable.js:269:11)
              javascript.0	2019-07-04 23:14:17.172	warn	at addChunk (_stream_readable.js:288:12)
              javascript.0	2019-07-04 23:14:17.172	warn	at Socket.emit (events.js:198:13)
              javascript.0	2019-07-04 23:14:17.172	warn	at Socket.realHandler (/opt/iobroker/node_modules/ws/lib/WebSocket.js:825:20)
              javascript.0	2019-07-04 23:14:17.172	warn	at Receiver.add (/opt/iobroker/node_modules/ws/lib/Receiver.js:103:24)
              javascript.0	2019-07-04 23:14:17.172	warn	at Receiver.expectHandler (/opt/iobroker/node_modules/ws/lib/Receiver.js:499:31)
              javascript.0	2019-07-04 23:14:17.172	warn	at Receiver.finish (/opt/iobroker/node_modules/ws/lib/Receiver.js:541:12)
              javascript.0	2019-07-04 23:14:17.172	warn	at Receiver.flush (/opt/iobroker/node_modules/ws/lib/Receiver.js:347:3)
              javascript.0	2019-07-04 23:14:17.172	warn	at /opt/iobroker/node_modules/ws/lib/Receiver.js:508:14
              javascript.0	2019-07-04 23:14:17.172	warn	at Receiver.applyExtensions (/opt/iobroker/node_modules/ws/lib/Receiver.js:371:5)
              javascript.0	2019-07-04 23:14:17.171	warn	at /opt/iobroker/node_modules/ws/lib/Receiver.js:536:18
              javascript.0	2019-07-04 23:14:17.171	warn	at Receiver.ontext (/opt/iobroker/node_modules/ws/lib/WebSocket.js:841:10)
              javascript.0	2019-07-04 23:14:17.171	warn	at WebSocket.emit (events.js:198:13)
              javascript.0	2019-07-04 23:14:17.171	warn	at WebSocket.onMessage (/opt/iobroker/node_modules/ws/lib/WebSocket.js:442:14)
              javascript.0	2019-07-04 23:14:17.171	warn	at WebSocket.ws.onmessage (/opt/iobroker/node_modules/engine.io-client/lib/transports/websocket.js:146:10)
              javascript.0	2019-07-04 23:14:17.171	warn	at WS.Transport.onData (/opt/iobroker/node_modules/engine.io-client/lib/transport.js:137:8)
              javascript.0	2019-07-04 23:14:17.171	warn	at WS.Transport.onPacket (/opt/iobroker/node_modules/engine.io-client/lib/transport.js:145:8)
              javascript.0	2019-07-04 23:14:17.171	warn	at WS.Emitter.emit (/opt/iobroker/node_modules/engine.io-client/node_modules/component-emitter/index.js:133:20)
              javascript.0	2019-07-04 23:14:17.171	warn	at WS.<anonymous> (/opt/iobroker/node_modules/engine.io-client/lib/socket.js:268:10)
              javascript.0	2019-07-04 23:14:17.171	warn	at Socket.onPacket (/opt/iobroker/node_modules/engine.io-client/lib/socket.js:451:14)
              javascript.0	2019-07-04 23:14:17.171	warn	at Socket.Emitter.emit (/opt/iobroker/node_modules/engine.io-client/node_modules/component-emitter/index.js:133:20)
              javascript.0	2019-07-04 23:14:17.171	warn	at Socket.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
              javascript.0	2019-07-04 23:14:17.171	warn	at Manager.ondata (/opt/iobroker/node_modules/socket.io-client/lib/manager.js:322:16)
              javascript.0	2019-07-04 23:14:17.171	warn	at Decoder.add (/opt/iobroker/node_modules/socket.io-parser/index.js:246:12)
              javascript.0	2019-07-04 23:14:17.171	warn	at Decoder.Emitter.emit (/opt/iobroker/node_modules/component-emitter/index.js:134:20)
              javascript.0	2019-07-04 23:14:17.170	warn	at Decoder.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
              javascript.0	2019-07-04 23:14:17.170	warn	at Manager.ondecoded (/opt/iobroker/node_modules/socket.io-client/lib/manager.js:332:8)
              javascript.0	2019-07-04 23:14:17.170	warn	at Manager.Emitter.emit (/opt/iobroker/node_modules/socket.io-client/node_modules/component-emitter/index.js:133:20)
              javascript.0	2019-07-04 23:14:17.170	warn	at Manager.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
              javascript.0	2019-07-04 23:14:17.170	warn	at Socket.onpacket (/opt/iobroker/node_modules/socket.io-client/lib/socket.js:228:12)
              javascript.0	2019-07-04 23:14:17.170	warn	at Socket.onevent (/opt/iobroker/node_modules/socket.io-client/lib/socket.js:270:10)
              javascript.0	2019-07-04 23:14:17.170	warn	at Socket.Emitter.emit (/opt/iobroker/node_modules/socket.io-client/node_modules/component-emitter/index.js:133:20)
              javascript.0	2019-07-04 23:14:17.170	warn	at Socket.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInMemClient.js:52:30)
              javascript.0	2019-07-04 23:14:17.170	warn	at Object.change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3705:37)
              javascript.0	2019-07-04 23:14:17.170	warn	at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:364:25)
              javascript.0	2019-07-04 23:14:17.170	warn	at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:973:38)
              javascript.0	2019-07-04 23:14:17.170	warn	at Object.<anonymous> (script.js.MultiMedia.SONOS.Sonos_Status:31:9)
              javascript.0	2019-07-04 23:14:17.170	warn	at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1276:20)
              javascript.0	2019-07-04 23:14:17.169	warn	State "script.js.MultiMedia.SONOS.Sonos_Wohnzimmer,sonos.0.root.192_168_11_69.play" not found
              javascript.0	2019-07-04 23:14:17.169	warn	at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)
              javascript.0	2019-07-04 23:14:17.169	warn	at Socket.Readable.push (_stream_readable.js:224:10)
              javascript.0	2019-07-04 23:14:17.169	warn	at readableAddChunk (_stream_readable.js:269:11)
              javascript.0	2019-07-04 23:14:17.169	warn	at addChunk (_stream_readable.js:288:12)
              javascript.0	2019-07-04 23:14:17.169	warn	at Socket.emit (events.js:198:13)
              javascript.0	2019-07-04 23:14:17.168	warn	at Socket.realHandler (/opt/iobroker/node_modules/ws/lib/WebSocket.js:825:20)
              javascript.0	2019-07-04 23:14:17.168	warn	at Receiver.add (/opt/iobroker/node_modules/ws/lib/Receiver.js:103:24)
              javascript.0	2019-07-04 23:14:17.168	warn	at Receiver.expectHandler (/opt/iobroker/node_modules/ws/lib/Receiver.js:499:31)
              javascript.0	2019-07-04 23:14:17.168	warn	at Receiver.finish (/opt/iobroker/node_modules/ws/lib/Receiver.js:541:12)
              javascript.0	2019-07-04 23:14:17.168	warn	at Receiver.flush (/opt/iobroker/node_modules/ws/lib/Receiver.js:347:3)
              javascript.0	2019-07-04 23:14:17.168	warn	at /opt/iobroker/node_modules/ws/lib/Receiver.js:508:14
              javascript.0	2019-07-04 23:14:17.168	warn	at Receiver.applyExtensions (/opt/iobroker/node_modules/ws/lib/Receiver.js:371:5)
              javascript.0	2019-07-04 23:14:17.168	warn	at /opt/iobroker/node_modules/ws/lib/Receiver.js:536:18
              javascript.0	2019-07-04 23:14:17.168	warn	at Receiver.ontext (/opt/iobroker/node_modules/ws/lib/WebSocket.js:841:10)
              javascript.0	2019-07-04 23:14:17.168	warn	at WebSocket.emit (events.js:198:13)
              javascript.0	2019-07-04 23:14:17.168	warn	at WebSocket.onMessage (/opt/iobroker/node_modules/ws/lib/WebSocket.js:442:14)
              javascript.0	2019-07-04 23:14:17.166	warn	at WebSocket.ws.onmessage (/opt/iobroker/node_modules/engine.io-client/lib/transports/websocket.js:146:10)
              javascript.0	2019-07-04 23:14:17.166	warn	at WS.Transport.onData (/opt/iobroker/node_modules/engine.io-client/lib/transport.js:137:8)
              javascript.0	2019-07-04 23:14:17.166	warn	at WS.Transport.onPacket (/opt/iobroker/node_modules/engine.io-client/lib/transport.js:145:8)
              javascript.0	2019-07-04 23:14:17.166	warn	at WS.Emitter.emit (/opt/iobroker/node_modules/engine.io-client/node_modules/component-emitter/index.js:133:20)
              javascript.0	2019-07-04 23:14:17.166	warn	at WS.<anonymous> (/opt/iobroker/node_modules/engine.io-client/lib/socket.js:268:10)
              javascript.0	2019-07-04 23:14:17.166	warn	at Socket.onPacket (/opt/iobroker/node_modules/engine.io-client/lib/socket.js:451:14)
              javascript.0	2019-07-04 23:14:17.166	warn	at Socket.Emitter.emit (/opt/iobroker/node_modules/engine.io-client/node_modules/component-emitter/index.js:133:20)
              javascript.0	2019-07-04 23:14:17.166	warn	at Socket.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
              javascript.0	2019-07-04 23:14:17.165	warn	at Manager.ondata (/opt/iobroker/node_modules/socket.io-client/lib/manager.js:322:16)
              javascript.0	2019-07-04 23:14:17.165	warn	at Decoder.add (/opt/iobroker/node_modules/socket.io-parser/index.js:246:12)
              javascript.0	2019-07-04 23:14:17.165	warn	at Decoder.Emitter.emit (/opt/iobroker/node_modules/component-emitter/index.js:134:20)
              javascript.0	2019-07-04 23:14:17.165	warn	at Decoder.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
              javascript.0	2019-07-04 23:14:17.165	warn	at Manager.ondecoded (/opt/iobroker/node_modules/socket.io-client/lib/manager.js:332:8)
              javascript.0	2019-07-04 23:14:17.165	warn	at Manager.Emitter.emit (/opt/iobroker/node_modules/socket.io-client/node_modules/component-emitter/index.js:133:20)
              javascript.0	2019-07-04 23:14:17.165	warn	at Manager.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
              javascript.0	2019-07-04 23:14:17.164	warn	at Socket.onpacket (/opt/iobroker/node_modules/socket.io-client/lib/socket.js:228:12)
              javascript.0	2019-07-04 23:14:17.164	warn	at Socket.onevent (/opt/iobroker/node_modules/socket.io-client/lib/socket.js:270:10)
              javascript.0	2019-07-04 23:14:17.164	warn	at Socket.Emitter.emit (/opt/iobroker/node_modules/socket.io-client/node_modules/component-emitter/index.js:133:20)
              javascript.0	2019-07-04 23:14:17.164	warn	at Socket.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInMemClient.js:52:30)
              javascript.0	2019-07-04 23:14:17.164	warn	at Object.change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3705:37)
              javascript.0	2019-07-04 23:14:17.164	warn	at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:364:25)
              javascript.0	2019-07-04 23:14:17.164	warn	at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:973:38)
              javascript.0	2019-07-04 23:14:17.163	warn	at Object.<anonymous> (script.js.MultiMedia.SONOS.Sonos_Status:30:9)
              javascript.0	2019-07-04 23:14:17.163	warn	at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1276:20)
              


              Am häufigsten spielen alle SONOS zusammen im "Partymodus" und hierbei ist "SONOS Wohnzimmer" immer der Coordinator.
              Und dessen "state" Datenpunkt ist angeblich nicht mehr da.

              Im Grunde wird beim Aufruf nachwievor dennoch fast alles korrekt gesteuert, nur im SONOS Player kann ich sehen, dass "SONOS Wohnzimmer" nicht in "Stop" geht

              ioBroker auf NUC (VM debian v13 (Trixie ), node v22.22.2 npm v10.9.4, js-controller v7.1.1 jsonl/jsonl / HomeMatic CCU-2 (Wired und Funk) / Philips HUE / echo.DOT / Broadlink RM pro / SONOS

              1 Reply Last reply
              0
              • T Offline
                T Offline
                TJ1973
                wrote on last edited by
                #15

                Also das mit der Lautstärke hab ich mir jetzt abgekupfert....danke. Zumindest kann ich jetzt steuern. Diese Felder werden noch aktualisiert (speaker und group). Fehler gibt es bei mir "noch" keine. Wurde etwas upgedatet? Mir ist nichts bekannt. Letzte Woche kam ein CCU3 update und danach waren im iobroker keine Datenpunkte mehr. Aber auf der Vorgängerversion klappt es sehr gut. Daher habe ich auch den Sonos Adapter unter unterschiedlichen Versionen getestet. Leider hier alles ohne Erfolg.

                BBTownB 1 Reply Last reply
                0
                • T TJ1973

                  Also das mit der Lautstärke hab ich mir jetzt abgekupfert....danke. Zumindest kann ich jetzt steuern. Diese Felder werden noch aktualisiert (speaker und group). Fehler gibt es bei mir "noch" keine. Wurde etwas upgedatet? Mir ist nichts bekannt. Letzte Woche kam ein CCU3 update und danach waren im iobroker keine Datenpunkte mehr. Aber auf der Vorgängerversion klappt es sehr gut. Daher habe ich auch den Sonos Adapter unter unterschiedlichen Versionen getestet. Leider hier alles ohne Erfolg.

                  BBTownB Offline
                  BBTownB Offline
                  BBTown
                  wrote on last edited by
                  #16

                  @TJ1973 sagte in Sonos Adapter aktualisiert nur teilweise:

                  Also das mit der Lautstärke hab ich mir jetzt abgekupfert

                  Ich hatte hierzu mal ein HowTo verfasst (müßte ich mal aktualisieren 😎 ).
                  Das Script ist übrigens von @pix

                  ioBroker auf NUC (VM debian v13 (Trixie ), node v22.22.2 npm v10.9.4, js-controller v7.1.1 jsonl/jsonl / HomeMatic CCU-2 (Wired und Funk) / Philips HUE / echo.DOT / Broadlink RM pro / SONOS

                  T 1 Reply Last reply
                  0
                  • BBTownB BBTown

                    @TJ1973 sagte in Sonos Adapter aktualisiert nur teilweise:

                    Also das mit der Lautstärke hab ich mir jetzt abgekupfert

                    Ich hatte hierzu mal ein HowTo verfasst (müßte ich mal aktualisieren 😎 ).
                    Das Script ist übrigens von @pix

                    T Offline
                    T Offline
                    TJ1973
                    wrote on last edited by
                    #17

                    @BBTown Hab das How to gefunden....wie gesagt, gefällt mir gut und funktioniert mit den vorhandenen Datenpunkten. leider ist das Problem noch immer wie gehabt. Ich werde posten, sobald ich verstanden habe was die Datenpunkte "lähmt". Leider hat auch der Wechsel von WLAN auf LAN bzw. umgekehrt nicht geholfen.

                    1 Reply Last reply
                    0
                    • H Offline
                      H Offline
                      hesse
                      wrote on last edited by
                      #18

                      @TJ1973 hast du eine Lösung gefunden für die nicht statfindende Aktualisierung der Datenpunkte? ich habe eine ähnliches Verhalten ...

                      1 Reply Last reply
                      0
                      • H Offline
                        H Offline
                        hesse
                        wrote on last edited by
                        #19

                        Habe mal eine komplett neu iobroker installation gemacht und auch die aktuelleste Sonos Adapter Version direkt von Github genommen.

                        Auch damit werden nur ein paar Datenpunkte aktualisert und auch Weboberfläche vom Adpater funktioniert nicht.

                        Im LOG sind folgende fehler aufgetaucht:

                        2019-08-01 20:46:31.869 - info: sonos.0 terminating
                        2019-08-01 20:46:31.966 - error: Caught by controller[0]: (node:8791) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'startsWith' of undefined
                        2019-08-01 20:46:31.971 - error: Caught by controller[0]: at isRadio (/opt/iobroker/node_modules/iobroker.sonos/node_modules/sonos-discovery/lib/prototypes/Player/getUriType.js:4:14)
                        2019-08-01 20:46:31.972 - error: Caught by controller[0]: at Player.getUriType (/opt/iobroker/node_modules/iobroker.sonos/node_modules/sonos-discovery/lib/prototypes/Player/getUriType.js:18:10)
                        2019-08-01 20:46:31.972 - error: Caught by controller[0]: at parseTrackMetadata.then.track (/opt/iobroker/node_modules/iobroker.sonos/node_modules/sonos-discovery/lib/models/Player.js:243:43)
                        2019-08-01 20:46:31.972 - error: Caught by controller[0]: at process._tickCallback (internal/process/next_tick.js:68:7)
                        2019-08-01 20:46:31.972 - error: Caught by controller[1]: (node:8791) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
                        2019-08-01 20:46:31.972 - error: Caught by controller[1]: (node:8791) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
                        2019-08-01 20:46:31.972 - error: Caught by controller[2]: (node:8791) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'startsWith' of undefined
                        2019-08-01 20:46:31.973 - error: Caught by controller[2]: at isRadio (/opt/iobroker/node_modules/iobroker.sonos/node_modules/sonos-discovery/lib/prototypes/Player/getUriType.js:4:14)
                        2019-08-01 20:46:31.973 - error: Caught by controller[2]: at Player.getUriType (/opt/iobroker/node_modules/iobroker.sonos/node_modules/sonos-discovery/lib/prototypes/Player/getUriType.js:18:10)
                        2019-08-01 20:46:31.973 - error: Caught by controller[2]: at parseTrackMetadata.then.track (/opt/iobroker/node_modules/iobroker.sonos/node_modules/sonos-discovery/lib/models/Player.js:243:43)
                        2019-08-01 20:46:31.973 - error: Caught by controller[2]: at process._tickCallback (internal/process/next_tick.js:68:7)
                        2019-08-01 20:46:31.973 - error: Caught by controller[3]: (node:8791) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
                        

                        @apollon77 ich denke hier passt der Fehler besser hin, Danke für deine Unterstützung

                        1 Reply Last reply
                        0
                        • apollon77A Offline
                          apollon77A Offline
                          apollon77
                          wrote on last edited by
                          #20

                          Bitte GitHub neu versuchen

                          Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                          • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                          • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                          H 1 Reply Last reply
                          0
                          • apollon77A apollon77

                            Bitte GitHub neu versuchen

                            H Offline
                            H Offline
                            hesse
                            wrote on last edited by
                            #21

                            @apollon77 Vielen Dank für deine Änderungen und Unterstützung.

                            Ich habe die aktuelle Version vom GIT installiert, allerdings wurden dann die Datenpunkte immer noch nicht aktualisiert.

                            Aber es gab auch keine Meldung im LOG

                            Dann hab ich die Sonos Speaker entfernt und im Adapter nochmal neu hinzu gefügt, dann gab es im LOG folgende Fehlermeldungen:

                            019-08-02 14:36:27.545 - info: host.iobroker stopInstance system.adapter.sonos.0
                            2019-08-02 14:36:27.545 - info: host.iobroker stopInstance system.adapter.sonos.0 killing pid 4619
                            2019-08-02 14:36:27.567 - info: sonos.0 terminating
                            2019-08-02 14:36:27.624 - error: Caught by controller[0]: (node:4619) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'startsWith' of undefined
                            2019-08-02 14:36:27.625 - error: Caught by controller[0]: at isRadio (/opt/iobroker/node_modules/sonos-discovery/lib/prototypes/Player/getUriType.js:4:14)
                            2019-08-02 14:36:27.625 - error: Caught by controller[0]: at Player.getUriType (/opt/iobroker/node_modules/sonos-discovery/lib/prototypes/Player/getUriType.js:18:10)
                            2019-08-02 14:36:27.626 - error: Caught by controller[0]: at parseTrackMetadata.then.track (/opt/iobroker/node_modules/sonos-discovery/lib/models/Player.js:243:43)
                            2019-08-02 14:36:27.626 - error: Caught by controller[0]: at process._tickCallback (internal/process/next_tick.js:68:7)
                            2019-08-02 14:36:27.626 - error: Caught by controller[1]: (node:4619) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
                            2019-08-02 14:36:27.626 - error: Caught by controller[1]: (node:4619) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
                            2019-08-02 14:36:27.627 - error: Caught by controller[2]: (node:4619) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'startsWith' of undefined
                            2019-08-02 14:36:27.627 - error: Caught by controller[2]: at isRadio (/opt/iobroker/node_modules/sonos-discovery/lib/prototypes/Player/getUriType.js:4:14)
                            2019-08-02 14:36:27.627 - error: Caught by controller[2]: at Player.getUriType (/opt/iobroker/node_modules/sonos-discovery/lib/prototypes/Player/getUriType.js:18:10)
                            2019-08-02 14:36:27.627 - error: Caught by controller[2]: at parseTrackMetadata.then.track (/opt/iobroker/node_modules/sonos-discovery/lib/models/Player.js:243:43)
                            2019-08-02 14:36:27.628 - error: Caught by controller[2]: at process._tickCallback (internal/process/next_tick.js:68:7)
                            2019-08-02 14:36:27.628 - error: Caught by controller[3]: (node:4619) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
                            2019-08-02 14:36:27.628 - info: host.iobroker instance system.adapter.sonos.0 terminated with code 156 ()
                            2019-08-02 14:36:30.079 - info: host.iobroker instance system.adapter.sonos.0 started with pid 5072
                            2019-08-02 14:36:32.386 - info: sonos.0 starting. Version 1.8.0 in /opt/iobroker/node_modules/iobroker.sonos, node: v10.16.0
                            2019-08-02 14:36:32.511 - info: sonos.0 http sonos server listening on port 8080
                            
                            1 Reply Last reply
                            0
                            • H Offline
                              H Offline
                              hesse
                              wrote on last edited by
                              #22

                              Ich habe heute mal test weise in einer Testinstallation, den js-controller per Backup auf Version 1.5.11 "gestellt", direkt wurden alle Datenpunkte aktualisiert.

                              Es scheint also irgendwas in der Verbindung mit dem js-controller und dem adapter nicht zu passen.

                              Gibt es denn einen offiziellen Way to go für einen Downgrade vom js-controller?

                              1 Reply Last reply
                              0
                              • apollon77A Offline
                                apollon77A Offline
                                apollon77
                                wrote on last edited by
                                #23

                                Das kann an sich nicht sein. Die Änderungen zwischen controller 1.5.11 und 14 sind an ganz anderen Stellen.

                                Der "offizielle" Weg ist ein "npm install iobroker.js-controller@1.5.11 --production" im iobroker Verzeichnis, wbei das nicht hilft. Du bist bisher der einzige der dieses Problem hat ... Ich habe kein Sonos und kann daher nichts prüfen oder nachstellen.

                                Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                                • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                1 Reply Last reply
                                0
                                • H Offline
                                  H Offline
                                  hesse
                                  wrote on last edited by
                                  #24

                                  @apollon77 Vielen Dank, ich werde noch ein bisschen rum probieren und test. Vlt finde ich ja noch raus, warum es auf einer neuen Installation nicht funktioniert. Auch wenn meine Javascript Kenntnisse etwas begrenzt sind.

                                  Aber irgendwie hat es auch was damit zu tun, dass die Files im SonosCache Verzeichnis nicht angelegt werden..

                                  1 Reply Last reply
                                  0
                                  • H Offline
                                    H Offline
                                    hesse
                                    wrote on last edited by
                                    #25

                                    Ok, nun muss ich meine Aussage korrigieren. Nach dem Einspielen des Backups meines Testsystems und anschließendem Update auf js-controller 1.5.14 funktioniert es weiter.

                                    Was ich allerdings immer noch nicht hinbekomme, ist es zum laufen zu bringen auf einer frischen neuen Installation :(

                                    Eigentlich wollte ich mit iobroker nicht mit dem einspielen eines Backups von meinem zu gemüllten Testsystems ...

                                    Hat noch jemand eine Idee was man testen könnte?

                                    apollon77A 1 Reply Last reply
                                    0
                                    • H hesse

                                      Ok, nun muss ich meine Aussage korrigieren. Nach dem Einspielen des Backups meines Testsystems und anschließendem Update auf js-controller 1.5.14 funktioniert es weiter.

                                      Was ich allerdings immer noch nicht hinbekomme, ist es zum laufen zu bringen auf einer frischen neuen Installation :(

                                      Eigentlich wollte ich mit iobroker nicht mit dem einspielen eines Backups von meinem zu gemüllten Testsystems ...

                                      Hat noch jemand eine Idee was man testen könnte?

                                      apollon77A Offline
                                      apollon77A Offline
                                      apollon77
                                      wrote on last edited by
                                      #26

                                      @hesse vergleiche doch mal die relevanten files ob und was gleich oder anders ist.

                                      Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                                      • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                      • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                      1 Reply Last reply
                                      0
                                      • H Offline
                                        H Offline
                                        hesse
                                        wrote on last edited by
                                        #27

                                        @apollon77 Danke für Rückmeldung.

                                        Da bin ich gerade dabei ... Was mir schonmal auffällt ist, dass /opt/iobroker/iobroker-data/sonoscache leer bleibt bei der neuen Installation. Bei der Testinstallation liegen dort mehrere Files drin.

                                        Aber irgendwie blick ich beim Quellcode noch nicht so durch ...

                                        Gibt es einen Grund warum vom sonos-discovery nur Version 1.1.3 verwendet wird, obwohl es schon Version 1.7.3 gibt?

                                        1 Reply Last reply
                                        0
                                        • H Offline
                                          H Offline
                                          hesse
                                          wrote on last edited by
                                          #28

                                          @apollon77 Ich habe mal alle Sonos Ordner und die darin enthalten Files verglichen und dabei nur folgende unterschiede gefunde. Vielleicht hilft das ja beim fixen oder dabei noch irgend eine Idee zu bekommen:

                                          Unterschiede

                                          /opt/iobroker/iobroker-data/sonosCache/

                                          im funktionierenden: mehrere md5 files
                                          im der neuen installation: kein Inhalt

                                          /opt/iobroker/node_modules/sonos-web-controller/static/js/socket.js
                                          Zeile 15:

                                          im funktionierenden:

                                          Socket.socket = io.connect('/', {path: location.pathname.replace('/m/', '/') + 'socket.io'}); // io.connect('/', {path: location.pathname.replace('/m/', '/') + 'socket.io'}); // io.connect('/', {path: location.pathname.replace('/m/', '/') + 'socket.io'}); // io.connect('/', {path: location.pathname.replace('/m/', '/') + 'socket.io'}); // io.connect('/', {path: location.pathname.replace('/m/', '/') + 'socket.io'}); // io.connect('/', {path: location.pathname.replace('/m/', '/') + 'socket.io'}); // io.connect('/', {path: location.pathname.replace('/m/', '/') + 'socket.io'}); // io.connect('/', {path: location.pathname.replace('/m/', '/') + 'socket.io'}); // io.connect('/', {path: location.pathname.replace('/m/', '/') + 'socket.io'}); // io.connect('/', {path: location.pathname.replace('/m/', '/') + 'socket.io'}); // io.connect('/', {path: location.pathname.replace('/m/', '/') + 'socket.io'}); // io.connect('/', {path: location.pathname.replace('/m/', '/') + 'socket.io'}); // io.connect('/', {path: location.pathname.replace('/m/', '/') + 'socket.io'}); // io.connect('/', {path: location.pathname.replace('/m/', '/') + 'socket.io'}); // io.connect('/', {path: location.pathname.replace('/m/', '/') + 'socket.io'}); // io.connect('/', {path: location.pathname.replace('/m/', '/') + 'socket.io'}); // io.connect('/', {path: location.pathname.replace('/m/', '/') + 'socket.io'}); // io.connect('/', {path: location.pathname.replace('/m/', '/') + 'socket.io'}); // io.connect('/', {path: location.pathname.replace('/m/', '/') + 'socket.io'}); // io.connect('/', {path: location.pathname.replace('/m/', '/') + 'socket.io'}); // io.connect('/', {path: location.pathname.replace('/m/', '/') + 'socket.io'}); // io.connect('/', {path: location.pathname.replace('/m/', '/') + 'socket.io'}); // io.connect('/', {path: location.pathname.replace('/m/', '/') + 'socket.io'}); // io.connect('/', {path: location.pathname.replace('/m/', '/') + 'socket.io'}); // io.connect('/', {path: location.pathname.replace('/m/', '/') + 'socket.io'}); // io.connect('/', {path: location.pathname.replace('/m/', '/') + 'socket.io'}); // io.connect('/', {path: location.pathname.replace('/m/', '/') + 'socket.io'}); // io.connect('/', {path: location.pathname.replace('/m/', '/') + 'socket.io'}); // io.connect('/', {path: location.pathname.replace('/m/', '/') + 'socket.io'}); // io.connect('/', {path: location.pathname.replace('/m/', '/') + 'socket.io'}); // io.connect('/', {path: location.pathname.replace('/m/', '/') + 'socket.io'}); // io.connect('/', {path: location.pathname.replace('/m/', '/') + 'socket.io'}); // io.connect('/', {path: location.pathname.replace('/m/', '/') + 'socket.io'}); // io.connect('/', {path: location.pathname.replace('/m/', '/') + 'socket.io'}); // io.connect('/', {path: location.pathname.replace('/m/', '/') + 'socket.io'}); // io.connect('/', {path: location.pathname.replace('/m/', '/') + 'socket.io'}); // io.connect('/', {path: location.pathname.replace('/m/', '/') + 'socket.io'}); // io.connect('/', {path: location.pathname.replace('/m/', '/') + 'socket.io'}); // io.connect('/', {path: location.pathname.replace('/m/', '/') + 'socket.io'}); // io.connect('/', {path: location.pathname.replace('/m/', '/') + 'socket.io'}); // io.connect('/', {path: location.pathname.replace('/m/', '/') + 'socket.io'}); // io.connect(target);
                                          
                                          

                                          im der neuen installation:

                                          Socket.socket = io.connect(target);
                                          
                                          1 Reply Last reply
                                          0

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          573

                                          Online

                                          32.8k

                                          Users

                                          82.7k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe