Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Folientastatur/Keypad mit Tasmota

    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

    Folientastatur/Keypad mit Tasmota

    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      smartysmart @Wal last edited by smartysmart

      @Wal ok also mit dem fertigen Sketch ist das deutlich einfacher umzusetzen. Habe das nun auch hinbekommen.

      Kann mir jemand nur noch das Script ergänzen zwecks MQTT ? Sodass ich die Zahlen am ioBroker auslesen kann ?
      Am liebsten wäre es mir wenn ich 16 Datenpunkte anlege mit der entsprechen Nummer/Buchstabe.
      Und Je nachdem welche Taste ich drücke soll dann dieser Datenpunkt im ioBroker sich aktualisieren bzw erneut geschrieben werden das ist dann egal.

      5f7dbc97-09ac-4f0d-b5f0-5c35eef6a55f-image.png

      #include <Keypad.h>
      
      const byte ROWS = 4; //four rows
      const byte COLS = 4; //three columns
      char keys[ROWS][COLS] = {
        {'1','2','3', 'A'},
        {'4','5','6', 'B'},
        {'7','8','9', 'C'},
        {'*','0','#', 'D'}
      };
      byte rowPins[ROWS] = {5, 0, 13, 12}; //connect to the row pinouts of the keypad
      byte colPins[COLS] = {15, 14, 2, 4}; //connect to the column pinouts of the keypad
      
      Keypad keypad = Keypad( makeKeymap(keys), rowPins, colPins, ROWS, COLS );
      
      void setup(){
        Serial.begin(9600);
      }
        
      void loop(){
        char key = keypad.getKey();
        
        if (key){
          Serial.println(key);
        }
      }
      
      Wal 1 Reply Last reply Reply Quote 0
      • Wal
        Wal Developer @smartysmart last edited by Wal

        @smartysmart
        schau mal hier, müsste mit deinem Keypad funktionieren.

        S 1 Reply Last reply Reply Quote 0
        • S
          smartysmart @Wal last edited by

          @Wal ahhhhh das ist das was ich suche.

          Die Verbindung zum sonoff wurde auch aufgebaut.
          Allerdings werden die Zahlen noch nicht übermittelt obwohl im serial monitor alles gut ausschaut.

          hier werden Zahlen gesendet
          4777e85a-ab7f-4089-9e86-5e4d3530e1ef-image.png

          in iobroker sehe ich allerdings nur dass die verbindung steht. Kein Datenpunkt mit einer zahl oder so.
          1069bb81-c951-455f-ba25-27c0731af5dd-image.png

          S 1 Reply Last reply Reply Quote 0
          • S
            smartysmart @smartysmart last edited by

            Wenn ich das richtig verstehe wird hier der publish gemacht.
            Kann es sein, dass ich hier noch was anpassen muss ?

            56439103-ec89-4d76-a6f4-db925d84b9f0-image.png

            S 1 Reply Last reply Reply Quote 0
            • S
              smartysmart @smartysmart last edited by

              ok ich habs. Mit dem Sonoff Adapter geht das nicht. Mit dem Mqtt Adapter ist das perfekt 😉

              16a0bb21-5524-498b-b544-1405cfdadf41-image.png

              Wal 1 Reply Last reply Reply Quote 0
              • Wal
                Wal Developer @smartysmart last edited by

                @smartysmart sagte in Folientastatur/Keypad mit Tasmota:

                ok ich habs. Mit dem Sonoff Adapter geht das nicht. Mit dem Mqtt Adapter ist das perfekt 😉

                16a0bb21-5524-498b-b544-1405cfdadf41-image.png

                Ja, der sonoff ist nur für Tasmotageräte.

                1 Reply Last reply Reply Quote 0
                • premo
                  premo @smartysmart last edited by

                  @smartysmart sagte in Folientastatur/Keypad mit Tasmota:

                  Kannst du mir wenn du zeit hast mal das Script sagen welches du nutzt, dann mach ich es eben auch damit.

                  Matrix_4x4.ino.zip

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    smartysmart @premo last edited by

                    @premo danke

                    Gibt es ein Gehäuse für die Folientastatur zu kaufen oder macht ihr ein 3D Druck ?

                    Ralla66 1 Reply Last reply Reply Quote 0
                    • Ralla66
                      Ralla66 Most Active @smartysmart last edited by

                      @smartysmart
                      meist selber Drucken da oft in eigenen Projekten eingebunden wird.
                      3D Druck hier zB:
                      Gehäuse

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        smartysmart @Ralla66 last edited by

                        @Ralla66 Jo das hab ich auch gefunden aber das ist ja unpraktisch, weil das Ding muss ja tiefer sein, damit dahinter auch der Wemos Stromkabel und Jumper passen ...

                        Ich werd glaub ich was drucken lassen. Oder ich pack das auf eine Elektro Abzweigdose drauf und dann und Unterputz 🙂

                        R 1 Reply Last reply Reply Quote 0
                        • R
                          robert_r @smartysmart last edited by

                          Hallo, ich hab auch eine mqtt Tastatur im iobroker eingebunden. Das Senden funktioniert auch schon.
                          cec2a27a-e02d-4882-bc7a-3debc4581d3f-image.png ![alt text](image url)

                          Will nun das ganze auch noch mittels Blockly weiterverarbeiten. Wenn z.B die "1" gesendet wird soll der Sonoff vom Carport das Licht einschalten. Irgendwie schaff ich das aber nicht..

                          e0f4791a-8d17-4428-bac6-df7586ca426d-image.png

                          Im Logfile hab ich folgende Warnings:
                          b380d423-577d-4dc8-86f5-3415cbcd877f-image.png

                          Hat jemand eine Idee was ich hier falsch gemacht hab?

                          S 1 Reply Last reply Reply Quote 0
                          • S
                            smartysmart @robert_r last edited by

                            @robert_r
                            schon mal so probiert ? bei Id wählst die das keypad aus

                            b59b7315-2041-4b0c-a02d-929b15bfa99a-image.png

                            R 1 Reply Last reply Reply Quote 0
                            • R
                              robert_r @smartysmart last edited by

                              @smartysmart

                              Super, danke das war die Lösung

                              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

                              899
                              Online

                              31.9k
                              Users

                              80.1k
                              Topics

                              1.3m
                              Posts

                              folientastatur keypad tasmota
                              6
                              23
                              3294
                              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