Skip to content
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Amazon Dash Button für ioBroker nutzen

NEWS

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

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

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

Amazon Dash Button für ioBroker nutzen

Scheduled Pinned Locked Moved ioBroker Allgemein
385 Posts 86 Posters 101.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • TolkinT Online
    TolkinT Online
    Tolkin
    wrote on last edited by
    #221

    Hat jemand eine kleine Anleitung, wie sowas programmiert wird?!?

    1 Reply Last reply
    0
    • kmxakK Offline
      kmxakK Offline
      kmxak
      Most Active
      wrote on last edited by
      #222

      sowas sollte theoretisch gehen..

      ganz simpler blockly export wo du die objekte noch anpassen musst und die werte was er machen soll

      on({id: 'default', val: true}, function (obj) {
        var value = obj.state.val;
        var oldValue = obj.oldState.val;
        setStateDelayed('Object ID', true, false, parseInt(0, 10), false);
      });
      
      

      glaube der delay braucht man nicht bin aber absoluter anfänger

      Gruß Alex

      1 Reply Last reply
      0
      • Chris_71C Offline
        Chris_71C Offline
        Chris_71
        wrote on last edited by
        #223

        Hallo,

        bitte für das nächste Update als weitere MAC "18742E" aufnehmen - hab 2 Buttons deren MAC so anfängt.

        Merci

        1 Reply Last reply
        0
        • kmxakK Offline
          kmxakK Offline
          kmxak
          Most Active
          wrote on last edited by
          #224

          wie findest du die mac heraus?

          Gruß Alex

          1 Reply Last reply
          0
          • Espace0401E Offline
            Espace0401E Offline
            Espace0401
            wrote on last edited by
            #225

            @kmxak:

            wie findest du die mac heraus? `
            Im Router nachsehen!

            Iobroker in LXC-Container auf Proxmox 8 - Sicherung auf PBS - Homematic CCU2 - Netatmo Wetterstation und Thermostat

            1 Reply Last reply
            0
            • kmxakK Offline
              kmxakK Offline
              kmxak
              Most Active
              wrote on last edited by
              #226

              ok habe nun die mac aber die sieht anders aus als im code. Muss ich die convertieren oder was mache ich damit?

              Gruß Alex

              1 Reply Last reply
              0
              • BluefoxB Offline
                BluefoxB Offline
                Bluefox
                wrote on last edited by
                #227

                @kmxak:

                ok habe nun die mac aber die sieht anders aus als im code. Muss ich die convertieren oder was mache ich damit? `
                Wie sieht die Adresse aus? Poste die erste 3 Gruppen hier. AB:CD:EF:BL:AB:LA

                1 Reply Last reply
                0
                • D Offline
                  D Offline
                  Dirk18
                  wrote on last edited by
                  #228

                  Hallo,

                  habe auch 2 Dash Buttons die nicht erkannt werden.

                  Der Adapter sollte richtig installiert sein, wenn ich mein Amazon Echo neustarte wird er als Objekt eingetragen.

                  Die Mac Adressen der buttons hab ich eingetragen (eine davon, die andere war drin)

                  In der fritzbox melden sich die buttons korrekt im wlan an.

                  Was kann man noch machen?

                  Gruß Dirk

                  1 Reply Last reply
                  0
                  • HomoranH Do not disturb
                    HomoranH Do not disturb
                    Homoran
                    Global Moderator Administrators
                    wrote on last edited by
                    #229

                    @Dirk18:

                    Was kann man noch machen? `
                    Lesen, verstehen und befolgen, was im Post über deinem steht 😉

                    Gruß

                    Rainer

                    kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                    der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                    1 Reply Last reply
                    0
                    • D Offline
                      D Offline
                      Dirk18
                      wrote on last edited by
                      #230

                      Das sind die Mac Adressen.

                      FC:A6:67:

                      68:37:E9:

                      Die habe ich in die main.js eingetragen

                      Der Echo hat die FC:A6:67: der wir unter objekte angezeigt.

                      Die buttons nicht

                      1 Reply Last reply
                      0
                      • kmxakK Offline
                        kmxakK Offline
                        kmxak
                        Most Active
                        wrote on last edited by
                        #231

                        68:37:E9

                        hier meine.

                        Gruß Alex

                        1 Reply Last reply
                        0
                        • T Offline
                          T Offline
                          Tobi81
                          wrote on last edited by
                          #232

                          Hallo liebe Leute,

                          ich habe schon hin und her probiert, aber ich bekomme den Dash Adapter einfach nicht zum Laufen. 😞

                          Bei der Installation bekomme ich ein paar Warnings:

                          $ ./iobroker add amazon-dash
                          npm install iobroker.amazon-dash --production --prefix "/opt/iobroker" (System call)
                          npm
                          
                          WARN
                           lifecycle iobroker.amazon-dash@0.2.3~preinstall: cannot run in wd %s %s (wd=%s) iobroker.amazon-dash@0.2.3 apt-get install libpcap-dev -y || true /opt/iobroker/node_modules/.staging/iobroker.amazon-dash-eb5038e9
                          host.iobroker install adapter amazon-dash
                          npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.amazon-dash"
                          npm
                           WARN lifecycle iobroker.amazon-dash@0.2.3~preinstall: cannot run in wd %s %s (wd=%s) iobroker.amazon-dash@0.2.3 apt-get install libpcap-dev -y || true /opt/iobroker/node_modules/iobroker.amazon-dash
                          ../socket_watcher.cpp: In static member function ‘static void SocketWatcher::New(const Nan::FunctionCallbackInfo<v8::value>&)’:../socket_watcher.cpp:104:49: warning: ‘v8::Local <v8::object>v8::Function::NewInstance() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                               info.GetReturnValue().Set(cons->NewInstance());
                                                                           ^
                          
                          In file included from /root/.node-gyp/6.11.3/include/node/v8.h:25:0,                 from /root/.node-gyp/6.11.3/include/node/node.h:42,
                                           from ../../nan/nan.h:49,
                                           from ../socket_watcher.hpp:8,
                                           from ../socket_watcher.cpp:5:
                          /root/.node-gyp/6.11.3/include/node/v8.h:3276:52: note: declared here
                             V8_DEPRECATED("Use maybe version", Local <object>NewInstance() const);
                                                                              ^
                          /root/.node-gyp/6.11.3/include/node/v8config.h:333:3: note: in definition of macro ‘V8_DEPRECATED’
                             declarator __attribute__((deprecated(message)))
                             ^~~~~~~~~~
                          
                          ../pcap_session.cc: In static member function ‘static void PcapSession::New(const Nan::FunctionCallbackInfo<v8::value>&)’:../pcap_session.cc:46:49: warning: ‘v8::Local <v8::object>v8::Function::NewInstance() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                               info.GetReturnValue().Set(cons->NewInstance());
                                                                           ^
                          
                          In file included from /root/.node-gyp/6.11.3/include/node/v8.h:25:0,                 from /root/.node-gyp/6.11.3/include/node/node.h:42,
                                           from ../../nan/nan.h:49,
                                           from ../pcap_session.h:4,
                                           from ../pcap_session.cc:7:
                          /root/.node-gyp/6.11.3/include/node/v8.h:3276:52: note: declared here
                             V8_DEPRECATED("Use maybe version", Local <object>NewInstance() const);
                                                                              ^
                          /root/.node-gyp/6.11.3/include/node/v8config.h:333:3: note: in definition of macro ‘V8_DEPRECATED’
                             declarator __attribute__((deprecated(message)))
                             ^~~~~~~~~~
                          
                          got /opt/iobroker/node_modules/iobroker.amazon-dash/admin
                          upload [1] amazon-dash.admin /opt/iobroker/node_modules/iobroker.amazon-dash/admin/index.html index.html text/html
                          upload [0] amazon-dash.admin /opt/iobroker/node_modules/iobroker.amazon-dash/admin/amazon-dash.png amazon-dash.png image/png
                          host.iobroker object system.adapter.amazon-dash created
                          host.iobroker create instance amazon-dash
                          host.iobroker object system.adapter.amazon-dash.0.outputCount created
                          host.iobroker object system.adapter.amazon-dash.0.inputCount created
                          host.iobroker object system.adapter.amazon-dash.0.uptime created
                          host.iobroker object system.adapter.amazon-dash.0.memRss created
                          host.iobroker object system.adapter.amazon-dash.0.memHeapTotal created
                          host.iobroker object system.adapter.amazon-dash.0.memHeapUsed created
                          host.iobroker object system.adapter.amazon-dash.0.connected created
                          host.iobroker object system.adapter.amazon-dash.0.alive created
                          host.iobroker object system.adapter.amazon-dash.0 created
                          process exited with code 0
                          
                          Nach dem Hinzufügen der Instanz trage ich "wlan0" als "PCAP Interface" ein. Hatte es aber auch schon auf LEER.
                          
                          Danach sehe ich unter Objekte ein "system.adapter.amazon-dash.0":
                          
                          ![](http://ww.iobroker.com/forum/download/file.php?id=14591&t=1&sid=851bab60ee3ff2cf4a2b530571944dd1)~~![](</s><URL url=)<link_text text="http://ww.iobroker.com/forum/download/f ... 0571944dd1">http://ww.iobroker.com/forum/download/file.php?id=14591&t=1&sid=851bab60ee3ff2cf4a2b530571944dd1</link_text>" />
                          
                          Jetzt drücke ich ein paar mal auf meine beiden Dash-Buttons, aber nichts passiert. Die Macadressen stehen im Adapter in der main.js.
                          
                          Wenn ich dann in dem Objekte-Reiter auf "refresh" klicke, ist der Punkt "system.adapter.amazon-dash.0" weg. 
                          
                          Das ist doch nicht normal, oder?
                          
                          Auch müsste der Punkt anders heißen, oder?
                          
                          Hat jemand eine Idee?
                          
                          Vielen Dank,
                          
                          Tobi
                            [2992_bildschirmfoto_2017-09-13_um_21.41.34.png](/assets/uploads/files/2992_bildschirmfoto_2017-09-13_um_21.41.34.png)~~</object></v8::object></v8::value></object></v8::object></v8::value> 
                          
                          1 Reply Last reply
                          0
                          • D Offline
                            D Offline
                            DimSbg
                            wrote on last edited by
                            #233

                            Hallo Tobi,

                            das gleiche Problem hatte ich auch, nach der Installation des Adapters konnte ich zwar die Objekte kurz sehen, aber dann waren sie nach einem Refresh weg.

                            Geholfen hat mir im Endeffekt eine Neuinstallation des gesamten Systems und des iobrokers ohne root-Rechte. Ich versteh es auch noch nicht ganz, wieso, aber seitdem funktioniert mein Adapter endlich.

                            Dann gibt es noch das Problem, dass die neuen Dash-Buttons nicht vom Adapter erkannt werden. Nach einigem Debugging des Adapters hab ich jetzt rausgefunden, dass die Buttons UDP Requests versenden, der Adapter aber auf ARP Requests wartet. Ich habe die main.js meines Adapters jetzt so angepasst, dass der Button jetzt endlich erkannt wird.

                            Hat mich im Endeffekt 5 Tage immer wieder testen gekostet.

                            Gruss

                            Tim

                            1 Reply Last reply
                            0
                            • T Offline
                              T Offline
                              Tobi81
                              wrote on last edited by
                              #234

                              Hallo Tim,

                              vielen Dank für deine Antwort.

                              Ich hab jetzt auch schon mehrere Tage damit verbracht den Adapter neu zu installieren und Dinge nachzulesen und zu verstehen… Ich habe mir auch extra ein fertiges Raspberry Image mit ioBroker besorgt, weil ich gehofft habe damit solche Probleme nicht zu bekommen. 😞

                              Hat jemand noch eine Idee, oder heißt es wirklich reinstall und alles noch mal neu einrichten???

                              Danke,

                              Tobi

                              1 Reply Last reply
                              0
                              • D Offline
                                D Offline
                                DimSbg
                                wrote on last edited by
                                #235

                                Hallo Tobi,

                                Du könntest versuchen, den Adapter über die Kommandozeile zu installieren.

                                cd /opt/iobroker

                                sudo iobroker add amazon-dash

                                Wahrscheinlich bekommst Du auch die Meldung, dass Root keine Rechte auf /root/.gyp-node/… hat

                                Ggf. Hilft es Dir, die Berechtigungen für pi (other) auf 777 zu setzen und dann den Adapter ohne sudo zu installieren.

                                Gruss

                                Tim

                                1 Reply Last reply
                                0
                                • T Offline
                                  T Offline
                                  Tobi81
                                  wrote on last edited by
                                  #236

                                  Hi Tim,

                                  über

                                  sudo iobroker add amazon-dash

                                  habe ich auch schon den Adapter installiert. Da bekomme ich (durch das sudo) keine fehlenden Rechte angezeigt…

                                  Morgen kann ich mal probieren den Adapter ohne sudo und dafür mit chmod zu installieren.

                                  Danke dir schon mal. 🙂

                                  Tobi

                                  1 Reply Last reply
                                  0
                                  • HomoranH Do not disturb
                                    HomoranH Do not disturb
                                    Homoran
                                    Global Moderator Administrators
                                    wrote on last edited by
                                    #237

                                    @DimSbg:

                                    Wahrscheinlich bekommst Du auch die Meldung, dass Root keine Rechte auf /root/.gyp-node/… hat `
                                    diese Meldung ist absolut unerheblich.

                                    Wenn man dann weiterliest sieht man, dass statt dessen ein temporäres Verzeichnis angelegt wird und dort alles weiter abläuft.

                                    Gruß

                                    Rainer

                                    kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                                    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                    der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                    1 Reply Last reply
                                    0
                                    • D Offline
                                      D Offline
                                      DimSbg
                                      wrote on last edited by
                                      #238

                                      ` > diese Meldung ist absolut unerheblich.

                                      Wenn man dann weiterliest sieht man, dass statt dessen ein temporäres Verzeichnis angelegt wird und dort alles weiter abläuft.

                                      Gruß

                                      Rainer `

                                      Liest man auch anders in Foren. Meine Erfahrung seit gestern ist halt, dass ohne Adminrechte und einem wiederverwendeten node-gyp Verzeichnis mein Adapter läuft…

                                      Gruss

                                      Tim

                                      1 Reply Last reply
                                      0
                                      • HomoranH Do not disturb
                                        HomoranH Do not disturb
                                        Homoran
                                        Global Moderator Administrators
                                        wrote on last edited by
                                        #239

                                        @DimSbg:

                                        dass ohne Adminrechte … mein Adapter läuft... `
                                        Laufen müsste er auch trotz der "Fehler"meldung.

                                        Das Problem wenn man ioBroker ohne Adminrechte installiert besteht darin, dass man die ganzen Adapter, die serialport nutzen nicht verwenden kann.

                                        Außerdem kann man ioBroker (und die entsprechenden Adpter) auch als echter root installieren, dann kommen die Fehlermeldungen auch nicht.

                                        lediglich wenn man ioBroker als user pi mit sudo installiert bleibt der Besitzer "pi".

                                        Gruß

                                        Rainer

                                        kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                                        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                        1 Reply Last reply
                                        0
                                        • TolkinT Online
                                          TolkinT Online
                                          Tolkin
                                          wrote on last edited by
                                          #240

                                          @kmxak:

                                          sowas sollte theoretisch gehen..

                                          ganz simpler blockly export wo du die objekte noch anpassen musst und die werte was er machen soll

                                          on({id: 'default', val: true}, function (obj) {
                                            var value = obj.state.val;
                                            var oldValue = obj.oldState.val;
                                            setStateDelayed('Object ID', true, false, parseInt(0, 10), false);
                                          });
                                          
                                          

                                          glaube der delay braucht man nicht bin aber absoluter anfänger `

                                          Wie bekomme ich den Code unter Blockly rein? Ich kann nur die Blöcke verknüpfen?!?

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

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

                                          443

                                          Online

                                          32.4k

                                          Users

                                          81.4k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe