Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [HowTo] Amazon Dash Button install

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [HowTo] Amazon Dash Button install

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

      kurz und pregnant,getestet mit raspi und pine 64:

      sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get autoremove && sudo apt-get autoclean
      sudo apt-get remove libpcap0.8 -y
      sudo apt-get install -y build-essential libpcap-dev git -y
      sudo npm install node-gyp -g
      
      

      und dann über den + im Admin installieren!

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

        Bekomme leider mit der Anleitung oben immer noch folgende Meldungen beim Starten des Adapters:

        host-lemaker	2016-10-24 10:23:07.816	error	instance system.adapter.amazon-dash.0 terminated with code 0 (OK)
        Error:	2016-10-24 10:23:07.120	error	at Module.load (module.js:356:32)
        Error:	2016-10-24 10:23:07.120	error	at Object.Module._extensions..js (module.js:442:10)
        Error:	2016-10-24 10:23:07.120	error	at Module._compile (module.js:435:26)
        Error:	2016-10-24 10:23:07.120	error	at Object. (/opt/iobroker/node_modules/iobroker.amazon-dash/node_modules/pcap/pcap.js:3:21)
        Error:	2016-10-24 10:23:07.120	error	at require (module.js:385:17)
        Error:	2016-10-24 10:23:07.120	error	at Module.require (module.js:366:17)
        Error:	2016-10-24 10:23:07.120	error	at Function.Module._load (module.js:311:12)
        Error:	2016-10-24 10:23:07.120	error	at Module.load (module.js:356:32)
        Error:	2016-10-24 10:23:07.120	error	at Object.Module._extensions..node (module.js:460:18)
        Error:	2016-10-24 10:23:07.120	error	at Error (native)
        Error:	2016-10-24 10:23:07.120	error	libpcap.so.0.8: cannot open shared object file: No such file or directory
        uncaught	2016-10-24 10:23:07.027	error	exception: libpcap.so.0.8: cannot open shared object file: No such file or directory
        

        Gruß

        Holger

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

          da steht doch:

          host-lemaker   2016-10-24 10:23:07.816   error   instance system.adapter.amazon-dash.0 terminated with code 0 (OK)
          

          ist es wirklich nicht da?

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

            Befindet sich aber irgendwie in einer Dauer-Boot-Schleife:

            lemaker 2016-10-24 10:36:13.520 info host.lemaker Restart adapter system.adapter.amazon-dash.0 because enabled

            lemaker 2016-10-24 10:36:13.518 error host.lemaker instance system.adapter.amazon-dash.0 terminated with code 0 (OK)

            Gruß

            Holger

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

              Reboot des Systems gemacht?

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

                Ja.

                Aber vielleicht liegt es auch an der Historie:

                Ich hatte den Adapter mal mit einer node v 0.10xx zum Laufen bekommen. Die alte node Version führt aber früher oder später zum Crash auf dem Banana (controller Prozess läuft über). Habe dann wieder auf die V 4.6.1 geupdatet. Habe das Problem auch nur mit dem Dash Adapter.

                Gruß

                Holger

                1 Reply Last reply Reply Quote 0
                • P
                  pix last edited by

                  Hat jemand ein HowTo, wie ich libcap komfortabel auf Mac OS installiere?

                  Beim letzten Versuch, halbwegs manuell, habe ich mir den Server zerschossen.

                  Jetzt rappelt er sich langsam wieder. Aber fast 24h Ausfall WAF-technisch kaum zu erklären. :shock:

                  Gruß

                  Pix

                  1 Reply Last reply Reply Quote 0
                  • R
                    rascal last edited by

                    hey,

                    Fehler beim update heute:

                    $ ./iobroker upgrade amazon-dash
                    npm install iobroker.amazon-dash --production --prefix "/opt/iobroker" (System call)
                    npm
                     http GET https://registry.npmjs.org/iobroker.amazon-dash
                    npm http 200 https://registry.npmjs.org/iobroker.amazon-dash
                    npm http GET
                     https://registry.npmjs.org/iobroker.amazon-dash/-/iobroker.amazon-dash-0.1.0.tgz
                    npm http 200 https://registry.npmjs.org/iobroker.amazon-dash/-/iobroker.amazon-dash-0.1.0.tgz
                    npm
                    
                    http 
                    GET https://github.com/mranney/node_pcap/tarball/master
                    npm http 200
                     https://github.com/mranney/node_pcap/tarball/master
                    npm 
                    http 
                    GET https://registry.npmjs.org/socketwatcher
                    npm http GET https://registry.npmjs.org/nan
                    npm http
                     200 https://registry.npmjs.org/nan
                    npm http 200 https://registry.npmjs.org/socketwatcher
                    npm http GET https://registry.npmjs.org/socketwatcher/-/socketwatcher-0.3.0.tgz
                    npm http 200 https://registry.npmjs.org/socketwatcher/-/socketwatcher-0.3.0.tgz
                    npm 
                    WARN engine socketwatcher@0.3.0: wanted: {"node":">=4"} (current: {"node":"v0.10.33","npm":"1.4.9"})
                    ../pcap_binding.cc:2:23: fatal error: pcap/pcap.h: Datei oder Verzeichnis nicht gefundencompilation terminated.
                    
                    make: *** [Release/obj.target/pcap_binding/pcap_binding.o] Fehler 1
                    gyp
                     ERR! build error 
                    gyp ERR!
                     stack Error: `make` failed with exit code: 2gyp ERR! 
                    stack     at ChildProcess.onExit (/usr/local/node_modules/node-gyp/lib/build.js:267:23)gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
                    gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:810:12)
                    gyp
                     ERR! System Linux 4.4.0-45-genericgyp ERR! command "node" "/usr/local/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 v0.10.33
                    gyp ERR! node-gyp -v v0.13.0
                    
                    gyp ERR! not ok 
                    npm ERR! pcap@2.0.0 install: `node-gyp rebuild`
                    npm ERR! Exit status 1npm ERR! 
                    npm ERR! Failed at the pcap@2.0.0 install script.
                    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 their info via:npm
                     ERR!
                         npm owner ls pcapnpm
                     ERR!
                     There is likely additional logging output above.
                    
                    npm ERR! System Linux 4.4.0-45-genericnpm ERR!
                     command "node" "/usr/local/bin/node_modules/npm/bin/npm-cli.js" "install" "iobroker.amazon-dash" "--production" "--prefix" "/opt/iobroker"npm
                    
                    ERR!
                     cwd
                     /
                    npm
                    
                    ERR!
                     node -v v0.10.33npm 
                    ERR!
                     npm -v 1.4.9npm ERR! code ELIFECYCLE
                    
                    npm ERR!
                     npm ERR! Additional logging details can be found in:
                    npm ERR!     /npm-debug.log
                    npm ERR! not ok code 0
                    
                    ERROR: host.Mastermind Cannot install iobroker.amazon-da
                    
                    1 Reply Last reply Reply Quote 0
                    • H
                      holgerwolf last edited by

                      Hallo,

                      ich habe beim Googeln diese Anleitung gefunden:

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

                      Hier nochmal jeden Punkt einzeln durchgegangen und jetzt klappt es. Lag wohl an den Rechten..

                      Warum aber nur der Adapter die Probleme hatte?

                      Danke und Gruß

                      Holger

                      1 Reply Last reply Reply Quote 0
                      • R
                        rascal last edited by

                        hey,

                        danke, habe die Anleitung befolgt und es hat funktioniert. Musste danach meinen Server neu starten und bekam dann beim dash Adapter wieder Fehler:

                        host-Mastermind	2016-10-27 19:08:56.043	info	Restart adapter system.adapter.amazon-dash.0 because enabled
                        host-Mastermind	2016-10-27 19:08:56.042	error	instance system.adapter.amazon-dash.0 terminated with code 0 (OK)
                        amazon-dash-0	2016-10-27 19:08:56.033	info	terminating
                        amazon-dash-0	2016-10-27 19:08:55.673	info	starting. Version 0.1.0 in /opt/iobroker/node_modules/iobroker.amazon-dash
                        host-	2016-10-27 19:08:55.650	info	States connected to redis 127.0.0.1:6379
                        Error:	2016-10-27 19:08:55.528	error	at Module.load (module.js:343:32)
                        Error:	2016-10-27 19:08:55.528	error	at Object.Module._extensions..js (module.js:416:10)
                        Error:	2016-10-27 19:08:55.528	error	at Module._compile (module.js:409:26)
                        Error:	2016-10-27 19:08:55.528	error	at Object. (/opt/iobroker/node_modules/iobroker.amazon-dash/node_modules/pcap/pcap.js:3:21)
                        Error:	2016-10-27 19:08:55.528	error	at require (internal/module.js:12:17)
                        Error:	2016-10-27 19:08:55.528	error	at Module.require (module.js:353:17)
                        Error:	2016-10-27 19:08:55.528	error	at Function.Module._load (module.js:300:12)
                        Error:	2016-10-27 19:08:55.528	error	at Module.load (module.js:343:32)
                        Error:	2016-10-27 19:08:55.528	error	at Object.Module._extensions..node (module.js:434:18)
                        Error:	2016-10-27 19:08:55.528	error	at Error (native)
                        Error:	2016-10-27 19:08:55.528	error	Module did not self-register.
                        uncaught	2016-10-27 19:08:55.518	error	exception: Module did not self-register.
                        host-Mastermind	2016-10-27 19:08:54.720	info	instance system.adapter.amazon-dash.0 started with pid 2326
                        host-Mastermind	2016-10-27 19:08:24.711	info	Restart adapter system.adapter.amazon-dash.0 because enabled
                        
                        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

                        787
                        Online

                        31.7k
                        Users

                        79.8k
                        Topics

                        1.3m
                        Posts

                        4
                        10
                        4582
                        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