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

      Ich bezweifle, dass es unter Windows möglich wird.

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

        Hi, ich mache das über einen kleinen Umweg:

        Amazon Dash Button Hack

        http://www.instructables.com/id/Amazon- … /?ALLSTEPS

        Curl für Windows -> http Kommando an den ioBroker simple-api adapter.

        Funzt!

        Gruss, mayer

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

          @lobomau:

          Hab mir grad meinen zweiten Dash Button bestellt und es wurden sofort 4,99EUR als Gutschein abgezogen! Hab ihn also umsonst 😄

          Dazu hatte ich drei g-Tags gekauft. Keine AUhnung warum. Probiert mal aus. Ich hatte den amazon dash button universal ausgewählt (Avery Zweckform). `
          Ich habe eben wieder einen Dash Button geordert und sofort wurden 4,99€ als Gutschein abgezogen. Damit habe ich drei Buttons für insgesamt 4,99 😄

          Ist tatsächlich so. Steht als ein Kommentar unter Amazon Dash Button Hack

          http://www.instructables.com/id/Amazon- … /?ALLSTEPS

          > I strongly suggest you setup the button with the mobile app and associate it with your Amazon account though. I realized if you do that, and you push the button at least once (Even if you didn't "select a product") the next time you buy something from Amazon normally (not with the button) you will recieve a $5 credit! Doesn't matter what you buy!!!

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

            @mayer:

            Hi, ich mache das über einen kleinen Umweg:

            Amazon Dash Button Hack

            http://www.instructables.com/id/Amazon- … /?ALLSTEPS

            Curl für Windows -> http Kommando an den ioBroker simple-api adapter. `
            Was ist das genaue Ergebnis von diesem Hack? Erschließt sich mir nicht.

            Bei mir laufen die Dash Buttons gut mit dem Adapter, aber für gewisse Anwendungen wäre es ohne die Latenz besser.

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

              @lobomau:

              Was ist das genaue Ergebnis von diesem Hack? Erschließt sich mir nicht.

              Bei mir laufen die Dash Buttons gut mit dem Adapter, aber für gewisse Anwendungen wäre es ohne die Latenz besser. `

              Auf meinem MacMini bekomme ich Adapter nicht zum laufen bzw. gar nicht erst installiert. Da bei mir sowieso noch eine Windows-Büchse als Mediaserver und Heizungslogger läuft, habe ich das eben so gelöst.

              Mit der Latenz hat das nix zu tun. Die bleibt.

              Gruss, mayer

              1 Reply Last reply Reply Quote 0
              • H
                holgerwolf last edited by

                Längere Geschichte (habe jetzt zwei Tage rumgebastelt). Ich habe es jetzt zwei Mal durchgespielt.

                Der Adapter lässt sich nicht bei einer node Version >= 4 installiern und laufen. Geht man zurück auf die 0.12 geht die Installation und der Adapter funktioniert auch. Updatet man node wieder auf 4.x läuft der Adpater nicht mehr.

                Hier die Fehlermedung aus dem log:

                host-lemaker	2016-10-12 14:49:16.265	error	instance system.adapter.amazon-dash.0 terminated with code 0 (OK)
                Error:	2016-10-12 14:49:15.424	error	at Module.load (module.js:356:32)
                Error:	2016-10-12 14:49:15.424	error	at Object.Module._extensions..js (module.js:442:10)
                Error:	2016-10-12 14:49:15.424	error	at Module._compile (module.js:435:26)
                Error:	2016-10-12 14:49:15.424	error	at Object. (/opt/iobroker/node_modules/iobroker.amazon-dash/node_modules/pcap/pcap.js:3:21)
                Error:	2016-10-12 14:49:15.424	error	at require (module.js:385:17)
                Error:	2016-10-12 14:49:15.424	error	at Module.require (module.js:366:17)
                Error:	2016-10-12 14:49:15.424	error	at Function.Module._load (module.js:311:12)
                Error:	2016-10-12 14:49:15.424	error	at Module.load (module.js:356:32)
                Error:	2016-10-12 14:49:15.424	error	at Object.Module._extensions..node (module.js:460:18)
                Error:	2016-10-12 14:49:15.424	error	at Error (native)
                Error:	2016-10-12 14:49:15.424	error	Module version mismatch. Expected 46, got 14.
                uncaught	2016-10-12 14:49:15.368	error	exception: Module version mismatch. Expected 46, got 14.
                

                Kann meinen Banana leider nicht mit der 0.12 laufen lassen, da er so nach ner gewissen Zeit abschmiert (anderes Problem).

                Irgend eine Idee?

                Gruß

                Holger

                1 Reply Last reply Reply Quote 0
                • C
                  charlyphyro last edited by

                  Hallo zusammen,

                  Versuche gerade einen Umzug vom cubietruck auf NUC mit Ubuntu 16.04.01.

                  Beim Dash Button gibt es leider eine Fehlermeldung & habe auch versucht es direkt zu installieren, leider bekomme ich eine Fehlermeldung. davor wurde git installiert zum ausführen.

                  ! charlyphyro@charlyphyro:/opt/iobroker$ sudo npm install iobroker.amazon-dash
                  !
                  ! > socketwatcher@0.3.0 install /opt/iobroker/node_modules/iobroker.amazon-dash/node_modules/pcap/node_modules/socketwatcher
                  ! > node-gyp rebuild
                  ! make: Verzeichnis „/opt/iobroker/node_modules/iobroker.amazon-dash/node_modules/pcap/node_modules/socketwatcher/build“ wird betreten
                  ! CXX(target) Release/obj.target/socketwatcher/socket_watcher.o
                  ! SOLINK_MODULE(target) Release/obj.target/socketwatcher.node
                  ! COPY Release/socketwatcher.node
                  ! make: Verzeichnis „/opt/iobroker/node_modules/iobroker.amazon-dash/node_modules/pcap/node_modules/socketwatcher/build“ wird verlassen
                  ! > pcap@2.0.0 install /opt/iobroker/node_modules/iobroker.amazon-dash/node_modules/pcap
                  ! > node-gyp rebuild
                  ! make: Verzeichnis „/opt/iobroker/node_modules/iobroker.amazon-dash/node_modules/pcap/build“ wird betreten
                  ! CXX(target) Release/obj.target/pcap_binding/pcap_binding.o
                  ! ../pcap_binding.cc:2:23: fatal error: pcap/pcap.h: Datei oder Verzeichnis nicht gefunden
                  ! compilation terminated.
                  ! pcap_binding.target.mk:97: die Regel für Ziel „Release/obj.target/pcap_binding/pcap_binding.o“ scheiterte
                  ! make: *** [Release/obj.target/pcap_binding/pcap_binding.o] Fehler 1
                  ! make: Verzeichnis „/opt/iobroker/node_modules/iobroker.amazon-dash/node_modules/pcap/build“ wird verlassen
                  ! gyp ERR! build error
                  ! gyp ERR! stack Error: make failed with exit code: 2
                  ! gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
                  ! gyp ERR! stack at emitTwo (events.js:87:13)
                  ! gyp ERR! stack at ChildProcess.emit (events.js:172:7)
                  ! gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
                  ! gyp ERR! System Linux 4.4.0-42-generic
                  ! gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                  ! gyp ERR! cwd /opt/iobroker/node_modules/iobroker.amazon-dash/node_modules/pcap
                  ! gyp ERR! node -v v4.6.0
                  ! gyp ERR! node-gyp -v v3.4.0
                  ! gyp ERR! not ok
                  ! npm ERR! Linux 4.4.0-42-generic
                  ! npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.amazon-dash"
                  ! npm ERR! node v4.6.0
                  ! npm ERR! npm v2.15.9
                  ! npm ERR! code ELIFECYCLE
                  ! npm ERR! pcap@2.0.0 install: node-gyp rebuild
                  ! npm ERR! Exit status 1
                  ! npm ERR!
                  ! npm ERR! Failed at the pcap@2.0.0 install script 'node-gyp rebuild'.
                  ! npm ERR! This is most likely a problem with the pcap 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 pcap
                  ! npm ERR! Or if that isn't available, you can get their info via:
                  ! npm ERR!
                  ! npm ERR! npm owner ls pcap
                  ! npm ERR! There is likely additional logging output above.
                  ! npm ERR! Please include the following file with any support request:
                  ! npm ERR! /opt/iobroker/npm-debug.log

                  Viele Grüße Charly

                  Edit: Hat sich erledigt! ich musste die libpcap anders installieren!

                  ! sudo apt-get install libpcap0.8 libpcap0.8-dev libpcap-dev

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

                    @Moses1989:

                    Ich habe das gleiche Problem wie oldi-2000.

                    Server läuft auch mit Ubuntu 16 und ich bekomme den Dash Button Adapter auch nicht installiert.

                    Ich habe Python 2.7.12 und Node v0.10.33 drauf.

                    $ ./iobroker add amazon-dash
                    npm install iobroker.amazon-dash --production --prefix "/opt/iobroker" (System call)
                    npm
                     ERR! not a package /tmp/npm-3186-jmsB2Zl0/github.com/mranney/node_pcap
                    npm
                     ERR! Error: ENOENT, open '/tmp/npm-3186-jmsB2Zl0/github.com/mranney/node_pcap-unpack/package.json'
                    npm
                     ERR! If you need help, you may report this *entire* log,npm ERR! including the npm and node versions, at:
                    npm ERR!     <http: github.com/npm/issues="">
                    
                    npm
                     ERR! System Linux 4.4.0-38-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "iobroker.amazon-dash" "--production" "--prefix" "/opt/iobroker"
                    npm
                     ERR! cwd /npm ERR! node -v v0.10.33
                    
                    npm ERR! npm -v 1.4.28
                    npm ERR! path /tmp/npm-3186-jmsB2Zl0/github.com/mranney/node_pcap-unpack/package.json
                    npm ERR! code ENOENT
                    npm ERR! errno 34
                    npm ERR! not ok code 0
                    ERROR: host.server Cannot install iobroker.amazon-dash: 34
                    ERROR: process exited with code 25</http:>
                    

                    Hat jemand vielleicht noch eine Idee ?

                    @oldi-2000 Hast du es ans laufen bekommen?

                    grüße moses `

                    habe das gleiche Problem auf dem pine64…

                    Hat es jemand gelöst?

                    ! ` > $ ./iobroker url "https://github.com/PArns/ioBroker.amazo … all/master" amazon-dash

                    install https://github.com/PArns/ioBroker.amazo ... all/master

                    npm install https://github.com/PArns/ioBroker.amazo ... all/master --production --prefix "/opt/iobroker" (System call)

                    ../pcap_binding.cc:2:23: fatal error: pcap/pcap.h: No such file or directory #include <pcap pcap.h="">^

                    compilation terminated.

                    make: *** [Release/obj.target/pcap_binding/pcap_binding.o] Error 1

                    gyp

                    ERR! build error

                    gyp ERR! stack Error: make failed with exit code: 2

                    gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)gyp

                    ERR! stack at emitTwo (events.js:87:13)

                    gyp ERR! stack at ChildProcess.emit (events.js:172:7)gyp ERR! stack

                    at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)gyp ERR! System Linux 3.10.102-2-pine64-longsleep

                    gyp ERR! command "/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/iobroker.amazon-dash/node_modules/pcap

                    gyp ERR! node -v v4.5.0

                    gyp ERR! node-gyp -v v3.4.0

                    gyp ERR!

                    not ok

                    npm

                    ERR! Linux 3.10.102-2-pine64-longsleep

                    npm ERR!

                    argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "https://github.com/PArns/ioBroker.amazo … all/master" "--production" "--prefix" "/opt/iobroker"npm ERR! node v4.5.0

                    npm ERR! npm v2.15.9

                    npm ERR! code ELIFECYCLE

                    npm

                    ERR! pcap@2.0.0 install: node-gyp rebuildnpm ERR! Exit status 1

                    npm ERR! npm ERR! Failed at the pcap@2.0.0 install script 'node-gyp rebuild'.

                    npm ERR! This is most likely a problem with the pcap 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 pcap

                    npm ERR!

                    Or if that isn't available, you can get their info via:npm ERR!

                    npm ERR! npm owner ls pcap

                    npm ERR! There is likely additional logging output above.

                    npm

                    ERR!

                    Please include the following file with any support request:npm

                    ERR! /npm-debug.log

                    ERROR: host.pine64 Cannot install https://github.com/PArns/ioBroker.amazo ... all/master: 1

                    ERROR: process exited with code 25</pcap> `

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

                      @Maxtox:

                      @Moses1989:

                      Ich habe das gleiche Problem wie oldi-2000.

                      Server läuft auch mit Ubuntu 16 und ich bekomme den Dash Button Adapter auch nicht installiert.

                      Ich habe Python 2.7.12 und Node v0.10.33 drauf.

                      $ ./iobroker add amazon-dash
                      npm install iobroker.amazon-dash --production --prefix "/opt/iobroker" (System call)
                      npm
                       ERR! not a package /tmp/npm-3186-jmsB2Zl0/github.com/mranney/node_pcap
                      npm
                       ERR! Error: ENOENT, open '/tmp/npm-3186-jmsB2Zl0/github.com/mranney/node_pcap-unpack/package.json'
                      npm
                       ERR! If you need help, you may report this *entire* log,npm ERR! including the npm and node versions, at:
                      npm ERR!     <http: github.com/npm/issues="">
                      
                      npm
                       ERR! System Linux 4.4.0-38-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "iobroker.amazon-dash" "--production" "--prefix" "/opt/iobroker"
                      npm
                       ERR! cwd /npm ERR! node -v v0.10.33
                      
                      npm ERR! npm -v 1.4.28
                      npm ERR! path /tmp/npm-3186-jmsB2Zl0/github.com/mranney/node_pcap-unpack/package.json
                      npm ERR! code ENOENT
                      npm ERR! errno 34
                      npm ERR! not ok code 0
                      ERROR: host.server Cannot install iobroker.amazon-dash: 34
                      ERROR: process exited with code 25</http:>
                      

                      Hat jemand vielleicht noch eine Idee ?

                      @oldi-2000 Hast du es ans laufen bekommen?

                      grüße moses `

                      habe das gleiche Problem auf dem pine64…

                      Hat es jemand gelöst?

                      ! ` > $ ./iobroker url "https://github.com/PArns/ioBroker.amazo … all/master" amazon-dash

                      install https://github.com/PArns/ioBroker.amazo ... all/master

                      npm install https://github.com/PArns/ioBroker.amazo ... all/master --production --prefix "/opt/iobroker" (System call)

                      ../pcap_binding.cc:2:23: fatal error: pcap/pcap.h: No such file or directory #include <pcap pcap.h="">^

                      compilation terminated.

                      make: *** [Release/obj.target/pcap_binding/pcap_binding.o] Error 1

                      gyp

                      ERR! build error

                      gyp ERR! stack Error: make failed with exit code: 2

                      gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)gyp

                      ERR! stack at emitTwo (events.js:87:13)

                      gyp ERR! stack at ChildProcess.emit (events.js:172:7)gyp ERR! stack

                      at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)gyp ERR! System Linux 3.10.102-2-pine64-longsleep

                      gyp ERR! command "/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/iobroker.amazon-dash/node_modules/pcap

                      gyp ERR! node -v v4.5.0

                      gyp ERR! node-gyp -v v3.4.0

                      gyp ERR!

                      not ok

                      npm

                      ERR! Linux 3.10.102-2-pine64-longsleep

                      npm ERR!

                      argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "https://github.com/PArns/ioBroker.amazo … all/master" "--production" "--prefix" "/opt/iobroker"npm ERR! node v4.5.0

                      npm ERR! npm v2.15.9

                      npm ERR! code ELIFECYCLE

                      npm

                      ERR! pcap@2.0.0 install: node-gyp rebuildnpm ERR! Exit status 1

                      npm ERR! npm ERR! Failed at the pcap@2.0.0 install script 'node-gyp rebuild'.

                      npm ERR! This is most likely a problem with the pcap 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 pcap

                      npm ERR!

                      Or if that isn't available, you can get their info via:npm ERR!

                      npm ERR! npm owner ls pcap

                      npm ERR! There is likely additional logging output above.

                      npm

                      ERR!

                      Please include the following file with any support request:npm

                      ERR! /npm-debug.log

                      ERROR: host.pine64 Cannot install https://github.com/PArns/ioBroker.amazo ... all/master: 1

                      ERROR: process exited with code 25</pcap>
                      Hallo Maxtox,

                      Ich habe das oben genannte Problem auch immer noch und habe auch noch keine Lösung dafür gefunden!

                      @oldi-2000 hast du vielleicht etwas was uns weiter helfen könnte?

                      Grüße Moses

                      1 Reply Last reply Reply Quote 0
                      • Homoran
                        Homoran Global Moderator Administrators last edited by

                        Es wird angemeckert, dass

                        github.com/mranney/node_pcap-unpack/package.json
                        

                        nicht existiert.

                        Habe mir gerade das repo auf github angesehen:

                        https://github.com/mranney/node_pcap

                        das sieht eher so aus, als ob da etwas bei npm oder dem Installer schief läuft.

                        Der Teil -unpack in:

                        github.com/mranney/node_pcap****-unpack****/package.json

                        sieht für mich nach einer anweisung aus, existiert in der Ordnerstruktur jedenfalls nicht.

                        Daher ENOENT

                        Gruß

                        Rainer

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

                          @Homoran:

                          Es wird angemeckert, dass

                          github.com/mranney/node_pcap-unpack/package.json
                          

                          nicht existiert.

                          Habe mir gerade das repo auf github angesehen:

                          https://github.com/mranney/node_pcap

                          das sieht eher so aus, als ob da etwas bei npm oder dem Installer schief läuft.

                          Der Teil -unpack in:

                          github.com/mranney/node_pcap****-unpack****/package.json

                          sieht für mich nach einer anweisung aus, existiert in der Ordnerstruktur jedenfalls nicht.

                          Daher ENOENT

                          Gruß

                          Rainer `

                          Reiner, welcome back! Hoffe alles gut gelaufen bei dir…

                          Echt schade, dass es nicht funktioniert 😞

                          1 Reply Last reply Reply Quote 0
                          • oldi-2000
                            oldi-2000 last edited by

                            Nein habe auch noch keine Lösung hatte leider auch keine Zeit zu testen

                            Mfg Daniel

                            Gesendet von meinem LG-H815 mit Tapatalk

                            1 Reply Last reply Reply Quote 0
                            • C
                              charlyphyro last edited by

                              Hallo zusammen, ich hatte auch auf meinem nuc und ubuntu Probleme mit dem pcap.

                              Das vom PArns readme, zu installierende "apt-get install libpcap-dev" hat bei mir nicht funktioniert.

                              Erst wie weiter oben im edit beschriebene libcap0.8 Installation von mir, ist dann die Installation durch gelaufen ohne Gemecker.

                              Hab es durch die Suche im google gefunden, da andere ähnliche Probleme hatten.

                              Viele Grüße Charly

                              Gesendet von iPad mit Tapatalk

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

                                Ich habe heute dashbutton auf banana pi ohne ein pips installiert.

                                Jessy, node 4.6.1, npm 2.15.9, root

                                Muss nur

                                apt-get install build-essential libpcap-dev
                                

                                vor der Installation schreiben.

                                Bei mir ändert sich aber "pressed" nie sein Zustand. Switch und lastPressed gehen. Aber wofür ist "pressed"?

                                Falls jemand Probleme hat, dann ist das hoch wahrscheinlich wegen node-gyp. Wenn man node.js upgedatet hat, muss auch node-gyp upgedated werden.

                                http://www.iobroker.net/docu/?page_id=5510&lang=de

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

                                  @Bluefox:

                                  Ich habe heute dashbutton auf banana pi ohne ein pips installiert.

                                  Jessy, node 4.6.1, npm 2.15.9, root

                                  Muss nur

                                  apt-get install build-essential libpcap-dev
                                  

                                  vor der Installation schreiben.

                                  Bei mir ändert sich aber "pressed" nie sein Zustand. Switch und lastPressed gehen. Aber wofür ist "pressed"?

                                  Falls jemand Probleme hat, dann ist das hoch wahrscheinlich wegen node-gyp. Wenn man node.js upgedatet hat, muss auch node-gyp upgedated werden.

                                  http://www.iobroker.net/docu/?page_id=5510&lang=de `
                                  Hallo zusammen,

                                  Ja, mit node 4.6.1 läuft die Installation sauber durch (auf einem anderen Pi getestet) aber es heißt ja:

                                  "ioBroker benötigt zwingend nodejs. Funktionierend auf ARM-Einplatinencomputern ist die Version 0.10.22, auch wenn es schon neuere Versionen gibt, ist das im Moment die empfohlene Version. Mit anderen Versionen kann es zu Problemen kommen."

                                  Daher habe ich etwas respekt davor node zu updaten.

                                  Grüße Moses

                                  1 Reply Last reply Reply Quote 0
                                  • Homoran
                                    Homoran Global Moderator Administrators last edited by

                                    @Moses1989:

                                    "ioBroker benötigt zwingend nodejs. Funktionierend auf ARM-Einplatinencomputern ist die Version 0.10.22, auch wenn es schon neuere Versionen gibt, ist das im Moment die empfohlene Version. Mit anderen Versionen kann es zu Problemen kommen." `
                                    Diese Aussage ist etwa 2 Jahre alt und bezog sich auf die 0.11.x versionen.

                                    Wo hast du die denn noch her?

                                    Aktuell steht es hier:

                                    http://www.iobroker.net/?page_id=5106&lang=de

                                    Gruß

                                    Rainer

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

                                      Habe nun folgendes gemacht:

                                      apt-get install build-essential libpcap-dev
                                      

                                      Fehler 25

                                      danach

                                      npm explore npm -g -- npm install node-gyp@latest
                                      
                                      root@DietPi:~# npm explore npm -g -- npm install node-gyp@latest
                                      npm WARN package.json npm@2.15.9 Non-dependency in bundleDependencies: ansi-regex
                                      npm WARN package.json npm@2.15.9 Non-dependency in bundleDependencies: imurmurhash
                                      node-gyp@3.4.0 node_modules/node-gyp
                                      ├── minimatch@3.0.3 (brace-expansion@1.1.6)
                                      └── path-array@1.0.1 (array-index@1.0.0)
                                      
                                      

                                      probiere über git-taste zu installieren

                                      $ ./iobroker url "https://github.com/PArns/ioBroker.amazon-dash/tarball/master" amazon-dash
                                      install https://github.com/PArns/ioBroker.amazon-dash/tarball/master
                                      npm install https://github.com/PArns/ioBroker.amazon-dash/tarball/master --production --prefix "/opt/iobroker" (System call)
                                      npm
                                      
                                      WARN 
                                      addRemoteGit Error: not found: git
                                      npm 
                                      WARN 
                                      addRemoteGit     at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:14:12)npm WARN addRemoteGit     at F (/usr/lib/node_modules/npm/node_modules/which/which.js:69:19)
                                      npm WARN addRemoteGit     at E (/usr/lib/node_modules/npm/node_modules/which/which.js:81:29)
                                      npm WARN addRemoteGit     at /usr/lib/node_modules/npm/node_modules/which/which.js:90:16
                                      
                                      npm WARN addRemoteGit     at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5npm
                                       WARN addRemoteGit     at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5npm WARN addRemoteGit     at FSReqWrap.oncomplete (fs.js:82:15)
                                      npm 
                                      WARN addRemoteGit  git+https://github.com/mranney/node_pcap.git resetting remote /root/.npm/_git-remotes/https-github-com-mranney-node-pcap-git-72c55299 because of error: { [Error: not found: git] code: 'ENOGIT' }
                                      npm
                                       ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/mranney/node_pcap.git /root/.npm/_git-remotes/https-github-com-mranney-node-pcap-git-72c55299: undefinednpm ERR! 
                                      git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/mranney/node_pcap.git /root/.npm/_git-remotes/https-github-com-mranney-node-pcap-git-72c55299: undefined
                                      npm
                                       ERR! Linux 4.1.19-v7+npm ERR! argv
                                       "/usr/bin/nodejs" "/usr/bin/npm" "install" "https://github.com/PArns/ioBroker.amazon-dash/tarball/master" "--production" "--prefix" "/opt/iobroker"npm ERR! 
                                      node v4.6.0npm ERR! npm  v2.15.9
                                      npm ERR!
                                       code ENOGIT
                                      
                                      npm ERR! not found: gitnpm
                                       ERR! 
                                      npm ERR! Failed using git.npm ERR! This is most likely not a problem with npm itself.
                                      npm ERR! Please check if you have git installed and in your PATH.
                                      
                                      npm ERR! Please include the following file with any support request:npm ERR!     /npm-debug.log
                                      
                                      ERROR: host.DietPi Cannot install https://github.com/PArns/ioBroker.amazon-dash/tarball/master: 1
                                      ERROR: process exited with code 25
                                      
                                      

                                      Fehler 25

                                      danach habe ich mit … probiert

                                      sudo apt-get install libpcap0.8 libpcap0.8-dev libpcap-dev
                                      

                                      kommt das raus:

                                      root@DietPi:~# sudo apt-get install libpcap0.8 libpcap0.8-dev libpcap-dev
                                      Reading package lists... Done
                                      Building dependency tree
                                      Reading state information... Done
                                      libpcap-dev is already the newest version.
                                      libpcap0.8 is already the newest version.
                                      libpcap0.8 set to manually installed.
                                      libpcap0.8-dev is already the newest version.
                                      libpcap0.8-dev set to manually installed.
                                      0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
                                      root@DietPi:~# cd /opt/iobroker
                                      root@DietPi:/opt/iobroker# sudo npm install iobroker.amazon-dash
                                      npm WARN addRemoteGit Error: not found: git
                                      npm WARN addRemoteGit     at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:14:12)
                                      npm WARN addRemoteGit     at F (/usr/lib/node_modules/npm/node_modules/which/which.js:69:19)
                                      npm WARN addRemoteGit     at E (/usr/lib/node_modules/npm/node_modules/which/which.js:81:29)
                                      npm WARN addRemoteGit     at /usr/lib/node_modules/npm/node_modules/which/which.js:90:16
                                      npm WARN addRemoteGit     at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
                                      npm WARN addRemoteGit     at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
                                      npm WARN addRemoteGit     at FSReqWrap.oncomplete (fs.js:82:15)
                                      npm WARN addRemoteGit  git+https://github.com/mranney/node_pcap.git resetting remote /root/.npm/_git-remotes/https-github-com-mranney-node-pcap-git-72c55299 because of error: { [Error: not found: git] code: 'ENOGIT' }
                                      npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/mranney/node_pcap.git /root/.npm/_git-remotes/https-github-com-mranney-node-pcap-git-72c55299: undefined
                                      npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/mranney/node_pcap.git /root/.npm/_git-remotes/https-github-com-mranney-node-pcap-git-72c55299: undefined
                                      npm ERR! Linux 4.1.19-v7+
                                      npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.amazon-dash"
                                      npm ERR! node v4.6.0
                                      npm ERR! npm  v2.15.9
                                      npm ERR! code ENOGIT
                                      
                                      npm ERR! not found: git
                                      npm ERR!
                                      npm ERR! Failed using git.
                                      npm ERR! This is most likely not a problem with npm itself.
                                      npm ERR! Please check if you have git installed and in your PATH.
                                      
                                      npm ERR! Please include the following file with any support request:
                                      npm ERR!     /opt/iobroker/npm-debug.log
                                      
                                      

                                      auch

                                       npm install node-gyp -g
                                      

                                      hat nichts gebracht…

                                      Fehler 25

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

                                        sudo apt-get install git

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

                                          @Homoran:

                                          @Moses1989:

                                          "ioBroker benötigt zwingend nodejs. Funktionierend auf ARM-Einplatinencomputern ist die Version 0.10.22, auch wenn es schon neuere Versionen gibt, ist das im Moment die empfohlene Version. Mit anderen Versionen kann es zu Problemen kommen." `
                                          Diese Aussage ist etwa 2 Jahre alt und bezog sich auf die 0.11.x versionen.

                                          Wo hast du die denn noch her?

                                          Aktuell steht es hier:

                                          http://www.iobroker.net/?page_id=5106&lang=de

                                          Gruß

                                          Rainer `

                                          Hallo Rainer,

                                          Ich sehe du hast es schon auf der Homepage angepasst 🙂

                                          Jetzt steht es nur noch auf github:

                                          https://github.com/ioBroker/ioBroker/wi … ion-Teil-2

                                          Werde das Update jetzt am Wochenende mal probieren!

                                          Danke für eure hilfe!

                                          Grüße Moses

                                          1 Reply Last reply Reply Quote 0
                                          • Homoran
                                            Homoran Global Moderator Administrators last edited by

                                            @Moses1989:

                                            Ich sehe du hast es schon auf der Homepage angepasst `
                                            Und das bereits vor 1 1/2 Jahren!

                                            Wie kommst du denn noch an diese alte Seite?

                                            Auf der Titelseite des Wiki wird zum Forum verlinkt. Die Unterseiten sind auf offiziellem Weg nicht mehr aufrufbar.

                                            https://github.com/ioBroker/ioBroker/wiki

                                            Und zwar seit Februar 2015. Letzte Änderung an der Seite waren im März 2015.

                                            Gruß

                                            Rainer

                                            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

                                            756
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

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