Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Sonos-HTTP-API Installation für Newbies, Dummies und mich

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.6k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.1k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    2.8k

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

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
sonos
438 Beiträge 50 Kommentatoren 117.6k Aufrufe 48 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • S 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 Offline
    H Offline
    hsjan
    schrieb am zuletzt editiert von
    #393

    @skokarl

    Besten Dank,
    schaue ich mir morgen mal an.

    S 1 Antwort Letzte Antwort
    0
    • H hsjan

      @skokarl

      Besten Dank,
      schaue ich mir morgen mal an.

      S Offline
      S Offline
      skokarl
      schrieb am zuletzt editiert von
      #394

      @hsjan

      lass uns am Ende mal an Deinen Erfahrungen und dem Ergebnis teilhaben :+1:

      IOBroker mit Proxmox auf Celeron Nuc mit 16 GB und Debian11, Sonos API, Echo Show 15 als Wandtablet, Homematic IP, HUE, Sonos, Echos, DS718+ als Backup

      1 Antwort Letzte Antwort
      0
      • S 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 Offline
        H Offline
        hsjan
        schrieb am zuletzt editiert von
        #395

        @skokarl

        Super, mit deinen Anregungen habe ich "glaube ich" es jetzt verstanden. APP aus und Adapter ausgeschaltet. :blush: 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 Antwort Letzte Antwort
        0
        • H hsjan

          @skokarl

          Super, mit deinen Anregungen habe ich "glaube ich" es jetzt verstanden. APP aus und Adapter ausgeschaltet. :blush: 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 Offline
          S Offline
          skokarl
          schrieb am zuletzt editiert von skokarl
          #396

          @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.

          IOBroker mit Proxmox auf Celeron Nuc mit 16 GB und Debian11, Sonos API, Echo Show 15 als Wandtablet, Homematic IP, HUE, Sonos, Echos, DS718+ als Backup

          H 1 Antwort Letzte Antwort
          0
          • S 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 Offline
            H Offline
            hsjan
            schrieb am zuletzt editiert von
            #397

            @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 Antwort Letzte Antwort
            0
            • ? Offline
              ? Offline
              Ein ehemaliger Benutzer
              schrieb am zuletzt editiert von Ein ehemaliger Benutzer
              #398

              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 Antworten Letzte Antwort
              0
              • ? Ein ehemaliger Benutzer

                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

                ? Offline
                ? Offline
                Ein ehemaliger Benutzer
                schrieb am zuletzt editiert von Ein ehemaliger Benutzer
                #399

                @hannnes
                GELÖST: ich hab jetzt ioBroker im Docker gelöscht und direkt installiert. Das hatte dann zur Folge, dass Node.js und js controler inkl NPM nochmal wohl in der richtigen Version installiert wurde, und siehe da, Sonos http-Api konnte dann installiert werden.

                1 Antwort Letzte Antwort
                0
                • ? Ein ehemaliger Benutzer

                  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 Offline
                  H Offline
                  hsjan
                  schrieb am zuletzt editiert von
                  #400

                  Guten Morgen zusammen,
                  ich bekomme es einfach nicht hin.
                  Einzelboxen steuere ich schon seit langem über die API funktionier auch super.
                  Jezt wollte ich Gruppen erzeugen.
                  MIt dem Befehl "http://192.168.1.180:5005/Küche/join/Wohnzimmer/" klappts nicht.
                  Hab ich da was falsch verstanden?
                  Hab zwei Sonos one und möchte die in einer Gruppe zusammenfassen.
                  Vieleicht könntet Ihr mir mal die Befehl zur bildung einer Gruppe zeigen, evtl.auch zum auflösen einer Gruppe.

                  S 1 Antwort Letzte Antwort
                  0
                  • H hsjan

                    Guten Morgen zusammen,
                    ich bekomme es einfach nicht hin.
                    Einzelboxen steuere ich schon seit langem über die API funktionier auch super.
                    Jezt wollte ich Gruppen erzeugen.
                    MIt dem Befehl "http://192.168.1.180:5005/Küche/join/Wohnzimmer/" klappts nicht.
                    Hab ich da was falsch verstanden?
                    Hab zwei Sonos one und möchte die in einer Gruppe zusammenfassen.
                    Vieleicht könntet Ihr mir mal die Befehl zur bildung einer Gruppe zeigen, evtl.auch zum auflösen einer Gruppe.

                    S Offline
                    S Offline
                    skokarl
                    schrieb am zuletzt editiert von
                    #401

                    @hsjan

                    Umlaute sind immer doof .

                    probier mal kueche ...... und was sagt die Fehlermeldung wenn Du den Befehl direkt im Browser eingibst ?

                    IOBroker mit Proxmox auf Celeron Nuc mit 16 GB und Debian11, Sonos API, Echo Show 15 als Wandtablet, Homematic IP, HUE, Sonos, Echos, DS718+ als Backup

                    H 1 Antwort Letzte Antwort
                    0
                    • S skokarl

                      @hsjan

                      Umlaute sind immer doof .

                      probier mal kueche ...... und was sagt die Fehlermeldung wenn Du den Befehl direkt im Browser eingibst ?

                      H Offline
                      H Offline
                      hsjan
                      schrieb am zuletzt editiert von
                      #402

                      @skokarl ```
                      code_text

                      `{"status":"error","error":"Room Wohnzimmer not found - can't make Küche join it","stack":"Error: Room Wohnzimmer not found - can't make Küche join it\n    at Object.joinPlayer [as join] (/root/node-sonos-http-api-master/lib/actions/group.js:19:27)\n    at handleAction (/root/node-sonos-http-api-master/lib/sonos-http-api.js:117:35)\n    at HttpAPI.requestHandler (/root/node-sonos-http-api-master/lib/sonos-http-api.js:94:21)\n    at /root/node-sonos-http-api-master/server.js:50:13\n    at Server.finish (/root/node-sonos-http-api-master/node_modules/node-static/lib/node-static.js:111:13)\n    at finish (/root/node-sonos-http-api-master/node_modules/node-static/lib/node-static.js:170:14)\n    at /root/node-sonos-http-api-master/node_modules/node-static/lib/node-static.js:144:17\n    at FSReqCallback.oncomplete (fs.js:168:21)"}``
                      S 1 Antwort Letzte Antwort
                      0
                      • H hsjan

                        @skokarl ```
                        code_text

                        `{"status":"error","error":"Room Wohnzimmer not found - can't make Küche join it","stack":"Error: Room Wohnzimmer not found - can't make Küche join it\n    at Object.joinPlayer [as join] (/root/node-sonos-http-api-master/lib/actions/group.js:19:27)\n    at handleAction (/root/node-sonos-http-api-master/lib/sonos-http-api.js:117:35)\n    at HttpAPI.requestHandler (/root/node-sonos-http-api-master/lib/sonos-http-api.js:94:21)\n    at /root/node-sonos-http-api-master/server.js:50:13\n    at Server.finish (/root/node-sonos-http-api-master/node_modules/node-static/lib/node-static.js:111:13)\n    at finish (/root/node-sonos-http-api-master/node_modules/node-static/lib/node-static.js:170:14)\n    at /root/node-sonos-http-api-master/node_modules/node-static/lib/node-static.js:144:17\n    at FSReqCallback.oncomplete (fs.js:168:21)"}``
                        S Offline
                        S Offline
                        skokarl
                        schrieb am zuletzt editiert von
                        #403

                        @hsjan

                        Raum Wohnzimmer not found.

                        In der App am Handy alles richtig ?

                        IOBroker mit Proxmox auf Celeron Nuc mit 16 GB und Debian11, Sonos API, Echo Show 15 als Wandtablet, Homematic IP, HUE, Sonos, Echos, DS718+ als Backup

                        1 Antwort Letzte Antwort
                        0
                        • S skokarl

                          Schönen Sonntag, kurz vorm Grillen möchte ich Euch an meinem Sonntagsprojekt teilhaben lassen.

                          Ich weiß dass viele von Euch Sonos Boxen haben und immer wieder mal Probleme mit dem Adapter haben,
                          auch ich. Etliche Versuche haben bei mir nicht zu dem gewünschten Erfolg geführt, oder es war zu umständlich.

                          Ausgehend von diesem Thread

                          Link Text

                          möchte ich hier den Anfängern ( also auch mir ) eine kleine Anleitung geben wie man die
                          Sonos Boxen super einfach über HTTP-API erreichen kann.

                          @Marty56 hat's vorgemacht, Danke dafür !!
                          Die Anleitung für Newbies, Dummies und mich fehlte aber noch irgendwie.

                          Heute morgen hab ich es ( ganz stolz auf mich :grinning: ), probiert und zu Ende gebracht.
                          Der Admin möge mir den neuen Thread verzeihen, aber Marty56 seiner, hatte ja im Ursprung einen
                          anderen Hintergrund.

                          Hier die Anleitung ( zusammengesucht, getestet und für gut befunden )
                          Achtung, ich habe keine große Ahnung, daher alles auf eigene Verantwortung.


                          Mit Putty auf dem IOBroker einloggen ( ich hab ne NUC )
                          und folgende Befehle der Reihe nach eingeben
                          Ich habe dies in meinem Home Verzeichnis ausgeführt.

                          ggf. vorher wget installieren wenn nicht verfügbar ( Debian )

                          $ sudo apt install wget
                          oder
                          $ sudo apt-get install wget

                          wget https://github.com/jishi/node-sonos-http-api/archive/master.zip
                          unzip master.zip
                          cd node-sonos-http-api-master
                          npm install --production
                          
                          

                          Quelle

                          Damit wurde der Server installiert.
                          Start des Servers mit

                          npm start
                          

                          Putty offen lassen !!

                          erster Test, muss jetzt funktionieren

                          http://192.168.xxx.xxx:5005/

                          1.PNG

                          In Putty tauchen jetzt zwei Meldungen auf die verwirrend sind

                          1.) settings.json wird nicht gefunden ( ignorieren )
                          Wenn keine settings.json gefunden wird, wird die default Einstellung genommen,
                          passt bei mir, sollte bei Euch auch passen.
                          In den Settings könnten spezielle Einstellungen verändert werden, wie z.B der Port 5005

                          2.) http server listening on 0.0.0.0
                          ignorieren...keine Ahnung, passt aber, und muss nicht Eure IP Adresse sein

                          Jetzt kommt das was ich lange nicht verstanden hatte.....Räume undsowas....
                          Die Räume habt ihr selbst schon in der Sonos APP angelegt, genauso wie Eure Favoriten etc.

                          Und weil es so einfach ist,
                          funktioniert jetzt auch schon sowas

                          http://192.168.xxx.xxx:5005/Sonos Tablet/favorite/HIT RADIO FFH
                          

                          ( "Sonos Tablet" ist ein Raum, FFH ist klar, beides wurde in der SONOS App im Handy hinterlegt )

                          Wenn Putty geschlossen wird, ist der allerdings weg.

                          Autostart folgt wenn ich weiß wie es geht.

                          ( kommt einige Post's später )

                          ich hoffe ich konnte Euch auch mal helfen, viel Spaß,
                          Ich glaube dieser Weg ist extrem vielversprechend und vielseitig.

                          Gruß Bernd

                          Thorsten MissenbergerT Offline
                          Thorsten MissenbergerT Offline
                          Thorsten Missenberger
                          schrieb am zuletzt editiert von
                          #404

                          Hab soweit alles nach Anleitung gemacht. Jedoch erzeugt er keine DP und im Log habe ich zwei errors:

                          21:14:15.059	error	javascript.0 (387100) script.js.Sonos.SonosHttpApi.Skript_1: Error: forceCreate is not defined from body: [object Object]
                          21:13:44.983	error	javascript.0 (387100) script.js.Sonos.SonosHttpApi.Skript_1: Error: result is not defined from body: [object Object]
                          

                          Da hier noch auf Github einer den gleichen Fehler hat und z.B. result is not defined auch beim Hue-API dazu beiträgt das dieses Script nicht geht, gehe ich davon aus das es eine Einstellungsgeschichte ist, was bei mir nicht passt. Hat jemand eine Idee?

                          1 Antwort Letzte Antwort
                          0
                          • XBiTX Online
                            XBiTX Online
                            XBiT
                            schrieb am zuletzt editiert von XBiT
                            #405

                            Hallo,

                            habe am 14.06 ein update und upgrade vom debian des iobroker gemacht seit dem geht der Autostart nicht mehr.. über Putty ist der Start möglich.

                            im Log erhalte ich diese Meldung

                            Jul 16 12:27:39 IoBroker systemd[1482]: sonosapi.service: Failed to execute command: Too many levels of symbolic links
                            Jul 16 12:27:39 IoBroker systemd[1482]: sonosapi.service: Failed at step EXEC spawning /usr/bin/node: Too many levels of symbolic links
                            Jul 16 12:27:39 IoBroker systemd[1]: sonosapi.service: Main process exited, code=exited, status=203/EXEC
                            Jul 16 12:27:39 IoBroker systemd[1]: sonosapi.service: Failed with result 'exit-code'.
                            

                            Jemand eine Idee was ich machen kann? habe den symlink schon mit

                            sudo ln -s node /usr/bin/
                            

                            neu angelegt ohne Erfolg.

                            EDIT:
                            Geht wieder....
                            Habe Nodejs mal entfernt und neu installiert nun geht es wieder...

                            1 Antwort Letzte Antwort
                            0
                            • J Offline
                              J Offline
                              jwerlsdf
                              schrieb am zuletzt editiert von
                              #406

                              Hallo,
                              ich benutze schon seit längerem Sonos ganz erfolgreich.
                              Jetzt habe ich aber folgende Frage:
                              Wie kann ich 2 oder 3 Speaker in eine Gruppe zusammenfügen?


                              http://192.....28:5005/Wohnzimmer/join/Flur

                              Damit kann ich den Sonos Speaker Wohnzimmer mit Flur koppeln.

                              Wie bekomme ich aber nun einen 2,3,...Xten Speaker in die Gruppe Flur?
                              Würde mir bitte jemand helfen? Laut Doku sollen ja mehrere Speaker in eine Gruppe zusammen abspielen gehen.

                              D 1 Antwort Letzte Antwort
                              0
                              • J jwerlsdf

                                Hallo,
                                ich benutze schon seit längerem Sonos ganz erfolgreich.
                                Jetzt habe ich aber folgende Frage:
                                Wie kann ich 2 oder 3 Speaker in eine Gruppe zusammenfügen?


                                http://192.....28:5005/Wohnzimmer/join/Flur

                                Damit kann ich den Sonos Speaker Wohnzimmer mit Flur koppeln.

                                Wie bekomme ich aber nun einen 2,3,...Xten Speaker in die Gruppe Flur?
                                Würde mir bitte jemand helfen? Laut Doku sollen ja mehrere Speaker in eine Gruppe zusammen abspielen gehen.

                                D Offline
                                D Offline
                                dodi666
                                schrieb am zuletzt editiert von
                                #407

                                @jwerlsdf :
                                Genauso, wie du das für "Wohnzimmer" auch gemacht hast.

                                http://192.....28:5005/Badezimmer/join/Flur
                                
                                1 Antwort Letzte Antwort
                                0
                                • S skokarl

                                  @LJSven sagte in [gelöst] Sonos-HTTP-API Installation für Newbies, Dummies und mich:

                                  Ich habe jetzt mal alles neugestartet und ein Update auf den Sonos LS gemacht - jetzt geht es wieder.

                                  der Restart des Sonos Servers sollte das Problem behoben haben.

                                  R Offline
                                  R Offline
                                  rehmosch
                                  schrieb am zuletzt editiert von
                                  #408

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

                                  @LJSven sagte in [gelöst] Sonos-HTTP-API Installation für Newbies, Dummies und mich:

                                  Ich habe jetzt mal alles neugestartet und ein Update auf den Sonos LS gemacht - jetzt geht es wieder.

                                  der Restart des Sonos Servers sollte das Problem behoben haben.

                                  Servus,
                                  wie starte ich den Sonos Server neu? Hab nach Umzug hier Sonos-Räume geändert und jetzt funktionieren meine Fernbedienungen nicht mehr, da er sich nicht die neuen Raumnamen holt.

                                  Wie mache ich das? Der Raumname ist schon 2 Tage anders ;(

                                  Danke

                                  RP4/Conbee II/Pihilips Hue/HarmonyHub/Sonos/Alexa/Aqara Sensoren/Tradfri/ZigbeeThermostate/Xiaomi Saugroboter/Smarte Türklingel & Briefkasten ...

                                  XBiTX 1 Antwort Letzte Antwort
                                  0
                                  • R rehmosch

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

                                    @LJSven sagte in [gelöst] Sonos-HTTP-API Installation für Newbies, Dummies und mich:

                                    Ich habe jetzt mal alles neugestartet und ein Update auf den Sonos LS gemacht - jetzt geht es wieder.

                                    der Restart des Sonos Servers sollte das Problem behoben haben.

                                    Servus,
                                    wie starte ich den Sonos Server neu? Hab nach Umzug hier Sonos-Räume geändert und jetzt funktionieren meine Fernbedienungen nicht mehr, da er sich nicht die neuen Raumnamen holt.

                                    Wie mache ich das? Der Raumname ist schon 2 Tage anders ;(

                                    Danke

                                    XBiTX Online
                                    XBiTX Online
                                    XBiT
                                    schrieb am zuletzt editiert von
                                    #409

                                    @rehmosch

                                    sudo systemctl restart sonosapi.service
                                    
                                    R 1 Antwort Letzte Antwort
                                    1
                                    • XBiTX XBiT

                                      @rehmosch

                                      sudo systemctl restart sonosapi.service
                                      
                                      R Offline
                                      R Offline
                                      rehmosch
                                      schrieb am zuletzt editiert von
                                      #410

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

                                      sudo systemctl restart sonosapi.service

                                      vielen lieben dank!

                                      RP4/Conbee II/Pihilips Hue/HarmonyHub/Sonos/Alexa/Aqara Sensoren/Tradfri/ZigbeeThermostate/Xiaomi Saugroboter/Smarte Türklingel & Briefkasten ...

                                      1 Antwort Letzte Antwort
                                      0
                                      • D Offline
                                        D Offline
                                        dodi666
                                        schrieb am zuletzt editiert von dodi666
                                        #411

                                        Hallo,
                                        ich habe heute festgestellt, dass das Skript zur SonosApi leider nicht mehr mit der Javaskript Version 8.3.1 funktioniert.
                                        Hat jemand noch das Problem, oder habe ich vielleicht etwas übersehen?

                                        26.5.2024, 19:34:56.406	[info ]: javascript.0 (518) Stopping script script.js.Eigene_Skripte.PRG_011_SONOS.Z_SonosAPI_Data
                                        26.5.2024, 19:34:58.141	[info ]: javascript.0 (518) Start JavaScript script.js.Eigene_Skripte.PRG_011_SONOS.Z_SonosAPI_Data (Javascript/js)
                                        26.5.2024, 19:34:58.177	[info ]: javascript.0 (518) script.js.Eigene_Skripte.PRG_011_SONOS.Z_SonosAPI_Data: requestSonosAPI URL: http://192.168.1.37:5005/zones
                                        26.5.2024, 19:34:58.185	[error]: javascript.0 (518) script.js.Eigene_Skripte.PRG_011_SONOS.Z_SonosAPI_Data: ReferenceError: request is not defined
                                        26.5.2024, 19:34:58.186	[error]: javascript.0 (518)     at requestSonosAPI (script.js.Eigene_Skripte.PRG_011_SONOS.Z_SonosAPI_Data:89:5)
                                        26.5.2024, 19:34:58.187	[error]: javascript.0 (518)     at requestSonosZones (script.js.Eigene_Skripte.PRG_011_SONOS.Z_SonosAPI_Data:837:5)
                                        26.5.2024, 19:34:58.187	[error]: javascript.0 (518)     at script.js.Eigene_Skripte.PRG_011_SONOS.Z_SonosAPI_Data:957:1
                                        26.5.2024, 19:34:58.188	[error]: javascript.0 (518)     at script.js.Eigene_Skripte.PRG_011_SONOS.Z_SonosAPI_Data:966:3
                                        

                                        Habe es nochmal gechecked, mit JS 7.8.0 fünktioniert es noch...

                                        Thomas BraunT 1 Antwort Letzte Antwort
                                        0
                                        • D dodi666

                                          Hallo,
                                          ich habe heute festgestellt, dass das Skript zur SonosApi leider nicht mehr mit der Javaskript Version 8.3.1 funktioniert.
                                          Hat jemand noch das Problem, oder habe ich vielleicht etwas übersehen?

                                          26.5.2024, 19:34:56.406	[info ]: javascript.0 (518) Stopping script script.js.Eigene_Skripte.PRG_011_SONOS.Z_SonosAPI_Data
                                          26.5.2024, 19:34:58.141	[info ]: javascript.0 (518) Start JavaScript script.js.Eigene_Skripte.PRG_011_SONOS.Z_SonosAPI_Data (Javascript/js)
                                          26.5.2024, 19:34:58.177	[info ]: javascript.0 (518) script.js.Eigene_Skripte.PRG_011_SONOS.Z_SonosAPI_Data: requestSonosAPI URL: http://192.168.1.37:5005/zones
                                          26.5.2024, 19:34:58.185	[error]: javascript.0 (518) script.js.Eigene_Skripte.PRG_011_SONOS.Z_SonosAPI_Data: ReferenceError: request is not defined
                                          26.5.2024, 19:34:58.186	[error]: javascript.0 (518)     at requestSonosAPI (script.js.Eigene_Skripte.PRG_011_SONOS.Z_SonosAPI_Data:89:5)
                                          26.5.2024, 19:34:58.187	[error]: javascript.0 (518)     at requestSonosZones (script.js.Eigene_Skripte.PRG_011_SONOS.Z_SonosAPI_Data:837:5)
                                          26.5.2024, 19:34:58.187	[error]: javascript.0 (518)     at script.js.Eigene_Skripte.PRG_011_SONOS.Z_SonosAPI_Data:957:1
                                          26.5.2024, 19:34:58.188	[error]: javascript.0 (518)     at script.js.Eigene_Skripte.PRG_011_SONOS.Z_SonosAPI_Data:966:3
                                          

                                          Habe es nochmal gechecked, mit JS 7.8.0 fünktioniert es noch...

                                          Thomas BraunT Online
                                          Thomas BraunT Online
                                          Thomas Braun
                                          Most Active
                                          schrieb am zuletzt editiert von Thomas Braun
                                          #412

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

                                          ReferenceError: request is not defined

                                          Das Skript muss wohl auf eine andere Methode (axios / httpGET) umgebaut werden.

                                          Habe es nochmal gechecked, mit JS 7.8.0 fünktioniert es noch...

                                          Ja, in der Version wird request auch noch nicht angemeckert.

                                          Linux-Werkzeugkasten:
                                          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                          NodeJS Fixer Skript:
                                          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                          D 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

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

                                          845

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe