Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Sonos-HTTP-API Installation für Newbies, Dummies und mich

    NEWS

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    Sonos-HTTP-API Installation für Newbies, Dummies und mich

    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      skokarl @hsjan last edited by skokarl

      @hsjan

      gut playbackState ist stopped..... weiter.... play testen

      H 1 Reply Last reply Reply Quote 0
      • H
        hsjan @skokarl last edited by

        @skokarl

        Kaum macht man es richtig geht es!😕

        http://192.168.1.6:5005/Wintergarten/tunein/play/144167

        Sender läuft!!!!

        S H 3 Replies Last reply Reply Quote 0
        • S
          skokarl @hsjan last edited by

          @hsjan

          schön..... warte mal...

          1 Reply Last reply Reply Quote 0
          • H
            hsjan @hsjan last edited by

            @hsjan

            Und der nächste geht auch!!

            http://192.168.1.6:5005/Wintergarten/tunein/play/56857

            S 1 Reply Last reply Reply Quote 1
            • S
              skokarl @hsjan last edited by

              @hsjan

              guck mal was ich oben zu tuneIN geschrieben habe ....

              und anbei ne View zum üben .... wenn Du magst....da kannst Du Deine Favoriten anlegen....

              senderview.txt

              über View importieren und dann NUR den Inhalt der Textdatei reinkopieren

              ( brauchst den vis-inventwo Adapter für die Optik )

              und ganz oben am Thread auf "gefällt mir" klicken..... 😬

              1 Reply Last reply Reply Quote 0
              • S
                skokarl @hsjan last edited by

                @hsjan

                und eines Tages endet es dann so .....

                Screenshot 2022-06-05 175329.jpg

                H 2 Replies Last reply Reply Quote 0
                • H
                  hsjan @skokarl last edited by

                  @skokarl

                  Super, dann werde ich mich jetzt mal ans üben geben.
                  Ich muss mich jetzt leider verabschieden, melde mich aber bestimmt wieder.

                  Erstmal vielen Dank für deine Zeit.

                  1 Reply Last reply Reply Quote 0
                  • H
                    hsjan @skokarl last edited by

                    @skokarl

                    erstmal einen schönen Morgen.
                    Ich benötige nochmals Hilfe, wenn ich eine Box anspreche zb. Garten dann spielt die leider keine Musik sondern die Box in einem anderen Raum

                    Muss ich zuerst mal mit einem Befehl entkoppeln?
                    Und wie kann ich die Box aktiveren zb. nach einer Nacht.

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      skokarl @hsjan last edited by skokarl

                      @hsjan

                      dann ist doch schon wieder der Wurm drin.... ( oder Gruppen )

                      teste mal eine Box nach der anderen..... einzeln....

                      und Finger weg von der APP....ab jetzt machst Du das alles über die API, sonst gibt das ein durcheinander ( wie anscheinend jetzt schon wieder )

                      Wenn Du Gruppen gebildet hast ( was Du erst machen solltest wenn Du das grundlegende verstanden hast )
                      sprichst Du immer den Chef der Gruppe an,...... dann spielen auch mehrere.

                      guck Dir nochmal den Bereich USAGE an

                      Link Text

                      H 2 Replies Last reply Reply Quote 0
                      • H
                        hsjan @skokarl last edited by

                        @skokarl

                        ich hab mir zuerst mal einen neuen API Server aufgesetzt.
                        Dann habe ich mit SONOS App rumgespielt. Darum ist das passiert.
                        Ich werde mich jetzt erstmal durch den Text kämpfen.

                        Vielen Dank!!

                        1 Reply Last reply Reply Quote 0
                        • H
                          hsjan @skokarl last edited by

                          @skokarl

                          noch eine kleine Frage, wie hast du das gelöst, dass die Sendernummer sich an den Link hängen.
                          http://192.168.1.180:5005/Küche/tunein/play/XXXXX

                          mit einem Blockly oder hast du für jeden Sender einen Eintrag erzeugt?

                          S 1 Reply Last reply Reply Quote 0
                          • S
                            skokarl @hsjan last edited by

                            @hsjan

                            verstehst du das ?

                            Screenshot 2022-06-06 151102.jpg

                            Screenshot 2022-06-06 151618.jpg

                            H 1 Reply Last reply Reply Quote 0
                            • H
                              hsjan @skokarl last edited by

                              @skokarl

                              ja, besten Dank das kann ich nachbauen.

                              S 1 Reply Last reply Reply Quote 0
                              • S
                                skokarl @hsjan last edited by skokarl

                                @hsjan sagte in Sonos-HTTP-API Installation für Newbies, Dummies und mich:

                                @skokarl

                                ja, besten Dank das kann ich nachbauen.

                                Teil Blockly zu dem Bild ( mit Gruppenbildung )

                                blockly1.txt

                                geeignet für Radio und Spotify

                                Screenshot 2022-06-05 175329.jpg

                                und Lautstärke als Beispiel

                                lautstaerke.txt

                                Beispiel Gruppe erstellen und löschen

                                Screenshot 2022-06-06 161347.jpg

                                H 2 Replies Last reply Reply Quote 0
                                • H
                                  hsjan @skokarl last edited by

                                  @skokarl

                                  Besten Dank,
                                  schaue ich mir morgen mal an.

                                  S 1 Reply Last reply Reply Quote 0
                                  • S
                                    skokarl @hsjan last edited by

                                    @hsjan

                                    lass uns am Ende mal an Deinen Erfahrungen und dem Ergebnis teilhaben 👍

                                    1 Reply Last reply Reply Quote 0
                                    • H
                                      hsjan @skokarl last edited by

                                      @skokarl

                                      Super, mit deinen Anregungen habe ich "glaube ich" es jetzt verstanden. APP aus und Adapter ausgeschaltet. 😊 Ich habe die Blockly´s mal angeschaut. Ich denke auch soweit verstanden.
                                      Die Senderauswahl muss für jedes Gerät angelegt werden? (Übertrag in den Datenpunkt der dann wieder einen Trigger auslöst.)
                                      Oder wie hast du es hinbekommen, dass nicht jedes mal alle Sender an den unterschiedlichen Geräten umgestellt werden.
                                      Da hab ich noch nicht wirklich eine Idee, nochmals ganz großen Dank an dich.

                                      S 1 Reply Last reply Reply Quote 0
                                      • S
                                        skokarl @hsjan last edited by skokarl

                                        @hsjan sagte in Sonos-HTTP-API Installation für Newbies, Dummies und mich:

                                        @skokarl

                                        Die Senderauswahl muss für jedes Gerät angelegt werden? (Übertrag in den Datenpunkt der dann wieder einen Trigger auslöst.)
                                        Da hab ich noch nicht wirklich eine Idee, nochmals ganz großen Dank an dich.

                                        Ich geb Dir mal ne Idee....

                                        1.) fang mal mit einer Box an.....Start, Stop, Senderwechsel

                                        2.) dann zwei Boxen, Gruppe bilden, Start, Stop, Gruppe auflösen ( join, leave ),

                                        mach langsam, sonst verrennst Du Dich wieder...nicht soviel auf einmal.

                                        3.) über gesetzte Schalter Gruppe bilden, Start, Stop, Gruppe auflösen

                                        Du musst Dir über verschiedene Schalter Gruppenzustände bilden können bevor Du ein Play auf den Chef
                                        loslässt ( Play kriegt nur die Masterbox )

                                        und wenn Du an zwei Orten verschiedene Musik spielen willst, brauchst Du vermutlich auch ein zweites Blockly,
                                        aber so fit bin ich in Blockly auch nicht.

                                        Ich hab die Erfahrung gemacht dass alles am "saubersten" funktioniert wenn Du die Gruppen immer frisch
                                        bildest und am Ende wieder auflöst, so hast Du immer einen definierten Status.

                                        H 1 Reply Last reply Reply Quote 0
                                        • H
                                          hsjan @skokarl last edited by

                                          @skokarl

                                          Hast recht, ich werde jetzt erstmal mit den Basics anfangen und dann kommt vermutlich alles andere von selbst.
                                          Ach, für mich sehen deine Blockly´s ab sehr professionell aus.
                                          Melde mich wieder wenn ich erste Ergebnisse präsentieren kann.

                                          1 Reply Last reply Reply Quote 0
                                          • ?
                                            A Former User last edited by A Former User

                                            Hi Ihr, ich blick nicht mehr durch.
                                            Ich hatte jetzt jahrelang Songs http api erfolgreich laufen. Jetzt bin ich auf die neuste Raspbian-Version gesprungen, hab alles in Docker umgezogen, und bekomme jetzt Songs-HTTP-API nicht mehr installiert.
                                            Der erste Versuch das in Docker zu installieren ist daran gescheitert, dass es für meinen Prozessor aarch64 wohl kein Image gibt. Wenn hier jemand widerspricht, würde ich mich sehr über eine Anleitung für Dummys freuen.

                                            Mein zweiter Anlauf war, es genauso zu installieren, wie damals, nämlich nach dieser Anleitung für Dummys (wie mich). Aber hier scheitere ich daran, dass der Befehl npm nicht existiert und ich keine zu mir passende Anleitung finde das nachzuweisen installieren. Ich will mir auf keinen Fall die Nodejs-Version die drauf ist zerschießen, so dass am Ende ioBroker nicht mehr läuft.

                                            Hat dieses Problem jemand schon erfolgreich geknackt und kann mir helfen?

                                            Hier mal die letzten Terminal-Einträge/Ausgaben:


                                            pi@HomeServer01:~ $ sudo apt-get install wget
                                            Paketlisten werden gelesen… Fertig
                                            Abhängigkeitsbaum wird aufgebaut… Fertig
                                            Statusinformationen werden eingelesen… Fertig
                                            wget ist schon die neueste Version (1.21-1+deb11u1).
                                            Das folgende Paket wurde automatisch installiert und wird nicht mehr benötigt:
                                            libfuse2
                                            Verwenden Sie »sudo apt autoremove«, um es zu entfernen.
                                            0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                                            pi@HomeServer01:~ $ wget https://github.com/jishi/node-sonos-http-api/archive/master.zip
                                            unzip master.zip
                                            cd node-sonos-http-api-master
                                            npm install --production
                                            --2022-10-25 11:04:35-- https://github.com/jishi/node-sonos-http-api/archive/master.zip
                                            Auflösen des Hostnamens github.com (github.com)… 140.82.121.4
                                            Verbindungsaufbau zu github.com (github.com)|140.82.121.4|:443 … verbunden.
                                            HTTP-Anforderung gesendet, auf Antwort wird gewartet … 302 Found
                                            Platz: https://codeload.github.com/jishi/node-sonos-http-api/zip/refs/heads/master [folgend]
                                            --2022-10-25 11:04:37-- https://codeload.github.com/jishi/node-sonos-http-api/zip/refs/heads/master
                                            Auflösen des Hostnamens codeload.github.com (codeload.github.com)… 140.82.121.10
                                            Verbindungsaufbau zu codeload.github.com (codeload.github.com)|140.82.121.10|:443 … verbunden.
                                            HTTP-Anforderung gesendet, auf Antwort wird gewartet … 200 OK
                                            Länge: nicht spezifiziert [application/zip]
                                            Wird in »master.zip.1« gespeichert.

                                            master.zip.1 [ <=> ] 772,20K 4,22MB/s in 0,2s

                                            2022-10-25 11:04:38 (4,22 MB/s) - »master.zip.1« gespeichert [790732]

                                            Archive: master.zip
                                            44096ce9103e30c58832bf4bdf52f2bcb11fd676
                                            replace node-sonos-http-api-master/.eslintrc? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
                                            inflating: node-sonos-http-api-master/.eslintrc
                                            replace node-sonos-http-api-master/.gitattributes? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
                                            inflating: node-sonos-http-api-master/.gitattributes
                                            replace node-sonos-http-api-master/.gitignore? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
                                            inflating: node-sonos-http-api-master/.gitignore
                                            replace node-sonos-http-api-master/ISSUE_TEMPLATE.md? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
                                            inflating: node-sonos-http-api-master/ISSUE_TEMPLATE.md
                                            replace node-sonos-http-api-master/LICENSE.md? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
                                            inflating: node-sonos-http-api-master/LICENSE.md
                                            replace node-sonos-http-api-master/README.md? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
                                            inflating: node-sonos-http-api-master/README.md
                                            replace node-sonos-http-api-master/lib/actions/aldilifeMusic.js? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
                                            inflating: node-sonos-http-api-master/lib/actions/aldilifeMusic.js
                                            replace node-sonos-http-api-master/lib/actions/amazonMusic.js? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
                                            inflating: node-sonos-http-api-master/lib/actions/amazonMusic.js
                                            replace node-sonos-http-api-master/lib/actions/appleMusic.js? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
                                            inflating: node-sonos-http-api-master/lib/actions/appleMusic.js
                                            replace node-sonos-http-api-master/lib/actions/bbcSounds.js? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
                                            inflating: node-sonos-http-api-master/lib/actions/bbcSounds.js
                                            replace node-sonos-http-api-master/lib/actions/clearqueue.js? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
                                            inflating: node-sonos-http-api-master/lib/actions/clearqueue.js
                                            replace node-sonos-http-api-master/lib/actions/clip.js? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
                                            inflating: node-sonos-http-api-master/lib/actions/clip.js
                                            replace node-sonos-http-api-master/lib/actions/clipall.js? [y]es, [n]o, [A]ll, [N]one, [r]ename: A
                                            inflating: node-sonos-http-api-master/lib/actions/clipall.js
                                            inflating: node-sonos-http-api-master/lib/actions/clippreset.js
                                            inflating: node-sonos-http-api-master/lib/actions/debug.js
                                            inflating: node-sonos-http-api-master/lib/actions/equalizer.js
                                            inflating: node-sonos-http-api-master/lib/actions/favorite.js
                                            inflating: node-sonos-http-api-master/lib/actions/favorites.js
                                            inflating: node-sonos-http-api-master/lib/actions/group.js
                                            inflating: node-sonos-http-api-master/lib/actions/linein.js
                                            inflating: node-sonos-http-api-master/lib/actions/lockvolumes.js
                                            inflating: node-sonos-http-api-master/lib/actions/musicSearch.js
                                            inflating: node-sonos-http-api-master/lib/actions/mute.js
                                            inflating: node-sonos-http-api-master/lib/actions/napster.js
                                            inflating: node-sonos-http-api-master/lib/actions/nextprevious.js
                                            inflating: node-sonos-http-api-master/lib/actions/pandora.js
                                            inflating: node-sonos-http-api-master/lib/actions/pauseall.js
                                            inflating: node-sonos-http-api-master/lib/actions/playlist.js
                                            inflating: node-sonos-http-api-master/lib/actions/playlists.js
                                            inflating: node-sonos-http-api-master/lib/actions/playmode.js
                                            inflating: node-sonos-http-api-master/lib/actions/playpause.js
                                            inflating: node-sonos-http-api-master/lib/actions/preset.js
                                            inflating: node-sonos-http-api-master/lib/actions/queue.js
                                            inflating: node-sonos-http-api-master/lib/actions/reindex.js
                                            inflating: node-sonos-http-api-master/lib/actions/say.js
                                            inflating: node-sonos-http-api-master/lib/actions/sayall.js
                                            inflating: node-sonos-http-api-master/lib/actions/saypreset.js
                                            inflating: node-sonos-http-api-master/lib/actions/seek.js
                                            inflating: node-sonos-http-api-master/lib/actions/services.js
                                            inflating: node-sonos-http-api-master/lib/actions/setavtransporturi.js
                                            inflating: node-sonos-http-api-master/lib/actions/siriusXM.js
                                            inflating: node-sonos-http-api-master/lib/actions/sleep.js
                                            inflating: node-sonos-http-api-master/lib/actions/spotify.js
                                            inflating: node-sonos-http-api-master/lib/actions/state.js
                                            inflating: node-sonos-http-api-master/lib/actions/sub.js
                                            inflating: node-sonos-http-api-master/lib/actions/tunein.js
                                            inflating: node-sonos-http-api-master/lib/actions/volume.js
                                            inflating: node-sonos-http-api-master/lib/actions/zones.js
                                            inflating: node-sonos-http-api-master/lib/helpers/all-player-announcement.js
                                            inflating: node-sonos-http-api-master/lib/helpers/file-duration.js
                                            inflating: node-sonos-http-api-master/lib/helpers/is-radio-or-line-in.js
                                            inflating: node-sonos-http-api-master/lib/helpers/preset-announcement.js
                                            inflating: node-sonos-http-api-master/lib/helpers/require-dir.js
                                            inflating: node-sonos-http-api-master/lib/helpers/single-player-announcement.js
                                            inflating: node-sonos-http-api-master/lib/helpers/try-download-tts.js
                                            inflating: node-sonos-http-api-master/lib/helpers/try-load-json.js
                                            inflating: node-sonos-http-api-master/lib/music_services/appleDef.js
                                            inflating: node-sonos-http-api-master/lib/music_services/deezerDef.js
                                            inflating: node-sonos-http-api-master/lib/music_services/libraryDef.js
                                            inflating: node-sonos-http-api-master/lib/music_services/spotifyDef.js
                                            inflating: node-sonos-http-api-master/lib/presets-loader.js
                                            inflating: node-sonos-http-api-master/lib/sirius-channels.json
                                            inflating: node-sonos-http-api-master/lib/sonos-http-api.js
                                            inflating: node-sonos-http-api-master/lib/tts-providers/aws-polly.js
                                            inflating: node-sonos-http-api-master/lib/tts-providers/default/google.js
                                            inflating: node-sonos-http-api-master/lib/tts-providers/mac-os.js
                                            inflating: node-sonos-http-api-master/lib/tts-providers/microsoft.js
                                            inflating: node-sonos-http-api-master/lib/tts-providers/voicerss.js
                                            inflating: node-sonos-http-api-master/package-lock.json
                                            inflating: node-sonos-http-api-master/package.json
                                            inflating: node-sonos-http-api-master/presets/example.json
                                            inflating: node-sonos-http-api-master/server.js
                                            inflating: node-sonos-http-api-master/settings.js
                                            inflating: node-sonos-http-api-master/static/clips/sample_clip.mp3
                                            inflating: node-sonos-http-api-master/static/docs/css/reset.css
                                            inflating: node-sonos-http-api-master/static/docs/css/screen.css
                                            inflating: node-sonos-http-api-master/static/docs/images/explorer_icons.png
                                            extracting: node-sonos-http-api-master/static/docs/images/logo_small.png
                                            extracting: node-sonos-http-api-master/static/docs/images/pet_store_api.png
                                            inflating: node-sonos-http-api-master/static/docs/images/throbber.gif
                                            extracting: node-sonos-http-api-master/static/docs/images/wordnik_api.png
                                            inflating: node-sonos-http-api-master/static/docs/index.html
                                            inflating: node-sonos-http-api-master/static/docs/lib/backbone-min.js
                                            inflating: node-sonos-http-api-master/static/docs/lib/handlebars-1.0.0.js
                                            inflating: node-sonos-http-api-master/static/docs/lib/highlight.7.3.pack.js
                                            inflating: node-sonos-http-api-master/static/docs/lib/jquery-1.8.0.min.js
                                            inflating: node-sonos-http-api-master/static/docs/lib/jquery.ba-bbq.min.js
                                            inflating: node-sonos-http-api-master/static/docs/lib/jquery.slideto.min.js
                                            inflating: node-sonos-http-api-master/static/docs/lib/jquery.wiggle.min.js
                                            inflating: node-sonos-http-api-master/static/docs/lib/shred.bundle.js
                                            inflating: node-sonos-http-api-master/static/docs/lib/shred/content.js
                                            inflating: node-sonos-http-api-master/static/docs/lib/swagger-client.js
                                            inflating: node-sonos-http-api-master/static/docs/lib/swagger-oauth.js
                                            inflating: node-sonos-http-api-master/static/docs/lib/swagger.js
                                            inflating: node-sonos-http-api-master/static/docs/lib/underscore-min.js
                                            inflating: node-sonos-http-api-master/static/docs/o2c.html
                                            inflating: node-sonos-http-api-master/static/docs/spec.js
                                            inflating: node-sonos-http-api-master/static/docs/swagger-ui.js
                                            inflating: node-sonos-http-api-master/static/docs/swagger-ui.min.js
                                            inflating: node-sonos-http-api-master/static/index.html
                                            inflating: node-sonos-http-api-master/static/missing_api_key.mp3
                                            inflating: node-sonos-http-api-master/static/sonos-icon.png
                                            inflating: node-sonos-http-api-master/test_endpoint.js
                                            -bash: npm: Kommando nicht gefunden.
                                            pi@HomeServer01:~/node-sonos-http-api-master $ npm start
                                            -bash: npm: Kommando nicht gefunden.

                                            Mein System:

                                            pi@HomeServer01:~ $ cat /etc/os-release
                                            PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
                                            NAME="Debian GNU/Linux"
                                            VERSION_ID="11"
                                            VERSION="11 (bullseye)"
                                            VERSION_CODENAME=bullseye
                                            ID=debian
                                            HOME_URL="https://www.debian.org/"
                                            SUPPORT_URL="https://www.debian.org/support"
                                            BUG_REPORT_URL="https://bugs.debian.org/"
                                            

                                            Systeminformationen aus ioBroker "Info":

                                            iobroker
                                            Plattform: docker
                                            Betriebssystem: linux
                                            Architektur: arm64
                                            CPUs: 4
                                            Geschwindigkeit: 1800 MHz
                                            Modell: Cortex-A72
                                            RAM: 7.63 GB
                                            Node.js: v16.18.0
                                            NPM: 8.19.2
                                            Weg: /opt/iobroker/
                                            Hostname: iobroker

                                            ? H 2 Replies 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

                                            891
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            sonos
                                            49
                                            437
                                            85560
                                            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