Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Amazon Dash Button für ioBroker nutzen

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Amazon Dash Button für ioBroker nutzen

    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      easy last edited by

      @meome:

      Kurze Frage: Kann man den Adapter irgendwie unter Windows 10 zum Laufen bringen?

      Habe mir jetzt alles hier durchgelesen, bin mir aber nich tsicher, ob ich alles zuordnen konnte.

      Meine eigenen Installation habe ich upgedated: npm = 3.10.10, node = 6.10.2

      Auch WinPcap 4.1.3 installiert (die .exe).

      Python 2.7. läuft auch.

      Ich bekomme aber immer die Fehlermeldung:

      … `

      Hallo,

      ich bin Alex, komme aus Berlin und versuche mich grad an ioBroker.

      Geile Software, macht richtig Spass und der heftige Frustlevel den ich bei FHEM relativ schnell erlebt habe ist hier (noch) nicht in Sicht.

      Konnte, in überraschend schneller Zeit, meine IOT-Systeme und div. Adapter installieren und konfigurieren. Bin echt begeistert!!!

      Nun versuche ich den Dash Adapter auf meinem WIN7 System zu installieren. Leider läuft die Installation nicht durch. Ohne jetzt das Problem näher zu beschreiben…

      Gibt es ioBroker-User die den Dash Button erfolgreich auf ihrem WIN System zum laufen gebracht haben?

      Vielen Dank!

      Gruß

      @lex

      1 Reply Last reply Reply Quote 0
      • E
        easy last edited by

        Hat sich erledigt!

        Windows hat das Gerät verlassen! 😉

        Nun ist es Lubuntu, was super performant läuft UND meine Dash Buttons funktionieren ohne Probleme.

        Gruß

        @lex

        1 Reply Last reply Reply Quote 0
        • N
          Nabla last edited by

          Ist jetzt nicht wirklich dramatisch, aber ich habe heute einen neuen Dash-Button hinzugefügt.

          Statt lediglich dem neuen Button, wurden aber gleich 2 weitere Dash-Buttons als Objekt angelegt.

          "Last Pressed 30.10. 2:35 Uhr"

          Diese exitieren hier nicht, meine Amazon-App zeigt die Button auch korrekt an.

          (Die MAC-Adresse ist auch jeweils unterschiedlich.)

          1 Reply Last reply Reply Quote 0
          • Webranger
            Webranger last edited by

            @PArt:

            Der Adapter benötigt zusätzlich noch pcap auf eurem System.

            In der Regel lässt sich dieser durch apt-get install libpcap-dev installieren `

            So! Wollte mich jetzt auch mal an den Dash Button ran trauen.

            Hab aber schon der erste problem auf meinen pi

            folgender fehler erscheint:

            root@ioBroker-RasPi:/home/pi# apt-get install libpcap-de
            Paketlisten werden gelesen... Fertig
            Abhängigkeitsbaum wird aufgebaut.       
            Statusinformationen werden eingelesen.... Fertig
            E: Paket libpcap-de kann nicht gefunden werden.
            

            Jemand eine Idee für mich?

            edit mein fehler selber gefunden! v vergessen

            Gruss Danyel

            1 Reply Last reply Reply Quote 0
            • V
              VANTOM last edited by

              leider wird einer meiner Dash-Buttons nicht erkannt, hab sie schon in die main.js eingetragen wie die anderen aber es ändert sich nichts. MAC wäre 00:FC:8B

              1 Reply Last reply Reply Quote 0
              • Espace0401
                Espace0401 last edited by

                @VANTOM:

                leider wird einer meiner Dash-Buttons nicht erkannt, hab sie schon in die main.js eingetragen wie die anderen aber es ändert sich nichts. MAC wäre 00:FC:8B `

                Das Problem hatte ich auch. Mac Adresse selbst eingetragen, brachte aber leider auch nichts. Ich habe den Adapter dann wieder gelöscht. Habe jetzt hier halt einen hübschen Taster an der Wand hängen.

                1 Reply Last reply Reply Quote 0
                • J
                  Jan201 last edited by

                  Hallo, ich wollte meinen dash installieren und irgendwie klappt garnix. Den adapter habe ich mir paar fehlermeldungen installiert. Was für eine PCAP muss ich da eingeben? Mein PI ist mit LAN verbunden. Habe dann den Dash mit der App via smartphone installiert und bei der produktwahl abgebrochen. Dann den adapter in iobrocker installiert und nun komme ich nicht mehr weiter. Anbei ein paar Bilder
                  4348_004.png
                  4348_005.png
                  4348_006.png

                  1 Reply Last reply Reply Quote 0
                  • arteck
                    arteck Developer Most Active last edited by

                    @Espace0401:

                    @VANTOM:

                    leider wird einer meiner Dash-Buttons nicht erkannt, hab sie schon in die main.js eingetragen wie die anderen aber es ändert sich nichts. MAC wäre 00:FC:8B `

                    Das Problem hatte ich auch. Mac Adresse selbst eingetragen, brachte aber leider auch nichts. Ich habe den Adapter dann wieder gelöscht. Habe jetzt hier halt einen hübschen Taster an der Wand hängen. `

                    hast den io broker gestoppt….

                    dann mac addresse eintragen

                    da stehen schon welche .. also erstmal schauen ob die nicht schon da steht..

                    wenn nicht nach dem gleichen schema eintragen

                    iobroker starten

                    WARTEN.... es dauert bis der Adapter den Button findet ..wenn nicht knopp drücken wieder WARTEN

                    1 Reply Last reply Reply Quote 0
                    • arteck
                      arteck Developer Most Active last edited by

                      @Jan201:

                      Hallo, ich wollte meinen dash installieren und irgendwie klappt garnix. Den adapter habe ich mir paar fehlermeldungen installiert. Was für eine PCAP muss ich da eingeben? Mein PI ist mit LAN verbunden. Habe dann den Dash mit der App via smartphone installiert und bei der produktwahl abgebrochen. Dann den adapter in iobrocker installiert und nun komme ich nicht mehr weiter. Anbei ein paar Bilder `

                      stoppe den adapter mal.. und dann neu starten.. schau im LOG ob da jetzt was an fehler auftaucht…

                      wenn nicht..

                      welche MAC adresse hat der Knopp

                      1 Reply Last reply Reply Quote 0
                      • J
                        Jan201 last edited by

                        Hallo, also der Knopf hat: 00:FC:8B:34:AF:41

                        Habe den Adapter neu gestartet und es kam folgendes:

                        amazon-dash.0 2017-12-20 15:41:25.253 info starting pcap session on interface wlan0

                        amazon-dash.0 2017-12-20 15:41:25.243 info starting. Version 0.2.5 in /opt/iobroker/node_modules/iobroker.amazon-dash, node: v6.12.0

                        amazon-dash.0 2017-12-20 15:41:25.185 info States connected to redis: 127.0.0.1:6379

                        host.ioBroker-Pi 2017-12-20 15:41:23.503 info instance system.adapter.amazon-dash.0 started with pid 10227

                        host.ioBroker-Pi 2017-12-20 15:41:23.456 info object change system.adapter.amazon-dash.0

                        host.ioBroker-Pi 2017-12-20 15:41:07.040 info instance system.adapter.amazon-dash.0 terminated with code 0 (OK)

                        amazon-dash.0 2017-12-20 15:41:06.904 info terminating

                        amazon-dash.0 2017-12-20 15:41:06.881 info cleaned everything up…

                        host.ioBroker-Pi 2017-12-20 15:41:06.875 info stopInstance system.adapter.amazon-dash.0 killing pid 3657

                        host.ioBroker-Pi 2017-12-20 15:41:06.872 info stopInstance system.adapter.amazon-dash.0

                        Das mit der MAC manuell eintragen in der main.js habe ich noch nicht so richtig verstanden. Wo kann ich das machen?

                        1 Reply Last reply Reply Quote 0
                        • J
                          Jan201 last edited by

                          @arteck:

                          die MAC ist so wie ich das sehe nicht im Adapter eingetragen

                          du könntest probeweise diesen erweitern

                          stoppe den iobroker

                          öffne die datei /iobroker/node_modules/iobroker.amazon-dash/main.js

                          dort findest du ein array mit den MAC adressen ganz am anfang

                          var MACs = [
                              "747548",
                              "F0D2F1",
                              "8871E5",
                              "74C246",
                              "F0272D",
                              "34D270",
                              "0C47C9",
                              "A002DC",
                              "AC63BE",
                              "44650D",
                              "50F5DA",
                              "84D6D0",
                              "B47C9C",
                              "FCA667"
                          ];
                          

                          ersetzte es durch diese

                          var MACs = [
                              "747548",
                              "F0D2F1",
                              "8871E5",
                              "74C246",
                              "F0272D",
                              "34D270",
                              "0C47C9",
                              "A002DC",
                              "AC63BE",
                              "44650D",
                              "50F5DA",
                              "84D6D0",
                              "B47C9C",
                              "FCA667",
                              "40B4CD"
                          ];
                          

                          speichern und iobroker wieder starten…

                          der adapter sollte jetzt auch deine MAC kennen

                          bedenke bitte aktualisierst du diesen Adapter ist deine Änderung wieder futsch `
                          Wie kann ich die Datei mit einem Windows10 rechner öffen? muss ich dazu die karte aus dem PI nehmen? habe jetzt alles durchgelesen aber keine antwort gefunden. Die sechs zahlen/Buchstaben, sind das die ersten von meiner MAC adresse nur ohne ":" ? Wird der ordner "amazon-dash.0" automatisch erzeugt wenn er ein objekt findet? Ich habe auch einen Echo am laufen der wird auch nicht gefunden.

                          1 Reply Last reply Reply Quote 0
                          • arteck
                            arteck Developer Most Active last edited by

                            log dich an der konsole an

                            sudo nano /opt/iobroker/node_modules/iobroker.amazon-dash/main.js
                            

                            dor deine MAC adresse hinten drann eintragen

                            00FC8B
                            

                            komma nicht vergessen…

                            mit strg+x kannst du den editor verlassen..speichern nicht vergessen

                            1 Reply Last reply Reply Quote 0
                            • J
                              Jan201 last edited by

                              Hat super geklappt, vielen dank 🙂

                              1 Reply Last reply Reply Quote 0
                              • J
                                j3sk0 last edited by

                                Hallo Zusammen,

                                würde gerne meinen Amazon Dash nicht nur für Hundefutter nutzen bekommen den adapter aber nicht zum Laufen, ich habe bereits die https://github.com/PArns/ioBroker.amazo … /README.md befolgt sowie http://www.iobroker.net/docu/?page_id=5510&lang=de versucht leider ohne Erfolg. Python 3, node v6.11.2, npm v3.10.10.

                                Synology DS 216play ohne Docker

                                $ ./iobroker add amazon-dash
                                npm install iobroker.amazon-dash --production --prefix "/opt/iobroker" (System call)
                                npm
                                 WARN lifecycle iobroker.amazon-dash@0.2.7~preinstall: cannot run in wd %s %s (wd=%s) iobroker.amazon-dash@0.2.7 apt-get install libpcap-dev -y || true /opt/iobroker/node_modules/.staging/iobroker.amazon-dash-eb5038e9
                                gyp
                                 ERR! build error 
                                gyp ERR! stack Error: not found: makegyp ERR! stack
                                     at getNotFoundError (/usr/local/lib/node_modules/npm/node_modules/which/which.js:14:12)gyp ERR! stack     at F (/usr/local/lib/node_modules/npm/node_modules/which/which.js:69:19)
                                gyp
                                
                                ERR! stack     at E (/usr/local/lib/node_modules/npm/node_modules/which/which.js:81:29)gyp ERR! stack
                                     at /usr/local/lib/node_modules/npm/node_modules/which/which.js:90:16gyp ERR!
                                 stack     at /usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5gyp ERR! stack     at /usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
                                gyp ERR!
                                 stack     at FSReqWrap.oncomplete (fs.js:123:15)gyp 
                                ERR! System
                                 Linux 3.10.102gyp ERR! command "/volume1/@appstore/Node.js_v6/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                                gyp ERR! cwd /opt/iobroker/node_modules/bufferutil
                                gyp ERR! node -v v6.11.2
                                gyp ERR! node-gyp -v v3.4.0
                                gyp ERR! not ok 
                                
                                node-pre-gyp
                                
                                ERR!
                                
                                Tried to download(404): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v48-linux-arm.tar.gz
                                 node-pre-gyp
                                 ERR! Pre-built binaries not found for serialport@4.0.7 and node@6.11.2 (node-v48 ABI) (falling back to source compile with node-gyp) 
                                gyp
                                
                                ERR!
                                 build error gyp ERR! stack Error: not found: make
                                gyp ERR! stack     at getNotFoundError (/volume1/@appstore/Node.js_v6/usr/local/lib/node_modules/npm/node_modules/which/which.js:14:12)
                                gyp ERR! stack
                                     at F (/volume1/@appstore/Node.js_v6/usr/local/lib/node_modules/npm/node_modules/which/which.js:69:19)
                                gyp ERR! stack     at E (/volume1/@appstore/Node.js_v6/usr/local/lib/node_modules/npm/node_modules/which/which.js:81:29)gyp ERR! stack     at /volume1/@appstore/Node.js_v6/usr/local/lib/node_modules/npm/node_modules/which/which.js:90:16
                                gyp ERR! stack     at /volume1/@appstore/Node.js_v6/usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
                                gyp ERR! stack     at /volume1/@appstore/Node.js_v6/usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
                                gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:123:15)
                                gyp ERR! System Linux 3.10.102
                                gyp ERR! command "/volume1/@appstore/Node.js_v6/usr/local/bin/node" "/volume1/@appstore/Node.js_v6/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/opt/iobroker/node_modules/serialport/build/Release"
                                gyp ERR! cwd /opt/iobroker/node_modules/serialport
                                gyp ERR! node -v v6.11.2
                                gyp ERR! node-gyp -v v3.4.0
                                gyp ERR! not ok 
                                node-pre-gyp ERR! build error 
                                node-pre-gyp ERR! stack Error: Failed to execute '/volume1/@appstore/Node.js_v6/usr/local/bin/node /volume1/@appstore/Node.js_v6/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/serialport/build/Release/serialport.node --module_name=serialport --module_path=/opt/iobroker/node_modules/serialport/build/Release' (1)
                                node-pre-gyp ERR! stack     at ChildProcess. <anonymous>(/opt/iobroker/node_modules/serialport/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
                                node-pre-gyp ERR! stack     at emitTwo (events.js:106:13)
                                node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
                                node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:891:16)
                                node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
                                node-pre-gyp ERR! System Linux 3.10.102
                                node-pre-gyp ERR! command "/volume1/@appstore/Node.js_v6/usr/local/bin/node" "/opt/iobroker/node_modules/serialport/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
                                node-pre-gyp ERR! cwd /opt/iobroker/node_modules/serialport
                                node-pre-gyp ERR! node -v v6.11.2
                                node-pre-gyp ERR! node-pre-gyp -v v0.6.32
                                node-pre-gyp ERR! not ok 
                                
                                gyp
                                
                                ERR! 
                                build error
                                
                                gyp ERR! stack Error: not found: makegyp ERR! stack     at getNotFoundError (/usr/local/lib/node_modules/npm/node_modules/which/which.js:14:12)
                                gyp ERR! stack     at F (/usr/local/lib/node_modules/npm/node_modules/which/which.js:69:19)
                                gyp ERR! stack     at E (/usr/local/lib/node_modules/npm/node_modules/which/which.js:81:29)
                                gyp ERR! stack     at /usr/local/lib/node_modules/npm/node_modules/which/which.js:90:16
                                gyp ERR! stack     at /usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
                                gyp ERR! stack     at /usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
                                gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:123:15)
                                gyp ERR! System Linux 3.10.102
                                gyp ERR! command "/volume1/@appstore/Node.js_v6/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                                gyp ERR! cwd /opt/iobroker/node_modules/socketwatcher
                                gyp ERR! node -v v6.11.2
                                gyp ERR! node-gyp -v v3.4.0
                                gyp ERR! not ok 
                                
                                npm
                                 WARN
                                 optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.1.0 (node_modules/bufferutil):npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.1.0 install: `node-gyp rebuild`
                                npm WARN 
                                optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1npm WARN 
                                optional SKIPPING OPTIONAL DEPENDENCY: serialport@4.0.7 (node_modules/serialport):npm WARN optional SKIPPING OPTIONAL DEPENDENCY: serialport@4.0.7 install: `node-pre-gyp install --fallback-to-build`
                                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                                
                                npm
                                 ERR! Linux 3.10.102
                                npm
                                 ERR! 
                                argv "/volume1/@appstore/Node.js_v6/usr/local/bin/node" "/usr/local/bin/npm" "install" "iobroker.amazon-dash" "--production" "--prefix" "/opt/iobroker"npm ERR!
                                 node v6.11.2npm ERR! npm  v3.10.10
                                npm ERR! code ELIFECYCLE
                                
                                npm ERR! socketwatcher@0.3.0 install: `node-gyp rebuild`
                                npm ERR! Exit status 1
                                npm ERR! 
                                npm ERR! Failed at the socketwatcher@0.3.0 install script 'node-gyp rebuild'.
                                npm ERR! Make sure you have the latest version of node.js and npm installed.
                                npm ERR! If you do, this is most likely a problem with the socketwatcher package,
                                npm ERR! not with npm itself.
                                npm ERR!
                                 Tell the author that this fails on your system:npm ERR!     node-gyp rebuild
                                npm ERR! You can get information on how to open an issue for this project with:
                                npm ERR!     npm bugs socketwatcher
                                npm ERR! Or if that isn't available, you can get their info via:
                                
                                npm ERR!     npm owner ls socketwatchernpm ERR! There is likely additional logging output above.
                                
                                npm ERR! Please include the following file with any support request:npm ERR!     /npm-debug.log
                                
                                host.NAS0815 install adapter amazon-dash
                                npm install iobroker.amazon-dash --production --prefix "/opt/iobroker" (System call)
                                npm WARN lifecycle iobroker.amazon-dash@0.2.7~preinstall: cannot run in wd %s %s (wd=%s) iobroker.amazon-dash@0.2.7 apt-get install libpcap-dev -y || true /opt/iobroker/node_modules/.staging/iobroker.amazon-dash-eb5038e9
                                gyp
                                 ERR! build error gyp ERR! stack Error: not found: make
                                gyp ERR! stack     at getNotFoundError (/usr/local/lib/node_modules/npm/node_modules/which/which.js:14:12)
                                gyp ERR! stack     at F (/usr/local/lib/node_modules/npm/node_modules/which/which.js:69:19)
                                gyp ERR! stack     at E (/usr/local/lib/node_modules/npm/node_modules/which/which.js:81:29)
                                gyp ERR! stack     at /usr/local/lib/node_modules/npm/node_modules/which/which.js:90:16
                                gyp ERR! stack     at /usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
                                gyp ERR! stack     at /usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
                                gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:123:15)
                                gyp ERR! System Linux 3.10.102
                                gyp ERR! command "/volume1/@appstore/Node.js_v6/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                                gyp ERR! cwd /opt/iobroker/node_modules/bufferutil
                                gyp ERR! node -v v6.11.2
                                gyp ERR! node-gyp -v v3.4.0
                                gyp ERR! not ok 
                                
                                node-pre-gyp
                                 ERR! Tried to download(404): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v48-linux-arm.tar.gz node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@6.11.2 (node-v48 ABI) (falling back to source compile with node-gyp) 
                                
                                gyp
                                 ERR! build error gyp ERR! stack Error: not found: make
                                gyp ERR! stack     at getNotFoundError (/volume1/@appstore/Node.js_v6/usr/local/lib/node_modules/npm/node_modules/which/which.js:14:12)
                                gyp ERR! stack     at F (/volume1/@appstore/Node.js_v6/usr/local/lib/node_modules/npm/node_modules/which/which.js:69:19)
                                gyp ERR! stack     at E (/volume1/@appstore/Node.js_v6/usr/local/lib/node_modules/npm/node_modules/which/which.js:81:29)
                                gyp ERR! stack     at /volume1/@appstore/Node.js_v6/usr/local/lib/node_modules/npm/node_modules/which/which.js:90:16
                                gyp ERR! stack     at /volume1/@appstore/Node.js_v6/usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
                                gyp ERR! stack     at /volume1/@appstore/Node.js_v6/usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
                                gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:123:15)
                                gyp ERR! System Linux 3.10.102
                                gyp ERR! command "/volume1/@appstore/Node.js_v6/usr/local/bin/node" "/volume1/@appstore/Node.js_v6/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/opt/iobroker/node_modules/serialport/build/Release"
                                gyp ERR! cwd /opt/iobroker/node_modules/serialport
                                gyp ERR! node -v v6.11.2
                                gyp ERR! node-gyp -v v3.4.0
                                gyp ERR! not ok 
                                node-pre-gyp ERR! build error 
                                node-pre-gyp ERR! stack Error: Failed to execute '/volume1/@appstore/Node.js_v6/usr/local/bin/node /volume1/@appstore/Node.js_v6/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/serialport/build/Release/serialport.node --module_name=serialport --module_path=/opt/iobroker/node_modules/serialport/build/Release' (1)
                                node-pre-gyp ERR! stack     at ChildProcess. <anonymous>(/opt/iobroker/node_modules/serialport/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
                                node-pre-gyp ERR! stack     at emitTwo (events.js:106:13)
                                node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
                                node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:891:16)
                                node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
                                node-pre-gyp ERR! System Linux 3.10.102
                                node-pre-gyp ERR! command "/volume1/@appstore/Node.js_v6/usr/local/bin/node" "/opt/iobroker/node_modules/serialport/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
                                node-pre-gyp ERR! cwd /opt/iobroker/node_modules/serialport
                                node-pre-gyp ERR! node -v v6.11.2
                                node-pre-gyp ERR! node-pre-gyp -v v0.6.32
                                node-pre-gyp ERR! not ok 
                                
                                gyp
                                 ERR! build error gyp ERR! stack Error: not found: make
                                gyp ERR! stack     at getNotFoundError (/usr/local/lib/node_modules/npm/node_modules/which/which.js:14:12)
                                gyp ERR! stack     at F (/usr/local/lib/node_modules/npm/node_modules/which/which.js:69:19)
                                gyp ERR! stack     at E (/usr/local/lib/node_modules/npm/node_modules/which/which.js:81:29)
                                gyp ERR! stack     at /usr/local/lib/node_modules/npm/node_modules/which/which.js:90:16
                                gyp ERR! stack     at /usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
                                gyp ERR! stack     at /usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
                                gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:123:15)
                                gyp ERR! System Linux 3.10.102
                                gyp ERR! command "/volume1/@appstore/Node.js_v6/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                                gyp ERR! cwd /opt/iobroker/node_modules/socketwatcher
                                gyp ERR! node -v v6.11.2
                                gyp ERR! node-gyp -v v3.4.0
                                gyp ERR! not ok 
                                
                                npm
                                 WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.1.0 (node_modules/bufferutil):npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.1.0 install: `node-gyp rebuild`
                                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: serialport@4.0.7 (node_modules/serialport):
                                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: serialport@4.0.7 install: `node-pre-gyp install --fallback-to-build`
                                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                                
                                npm ERR! Linux 3.10.102
                                npm ERR! argv "/volume1/@appstore/Node.js_v6/usr/local/bin/node" "/usr/local/bin/npm" "install" "iobroker.amazon-dash" "--production" "--prefix" "/opt/iobroker"npm ERR! node v6.11.2
                                npm ERR! npm  v3.10.10
                                npm ERR! code
                                 ELIFECYCLE
                                npm ERR! socketwatcher@0.3.0 install: `node-gyp rebuild`
                                npm ERR! Exit status 1
                                npm ERR! 
                                npm ERR! Failed at the socketwatcher@0.3.0 install script 'node-gyp rebuild'.
                                npm ERR! Make sure you have the latest version of node.js and npm installed.
                                npm ERR! If you do, this is most likely a problem with the socketwatcher package,
                                npm ERR! not with npm itself.
                                npm ERR! Tell the author that this fails on your system:
                                npm ERR!     node-gyp rebuild
                                npm ERR! You can get information on how to open an issue for this project with:
                                npm ERR!     npm bugs socketwatcher
                                npm ERR! Or if that isn't available, you can get their info via:
                                
                                npm ERR!     npm owner ls socketwatchernpm 
                                ERR! There is likely additional logging output above.
                                npm ERR! Please include the following file with any support request:
                                npm ERR!     /npm-debug.log
                                
                                host.NAS0815 install adapter amazon-dash
                                npm install iobroker.amazon-dash --production --prefix "/opt/iobroker" (System call)
                                npm
                                 WARN lifecycle iobroker.amazon-dash@0.2.7~preinstall: cannot run in wd %s %s (wd=%s) iobroker.amazon-dash@0.2.7 apt-get install libpcap-dev -y || true /opt/iobroker/node_modules/.staging/iobroker.amazon-dash-eb5038e9
                                gyp
                                 ERR! build error gyp ERR! stack Error: not found: make
                                gyp ERR! stack     at getNotFoundError (/usr/local/lib/node_modules/npm/node_modules/which/which.js:14:12)
                                gyp ERR! stack     at F (/usr/local/lib/node_modules/npm/node_modules/which/which.js:69:19)
                                gyp ERR! stack     at E (/usr/local/lib/node_modules/npm/node_modules/which/which.js:81:29)
                                gyp ERR! stack     at /usr/local/lib/node_modules/npm/node_modules/which/which.js:90:16
                                gyp ERR! stack     at /usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
                                gyp ERR! stack     at /usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
                                gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:123:15)
                                gyp ERR! System Linux 3.10.102
                                gyp ERR! command "/volume1/@appstore/Node.js_v6/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                                gyp ERR! cwd /opt/iobroker/node_modules/bufferutil
                                gyp ERR! node -v v6.11.2
                                gyp ERR! node-gyp -v v3.4.0
                                gyp ERR! not ok 
                                
                                node-pre-gyp
                                
                                ERR! Tried to download(404): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v48-linux-arm.tar.gz node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@6.11.2 (node-v48 ABI) (falling back to source compile with node-gyp) 
                                
                                gyp ERR! build error 
                                gyp ERR! stack Error: not found: makegyp ERR! stack     at getNotFoundError (/volume1/@appstore/Node.js_v6/usr/local/lib/node_modules/npm/node_modules/which/which.js:14:12)
                                gyp ERR! stack     at F (/volume1/@appstore/Node.js_v6/usr/local/lib/node_modules/npm/node_modules/which/which.js:69:19)
                                gyp ERR! stack     at E (/volume1/@appstore/Node.js_v6/usr/local/lib/node_modules/npm/node_modules/which/which.js:81:29)
                                gyp ERR! stack     at /volume1/@appstore/Node.js_v6/usr/local/lib/node_modules/npm/node_modules/which/which.js:90:16
                                gyp ERR! stack     at /volume1/@appstore/Node.js_v6/usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
                                gyp ERR! stack     at /volume1/@appstore/Node.js_v6/usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
                                gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:123:15)
                                gyp ERR! System Linux 3.10.102
                                gyp ERR! command "/volume1/@appstore/Node.js_v6/usr/local/bin/node" "/volume1/@appstore/Node.js_v6/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/opt/iobroker/node_modules/serialport/build/Release"
                                gyp ERR! cwd /opt/iobroker/node_modules/serialport
                                gyp ERR! node -v v6.11.2
                                gyp ERR! node-gyp -v v3.4.0
                                gyp ERR! not ok 
                                
                                node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/volume1/@appstore/Node.js_v6/usr/local/bin/node /volume1/@appstore/Node.js_v6/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/serialport/build/Release/serialport.node --module_name=serialport --module_path=/opt/iobroker/node_modules/serialport/build/Release' (1)
                                node-pre-gyp ERR! stack     at ChildProcess. <anonymous>(/opt/iobroker/node_modules/serialport/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
                                node-pre-gyp ERR! stack     at emitTwo (events.js:106:13)
                                node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
                                node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:891:16)
                                node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
                                node-pre-gyp ERR! System Linux 3.10.102
                                node-pre-gyp ERR! command "/volume1/@appstore/Node.js_v6/usr/local/bin/node" "/opt/iobroker/node_modules/serialport/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
                                node-pre-gyp ERR! cwd /opt/iobroker/node_modules/serialport
                                node-pre-gyp ERR! node -v v6.11.2
                                node-pre-gyp ERR! node-pre-gyp -v v0.6.32
                                node-pre-gyp ERR! not ok 
                                
                                gyp
                                
                                ERR!
                                
                                build error
                                 gyp ERR! stack Error: not found: make
                                gyp ERR! stack     at getNotFoundError (/usr/local/lib/node_modules/npm/node_modules/which/which.js:14:12)
                                gyp ERR! stack     at F (/usr/local/lib/node_modules/npm/node_modules/which/which.js:69:19)
                                gyp ERR! stack     at E (/usr/local/lib/node_modules/npm/node_modules/which/which.js:81:29)
                                gyp ERR! stack     at /usr/local/lib/node_modules/npm/node_modules/which/which.js:90:16
                                gyp ERR! stack     at /usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
                                gyp ERR! stack     at /usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
                                gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:123:15)
                                gyp ERR! System Linux 3.10.102
                                gyp ERR! command "/volume1/@appstore/Node.js_v6/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                                gyp ERR! cwd /opt/iobroker/node_modules/socketwatcher
                                gyp ERR! node -v v6.11.2
                                gyp ERR! node-gyp -v v3.4.0
                                gyp ERR! not ok 
                                
                                npm
                                 WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.1.0 (node_modules/bufferutil):npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.1.0 install: `node-gyp rebuild`
                                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: serialport@4.0.7 (node_modules/serialport):
                                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: serialport@4.0.7 install: `node-pre-gyp install --fallback-to-build`
                                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                                npm ERR! Linux 3.10.102
                                npm ERR! argv "/volume1/@appstore/Node.js_v6/usr/local/bin/node" "/usr/local/bin/npm" "install" "iobroker.amazon-dash" "--production" "--prefix" "/opt/iobroker"
                                npm ERR! node v6.11.2
                                npm ERR! npm  v3.10.10
                                npm ERR! code ELIFECYCLE
                                
                                npm ERR! socketwatcher@0.3.0 install: `node-gyp rebuild`
                                npm ERR! Exit status 1
                                npm ERR! 
                                npm ERR! Failed at the socketwatcher@0.3.0 install script 'node-gyp rebuild'.
                                npm ERR! Make sure you have the latest version of node.js and npm installed.
                                npm ERR! If you do, this is most likely a problem with the socketwatcher package,
                                npm ERR! not with npm itself.
                                npm ERR! Tell the author that this fails on your system:
                                npm ERR!     node-gyp rebuild
                                npm ERR! You can get information on how to open an issue for this project with:
                                npm ERR!     npm bugs socketwatcher
                                npm ERR! Or if that isn't available, you can get their info via:
                                
                                npm ERR!     npm owner ls socketwatchernpm ERR!
                                 There is likely additional logging output above.
                                
                                npm ERR!
                                 Please include the following file with any support request:npm ERR!
                                     /npm-debug.log
                                host.NAS0815 install adapter amazon-dash
                                ERROR: host.NAS0815 Cannot install amazon-dash
                                ERROR: process exited with code 13</anonymous></anonymous></anonymous>
                                

                                vielen DAnk

                                1 Reply Last reply Reply Quote 0
                                • cvidal
                                  cvidal Forum Testing last edited by

                                  @j3sk0:

                                  Hallo Zusammen,

                                  würde gerne meinen Amazon Dash nicht nur für Hundefutter nutzen bekommen den adapter aber nicht zum Laufen, ich habe bereits die https://github.com/PArns/ioBroker.amazo … /README.md befolgt sowie http://www.iobroker.net/docu/?page_id=5510&lang=de versucht leider ohne Erfolg. Python 3, node v6.11.2, npm v3.10.10.

                                  Synology DS 216play ohne Docker

                                  vielen DAnk `

                                  Verusch mal

                                  apt-get install libpcap-dev

                                  Gruß Christian

                                  1 Reply Last reply Reply Quote 0
                                  • J
                                    j3sk0 last edited by

                                    Verusch mal 
                                    
                                    apt-get install libpcap-dev
                                    
                                    Gruß Christian
                                    

                                    Hab ich bereits da es so auch in der redme von GitHub steht… Leider ohne Erfolg

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

                                      ! @arteck:
                                      ! > die MAC ist so wie ich das sehe nicht im Adapter eingetragen

                                      du könntest probeweise diesen erweitern

                                      stoppe den iobroker

                                      öffne die datei /iobroker/node_modules/iobroker.amazon-dash/main.js

                                      dort findest du ein array mit den MAC adressen ganz am anfang

                                      var MACs = [
                                          "747548",
                                          "F0D2F1",
                                          "8871E5",
                                          "74C246",
                                          "F0272D",
                                          "34D270",
                                          "0C47C9",
                                          "A002DC",
                                          "AC63BE",
                                          "44650D",
                                          "50F5DA",
                                          "84D6D0",
                                          "B47C9C",
                                          "FCA667"
                                      ];
                                      

                                      ersetzte es durch diese

                                      var MACs = [
                                          "747548",
                                          "F0D2F1",
                                          "8871E5",
                                          "74C246",
                                          "F0272D",
                                          "34D270",
                                          "0C47C9",
                                          "A002DC",
                                          "AC63BE",
                                          "44650D",
                                          "50F5DA",
                                          "84D6D0",
                                          "B47C9C",
                                          "FCA667",
                                          "40B4CD"
                                      ];
                                      

                                      speichern und iobroker wieder starten…

                                      der adapter sollte jetzt auch deine MAC kennen

                                      bedenke bitte aktualisierst du diesen Adapter ist deine Änderung wieder futsch
                                      ! <size size="100">habe gerade einen Button neu geliefert bekommen und in die main.js eintragen müssen….
                                      ! FC65DE
                                      ! Vielleicht kann es jemand in das nächste Update einpflegen ?!</size>
                                      `

                                      1 Reply Last reply Reply Quote 0
                                      • arteck
                                        arteck Developer Most Active last edited by

                                        @SigiMOE:

                                        ****<size size="100">habe gerade einen Button neu geliefert bekommen und in die main.js eintragen müssen….

                                        FC65DE

                                        Vielleicht kann es jemand in das nächste Update einpflegen ?!</size>**** `

                                        <size size="150">braucht man nicht mehr ich habe den Adapter erweitert.. die kannst du jetzt auch im admin eintragen</size>

                                        1 Reply Last reply Reply Quote 0
                                        • J
                                          j3sk0 last edited by

                                          das ist die 'Fehlermeldung in Putty
                                          4853_screencapture_1146656_1439455891_0.png

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

                                            @arteck:

                                            @SigiMOE:

                                            ****<size size="100">habe gerade einen Button neu geliefert bekommen und in die main.js eintragen müssen….

                                            FC65DE

                                            Vielleicht kann es jemand in das nächste Update einpflegen ?!</size>**** `

                                            <size size="150">braucht man nicht mehr ich habe den Adapter erweitert.. die kannst du jetzt auch im admin eintragen</size> `

                                            ok wo meinst Du was eintragen ? Hast Du mir ein Screenshot ?

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

                                            Support us

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

                                            547
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            86
                                            385
                                            90147
                                            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