Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. [Vorlage] Flexible Pin-Eingabe mit Blockly

NEWS

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

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

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

[Vorlage] Flexible Pin-Eingabe mit Blockly

Geplant Angeheftet Gesperrt Verschoben Skripten / Logik
blocklytemplate
72 Beiträge 16 Kommentatoren 18.1k Aufrufe 7 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • X Offline
    X Offline
    xADDRx
    schrieb am zuletzt editiert von
    #36

    Das ist nett danke. Hast du denn hier ein Export vom view bzw. Widget , die du benutzt?

    Sonos, Intel Nuc, Iobroker Pro, Proxmox, IPad Air (Wand), Vis, Xiaomi, Devolo, Bose, Philips Hue, Instar, Synology

    1 Antwort Letzte Antwort
    0
    • rantanplanR Offline
      rantanplanR Offline
      rantanplan
      schrieb am zuletzt editiert von
      #37

      Hallo xADDRx

      Hier ist das Widget

      ! > [{"tpl":"tplHqButton","data":{"g_fixed":false,"g_visibility":false,"g_css_font_text":false,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","oid":"javascript.0.Pincode_1","min":"false","max":"true","iconName":"/icons-mfd-png/edit_numeric_1.png","btIconWidth":"56","offsetAuto":true,"leftOffset":"15","topOffset":"55","pushButton":false,"caption":"","captionOn":"","g_leftRight":true,"timeAsInterval":"true","infoLeftFontSize":"0","infoFontRightSize":"0","infoLeftPaddingLeft":"0","infoLeftPaddingRight":"0","infoRightPaddingRight":"0","descriptionLeft":"bolTaste01","g_styles":false,"signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0},"style":{"left":"471px","top":"38px","width":"64px","height":"64px"},"widgetSet":"hqwidgets"}]

      Dieses Icon habe ich da hinterlegt.
      147_beispiel.png

      Da ich noch nicht abschätzen kann, wann ich wieder an eine neue PinCode Version komme, hier eine schnelle Lösung.

      Diese Funktion in Dein PinBlockly importieren.
      147_beispiel_2.png

      Dann den Funktionsaufruf am Ende der Tastenauswertung setzen.

      (Den ID Baustein findest Du unter Trigger)
      147_beispiel_3.png

      Hier der Export der Funktion.

      ! <xml xmlns="http://www.w3.org/1999/xhtml"><block type="procedures_defnoreturn" id="|fQd%l8A#uQGYJ#)AyaI" x="613" y="87"><mutation><arg name="IDvonObjekt"></arg></mutation> <field name="NAME">setFalse</field> <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment> <statement name="STACK"><block type="control_ex" id="{gkuIu^_cuG@3:qZuORo"><field name="TYPE">true</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="OID"><shadow type="field_oid" id="E})6=AV][{.:IAZP)H7W"><field name="oid">Object ID</field></shadow> <block type="variables_get" id="i_Kmgn{!~j?xba%sy,fB"><field name="VAR">IDvonObjekt</field></block></value> <value name="VALUE"><shadow type="logic_boolean" id="UmRgg49GE*,tlBLMxAyK"><field name="BOOL">FALSE</field></shadow></value> <value name="DELAY_MS"><shadow type="math_number" id=",CHw(xo)]KFe/;3/xU7g"><field name="NUM">200</field></shadow></value> <next><block type="debug" id="a`/VmsClx`+.[!{3U09c"><field name="Severity">log</field> <value name="TEXT"><shadow type="text" id="=l.N9z;Ev9B=z0:!)_91"><field name="TEXT">***********</field></shadow></value></block></next></block></statement></block></xml> !

      Grüße

      Rantanplan

      CCU3 / MS Server 2019(VM) / Scripten mit Blockly

      1 Antwort Letzte Antwort
      0
      • X Offline
        X Offline
        xADDRx
        schrieb am zuletzt editiert von
        #38

        Hallo rantanplan,

        vielen Dank für die schnelle Hilfe.

        Merkwürdigerweise wird bei mir die Funktion "setfalse mit" unter Trigger nicht angezeigt???

        Gruß

        ben

        Sonos, Intel Nuc, Iobroker Pro, Proxmox, IPad Air (Wand), Vis, Xiaomi, Devolo, Bose, Philips Hue, Instar, Synology

        1 Antwort Letzte Antwort
        0
        • rantanplanR Offline
          rantanplanR Offline
          rantanplan
          schrieb am zuletzt editiert von
          #39

          @xADDRx:

          Merkwürdigerweise wird bei mir die Funktion "setfalse mit" unter Trigger nicht angezeigt??? `

          Das ist ja auch eine erstellte Funktion. Schau mal unter Funktionen.

          Grüße

          Rantanplan

          CCU3 / MS Server 2019(VM) / Scripten mit Blockly

          1 Antwort Letzte Antwort
          0
          • X Offline
            X Offline
            xADDRx
            schrieb am zuletzt editiert von
            #40

            ohh Gott ist das peinlich :lol: :oops:.

            Vielen Dank

            Sonos, Intel Nuc, Iobroker Pro, Proxmox, IPad Air (Wand), Vis, Xiaomi, Devolo, Bose, Philips Hue, Instar, Synology

            1 Antwort Letzte Antwort
            0
            • X Offline
              X Offline
              xADDRx
              schrieb am zuletzt editiert von
              #41

              Hallo zusammen,

              wollte nur eine Rückinfo geben. Nun funktioniert das ganze, dank rantanplan.

              Danke Nochmal.

              Gruß

              Ben

              Sonos, Intel Nuc, Iobroker Pro, Proxmox, IPad Air (Wand), Vis, Xiaomi, Devolo, Bose, Philips Hue, Instar, Synology

              1 Antwort Letzte Antwort
              0
              • rantanplanR Offline
                rantanplanR Offline
                rantanplan
                schrieb am zuletzt editiert von
                #42

                @xADDRx:

                wollte nur eine Rückinfo geben. `
                Danke für die Rückmeldung.

                Grüße

                Rantanplan

                CCU3 / MS Server 2019(VM) / Scripten mit Blockly

                1 Antwort Letzte Antwort
                0
                • P Offline
                  P Offline
                  pitje_87
                  schrieb am zuletzt editiert von
                  #43

                  Hallo zusammen,

                  ich konnte dank euch die vorangegangenen Themen umsetzen. Das mit dem Pin funktioniert auch schon, bloß dass gelegentlich die Eingabe einer Zahl (z.b. 3) eine 33 im debug ergibt. Aber meine Eigentliche Frage ist, wie kann ich den Debugtext in dem "Textfeld" über den Pin-Tasten visualisieren.

                  Ich habe bereits einen Datenpunkt vom Typ: Zeichenkette angelegt. Leider schaffe ich es nicht diese in das Blockly zu implementieren. Habt ihr eine idee?

                  LG und einen schönen Abend noch

                  1 Antwort Letzte Antwort
                  0
                  • rantanplanR Offline
                    rantanplanR Offline
                    rantanplan
                    schrieb am zuletzt editiert von
                    #44

                    @pitje_87:

                    Hallo zusammen,

                    …bloß dass gelegentlich die Eingabe einer Zahl (z.b. 3) eine 33 im debug ergibt. `
                    Nur im Debug oder auch im PinCode?
                    @pitje_87:

                    Aber meine Eigentliche Frage ist, wie kann ich den Debugtext in dem "Textfeld" über den Pin-Tasten visualisieren. `
                    Ist nicht so vorgesehen. Müsste an mehreren Stellen behandelt werden.

                    Habe ich nicht gemacht, weil eine visualisierte geheime Pineingabe, schnell nicht mehr geheim ist. ;)

                    Falls mehrere Benutzer das wünschen, kann ich das noch einbauen.

                    Grüße

                    Rantanplan

                    CCU3 / MS Server 2019(VM) / Scripten mit Blockly

                    1 Antwort Letzte Antwort
                    0
                    • P Offline
                      P Offline
                      pitje_87
                      schrieb am zuletzt editiert von
                      #45

                      @rantanplan:

                      @pitje_87:

                      Hallo zusammen,

                      …bloß dass gelegentlich die Eingabe einer Zahl (z.b. 3) eine 33 im debug ergibt. `
                      Nur im Debug oder auch im PinCode?
                      @pitje_87:

                      Aber meine Eigentliche Frage ist, wie kann ich den Debugtext in dem "Textfeld" über den Pin-Tasten visualisieren. `
                      Ist nicht so vorgesehen. Müsste an mehreren Stellen behandelt werden.

                      Habe ich nicht gemacht, weil eine visualisierte geheime Pineingabe, schnell nicht mehr geheim ist. ;)

                      Falls mehrere Benutzer das wünschen, kann ich das noch einbauen.

                      Grüße `

                      Hallo,

                      Danke für deine schnelle Rückmeldung.

                      Das mit dem Anzeigen habe ich mittlerweile selber hinbekommen. Werde aus den Zahlen dann noch * machen. Damit man weiß wieviel man eingegeben hat.

                      Das mit den doppelten Zahlen kommt sowohl im debug als auch im Pin Code. Getestet über PC und iobroker vis App, auf Android. Hängt aber nicht von der Dauer des Drückens ab.

                      Lg

                      Gesendet von meinem SM-T815 mit Tapatalk

                      1 Antwort Letzte Antwort
                      0
                      • rantanplanR Offline
                        rantanplanR Offline
                        rantanplan
                        schrieb am zuletzt editiert von
                        #46

                        @pitje_87:

                        Das mit den doppelten Zahlen kommt sowohl im debug als auch im Pin Code. Getestet über PC und iobroker vis App, auf Android. Hängt aber nicht von der Dauer des Drückens ab. `
                        Welches Widget? Vielleicht muss das "entprellt" werden.

                        Welche Version benutzt Du? Original oder die für xADDRx angepasste Version?

                        Grüße

                        Rantanplan

                        CCU3 / MS Server 2019(VM) / Scripten mit Blockly

                        1 Antwort Letzte Antwort
                        0
                        • P Offline
                          P Offline
                          pitje_87
                          schrieb am zuletzt editiert von
                          #47

                          @rantanplan:

                          @pitje_87:

                          Das mit den doppelten Zahlen kommt sowohl im debug als auch im Pin Code. Getestet über PC und iobroker vis App, auf Android. Hängt aber nicht von der Dauer des Drückens ab. `
                          Welches Widget? Vielleicht muss das "entprellt" werden.

                          Welche Version benutzt Du? Original oder die für xADDRx angepasste Version?

                          Grüße ` Folgende Umgebung

                          Vis: 1.0.4

                          Widget: hqwidget on/off mit Funktion Taster

                          LG

                          Gesendet von meinem SM-T815 mit Tapatalk

                          1 Antwort Letzte Antwort
                          0
                          • rantanplanR Offline
                            rantanplanR Offline
                            rantanplan
                            schrieb am zuletzt editiert von
                            #48

                            @pitje_87:

                            Vis: 1.0.4

                            Widget: hqwidget on/off mit Funktion Taster `
                            Ich meinte die Version vom PinCode-Blockly :)

                            Für xADDRx hatte ich hier in diesem Thread eine Änderung gepostet.

                            Wenn Du die Änderungen für xADDRx anwendest solltest Du das Taster-Häckchen

                            in dem Widget wegmachen.

                            Grüße

                            Rantanplan

                            CCU3 / MS Server 2019(VM) / Scripten mit Blockly

                            1 Antwort Letzte Antwort
                            0
                            • P Offline
                              P Offline
                              pitje_87
                              schrieb am zuletzt editiert von
                              #49

                              Guten Morgen.

                              Wie kann ich das denn herausfinden? Ich finde nichts der gleichen, was mich darauf schließen lässt.

                              Einen schönen Tag.

                              Pitje

                              Gesendet von meinem SM-T815 mit Tapatalk

                              1 Antwort Letzte Antwort
                              0
                              • P Offline
                                P Offline
                                pitje_87
                                schrieb am zuletzt editiert von
                                #50

                                Guten Abend zusammen,

                                ich habe jetzt zunächst die Taster entprellt durch zurücksetzen (false) nach dem Drücken.

                                Weiterhin wird mit die Anzahl der eingegebenen Zeichen mit einem "" im Display ausgegeben. In einem weiteren Fenster werden die Hinweistexte "** Zu viele Zeichen***" etc. angezeigt.

                                Variablen anlegen:

                                ! <xml 1999/xmlns="<URL url=" http:/www.w3.org/xhtml"="">http://www.w3.org/1999/xhtml">
                                ! <block type="create" id="k45s-D}hiCCfW)QXQ13!" x="-12" y="88"><field name="NAME">Pincode_0</field>
                                ! <statement name="STATEMENT"><block type="create" id="GzGNlOW@(Fd*)A1PQwP+"><field name="NAME">Pincode_1</field>
                                ! <statement name="STATEMENT"><block type="create" id="{KMqqs^U6+Bqefj-e)_H"><field name="NAME">Pincode_2</field>
                                ! <statement name="STATEMENT"><block type="create" id="Bh|7!TU)qCE)NLUQcUox"><field name="NAME">Pincode_3</field>
                                ! <statement name="STATEMENT"><block type="create" id="BEQkl{Dy)uxW;O)Z1eU}"><field name="NAME">Pincode_4</field>
                                ! <statement name="STATEMENT"><block type="create" id="-8S]ZFn8xy]AIG=ypi?V"><field name="NAME">Pincode_5</field>
                                ! <statement name="STATEMENT"><block type="create" id="{e%@W;N!WN6)FFuzjGt%"><field name="NAME">Pincode_6</field>
                                ! <statement name="STATEMENT"><block type="create" id="_H4%;yPLLJgS[UV9a0+s"><field name="NAME">Pincode_7</field>
                                ! <statement name="STATEMENT"><block type="create" id="V5p68}x+,Ch!)qIu?ZlA"><field name="NAME">Pincode_8</field>
                                ! <statement name="STATEMENT"><block type="create" id="e9Ue+P2Wa@=C|FOhYEX4"><field name="NAME">Pincode_9</field>
                                ! <statement name="STATEMENT"><block type="create" id="ph`rh0jzx@Y5l@uKV/-/"><field name="NAME">Pindisplay</field>
                                ! <statement name="STATEMENT"><block type="create" id="WaE!rouEnP3|~2rc48PQ"><field name="NAME">Hinweisfeld</field></block></statement></block></statement></block></statement></block></statement></block></statement></block></statement></block></statement></block></statement></block></statement></block></statement></block></statement></block></xml>
                                Blockly Script:

                                ! <xml 1999/xmlns="<URL url=" http:/www.w3.org/xhtml"="">http://www.w3.org/1999/xhtml">
                                ! <block type="procedures_defnoreturn" id="O)q*?M8Hfa5)/}O6ZsZ7" x="438" y="38"><field name="NAME">Initialisierung</field>
                                ! <comment pinned="false" h="80" w="160">Bei Programmstart Werte vorgeben.</comment>
                                ! <statement name="STACK"><block type="variables_set" id="?L69j3%sRmc}([5G2X60"><field name="VAR">AnzahlVersuche</field>
                                ! <value name="VALUE"><block type="math_number" id="t]h/PX7feEalP-;RDq_"><field name="NUM">0</field></block></value> ! <next><block type="variables_set" id="wMeGQPHU)@|vwaJP%iqr"><field name="VAR">tempCode</field> ! <value name="VALUE"></value> ! <next><block type="comment" id="_UZqDvMtW0LHk96L^T8z"><field name="COMMENT">Maximale Fehlversuche festlegen</field> ! <next><block type="variables_set" id="e663[k*hSCd%o_?sd(XA"><field name="VAR">maxVersuche</field> ! <value name="VALUE"><block type="math_number" id="{OjuYXvX(;:=T.oag~a#"><field name="NUM">3</field></block></value> ! <next><block type="comment" id="K(:;y-gihBx_:{%kJ~Oo"><field name="COMMENT">Länge der Codes festlegen</field> ! <next><block type="variables_set" id="BGt@+4h!d)Kco3]{,)V"><field name="VAR">maxCodeLaenge</field>
                                ! <value name="VALUE"><block type="math_number" id="|Wm^i:C~o0Bp7;,-yy"><field name="NUM">4</field></block></value>
                                ! <next><block type="comment" id="ZgOwwPRCnNLM~@tR?DhB"><field name="COMMENT">Liste der Codes</field>
                                ! <next><block type="comment" id="|9)F(1-)Murz[PAg@Pcz"><field name="COMMENT">Beliebig erweiterbar. Auf Länge achten!</field>
                                ! <next><block type="variables_set" id=";~}[HtK6:wa8W/1,]j2a"><field name="VAR">CodeAnwesend</field>
                                ! <value name="VALUE"><block type="text" id="/%k9:KVHUC2RVgH.:^v5"><field name="TEXT">9713</field></block></value>
                                ! <next><block type="variables_set" id=";{0Vr(56Uhr:z8CzivC"><field name="VAR">CodeAbwesend</field>
                                ! <value name="VALUE"><block type="text" id="^di=V@V!cAe+WZiLfuL%"><field name="TEXT">9713</field></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block>
                                ! <block type="comment" id=".M/Q%KRmxbXWc2P9~_MO" x="-87" y="162"><field name="COMMENT">Einmalige Initialisierung bei Programmstart</field>
                                ! <next><block type="procedures_callnoreturn" id="tjP%K@i{#i,h1Dyax-gY"><mutation name="Initialisierung"></mutation>
                                ! <next><block type="comment" id="?bXfiCYH0h;wOsNVLQT1"><field name="COMMENT">Hier beginnt das Triggern</field>
                                ! <next><block type="comment" id="Ox)}[Fr#C.VldaJS5L^k"><field name="COMMENT">Beliebig erweiterbar</field>
                                ! <next><block type="on_ext" id="7r
                                }c).]GtkEH)FR.:s."><mutation items="10"></mutation>
                                ! <field name="CONDITION">ne</field>
                                ! <value name="OID0"><shadow type="field_oid" id="qWM98DOf90FmZ?BT;~"><field name="oid">javascript.0.Pincode_1</field></shadow></value> ! <value name="OID1"><shadow type="field_oid" id="db.g;R[uTi-M|khCqfC"><field name="oid">javascript.0.Pincode_2</field></shadow></value>
                                ! <value name="OID2"><shadow type="field_oid" id="xXI+u{uUm0V4mOYK!n]j"><field name="oid">javascript.0.Pincode_3</field></shadow></value>
                                ! <value name="OID3"><shadow type="field_oid" id="L/.+Co%HVmPx|6[dkKDf"><field name="oid">javascript.0.Pincode_4</field></shadow></value>
                                ! <value name="OID4"><shadow type="field_oid" id="<EMAIL email=" yvdua@j5e.v"="">YVdua@J5e.V_U-U26+?x">
                                ! <field name="oid">javascript.0.Pincode_5</field></shadow></value>
                                ! <value name="OID5"><shadow type="field_oid" id="3p-_6#@zV#xSNcEo/hbt"><field name="oid">javascript.0.Pincode_6</field></shadow></value>
                                ! <value name="OID6"><shadow type="field_oid" id="[XON[zsvmV^USlAkKTMv"><field name="oid">javascript.0.Pincode_7</field></shadow></value>
                                ! <value name="OID7"><shadow type="field_oid" id="%{._9]MXCKmMWiwrYR}w"><field name="oid">javascript.0.Pincode_8</field></shadow></value>
                                ! <value name="OID8"><shadow type="field_oid" id="ME,JB!1D%xbAV}6ir2wG"><field name="oid">javascript.0.Pincode_9</field></shadow></value>
                                ! <value name="OID9"><shadow type="field_oid" id="raHa
                                UG!:Q]~4]zEv1,#"><field name="oid">javascript.0.Pincode_0</field></shadow></value>
                                ! <statement name="STATEMENT"><block type="comment" id="Yg;,[I7Ex=?rcz#y?kj%"><field name="COMMENT">Timer für zu lange Eingabepause stoppen</field>
                                ! <next><block type="timeouts_cleartimeout" id="#p8Sw}HSQK?cYiU:YHiK"><field name="NAME">timeout</field>
                                ! <next><block type="comment" id="?pNSp?WhqKPHT/B_pJo:"><field name="COMMENT">Nur ausführen wenn Eingabe nicht geblockt</field>
                                ! <next><block type="controls_if" id="dn-O]h-kTj)k:Hx)Xkz"><value name="IF0"><block type="logic_compare" id="aahnsRO!(k,8K;ftiGcN"><field name="OP">NEQ</field> ! <value name="A"><block type="variables_get" id="~1[*:7k/oGI/ZT1ie-F5"><field name="VAR">AnzahlVersuche</field></block></value> ! <value name="B"><block type="variables_get" id="9EtqToNOpvma_:nUc:I3"><field name="VAR">maxVersuche</field></block></value></block></value> ! <statement name="DO0"><block type="controls_if" id="53won3Q~KRaZW)3F6_["><mutation elseif="9"></mutation>
                                ! <value name="IF0"><block type="logic_compare" id="=Vuh)csdD]A:f+;xaY0c"><field name="OP">EQ</field>
                                ! <value name="A"><block type="get_value" id="73#D/?hW=+je)pXEOH]"><field name="ATTR">val</field>
                                ! <field name="OID">javascript.0.Pincode_1</field></block></value>
                                ! <value name="B"><block type="logic_boolean" id="-nBqftYopC%u~4,0#S:J"><field name="BOOL">TRUE</field></block></value></block></value>
                                ! <statement name="DO0"><block type="comment" id="iDWo7Ppf@/PIDOC3,nQg"><field name="COMMENT">Die Eingabe an Funktion übergeben</field>
                                ! <next><block type="procedures_callnoreturn" id="9ND8^RRRst6J*Tr1aF:P" inline="true"><mutation name="getCode"><arg name="TastenWert"></arg></mutation>
                                ! <value name="ARG0"><block type="text" id=";{hUhJ|FuWgRnG+Vx/"><field name="TEXT">1</field></block></value>
                                ! <next><block type="control" id="5ArdIS#b?WC|8!ZZpFYX"><mutation delay_input="false"></mutation>
                                ! <field name="OID">javascript.0.Pincode_1</field>
                                ! <field name="WITH_DELAY">FALSE</field>
                                ! <value name="VALUE"><block type="logic_boolean" id="VU=l0;
                                =Curobct^KrL6"><field name="BOOL">FALSE</field></block></value></block></next></block></next></block></statement>
                                ! <value name="IF1"><block type="logic_compare" id="7OCP}UF3YaQ|gs=RDFy"><field name="OP">EQ</field> ! <value name="A"><block type="get_value" id="NHZ%eeYxhwr?#M_(BhP/"><field name="ATTR">val</field> ! <field name="OID">javascript.0.Pincode_2</field></block></value> ! <value name="B"><block type="logic_boolean" id="*2NWW1B~r6Z2E}P%j2wg"><field name="BOOL">TRUE</field></block></value></block></value> ! <statement name="DO1"><block type="procedures_callnoreturn" id="TUEyn}|x(z36g?T63y*_" inline="true"><mutation name="getCode"><arg name="TastenWert"></arg></mutation> ! <value name="ARG0"><block type="text" id="]Rf6@?xKgplLyQ-bQP"><field name="TEXT">2</field></block></value>
                                ! <next><block type="control" id="7@xqXq
                                ZK?@Pp@Y,:@y"><mutation delay_input="false"></mutation>
                                ! <field name="OID">javascript.0.Pincode_2</field>
                                ! <field name="WITH_DELAY">FALSE</field>
                                ! <value name="VALUE"><block type="logic_boolean" id="JUEW2PLO|cGxTg8k@;4+"><field name="BOOL">FALSE</field></block></value></block></next></block></statement>
                                ! <value name="IF2"><block type="logic_compare" id="8oUmv2o%~@wjdNn_2bB}"><field name="OP">EQ</field>
                                ! <value name="A"><block type="get_value" id="D5^##Kxmy;bo1B=Nj_?"><field name="ATTR">val</field> ! <field name="OID">javascript.0.Pincode_3</field></block></value> ! <value name="B"><block type="logic_boolean" id="=+FvloDpnlxoQhQt]biY"><field name="BOOL">TRUE</field></block></value></block></value> ! <statement name="DO2"><block type="procedures_callnoreturn" id="?}Q)OGY}05Ms(#R@Kycz" inline="true"><mutation name="getCode"><arg name="TastenWert"></arg></mutation> ! <value name="ARG0"><block type="text" id=";dy%FKdEuIq;eorrIp|h"><field name="TEXT">3</field></block></value> ! <next><block type="control" id="+vtl:qmK~vj)km(70(8s"><mutation delay_input="false"></mutation> ! <field name="OID">javascript.0.Pincode_3</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="logic_boolean" id="b.*7UU]7nnm/9Wsk#zLx"><field name="BOOL">FALSE</field></block></value></block></next></block></statement> ! <value name="IF3"><block type="logic_compare" id="M!?}5Rn_=mj^E0ioez~"><field name="OP">EQ</field>
                                ! <value name="A"><block type="get_value" id="NFZ;PRG#QasQLeFww|v6"><field name="ATTR">val</field>
                                ! <field name="OID">javascript.0.Pincode_4</field></block></value>
                                ! <value name="B"><block type="logic_boolean" id="U/qSY2iu]_uz|AIY;cA"><field name="BOOL">TRUE</field></block></value></block></value> ! <statement name="DO3"><block type="procedures_callnoreturn" id="G8i%d,3Hk8Lb6pdBrmS=" inline="true"><mutation name="getCode"><arg name="TastenWert"></arg></mutation> ! <value name="ARG0"><block type="text" id="5L75L}7L;|+}rmrp~ed"><field name="TEXT">4</field></block></value>
                                ! <next><block type="control" id=";1Tyv0aIPQ,sD]2I?EX"><mutation delay_input="false"></mutation> ! <field name="OID">javascript.0.Pincode_4</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="logic_boolean" id="(TY)1%]oBki/XSRGF"><field name="BOOL">FALSE</field></block></value></block></next></block></statement>
                                ! <value name="IF4"><block type="logic_compare" id="gGdjrCEvp4|F-9!_c+0"><field name="OP">EQ</field> ! <value name="A"><block type="get_value" id="x+N2@@K^{v%b#d9D3A*C"><field name="ATTR">val</field> ! <field name="OID">javascript.0.Pincode_5</field></block></value> ! <value name="B"><block type="logic_boolean" id="e5HB-~R%#;:(zua1A#:q"><field name="BOOL">TRUE</field></block></value></block></value> ! <statement name="DO4"><block type="procedures_callnoreturn" id="|/1B/2TwZ]sg^_fCkpF[" inline="true"><mutation name="getCode"><arg name="TastenWert"></arg></mutation> ! <value name="ARG0"><block type="text" id="ijb/fyL}D^0].JEH9]-P"><field name="TEXT">5</field></block></value> ! <next><block type="control" id="w7*F~Yxs3+Boc:^/.Bvw"><mutation delay_input="false"></mutation> ! <field name="OID">javascript.0.Pincode_5</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="logic_boolean" id="g+LH3L?1bo2]k})AFCb"><field name="BOOL">FALSE</field></block></value></block></next></block></statement>
                                ! <value name="IF5"><block type="logic_compare" id="@h**sD7
                                ;Ec|/{~=VcOx"><field name="OP">EQ</field>
                                ! <value name="A"><block type="get_value" id=",9]o#s/huPstS?,abr|a"><field name="ATTR">val</field>
                                ! <field name="OID">javascript.0.Pincode_6</field></block></value>
                                ! <value name="B"><block type="logic_boolean" id="m8UgfnHC7age(^FvFt"><field name="BOOL">TRUE</field></block></value></block></value>
                                ! <statement name="DO5"><block type="procedures_callnoreturn" id="}7YRsjFgISkt2DLczOWQ" inline="true"><mutation name="getCode"><arg name="TastenWert"></arg></mutation>
                                ! <value name="ARG0"><block type="text" id="7GbS.fw03D#3Rk9dkG-I"><field name="TEXT">6</field></block></value>
                                ! <next><block type="control" id="}]!omSs+SqLO),4oTZ"><mutation delay_input="false"></mutation> ! <field name="OID">javascript.0.Pincode_6</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="logic_boolean" id="|B/M4MH[+Tp(HiO,Kmf}"><field name="BOOL">FALSE</field></block></value></block></next></block></statement> ! <value name="IF6"><block type="logic_compare" id="V4Lo]/iv6ty6Uke?gMq."><field name="OP">EQ</field> ! <value name="A"><block type="get_value" id="grF#N7VRzA68b^W*R3~_"><field name="ATTR">val</field> ! <field name="OID">javascript.0.Pincode_7</field></block></value> ! <value name="B"><block type="logic_boolean" id="/p@#.M-G]zLevwG*RKMZ"><field name="BOOL">TRUE</field></block></value></block></value> ! <statement name="DO6"><block type="procedures_callnoreturn" id="1i/}iJlM;R_tsRR:E?(=" inline="true"><mutation name="getCode"><arg name="TastenWert"></arg></mutation> ! <value name="ARG0"><block type="text" id=",(#40YoQ1@mn[1/l,~2Q"><field name="TEXT">7</field></block></value> ! <next><block type="control" id="4,(SWkv]qPa*qN0y6@JX"><mutation delay_input="false"></mutation> ! <field name="OID">javascript.0.Pincode_7</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="logic_boolean" id="i+)@hC8=V!_7L5Om_vr8"><field name="BOOL">FALSE</field></block></value></block></next></block></statement> ! <value name="IF7"><block type="logic_compare" id="./Ve:V9!LTku5eXmHq9"><field name="OP">EQ</field>
                                ! <value name="A"><block type="get_value" id="i1pJ/%w0K^p+JY,sHsq"><field name="ATTR">val</field>
                                ! <field name="OID">javascript.0.Pincode_8</field></block></value>
                                ! <value name="B"><block type="logic_boolean" id="8tl;BxmxF6vkQBHqPx8S"><field name="BOOL">TRUE</field></block></value></block></value>
                                ! <statement name="DO7"><block type="procedures_callnoreturn" id="mbo1trmU+,_m{,32Eur-" inline="true"><mutation name="getCode"><arg name="TastenWert"></arg></mutation>
                                ! <value name="ARG0"><block type="text" id="l/{bo.d],VOB8]NKMM-;"><field name="TEXT">8</field></block></value>
                                ! <next><block type="control" id="_IU#e/wxM;z
                                LIoXapSc"><mutation delay_input="false"></mutation>
                                ! <field name="OID">javascript.0.Pincode_8</field>
                                ! <field name="WITH_DELAY">FALSE</field>
                                ! <value name="VALUE"><block type="logic_boolean" id="5o[ItUtU{pey_ddb]Vo{"><field name="BOOL">FALSE</field></block></value></block></next></block></statement>
                                ! <value name="IF8"><block type="logic_compare" id="31vz^KGQys?cG5xLnor3"><field name="OP">EQ</field>
                                ! <value name="A"><block type="get_value" id="N=#YNd-l)Y7+{Hs-j7x|"><field name="ATTR">val</field>
                                ! <field name="OID">javascript.0.Pincode_9</field></block></value>
                                ! <value name="B"><block type="logic_boolean" id="0/iv=^V158w=pO:L#aW"><field name="BOOL">TRUE</field></block></value></block></value> ! <statement name="DO8"><block type="procedures_callnoreturn" id="=2@z*Bg2jZ}Q4)dL(kL[" inline="true"><mutation name="getCode"><arg name="TastenWert"></arg></mutation> ! <value name="ARG0"><block type="text" id="sA}=(*-aW(N3*9}=8Y!M"><field name="TEXT">9</field></block></value> ! <next><block type="control" id="7_XV(bU6Z{%reCxs+N@S"><mutation delay_input="false"></mutation> ! <field name="OID">javascript.0.Pincode_9</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="logic_boolean" id="c=*,6iXR==5({@v3ulN{"><field name="BOOL">FALSE</field></block></value></block></next></block></statement> ! <value name="IF9"><block type="logic_compare" id="Bac{;rIP^+Ucy8w@{M@d"><field name="OP">EQ</field> ! <value name="A"><block type="get_value" id="!JKJ(g0-UnF?h;.5owZk"><field name="ATTR">val</field> ! <field name="OID">javascript.0.Pincode_0</field></block></value> ! <value name="B"><block type="logic_boolean" id="L;tI%~Oa{Zb|e=m_sXIf"><field name="BOOL">TRUE</field></block></value></block></value> ! <statement name="DO9"><block type="procedures_callnoreturn" id="XL)%L_.!5pO%6*%j%s1g" inline="true"><mutation name="getCode"><arg name="TastenWert"></arg></mutation> ! <value name="ARG0"><block type="text" id="Eb,viCwOsMo=Qu_Nk(;S"><field name="TEXT">0</field></block></value> ! <next><block type="control" id="3vndL}cJ_CG#!A:s+7?h"><mutation delay_input="false"></mutation> ! <field name="OID">javascript.0.Pincode_0</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="logic_boolean" id="Kk7[Q2G[UHXjBU7UuBKH"><field name="BOOL">FALSE</field></block></value></block></next></block></statement></block></statement></block></next></block></next></block></next></block></statement></block></next></block></next></block></next></block></next></block> ! <block type="procedures_defnoreturn" id="t@lDFN#V:FHO31zeMUSV" x="578" y="527"><mutation><arg name="TastenWert"></arg></mutation> ! <field name="NAME">getCode</field> ! <comment pinned="false" h="80" w="160">Code pruefen</comment> ! <statement name="STACK"><block type="text_append" id="@0sNv=W?MJzk622W]Q4"><field name="VAR">tempCode</field>
                                ! <value name="TEXT"><shadow id="6q^nqw|R(+L0{n_l/Gc4" type="text"></shadow>
                                ! <block type="variables_get" id="LWMvwI0w|bcPvg-n5gGg"><field name="VAR">TastenWert</field></block></value>
                                ! <next><block type="debug" id="vjr3FKb9Vi*y+77wJTx,"><field name="Severity">log</field>
                                ! <value name="TEXT"><shadow id=".0O)AP~8_Z
                                ^cA%~Y=0o" type="text"></shadow>
                                ! <block type="text_join" id=")fGp8U0U/F=Wcs;KY/|"><mutation items="2"></mutation>
                                ! <value name="ADD0"><block type="text" id=").fVwr0of^0wi[
                                +UipI"><field name="TEXT">***Eingabe -></field></block></value>
                                ! <value name="ADD1"><block type="variables_get" id="Cw9-Bo9Tle36/K]UpAeB"><field name="VAR">tempCode</field></block></value></block></value>
                                ! <next><block type="comment" id="CX#2-}lbikX]g_bo}dG"><field name="COMMENT">Pin im Pinfeld anzeigen</field> ! <next><block type="controls_if" id="^)^=prWB6YQ8#?F8w-qB"><value name="IF0"><block type="logic_compare" id="-=)xyN+tFgK-gKy~duM8"><field name="OP">EQ</field> ! <value name="A"><block type="text_length" id="1N;.onyIaJ4)zw;Lj{sy"><value name="VALUE"><shadow id="RGYf(-7S#_3L-Ww7];" type="text"><field name="TEXT">abc</field></shadow>
                                ! <block type="variables_get" id="EJanNNr+nCGq!#Qg01Ja"><field name="VAR">tempCode</field></block></value></block></value>
                                ! <value name="B"><block type="math_number" id="_yFgE^_z%[#0!YfcCO"><field name="NUM">1</field></block></value></block></value>
                                ! <statement name="DO0"><block type="update" id="}#}]Mhr%ot
                                Vgmry7,OS"><mutation delay_input="false"></mutation>
                                ! <field name="OID">javascript.0.Pindisplay</field>
                                ! <field name="WITH_DELAY">FALSE</field>
                                ! <value name="VALUE"><block type="text" id="HF,wk/vYz=Zw5KJu}/Q}"><field name="TEXT"></field></block></value></block></statement>
                                ! <next><block type="controls_if" id="s6)LhaG?LneMFAN[=?hp"><value name="IF0"><block type="logic_compare" id="1O_a6jU}{vR
                                m^RTQ/b9"><field name="OP">EQ</field>
                                ! <value name="A"><block type="text_length" id="YYWzBrOnAp[UA26,Z[0]"><value name="VALUE"><shadow id="RGYf*(-7S#_3L-Ww7];" type="text"><field name="TEXT">abc</field></shadow> ! <block type="variables_get" id="UMZ0|8{Cs)ReA%bt2+X"><field name="VAR">tempCode</field></block></value></block></value>
                                ! <value name="B"><block type="math_number" id="H5%{pK%*X,zLS?frEz]m"><field name="NUM">2</field></block></value></block></value>
                                ! <statement name="DO0"><block type="update" id="z8z5-~}#,Q.T1-QXL%ke"><mutation delay_input="false"></mutation>
                                ! <field name="OID">javascript.0.Pindisplay</field>
                                ! <field name="WITH_DELAY">FALSE</field>
                                ! <value name="VALUE"><block type="text" id="U1e0uu+{]G(vP=dWY)r7"><field name="TEXT">
                                </field></block></value></block></statement>
                                ! <next><block type="controls_if" id="h9e;v(vwjn7Us/V1fH!"><value name="IF0"><block type="logic_compare" id="u[0~;mXARwzRY;G*4J{S"><field name="OP">EQ</field> ! <value name="A"><block type="text_length" id="jl@XkTBq/oywtUDuPV0J"><value name="VALUE"><shadow id="RGYf(-7S#_3L-Ww7];" type="text"><field name="TEXT">abc</field></shadow>
                                ! <block type="variables_get" id="d{fkjnY8sD5De!PBLQ@"><field name="VAR">tempCode</field></block></value></block></value> ! <value name="B"><block type="math_number" id="MnY}YH2|(oy^El]b?Yb1"><field name="NUM">3</field></block></value></block></value> ! <statement name="DO0"><block type="update" id=")=|5oAL}3GX5|fcr(69O"><mutation delay_input="false"></mutation> ! <field name="OID">javascript.0.Pindisplay</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="text" id="cGLmkQh?3%Hb2sC7v-DY"><field name="TEXT">***</field></block></value></block></statement> ! <next><block type="controls_if" id=":|J6d%BT={/8CvBZYVwV"><value name="IF0"><block type="logic_compare" id="MgJK6bBkXbRAEjpLXWK."><field name="OP">EQ</field> ! <value name="A"><block type="text_length" id="8C=,P5Tg19j{!Nz]38EB"><value name="VALUE"><shadow id="RGYf
                                (-7S#3L-Ww7];" type="text"><field name="TEXT">abc</field></shadow>
                                ! <block type="variables_get" id="+n)lNTH7J#0Uo8-=l82"><field name="VAR">tempCode</field></block></value></block></value> ! <value name="B"><block type="math_number" id="ArKdmks#-Sg;tK!_3SuS"><field name="NUM">4</field></block></value></block></value> ! <statement name="DO0"><block type="update" id="NRl[{[xD;D(|7~95To"><mutation delay_input="false"></mutation>
                                ! <field name="OID">javascript.0.Pindisplay</field>
                                ! <field name="WITH_DELAY">FALSE</field>
                                ! <value name="VALUE"><block type="text" id="T/{tOKOc;x(/9dJ7!r.t"><field name="TEXT">*</field></block></value></block></statement>
                                ! <next><block type="controls_if" id="n5A{||l/F/:ozsHSOg4^"><mutation elseif="1"></mutation>
                                ! <value name="IF0"><block type="logic_compare" id="T=]omffKe6S+_(UpU:6"><field name="OP">GT</field> ! <value name="A"><block type="text_length" id=";Xk,nZX;Io@ax2OT=s73"><value name="VALUE"><shadow id="RGYf
                                (-7S#3L-Ww7];" type="text"><field name="TEXT">abc</field></shadow>
                                ! <block type="variables_get" id="gapi+DOc
                                =Fi})6b
                                l7}"><field name="VAR">tempCode</field></block></value></block></value>
                                ! <value name="B"><block type="variables_get" id="j9RTTC,C]+Q)EY2SD}i"><field name="VAR">maxCodeLaenge</field></block></value></block></value> ! <statement name="DO0"><block type="comment" id="|Tgo8I~X04G[v8TB8v3"><field name="COMMENT">Zuviele Eingaben</field>
                                ! <next><block type="comment" id="+lM8)EE
                                fCon1X0.Dw="><field name="COMMENT">Eingabe löschen und Versuche hochzählen</field> ! <next><block type="debug" id="sRw2Xy,4}LO3T4q.5*yM"><field name="Severity">log</field> ! <value name="TEXT"><shadow type="text" id="+cYZRRJa1z=6hGhTLdam"><field name="TEXT">*****Zuviele Zeichen*****</field></shadow></value> ! <next><block type="comment" id="TL|;_2S2*1B3G-!!uU:J"><field name="COMMENT">Meldung im Pinfeld anzeigen</field> ! <next><block type="update" id="GOC2C{mGi~aTqiP;9C5}"><mutation delay_input="false"></mutation> ! <field name="OID">javascript.0.Pindisplay</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"></value> ! <next><block type="update" id="#OqtLfxxw=[A6uZtczAW"><mutation delay_input="false"></mutation> ! <field name="OID">javascript.0.Hinweisfeld</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="text" id="ZH!2)?ih!G@_9s)7]2Pk"><field name="TEXT">*** Zuviele Zeichen ***</field></block></value> ! <next><block type="timeouts_settimeout" id="qg*q6an]aZ*7sUvFKe:*"><field name="NAME">timeout2</field> ! <field name="DELAY">1</field> ! <field name="UNIT">sec</field> ! <statement name="STATEMENT"><block type="update" id="KwkLnL*|,hhm!2bLfNHX"><mutation delay_input="false"></mutation> ! <field name="OID">javascript.0.Hinweisfeld</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"></value></block></statement> ! <next><block type="variables_set" id="%D8buHC|kCUU1/KVJB[2"><field name="VAR">tempCode</field> ! <value name="VALUE"></value> ! <next><block type="procedures_callnoreturn" id="T/]?rq:p![ebfuT~k+i/"><mutation name="chkVersuche"></mutation></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement> ! <value name="IF1"><block type="logic_compare" id="lDJ@;/jzBi=HTRV]yYn,"><field name="OP">EQ</field> ! <value name="A"><block type="variables_get" id="*v]-iY2]3*a;Ir}hU9sM"><field name="VAR">tempCode</field></block></value> ! <value name="B"><block type="variables_get" id="FXw/|._t2rtHCxgNR}N{"><field name="VAR">CodeAnwesend</field></block></value></block></value> ! <statement name="DO1"><block type="comment" id="l(HPe4p~ikj;pvhZJME,"><field name="COMMENT">Eingabe korrekt</field> ! <next><block type="comment" id="]W5;w=NCr|pS0Jvri@V"><field name="COMMENT">Nur zu Testzwecke eine Lammpe</field>
                                ! <next><block type="control" id="Olmp]xYgxshJxPjihu}Z"><mutation delay_input="false"></mutation>
                                ! <field name="OID">hue.0.Philips_hue.Hue_Deckenlampe_Büro_EG.on</field>
                                ! <field name="WITH_DELAY">FALSE</field>
                                ! <value name="VALUE"><block type="logic_boolean" id="X~@e]v}!oR]GJo%+3Z5^"><field name="BOOL">TRUE</field></block></value>
                                ! <next><block type="debug" id="U;M412@-[mW58w:2/pDZ"><field name="Severity">log</field>
                                ! <value name="TEXT"><shadow type="text" id="/6PKtIv;asj~zH1YFWm"><field name="TEXT">*Tür öffnet</field></shadow></value>
                                ! <next><block type="variables_set" id="JsF#tPrlP((e*D(PKz;"><field name="VAR">AnzahlVersuche</field> ! <value name="VALUE"><block type="math_number" id="_#wsFg(JuzNqSyCO63UI"><field name="NUM">0</field></block></value></block></next></block></next></block></next></block></next></block></statement> ! <next><block type="timeouts_settimeout" id="*)]FG}!jqa@!^@C404zD"><field name="NAME">timeout</field> ! <field name="DELAY">2000</field> ! <field name="UNIT">ms</field> ! <statement name="STATEMENT"><block type="comment" id="@87rub*L(JD2dLo|Aef"><field name="COMMENT">Wenn in 5 Sek. keine weitere Eingabe erfolgt</field>
                                ! <next><block type="comment" id="/6Z(,/]
                                }ZhyadfHIgZ5"><field name="COMMENT">dann Eingabe löschen und Versuche hochzählen</field>
                                ! <next><block type="variables_set" id="a3yX(4)M(27nSsHd.d-
                                "><field name="VAR">tempCode</field>
                                ! <value name="VALUE"></value>
                                ! <next><block type="procedures_callnoreturn" id="Uqe6b9wNj]Sp(Zb#o#X"><mutation name="chkVersuche"></mutation> ! <next><block type="update" id="4deaz]R}xStru+WCcrf_"><mutation delay_input="false"></mutation> ! <field name="OID">javascript.0.Pindisplay</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"></value> ! <next><block type="debug" id="k/0,htM4ZugsatRTTb{P"><field name="Severity">log</field> ! <value name="TEXT"><shadow type="text" id="+|?-9g}jSF9S,b*w;j/B"><field name="TEXT">Code gelöscht - Timeout</field></shadow></value> ! <next><block type="debug" id="G@,:7MZkgn{w=nxmS(ap"><field name="Severity">log</field> ! <value name="TEXT"><shadow id=".0O)AP~8_Z_^cA%~Y=0o" type="text"></shadow> ! <block type="text_join" id="_(_Qv|P.P([wC7Q}9Td%"><mutation items="2"></mutation> ! <value name="ADD0"><block type="text" id="gcq:vlFz__^qOq1q)IN3"><field name="TEXT">tempcode:</field></block></value> ! <value name="ADD1"><block type="variables_get" id="0ezwdtmS3*2gTRSqs~e"><field name="VAR">tempCode</field></block></value></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block>
                                ! <block type="procedures_defnoreturn" id="c,ULx]X]~F-z^(
                                +{6vr" x="-38" y="1938"><field name="NAME">chkVersuche</field>
                                ! <comment pinned="false" h="80" w="160">Fehlerhafte Eingaben zählen und Eingabe sperren wenn maxVersuche erreicht.</comment>
                                ! <statement name="STACK"><block type="math_change" id="+bbjB}N7U3vkk:@%?[V"><field name="VAR">AnzahlVersuche</field> ! <value name="DELTA"><shadow type="math_number" id="P!Tq!OVi/*(ehXZb]uC8"><field name="NUM">1</field></shadow></value> ! <next><block type="controls_if" id="V6AzqIh:%+F@oh[M-IQ{"><value name="IF0"><block type="logic_compare" id="!CYyilZ1svbcZ]Yf=BXd"><field name="OP">EQ</field> ! <value name="A"><block type="variables_get" id="@Zmti,3QUsDg5gTF6tjC"><field name="VAR">AnzahlVersuche</field></block></value> ! <value name="B"><block type="variables_get" id="x=cs)@yt;A6[ua*T5FE|"><field name="VAR">maxVersuche</field></block></value></block></value> ! <statement name="DO0"><block type="debug" id="[d~Z|qEH+C4%5%A*xBTT"><field name="Severity">log</field> ! <value name="TEXT"><shadow type="text" id="v.9ViGY:H4?EbA+fzjKV"><field name="TEXT">*****Eingabe gesperrt*****</field></shadow></value> ! <next><block type="update" id="@x0X6!U3?yVUdMNd7h|{"><mutation delay_input="false"></mutation> ! <field name="OID">javascript.0.Hinweisfeld</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="text" id="pk*J^i-+f2m/t+[zOM_J"><field name="TEXT">*****Eingabe gesperrt*****</field></block></value> ! <next><block type="timeouts_settimeout" id="(l|4)g2/(/@5-swvVF@2"><field name="NAME">sperren</field> ! <field name="DELAY">10</field> ! <field name="UNIT">sec</field> ! <statement name="STATEMENT"><block type="comment" id="U22mj9gD,9P)FU@4%{K~"><field name="COMMENT">Nach 10 Sek. wieder frei</field> ! <next><block type="variables_set" id="d)*rJF_51+C|Z3NMW9N+"><field name="VAR">AnzahlVersuche</field> ! <value name="VALUE"><block type="math_number" id="^)c6!p[y)V0zk(9oMl16"><field name="NUM">0</field></block></value> ! <next><block type="debug" id="SOZMoZ)Os7:]]y=T3yE"><field name="Severity">log</field>
                                ! <value name="TEXT"><shadow type="text" id="5.ubt?0E+m)aiIY`J``U"><field name="TEXT">Eingabe entsperrt</field></shadow></value>
                                ! <next><block type="update" id="n?/Wqp|%{T0nwPvf?%:T"><mutation delay_input="false"></mutation>
                                ! <field name="OID">javascript.0.Hinweisfeld</field>
                                ! <field name="WITH_DELAY">FALSE</field>
                                ! <value name="VALUE"><block type="text" id="GB9SLzcriiU0SdyEUpNs"><field name="TEXT">Entsperrt</field></block></value>
                                ! <next><block type="timeouts_settimeout" id="nW]9op/Y^v#^H{[:+.Bx"><field name="NAME">timeout3</field>
                                ! <field name="DELAY">2</field>
                                ! <field name="UNIT">sec</field>
                                ! <statement name="STATEMENT"><block type="update" id="]Lw{SdcV7|#^hS9vin^R"><mutation delay_input="false"></mutation>
                                ! <field name="OID">javascript.0.Hinweisfeld</field>
                                ! <field name="WITH_DELAY">FALSE</field>
                                ! <value name="VALUE"></value>
                                ! <next><block type="debug" id="aM7XM-wZ2Q3PGi0l^=Kf"><field name="Severity">log</field>
                                ! <value name="TEXT"><shadow type="text" id="woQna6mN}m=s%tKD]TQ."><field name="TEXT">Eingabe entsperrt ausgeblendet</field></shadow></value></block></next></block></statement></block></next></block></next></block></next></block></next></block></statement></block></next></block></next></block></statement></block></next></block></statement></block></xml>

                                Jetzt versuche ich doch die "Enter- und Löschentaste" zu integrieren.

                                LG

                                1 Antwort Letzte Antwort
                                0
                                • P Offline
                                  P Offline
                                  pitje_87
                                  schrieb am zuletzt editiert von
                                  #51

                                  Hey,

                                  ich habe nochmal eine Frage zur Zeitsperre.

                                  Nach zu vielen Fehleingaben wird ja die Eingabe für 10sek gesperrt. Jetzt wollte ich für diese Zeit eine Fehlermeldung anzeigen lassen. Diese wird aber nach kurzer Anzeige sofort wieder gelöscht. Leider kann ich mir nicht erklären wiso. Die Meldung "Entsperrt" bleibt wie gewollt für 2sek stehen und wird durch "" wieder ausgeblendet.

                                  Hier das Blockly:
                                  5597_chkversuche.jpg

                                  Danke und

                                  LG

                                  1 Antwort Letzte Antwort
                                  0
                                  • A Offline
                                    A Offline
                                    anubiss1337
                                    schrieb am zuletzt editiert von
                                    #52

                                    moin,

                                    kleines Problemchen.

                                    Möchte dieses Skript mit meinem 6fach Taster bedienen. Jetzt ist dass sodass der Wert immer auf true steht und sich nur aktualisiert wenn man die jeweilige Taste drückt. Dementsprechend bekommt man keine Eingabe hin… (kurze Erklärung)

                                    Versteht Ihr mein Problem? :oops:

                                    Wahrscheinlich ist die Lösung zu Simpel, dass ich sie finde.
                                    2134_1.jpg
                                    2134_2.jpg

                                    1 Antwort Letzte Antwort
                                    0
                                    • E Offline
                                      E Offline
                                      el-lutschi
                                      schrieb am zuletzt editiert von
                                      #53

                                      Über eine Vorlage für den HM 6fach Taster würde ich mich auch sehr freuen!

                                      1 Antwort Letzte Antwort
                                      0
                                      • rantanplanR Offline
                                        rantanplanR Offline
                                        rantanplan
                                        schrieb am zuletzt editiert von
                                        #54

                                        Hallo anubiss1337

                                        Ist recht einfach zu lösen.

                                        Habe mein Beispiel auch um den Wandtaster erweitert.

                                        Aus zeitlichen Gründen aber noch nicht hier eingestellt.

                                        Auf die Schnelle nur ein Screenshot.
                                        147_beispiel.png

                                        Ich hoffe es ist verständlich.

                                        Grüße

                                        Rantanplan

                                        CCU3 / MS Server 2019(VM) / Scripten mit Blockly

                                        1 Antwort Letzte Antwort
                                        0
                                        • A Offline
                                          A Offline
                                          anubiss1337
                                          schrieb am zuletzt editiert von
                                          #55

                                          Sorry aber ganz verstehe ich dass nicht. Habs aber eingefügt und getestet leider ohne erfolg.

                                          Hab ich das richtig umgesetzt? Komischerweise macht er jetzt nichts mehr…
                                          2134_3.jpg

                                          1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          357

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe