Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Sonos Adapter probleme

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Sonos Adapter probleme

    This topic has been deleted. Only users with topic management privileges can see it.
    • haus-automatisierung
      haus-automatisierung Developer Most Active @mameier1234 last edited by

      @mameier1234 Dann gibt es wohl eine neue Version einer Abhängigkeit, welche das Problem behebt.

      Wäre sinnvoll wenn der Entwickler eine neue Version freigibt damit das Update automatisch passiert

      1 Reply Last reply Reply Quote 0
      • mcm1957
        mcm1957 @Thomas Braun last edited by

        @thomas-braun said in Sonos Adapter probleme:

        Hier startet der Adapter zwar, meckert aber einiges an:

        2024-06-02 12:05:36.075  - warn: admin.0 (817993) sonos has an invalid jsonConfig: [{"instancePath":"/items/devicesTab/items/_sendto","schemaPath":"#/definitions/sendToProps/additionalProperties","keyword":"additionalProperties","params":{"additionalProperty":"timeout"},"message":"must NOT have additional properties"},{"instancePath":"/items/devicesTab","schemaPath":"#/properties/items/patternProperties/%5E.%2B/allOf/8/if","keyword":"if","params":{"failingKeyword":"then"},"message":"must match \"then\" schema"},{"instancePath":"","schemaPath":"#/if","keyword":"if","params":{"failingKeyword":"then"},"message":"must match \"then\" schema"}]
        2024-06-02 12:05:36.587  - info: sonos.0 (829438) starting. Version 3.0.0 in /opt/iobroker/node_modules/iobroker.sonos, node: v20.14.0, js-controller: 6.0.1-alpha.0-20240529-9dbeeb628
        2024-06-02 12:05:36.691  - info: sonos.0 (829438) Method "createDevice" is deprecated and will be removed in js-controller 7, use "extendObject/setObjectNotExists" instead
        2024-06-02 12:05:36.793  - info: sonos.0 (829438) Method "createChannel" is deprecated and will be removed in js-controller 7, use "extendObject/setObjectNotExists" instead
        2024-06-02 12:05:36.803  - info: sonos.0 (829438) Method "createState" is deprecated and will be removed in js-controller 7, use "extendObject/setObjectNotExists" instead
        2024-06-02 12:05:36.827  - info: sonos.0 (829438) Method "createState" is deprecated and will be removed in js-controller 7, use "extendObject/setObjectNotExists" instead
        2024-06-02 12:05:36.847  - info: sonos.0 (829438) Method "createState" is deprecated and will be removed in js-controller 7, use "extendObject/setObjectNotExists" instead
        2024-06-02 12:05:36.865  - info: sonos.0 (829438) Method "createState" is deprecated and will be removed in js-controller 7, use "extendObject/setObjectNotExists" instead
        2024-06-02 12:05:36.884  - info: sonos.0 (829438) Method "createState" is deprecated and will be removed in js-controller 7, use "extendObject/setObjectNotExists" instead
        2024-06-02 12:05:36.906  - info: sonos.0 (829438) Method "createState" is deprecated and will be removed in js-controller 7, use "extendObject/setObjectNotExists" instead
        
        

        Das ganze mit nodejs@20.

        Du hast wahrscheinlich js-controller 6 installiert. Mit js-controller 6 werden diese Methoden deprecated funktionieren aber weiter. Ergo bitte nur ein Issue im Aapzter Repo eröffnen wenn es noch nicht existiert.

        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @mcm1957 last edited by

          @mcm1957

          Schon läääääängst passiert:

          https://github.com/ioBroker/ioBroker.sonos/issues/238

          Grothesk242 created this issue in ioBroker/ioBroker.sonos

          open Adapter needs some polish #238

          1 Reply Last reply Reply Quote 0
          • S
            SmartHomie @mameier1234 last edited by

            @mameier1234 DANKKEEE. Das hat bei mir jetzt auch funktioniert. 👍

            1 Reply Last reply Reply Quote 0
            • S
              steffensammet last edited by steffensammet

              Hat jemand eine Idee für Docker ? Da hat Instanz & Adapter löschen bisher leider nichts gebracht 😞

              docker official image - v9.1.2
              admin: v6.17.14
              js-controller: 5.0.19
              Node.js: v18.20.3
              NPM: 10.8.1

              Habe ich vielleicht ein Problem mit den Ports ??

              sonos.0
              2024-06-30 12:10:16.455	debug	Process channel: sonos.0.root.192_168_178_88
              
              sonos.0
              2024-06-30 12:10:16.408	debug	Process channel: sonos.0.root.192_168_178_87
              
              sonos.0
              2024-06-30 12:10:16.358	debug	Process channel: sonos.0.root.192_168_178_86
              
              sonos.0
              2024-06-30 12:10:16.307	debug	Process channel: sonos.0.root.192_168_178_89
              
              sonos.0
              2024-06-30 12:10:16.307	debug	Channels of root: [{"type":"channel","common":{"role":"media.music","name":"Sonos Play:1 Terrasse"},"native":{"ip":"192.168.178.89"},"from":"system.adapter.sonos.0","user":"system.user.admin","ts":1719742183531,"_id":"sonos.0.root.192_168_178_89","acl":{"object":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}},{"type":"channel","common":{"role":"media.music","name":"Sonos AMP Badezimmer"},"native":{"ip":"192.168.178.86"},"from":"system.adapter.sonos.0","user":"system.user.admin","ts":1719742183595,"_id":"sonos.0.root.192_168_178_86","acl":{"object":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}},{"type":"channel","common":{"role":"media.music","name":"Sonos AMP Hobbyraum"},"native":{"ip":"192.168.178.87"},"from":"system.adapter.sonos.0","user":"system.user.admin","ts":1719742183855,"_id":"sonos.0.root.192_168_178_87","acl":{"object":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}},{"type":"channel","common":{"role":"media.music","name":"Sonos AMP Hobbyraum"},"native":{"ip":"192.168.178.88"},"from":"system.adapter.sonos.0","user":"system.user.admin","ts":1719742184125,"_id":"sonos.0.root.192_168_178_88","acl":{"object":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}}]
              
              sonos.0
              2024-06-30 12:10:16.257	debug	Initialize known devices: [{"type":"device","common":{"name":"root"},"native":{},"from":"system.adapter.sonos.0","user":"system.user.admin","ts":1719739575452,"_id":"sonos.0.root","acl":{"object":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}}]
              
              sonos.0
              2024-06-30 12:10:16.164	debug	Search can't be optimized because wildcard not at the end, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) }
              
              sonos.0
              2024-06-30 12:10:16.140	info	starting. Version 3.0.0 in /opt/iobroker/node_modules/iobroker.sonos, node: v18.20.3, js-controller: 5.0.19
              
              sonos.0
              2024-06-30 12:10:16.021	debug	States connected to redis: 127.0.0.1:9000
              
              sonos.0
              2024-06-30 12:10:15.918	debug	States create User PubSub Client
              
              sonos.0
              2024-06-30 12:10:15.917	debug	States create System PubSub Client
              
              sonos.0
              2024-06-30 12:10:15.884	debug	Redis States: Use Redis connection: 127.0.0.1:9000
              
              sonos.0
              2024-06-30 12:10:15.826	debug	Objects connected to redis: 127.0.0.1:9001
              
              sonos.0
              2024-06-30 12:10:15.822	debug	Objects client initialize lua scripts
              
              sonos.0
              2024-06-30 12:10:15.722	debug	Objects create User PubSub Client
              
              sonos.0
              2024-06-30 12:10:15.722	debug	Objects create System PubSub Client
              
              sonos.0
              2024-06-30 12:10:15.720	debug	Objects client ready ... initialize now
              
              sonos.0
              2024-06-30 12:10:15.671	debug	Redis Objects: Use Redis connection: 127.0.0.1:9001
              
              S 1 Reply Last reply Reply Quote 0
              • S
                steffensammet @steffensammet last edited by

                tatsächlich .... ein Problem mit den Ports ..... 🙂

                R 1 Reply Last reply Reply Quote 0
                • R
                  road_runner31 @steffensammet last edited by

                  @steffensammet Welche Ports werden denn benötigt? Muss ich die explizit freigeben?
                  Danke für eine kurze Info.. 🙂

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    steffensammet @road_runner31 last edited by

                    @road_runner31

                    laut meinem Log war es 9000 und 9001;
                    in der Realität habe ich den Container aber von Host zu einer Bridge umgezogen und hatte somit alle Ports verfügbar.

                    Ich hoffe dies hilft dir weiter.
                    Es halt komisch ist, bei Home Assistant funktioniert es "out-of-the-box" ... 😞

                    Friedhofsblond 1 Reply Last reply Reply Quote 0
                    • Friedhofsblond
                      Friedhofsblond @steffensammet last edited by

                      Moin,
                      irgendwie habe ich Ladehemmung 😊
                      Ich wollte den IObroker als Sonos-API-Server nutzen.
                      (wollte per HUE-Taster und Webhook einen Sonos-One steuern)
                      Ich dachte das geht mit dem Sonos-Adapter?
                      Habe die Adapter Web und Sonos installiert und upgedatet.
                      Dann zwei Speaker eingetragen - wird auch alles ausgelesen - keine errors im Log.
                      Nun wollte ich per http einen Befehl senden z.B. volume 20 - also 20% Lautstärke.

                      "http://192.168.115.29:5005/Wohnzimmer/volume/20"

                      Schmeiß ich das einfach so in irgendeinen Browser - irgendwie steh ich auf dem Schlauch.

                      Danke für einen Denkanstoß

                      Friedhofsblond 1 Reply Last reply Reply Quote 0
                      • Friedhofsblond
                        Friedhofsblond @Friedhofsblond last edited by

                        Moin,
                        Habe den Api-Server testweise erstmal auf einem Raspi-Z installiert.
                        Soweit läuft das, alle Speaker werden erkannt (auch mit neuer Firmware).
                        Wie installiere ich den Api-Server nun richtig auf dem iob ?
                        Ich werde den wohl hauptsächlich extern nutzen und im homey webooks versenden. Aber eine Integration/kontrolle im iob wäre schön.
                        Grüsse

                        1 Reply Last reply Reply Quote 0
                        • M
                          mpa9 @mameier1234 last edited by

                          @mameier1234 hab das selbe Problem und steh gerade auf dem Schlauch. Instanz neu installieren ist mir klar. Aber was meinst du mit Adapter neu installieren?

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            mameier1234 @mpa9 last edited by mameier1234

                            @mpa9 Nunja..

                            Wie gesagt, unter Instanz.. die Instanz löschen, dann unter Adapter den Adapter deinstallieren / löschen... Dann wieder neu installieren..

                            c0e7e425-f88d-4d0b-916a-8e4bbf97960d-image.png

                            Hier auf den Mülleimer klicken...

                            M 1 Reply Last reply Reply Quote 0
                            • M
                              mpa9 @mameier1234 last edited by

                              @mameier1234 Nunja.. Problem besteht weiterhin, Lösungsansatz scheint nicht mehr zu funktionieren.

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post

                              Support us

                              ioBroker
                              Community Adapters
                              Donate
                              FAQ Cloud / IOT
                              HowTo: Node.js-Update
                              HowTo: Backup/Restore
                              Downloads
                              BLOG

                              395
                              Online

                              32.0k
                              Users

                              80.4k
                              Topics

                              1.3m
                              Posts

                              10
                              20
                              1233
                              Loading More Posts
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes
                              Reply
                              • Reply as topic
                              Log in to reply
                              Community
                              Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                              The ioBroker Community 2014-2023
                              logo