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.
    • M
      masc1249 last edited by

      Hallo, leider werden meine 2 Dashbuttons nicht gefunden.

      Ich hatte mir am 19.11.17 2 Dashbuttons bestellt und diese mit Version 0.2.5 versucht zu nutzen allerdings ohne Erfolg, sie wurden einfach nicht erkannt, obwohl ich die Mac Adresse genau wie in diesem Thread beschrieben manuell eingetragen habe. Lediglich für mein Fire TV Stick und mein Echo wurden Objekte angelegt.

      Da ich aber gelesen habe, dass andere es auch nicht hinbekommen haben, habe ich auch aufgegeben.

      Nun habe ich gesehen, dass es die neue Version 0.2.7 gibt und wollte es damit nochmal versuchen.

      Leider habe ich schon Probleme bei der Installation über den „eigene URL“-Button im Adapterreiter, im Log steht folgendes:

      ! ````
      iobroker 2018-01-21 18:23:36.907 info exit 0
      iobroker 2018-01-21 18:23:36.737 info upload [0] amazon-dash.admin /opt/iobroker/node_modules/iobroker.amazon-dash/admin/amazon-dash.png amazon-dash.png image/png
      iobroker 2018-01-21 18:23:36.653 info upload [1] amazon-dash.admin /opt/iobroker/node_modules/iobroker.amazon-dash/admin/index.html index.html text/html
      iobroker 2018-01-21 18:23:36.566 info upload [2] amazon-dash.admin /opt/iobroker/node_modules/iobroker.amazon-dash/admin/words.js words.js application/javascript
      iobroker 2018-01-21 18:23:36.538 info got /opt/iobroker/node_modules/iobroker.amazon-dash/admin
      iobroker 2018-01-21 18:23:36.410 info npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
      iobroker 2018-01-21 18:23:36.410 info WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 (node_modules/authenticate-pam):npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 install: node-gyp rebuild
      iobroker 2018-01-21 18:23:36.407 info npm
      iobroker 2018-01-21 18:23:36.396 info iobroker@1.0.0 /opt/iobroker└── iobroker.amazon-dash@0.2.7
      iobroker 2018-01-21 18:23:17.571 info gyp ERR! not ok
      iobroker 2018-01-21 18:23:17.571 info gyp ERR! node-gyp -v v3.4.0
      iobroker 2018-01-21 18:23:17.571 info gyp ERR! node -v v6.12.0
      iobroker 2018-01-21 18:23:17.571 info gyp ERR! cwd /opt/iobroker/node_modules/authenticate-pam
      iobroker 2018-01-21 18:23:17.571 info gyp ERR! command '/usr/bin/node' '/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js' 'rebuild'
      iobroker 2018-01-21 18:23:17.571 info gyp ERR! System Linux 4.9.61-v7+
      iobroker 2018-01-21 18:23:17.571 info gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)
      iobroker 2018-01-21 18:23:17.571 info stack at emitTwo (events.js:106:13)gyp ERR! stack at ChildProcess.emit (events.js:191:7)
      iobroker 2018-01-21 18:23:17.558 info ERR!
      iobroker 2018-01-21 18:23:17.554 info stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)gyp
      iobroker 2018-01-21 18:23:17.551 info Error: make failed with exit code: 2gyp ERR!
      iobroker 2018-01-21 18:23:17.546 info ERR! stack
      iobroker 2018-01-21 18:23:17.542 info gyp
      iobroker 2018-01-21 18:23:17.529 info gyp ERR! build error
      iobroker 2018-01-21 18:23:17.529 info make: Verzeichnis „/opt/iobroker/node_modules/authenticate-pam/build“ wird verlassenmake: *** [Release/obj.target/authenticate_pam/authenticate_pam.o] Fehler 1
      iobroker 2018-01-21 18:23:17.526 info authenticate_pam.target.mk:92: die Regel für Ziel „Release/obj.target/authenticate_pam/authenticate_pam.o“ scheiterte
      iobroker 2018-01-21 18:23:16.359 info compilation terminated.
      iobroker 2018-01-21 18:23:16.357 info ^
      iobroker 2018-01-21 18:23:16.357 info ../authenticate_pam.cc:30:31: fatal error: security/pam_appl.h: Datei oder Verzeichnis nicht gefunden #include
      iobroker 2018-01-21 18:23:10.846 info CXX(target) Release/obj.target/authenticate_pam/authenticate_pam.o
      iobroker 2018-01-21 18:23:10.836 info make: Verzeichnis „/opt/iobroker/node_modules/authenticate-pam/build“ wird betreten
      iobroker 2018-01-21 18:23:07.529 info EACCES attempting to reinstall using temporary dev dir '/opt/iobroker/node_modules/authenticate-pam/.node-gyp'
      iobroker 2018-01-21 18:23:07.528 info WARN
      iobroker 2018-01-21 18:23:07.526 info WARN EACCES user 'root' does not have permission to access the dev dir '/root/.node-gyp/6.12.0'gyp
      iobroker 2018-01-21 18:23:07.519 info gyp
      iobroker 2018-01-21 18:23:05.615 info > node-gyp rebuild
      iobroker 2018-01-21 18:23:05.615 info > authenticate-pam@1.0.2 install /opt/iobroker/node_modules/authenticate-pam
      iobroker 2018-01-21 18:23:05.576 info 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
      iobroker 2018-01-21 18:23:05.573 info npm
      iobroker 2018-01-21 18:21:54.123 info npm install https://github.com/PArns/ioBroker.amazon-dash/tarball/master --production --prefix '/opt/iobroker' (System call)
      iobroker 2018-01-21 18:21:53.732 info install https://github.com/PArns/ioBroker.amazon-dash/tarball/master

      
      Nach der Installation wird der Adapter auch nicht in Instanzen angezeigt. Erst wenn ich im Adapterreiter beim Dashbutton Adapter nochmal auf Plus drücke erscheint die Instanz.
      
      Diese sieht dann auch so aus:  ![5341_bildschirmfoto_2018-01-21_um_18.30.05.png](/assets/uploads/files/5341_bildschirmfoto_2018-01-21_um_18.30.05.png) 
      
      Weitere Infos:
      
      - iobroker läuft auf einem Raspberry Pi 3
      
      - die dashbuttons haben die Mac 18-74-2E-3F-F8-04 und 18-74-2E-DE-2F-ED
      
      - Libpcap-dev ist installiert
      
      - Node 6.12.0 mit npm 3.10.10 ist installiert
      
      - Iobroker wurde als root installiert und alles andere läuft super
      
      Hab schon viel rumgesucht hier im Forum und immer mal was probiert leider ohne Erfolg.
      
      Kann mir bitte jemand weiterhelfen?
      1 Reply Last reply Reply Quote 0
      • T
        Tobi81 last edited by

        Ich habe auch noch Probleme mit meinen beiden Dash Buttons… 😞

        Meine Mac Adressen lauten: 50:f5:da:6f:30:b1 und fc:a6:67:13:91:e6

        Unter Objekte sehe ich bei amazon-dash.0 nur den ersten Button: 50-f5-da-6f-30-b1

        Den anderen Button habe ich über die neue Konfig von dem Modul eingebunden: fc:a6:67

        Erstes und wichtigstes Problem:

        Ich sehe nur ganz ganz selten ein Update des Buttons in ioBroker. lastPressed und switch wird nur ganz ganz selten (1 von 20 mal oder noch schlimmer) upgedated. 😞

        Edit: Ich muss mich korrigieren. Aktuell wird der Adapter Endpoint gar nicht mehr aktualisiert. 😞

        Daraufhin habe ich auf meinem Raspberry auf dem ioBroker Dasher installiert und geschaut ob der Raspberry die udp Broadcast mitbekommt.

        Und siehe da: Jeder Dash Button Druck wird erkannt.

        Warum schafft das ioBroker nicht?

        Danke,

        Tobi

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

          so ihr beiden …geduld... fals der Button nicht sofort erkannt wird...

          irgendwo habe ich auf den letzten Seiten auch geschrieben, dass ich das Problem mit dem State auch habe/hatte..

          deshalb frage ich den timestamp.. dieser ändert sich bei jedem drücken des buttons..

          ich habe 3 Buttons im Einsatz mit nem Pi3 ohne Probleme...

          p.s:man muss sich nur im klaren sein, dass die eigentliche Funktion des Buttons eine andere ist..

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

            Hmmmm gibts eigentlich die Möglichkeit, die LED anzusteuern? Hab da im Adapter bisher nichts gefunden….

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

              @shattered_dream:

              Hmmmm gibts eigentlich die Möglichkeit, die LED anzusteuern? Hab da im Adapter bisher nichts gefunden…. `

              Mit dem Datenpunkt ''On'' kann man die LED an/ausschalten

              Mit ''rgb'' kannst du die Fabe einstellen.

              Gruß Christian

              Edit: Falscher threat, hatte gerade das Mihome Gateway im Kopf, sorry.

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

                Hmmmm ich hab nur 3 Datenpunkte : Dass Taste gepresst wurde, das Toggle Bit und den Zeitpunkt der letzten Aktivierung…

                Wo finde ich diese Datenpunkte ?

                1 Reply Last reply Reply Quote 0
                • M
                  masc1249 last edited by

                  @arteck:

                  so ihr beiden …geduld... fals der Button nicht sofort erkannt wird... `
                  Danke arteck für deine Antwort.

                  Allerdings werden bei mir leider beide garnicht erkannt und ich frage mich ob es vllt etwas mit der "fehlerhaften" Installation zu tun hat.

                  Hatte jemand die gleichen Erros beim Installieren oder weiß jemand wie ich diese beheben kann?

                  ! ````
                  iobroker 2018-01-21 18:23:36.907 info exit 0
                  iobroker 2018-01-21 18:23:36.737 info upload [0] amazon-dash.admin /opt/iobroker/node_modules/iobroker.amazon-dash/admin/amazon-dash.png amazon-dash.png image/png
                  iobroker 2018-01-21 18:23:36.653 info upload [1] amazon-dash.admin /opt/iobroker/node_modules/iobroker.amazon-dash/admin/index.html index.html text/html
                  iobroker 2018-01-21 18:23:36.566 info upload [2] amazon-dash.admin /opt/iobroker/node_modules/iobroker.amazon-dash/admin/words.js words.js application/javascript
                  iobroker 2018-01-21 18:23:36.538 info got /opt/iobroker/node_modules/iobroker.amazon-dash/admin
                  iobroker 2018-01-21 18:23:36.410 info npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                  iobroker 2018-01-21 18:23:36.410 info WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 (node_modules/authenticate-pam):npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 install: node-gyp rebuild
                  iobroker 2018-01-21 18:23:36.407 info npm
                  iobroker 2018-01-21 18:23:36.396 info iobroker@1.0.0 /opt/iobroker└── iobroker.amazon-dash@0.2.7
                  iobroker 2018-01-21 18:23:17.571 info gyp ERR! not ok
                  iobroker 2018-01-21 18:23:17.571 info gyp ERR! node-gyp -v v3.4.0
                  iobroker 2018-01-21 18:23:17.571 info gyp ERR! node -v v6.12.0
                  iobroker 2018-01-21 18:23:17.571 info gyp ERR! cwd /opt/iobroker/node_modules/authenticate-pam
                  iobroker 2018-01-21 18:23:17.571 info gyp ERR! command '/usr/bin/node' '/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js' 'rebuild'
                  iobroker 2018-01-21 18:23:17.571 info gyp ERR! System Linux 4.9.61-v7+
                  iobroker 2018-01-21 18:23:17.571 info gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)
                  iobroker 2018-01-21 18:23:17.571 info stack at emitTwo (events.js:106:13)gyp ERR! stack at ChildProcess.emit (events.js:191:7)
                  iobroker 2018-01-21 18:23:17.558 info ERR!
                  iobroker 2018-01-21 18:23:17.554 info stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)gyp
                  iobroker 2018-01-21 18:23:17.551 info Error: make failed with exit code: 2gyp ERR!
                  iobroker 2018-01-21 18:23:17.546 info ERR! stack
                  iobroker 2018-01-21 18:23:17.542 info gyp
                  iobroker 2018-01-21 18:23:17.529 info gyp ERR! build error
                  iobroker 2018-01-21 18:23:17.529 info make: Verzeichnis „/opt/iobroker/node_modules/authenticate-pam/build“ wird verlassenmake: *** [Release/obj.target/authenticate_pam/authenticate_pam.o] Fehler 1
                  iobroker 2018-01-21 18:23:17.526 info authenticate_pam.target.mk:92: die Regel für Ziel „Release/obj.target/authenticate_pam/authenticate_pam.o“ scheiterte
                  iobroker 2018-01-21 18:23:16.359 info compilation terminated.
                  iobroker 2018-01-21 18:23:16.357 info ^
                  iobroker 2018-01-21 18:23:16.357 info ../authenticate_pam.cc:30:31: fatal error: security/pam_appl.h: Datei oder Verzeichnis nicht gefunden #include
                  iobroker 2018-01-21 18:23:10.846 info CXX(target) Release/obj.target/authenticate_pam/authenticate_pam.o
                  iobroker 2018-01-21 18:23:10.836 info make: Verzeichnis „/opt/iobroker/node_modules/authenticate-pam/build“ wird betreten
                  iobroker 2018-01-21 18:23:07.529 info EACCES attempting to reinstall using temporary dev dir '/opt/iobroker/node_modules/authenticate-pam/.node-gyp'
                  iobroker 2018-01-21 18:23:07.528 info WARN
                  iobroker 2018-01-21 18:23:07.526 info WARN EACCES user 'root' does not have permission to access the dev dir '/root/.node-gyp/6.12.0'gyp
                  iobroker 2018-01-21 18:23:07.519 info gyp
                  iobroker 2018-01-21 18:23:05.615 info > node-gyp rebuild
                  iobroker 2018-01-21 18:23:05.615 info > authenticate-pam@1.0.2 install /opt/iobroker/node_modules/authenticate-pam
                  iobroker 2018-01-21 18:23:05.576 info 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
                  iobroker 2018-01-21 18:23:05.573 info npm
                  iobroker 2018-01-21 18:21:54.123 info npm install https://github.com/PArns/ioBroker.amazon-dash/tarball/master --production --prefix '/opt/iobroker' (System call)
                  iobroker 2018-01-21 18:21:53.732 info install https://github.com/PArns/ioBroker.amazon-dash/tarball/master

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

                    @masc1249:

                    @arteck:

                    so ihr beiden …geduld... fals der Button nicht sofort erkannt wird... `
                    Danke arteck für deine Antwort.

                    Allerdings werden bei mir leider beide garnicht erkannt und ich frage mich ob es vllt etwas mit der "fehlerhaften" Installation zu tun hat.

                    Hatte jemand die gleichen Erros beim Installieren oder weiß jemand wie ich diese beheben kann?

                    ! iobroker 2018-01-21 18:23:36.907 info exit 0 iobroker 2018-01-21 18:23:36.737 info upload [0] amazon-dash.admin /opt/iobroker/node_modules/iobroker.amazon-dash/admin/amazon-dash.png amazon-dash.png image/png iobroker 2018-01-21 18:23:36.653 info upload [1] amazon-dash.admin /opt/iobroker/node_modules/iobroker.amazon-dash/admin/index.html index.html text/html iobroker 2018-01-21 18:23:36.566 info upload [2] amazon-dash.admin /opt/iobroker/node_modules/iobroker.amazon-dash/admin/words.js words.js application/javascript iobroker 2018-01-21 18:23:36.538 info got /opt/iobroker/node_modules/iobroker.amazon-dash/admin iobroker 2018-01-21 18:23:36.410 info npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 iobroker 2018-01-21 18:23:36.410 info WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 (node_modules/authenticate-pam):npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 install: `node-gyp rebuild` iobroker 2018-01-21 18:23:36.407 info npm iobroker 2018-01-21 18:23:36.396 info iobroker@1.0.0 /opt/iobroker└── iobroker.amazon-dash@0.2.7 iobroker 2018-01-21 18:23:17.571 info gyp ERR! not ok iobroker 2018-01-21 18:23:17.571 info gyp ERR! node-gyp -v v3.4.0 iobroker 2018-01-21 18:23:17.571 info gyp ERR! node -v v6.12.0 iobroker 2018-01-21 18:23:17.571 info gyp ERR! cwd /opt/iobroker/node_modules/authenticate-pam iobroker 2018-01-21 18:23:17.571 info gyp ERR! command '/usr/bin/node' '/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js' 'rebuild' iobroker 2018-01-21 18:23:17.571 info gyp ERR! System Linux 4.9.61-v7+ iobroker 2018-01-21 18:23:17.571 info gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12) iobroker 2018-01-21 18:23:17.571 info stack at emitTwo (events.js:106:13)gyp ERR! stack at ChildProcess.emit (events.js:191:7) iobroker 2018-01-21 18:23:17.558 info ERR! iobroker 2018-01-21 18:23:17.554 info stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)gyp iobroker 2018-01-21 18:23:17.551 info Error: `make` failed with exit code: 2gyp ERR! iobroker 2018-01-21 18:23:17.546 info ERR! stack iobroker 2018-01-21 18:23:17.542 info gyp iobroker 2018-01-21 18:23:17.529 info gyp ERR! build error iobroker 2018-01-21 18:23:17.529 info make: Verzeichnis „/opt/iobroker/node_modules/authenticate-pam/build“ wird verlassenmake: *** [Release/obj.target/authenticate_pam/authenticate_pam.o] Fehler 1 iobroker 2018-01-21 18:23:17.526 info authenticate_pam.target.mk:92: die Regel für Ziel „Release/obj.target/authenticate_pam/authenticate_pam.o“ scheiterte iobroker 2018-01-21 18:23:16.359 info compilation terminated. iobroker 2018-01-21 18:23:16.357 info ^ iobroker 2018-01-21 18:23:16.357 info ../authenticate_pam.cc:30:31: fatal error: security/pam_appl.h: Datei oder Verzeichnis nicht gefunden #include iobroker 2018-01-21 18:23:10.846 info CXX(target) Release/obj.target/authenticate_pam/authenticate_pam.o iobroker 2018-01-21 18:23:10.836 info make: Verzeichnis „/opt/iobroker/node_modules/authenticate-pam/build“ wird betreten iobroker 2018-01-21 18:23:07.529 info EACCES attempting to reinstall using temporary dev dir '/opt/iobroker/node_modules/authenticate-pam/.node-gyp' iobroker 2018-01-21 18:23:07.528 info WARN iobroker 2018-01-21 18:23:07.526 info WARN EACCES user 'root' does not have permission to access the dev dir '/root/.node-gyp/6.12.0'gyp iobroker 2018-01-21 18:23:07.519 info gyp iobroker 2018-01-21 18:23:05.615 info > node-gyp rebuild iobroker 2018-01-21 18:23:05.615 info > authenticate-pam@1.0.2 install /opt/iobroker/node_modules/authenticate-pam iobroker 2018-01-21 18:23:05.576 info 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 iobroker 2018-01-21 18:23:05.573 info npm iobroker 2018-01-21 18:21:54.123 info npm install https://github.com/PArns/ioBroker.amazon-dash/tarball/master --production --prefix '/opt/iobroker' (System call) iobroker 2018-01-21 18:21:53.732 info install https://github.com/PArns/ioBroker.amazon-dash/tarball/master `

                    apt-get install libpcap-dev 
                    ````hast du gemacht ??
                    1 Reply Last reply Reply Quote 0
                    • M
                      masc1249 last edited by

                      Ja das habe ich vorher gemacht 😞

                      @masc1249:

                      Weitere Infos:

                      • iobroker läuft auf einem Raspberry Pi 3

                      • die dashbuttons haben die Mac 18-74-2E-3F-F8-04 und 18-74-2E-DE-2F-ED

                      • Libpcap-dev ist installiert

                      • Node 6.12.0 mit npm 3.10.10 ist installiert

                      • Iobroker wurde als root installiert und alles andere läuft super `

                      1 Reply Last reply Reply Quote 0
                      • A
                        Arnulf last edited by

                        @Basti1234:

                        Hallo,

                        leider bekomme ich bei der Installation folgende Fehlermeldung:

                        Unbenannt.PNG

                        Kann mir jmd. weiterhelfen? `

                        leider bei mir auch. Ich habe lediglich sofort 0.2.7 versucht einzubinden.

                        Keine andere Version vorher.

                        Braucht es noch andere Bibliotheken?

                        1 Reply Last reply Reply Quote 0
                        • X
                          xmace last edited by

                          Hallo zusammen,

                          ich hab meinen iobroker vom RPI3 auf Windows10 umgezogen. Alle Adapter neu installiert usw. und läuft auch alles bis auf den Dash-Button Adapter.

                          apt-get ist in der Windows Umgebung lt. meinen Informationen nicht möglich, daher kommt die folgende Fehlermeldung bei der Installation:

                          `$ ./iobroker add amazon-dash
                          npm install iobroker.amazon-dash --production --prefix "C:/iobroker" (System call)
                          Der Befehl "apt-get" ist entweder falsch geschrieben oder
                          konnte nicht gefunden werden.
                          
                          Der Befehl "true" ist entweder falsch geschrieben oder
                          konnte nicht gefunden werden.
                          
                          npm
                          ERR!
                          
                          code
                          ELIFECYCLE
                          npm
                          
                          ERR!
                          errno
                          1
                          npm
                          
                          ERR!
                          iobroker.amazon-dash@0.2.7 preinstall: apt-get install libpcap-dev -y || true
                          npm
                          
                          ERR! Exit status 1
                          npm
                          ERR!
                          
                          npm
                          ERR! Failed at the iobroker.amazon-dash@0.2.7 preinstall script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                          
                          npm ERR! A complete log of this run can be found in:
                          npm ERR! C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm-cache_logs\2018-02-05T23_25_47_039Z-debug.log
                          host.BRIX-SERVER create instance amazon-dash
                          ERROR: host.BRIX-SERVER error: reading io-package.json Error: ENOENT: no such file or directory, open 'C:\iobroker\node_modules\iobroker.js-controller\adapter\amazon-dash\io-package.json'
                          ERROR: process exited with code 20`
                          

                          node 8.9.4

                          npm 4.6.1

                          Kann mir jemand helfen den Dash-Button Adapter zum laufen zu bekommen?

                          Ich hab einige Buttons im Einsatz die ich nun alle nicht mehr nutzen kann 😕

                          Danke & Gruß,

                          xmace

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

                            hier gabs mal ne Beschreibung für "pcap for win"…

                            1 Reply Last reply Reply Quote 0
                            • X
                              xmace last edited by

                              hab pcap für windows installiert aber trotzdem lässt sich der adapter in iobroker nicht installieren wegen den fehlenden apt-get befehl….

                              1 Reply Last reply Reply Quote 0
                              • X
                                xmace last edited by

                                Kann mir diesbezüglich keiner helfen?

                                Wenn der Adapter unter Windows nicht funktioniert, sollte dieser Hinweis wenigstens in der Readme/Adapter Seite auf GitHub erwähnt werden damit nicht jeder vergeblich Zeit opfert.

                                Danke 😞

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

                                  @xmace:

                                  Kann mir diesbezüglich keiner helfen?

                                  Wenn der Adapter unter Windows nicht funktioniert, sollte dieser Hinweis wenigstens in der Readme/Adapter Seite auf GitHub erwähnt werden damit nicht jeder vergeblich Zeit opfert.

                                  Danke 😞 `

                                  probier mal aus meinem fork es zu installieren ..

                                  https://github.com/arteck/ioBroker.amazon-dash.git

                                  1 Reply Last reply Reply Quote 0
                                  • X
                                    xmace last edited by

                                    Danke, hat leider nicht geklappt. Windows-build-tools sind installiert.

                                    iobroker 2018-02-11 16:25:55.379 info exit 0

                                    iobroker 2018-02-11 16:25:55.282 info C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm-cache_logs\2018-02-11T15_25_55_264Z-debug.log

                                    iobroker 2018-02-11 16:25:55.282 info ERR!

                                    iobroker 2018-02-11 16:25:55.281 info npm

                                    iobroker 2018-02-11 16:25:55.280 info A complete log of this run can be found in:

                                    iobroker 2018-02-11 16:25:55.279 info npm ERR!

                                    iobroker 2018-02-11 16:25:55.278 info

                                    iobroker 2018-02-11 16:25:55.256 info This is probably not a problem with npm. There is likely additional logging output above.

                                    iobroker 2018-02-11 16:25:55.255 info npm ERR!

                                    iobroker 2018-02-11 16:25:55.254 info npm ERR! Failed at the socketwatcher@0.3.0 install script.

                                    iobroker 2018-02-11 16:25:55.253 info

                                    iobroker 2018-02-11 16:25:55.250 info ERR!

                                    iobroker 2018-02-11 16:25:55.248 info

                                    iobroker 2018-02-11 16:25:55.245 info npm

                                    iobroker 2018-02-11 16:25:55.243 info Exit status 1

                                    iobroker 2018-02-11 16:25:55.239 info ERR!

                                    iobroker 2018-02-11 16:25:55.236 info

                                    iobroker 2018-02-11 16:25:55.234 info npm

                                    iobroker 2018-02-11 16:25:55.231 info socketwatcher@0.3.0 install: node-gyp rebuild

                                    iobroker 2018-02-11 16:25:55.229 info ERR!

                                    iobroker 2018-02-11 16:25:55.226 info

                                    iobroker 2018-02-11 16:25:55.224 info npm

                                    iobroker 2018-02-11 16:25:55.217 info 1

                                    iobroker 2018-02-11 16:25:55.215 info errno

                                    iobroker 2018-02-11 16:25:55.213 info ERR!

                                    iobroker 2018-02-11 16:25:55.212 info npm

                                    iobroker 2018-02-11 16:25:55.203 info ELIFECYCLE

                                    iobroker 2018-02-11 16:25:55.197 info code

                                    iobroker 2018-02-11 16:25:55.191 info

                                    iobroker 2018-02-11 16:25:55.178 info ERR!

                                    iobroker 2018-02-11 16:25:55.166 info

                                    iobroker 2018-02-11 16:25:55.158 info npm

                                    iobroker 2018-02-11 16:25:54.852 info not ok

                                    iobroker 2018-02-11 16:25:54.851 info gyp ERR!

                                    iobroker 2018-02-11 16:25:54.850 info node-gyp -v v3.6.2

                                    iobroker 2018-02-11 16:25:54.848 info ERR!

                                    iobroker 2018-02-11 16:25:54.847 info node -v v8.9.4gyp

                                    iobroker 2018-02-11 16:25:54.844 info ERR!

                                    iobroker 2018-02-11 16:25:54.842 info

                                    iobroker 2018-02-11 16:25:54.841 info C:\iobroker\node_modules\iobroker.amazon-dash\node_modules\socketwatchergyp

                                    iobroker 2018-02-11 16:25:54.839 info cwd

                                    iobroker 2018-02-11 16:25:54.838 info gyp ERR!

                                    iobroker 2018-02-11 16:25:54.836 info command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"

                                    iobroker 2018-02-11 16:25:54.835 info ERR!

                                    iobroker 2018-02-11 16:25:54.834 info gyp

                                    iobroker 2018-02-11 16:25:54.833 info System Windows_NT 10.0.16299

                                    iobroker 2018-02-11 16:25:54.831 info ERR!

                                    iobroker 2018-02-11 16:25:54.830 info gyp

                                    iobroker 2018-02-11 16:25:54.828 info at FSReqWrap.oncomplete (fs.js:152:21)

                                    iobroker 2018-02-11 16:25:54.826 info stack

                                    iobroker 2018-02-11 16:25:54.824 info at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29gyp ERR!

                                    iobroker 2018-02-11 16:25:54.820 info ERR! stack

                                    iobroker 2018-02-11 16:25:54.816 info

                                    iobroker 2018-02-11 16:25:54.814 info gyp

                                    iobroker 2018-02-11 16:25:54.812 info at PythonFinder. (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:508:16)

                                    iobroker 2018-02-11 16:25:54.808 info stack

                                    iobroker 2018-02-11 16:25:54.786 info

                                    iobroker 2018-02-11 16:25:54.784 info ERR!

                                    iobroker 2018-02-11 16:25:54.782 info

                                    iobroker 2018-02-11 16:25:54.778 info gyp

                                    iobroker 2018-02-11 16:25:54.776 info at PythonFinder.failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:483:19)

                                    iobroker 2018-02-11 16:25:54.775 info stack

                                    iobroker 2018-02-11 16:25:54.773 info

                                    iobroker 2018-02-11 16:25:54.771 info ERR!

                                    iobroker 2018-02-11 16:25:54.767 info

                                    iobroker 2018-02-11 16:25:54.765 info gyp

                                    iobroker 2018-02-11 16:25:54.762 info Error: Can't find Python executable "python", you can set the PYTHON env variable.

                                    iobroker 2018-02-11 16:25:54.758 info stack

                                    iobroker 2018-02-11 16:25:54.756 info

                                    iobroker 2018-02-11 16:25:54.754 info ERR!

                                    iobroker 2018-02-11 16:25:54.751 info

                                    iobroker 2018-02-11 16:25:54.749 info gyp

                                    iobroker 2018-02-11 16:25:54.744 info

                                    iobroker 2018-02-11 16:25:54.741 info configure error

                                    iobroker 2018-02-11 16:25:54.739 info

                                    iobroker 2018-02-11 16:25:54.737 info ERR!

                                    iobroker 2018-02-11 16:25:54.735 info

                                    iobroker 2018-02-11 16:25:54.734 info gyp

                                    iobroker 2018-02-11 16:25:53.096 info if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Prog

                                    iobroker 2018-02-11 16:25:53.094 info C:\iobroker\node_modules\iobroker.amazon-dash\node_modules\socketwatcher>

                                    iobroker 2018-02-11 16:25:53.046 info

                                    iobroker 2018-02-11 16:25:53.046 info > node-gyp rebuild

                                    iobroker 2018-02-11 16:25:53.046 info > socketwatcher@0.3.0 install C:\iobroker\node_modules\iobroker.amazon-dash\node_modules\socketwatcher

                                    iobroker 2018-02-11 16:25:42.573 info npm install https://github.com/arteck/ioBroker.amaz … all/master --production --prefix "C:/iobroker" (System call)

                                    iobroker 2018-02-11 16:25:42.354 info install https://github.com/arteck/ioBroker.amaz ... all/master

                                    iobroker 2018-02-11 16:25:40.458 info url "https://github.com/arteck/ioBroker.amazon-dash.git" --debug

                                    1 Reply Last reply Reply Quote 0
                                    • X
                                      xmace last edited by

                                      Keine Idee?

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

                                        hast du die Variable gesetzt
                                        > Can't find Python executable "python", you can set the PYTHON env variable.

                                        1 Reply Last reply Reply Quote 0
                                        • X
                                          xmace last edited by

                                          Nach langem Kampf hab ich die Env Variable eingetragen bekommen aber weiterhin kein Erfolg:

                                          $ ./iobroker url "https://github.com/arteck/ioBroker.amazon-dash.git" --debug
                                          install https://github.com/arteck/ioBroker.amazon-dash/tarball/master
                                          npm install https://github.com/arteck/ioBroker.amazon-dash/tarball/master --production --prefix "C:/iobroker" (System call)
                                          > socketwatcher@0.3.0 install C:\iobroker\node_modules\iobroker.amazon-dash\node_modules\socketwatcher
                                          > node-gyp rebuild
                                          
                                          C:\iobroker\node_modules\iobroker.amazon-dash\node_modules\socketwatcher>
                                          if 
                                          not 
                                          defined npm_config_node_gyp 
                                          (
                                          node
                                           "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild 
                                          ) 
                                           else 
                                          (
                                          node
                                           "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild ) 
                                          Die Projekte in dieser Projektmappe werden nacheinander erstellt. Um eine parallele Erstellung zu erm�glichen, m�ssen Sie den Schalter "/m" hinzuf�gen.
                                          MSBUILD : error MSB4132: Die Toolversion "2.0" ist unbekannt. Verf�gbare Toolversionen sind "14.0", "4.0".
                                          gyp
                                           ERR! build error 
                                          gyp
                                          
                                          ERR!
                                          
                                          stack
                                           Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1
                                          gyp
                                          
                                          ERR!
                                          
                                          stack
                                               at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:258:23)
                                          gyp
                                          
                                          ERR!
                                          
                                          stack
                                               at emitTwo (events.js:126:13)
                                          gyp
                                          
                                          ERR!
                                          
                                          stack
                                               at ChildProcess.emit (events.js:214:7)
                                          gyp
                                          
                                          ERR!
                                          
                                          stack
                                               at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
                                          gyp
                                           ERR! 
                                          System Windows_NT 10.0.16299
                                          gyp
                                           ERR!
                                           command
                                           "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
                                          gyp ERR! cwd C:\iobroker\node_modules\iobroker.amazon-dash\node_modules\socketwatchergyp ERR! node -v v8.9.4
                                          gyp ERR! node-gyp -v v3.6.2
                                          gyp ERR! not ok 
                                          
                                          npm
                                          
                                          ERR!
                                           code ELIFECYCLE
                                          npm
                                           ERR! errno
                                           1
                                          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.
                                          npm
                                          
                                          ERR!
                                           This is probably not a problem with npm. There is likely additional logging output above.
                                          
                                          npm 
                                          ERR!
                                           A complete log of this run can be found in:
                                          npm
                                          
                                          ERR!
                                               C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm-cache\_logs\2018-02-11T22_14_48_052Z-debug.log
                                          process exited with code 0
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • X
                                            xmace last edited by

                                            Konnte das "Tool Version 2" Problem nach folgender Anleitung beheben:

                                            https://github.com/chjj/pty.js/issues/60

                                            npm config set msvs_version 2015 --global
                                            
                                            

                                            Allerdings jetzt:

                                            $ ./iobroker url "https://github.com/arteck/iobroker.amazon-dash.git"
                                            install https://github.com/arteck/iobroker.amazon-dash/tarball/master
                                            npm install https://github.com/arteck/iobroker.amazon-dash/tarball/master --production --prefix "C:/iobroker" (System call)
                                            gyp
                                             ERR!
                                            
                                            build error
                                            
                                            gyp
                                            
                                            ERR!
                                            
                                            stack
                                             Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1
                                            gyp
                                             ERR!
                                            
                                            stack
                                                 at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:258:23)
                                            gyp
                                            
                                            ERR!
                                            
                                            stack
                                                 at emitTwo (events.js:126:13)
                                            gyp
                                            
                                            ERR!
                                            
                                            stack
                                                 at ChildProcess.emit (events.js:214:7)
                                            gyp
                                            
                                            ERR!
                                            
                                            stack
                                                 at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
                                            gyp
                                            
                                            ERR!
                                            
                                            System Windows_NT 10.0.16299
                                            gyp 
                                            ERR! 
                                            command
                                             "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
                                            gyp 
                                            ERR! 
                                            cwd
                                             C:\iobroker\node_modules\iobroker.amazon-dash\node_modules\socketwatcher
                                            gyp 
                                            ERR!
                                             node -v
                                             v8.9.4
                                            gyp
                                             ERR!
                                            
                                            node-gyp -v
                                             v3.6.2
                                            gyp
                                            
                                            ERR! not ok 
                                            npm
                                            
                                            ERR!
                                            
                                            code
                                             ELIFECYCLE
                                            npm
                                            
                                            ERR!
                                            
                                            errno
                                             1
                                            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.
                                            npm
                                            
                                            ERR!
                                             This is probably not a problem with npm. There is likely additional logging output above.
                                            
                                            npm ERR!
                                             A complete log of this run can be found in:
                                            npm
                                            
                                            ERR!
                                                 C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm-cache\_logs\2018-02-11T22_43_08_559Z-debug.log
                                            ERROR: Cannot parse C:/iobroker/node_modules/iobroker.js-controller/adapter/amazon-dash/io-package.json:Error: ENOENT: no such file or directory, open 'C:\iobroker\node_modules\iobroker.js-controller\adapter\amazon-dash\io-package.json'
                                            process exited with code 0
                                            
                                            javruben created this issue in chjj/pty.js

                                            open MSBUILD : error MSB4132: The tools version "2.0" is unrecognized. Available tools versions are "4.0". #60

                                            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

                                            687
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

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