Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Wie GPOI-Ausgang mit Blockly "blinken" lassen ?

    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

    Wie GPOI-Ausgang mit Blockly "blinken" lassen ?

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

      Hallo,

      ich mühe mich verzweifelt damit ab, einen GPOI-Ausgang mit Blockly zum blinken (zyklisches ein- und ausschalten) zu bringen, wenn ein GPIO-Eingang "wahr" ist.

      Vermutlich sehe ich den Wald vor lauter Bäumen nicht und es mal wieder rel. einfach.

      Hat jemand eine Tip für mich ?

      LG

      emblitz

      1 Reply Last reply Reply Quote 0
      • E
        emblitz last edited by

        Hallo,

        hat jemand ein Tip für mich ?

        LG

        emblitz

        1 Reply Last reply Reply Quote 0
        • K
          knopers1 last edited by

          importiere das hier: Beim Zähler kannst Du die Zahl eigeben, wieviel es blinken soll.

              <xml xmlns="http://www.w3.org/1999/xhtml"><block type="comment" id="#{k%e[{to01DQ.Uo`hMC" x="37" y="-62"><field name="COMMENT">Initialisierung bei Scriptstart</field>
                  <next><block type="variables_set" id="cY|8twokXAk|tCx5`2]m"><field name="VAR">zaehler</field>
                      <value name="VALUE"><block type="math_number" id="~hs.|8i{sszJUGJb!~Sg"><field name="NUM">0</field></block></value> 
                      <next><block type="variables_set" id="(=M+`iT3_#LPC4PRUFOj"><field name="VAR">TimerOn</field>
                          <value name="VALUE"><block type="logic_boolean" id="LN,C1@WJ`T0|UKvUNmWB"><field name="BOOL">FALSE</field></block></value> 
                          <next><block type="comment" id="Bvitj`3,WuzK:vgIZwr{"><field name="COMMENT">Triggern</field>
                              <next><block type="on" id=";q/.LTbkOqHb5{2bWJS8"><field name="OID">Object ID</field>
                                  <field name="CONDITION">true</field>
          
                                  <statement name="STATEMENT"><block type="controls_if" id="/:PVKStC^F(xsisHri7k"><value name="IF0"><block type="logic_compare" id="?I-0QT~eAMMB6h.@06o4"><field name="OP">EQ</field>
                                          <value name="A"><block type="variables_get" id="6Vye,dz+3CM#t#}Q,9MG"><field name="VAR">TimerOn</field></block></value> 
                                          <value name="B"><block type="logic_boolean" id="]D},%3E65Tf%jDYJC3!x"><field name="BOOL">FALSE</field></block></value></block></value> 
                                      <statement name="DO0"><block type="comment" id=";dB-iJCvrFX#Nti|VduR"><field name="COMMENT">Intervall starten</field>
                                          <next><block type="variables_set" id="XMkaY]a71BOr=x[%kJPo"><field name="VAR">TimerOn</field>
                                              <value name="VALUE"><block type="logic_boolean" id="R?wJI^Ea|BLUFdk[?`PB"><field name="BOOL">TRUE</field></block></value> 
                                              <next><block type="timeouts_setinterval" id="HWQqXWP|VsT+Fz*Ab+|@"><field name="NAME">Intervall</field>
                                                  <field name="INTERVAL">1000</field>
                                                  <field name="UNIT">ms</field>
                                                  <statement name="STATEMENT"><block type="comment" id="h4gP}9C#%.[%2y=kbF`]"><field name="COMMENT">10x blinken</field>
                                                      <next><block type="math_change" id="DoL@{K#@7,~o##`!l^+}"><field name="VAR">zaehler</field>
                                                          <value name="DELTA"><shadow type="math_number" id="dCStYpx.|_{]0akWy}lp"><field name="NUM">1</field></shadow></value> 
                                                          <next><block type="controls_if" id="*qr+b2)!djax20P_:#t."><mutation else="1"></mutation>
                                                              <value name="IF0"><block type="logic_compare" id="JH[#Spr1hlZ;6jM5pQt."><field name="OP">GT</field>
                                                                  <value name="A"><block type="variables_get" id="/9-D?8rl),9h^`HKdVP("><field name="VAR">zaehler</field></block></value> 
                                                                  <value name="B"><block type="math_number" id=")3MuM(dan%|N6VLx(D4~"><field name="NUM">10</field></block></value></block></value> 
                                                              <statement name="DO0"><block type="variables_set" id=",NvX2rG]TWUe?lDK#7?f"><field name="VAR">zaehler</field>
                                                                  <value name="VALUE"><block type="math_number" id="J12u.l:9VqNV+A@%LrH8"><field name="NUM">0</field></block></value> 
                                                                  <next><block type="variables_set" id="FAv+kZB=iiO_HMV2ADXi"><field name="VAR">TimerOn</field>
                                                                      <value name="VALUE"><block type="logic_boolean" id=",}mPhyQ=*S=vmo1n!w`k"><field name="BOOL">FALSE</field></block></value> 
                                                                      <next><block type="timeouts_clearinterval" id="H-qSL3prj3YmbW5`kn+w"><field name="NAME">Intervall</field></block></next></block></next></block></statement> 
                                                              <statement name="ELSE"><block type="comment" id="4?c%{LmnK7`}3VRAc2]3"><field name="COMMENT">einschalten</field>
                                                                  <next><block type="control" id="jU:X1l:_T?rouW=h+vHA"><mutation delay_input="false"></mutation>
                                                                      <field name="OID">Object ID</field>
                                                                      <field name="WITH_DELAY">FALSE</field>
                                                                      <value name="VALUE"><block type="logic_boolean" id="J!]au?B|bA]l@C;DG/2o"><field name="BOOL">TRUE</field></block></value> 
                                                                      <next><block type="comment" id="0Sqs}3}^}Mm%Zd14!hn="><field name="COMMENT">ausschalten</field>
                                                                          <next><block type="comment" id="PL12o02P`Tl7~17/(1*`"><field name="COMMENT">Verzögerung kleiner Intervall Zeit!!!</field>
                                                                              <next><block type="control" id="8gj)ckTtkjj+p.K8t|T_"><mutation delay_input="true"></mutation>
                                                                                  <field name="OID">Object ID</field>
                                                                                  <field name="WITH_DELAY">TRUE</field>
                                                                                  <field name="DELAY_MS">500</field>
                                                                                  <field name="UNIT">ms</field>
                                                                                  <field name="CLEAR_RUNNING">FALSE</field>
                                                                                  <value name="VALUE"><block type="logic_boolean" id="SQ}g@Kp`vB:S*^TU%ze3"><field name="BOOL">FALSE</field></block></value></block></next></block></next></block></next></block></next></block></statement></block></next></block></next></block></statement></block></next></block></next></block></statement></block></statement></block></next></block></next></block></next></block></next></block></xml> 
          
          
          1 Reply Last reply Reply Quote 0
          • E
            emblitz last edited by

            Vielen Dank für Deine Hilfe und Mühe!

            Es funktioniert.

            Ich hätte jedoch nicht gedacht, dass solcher Aufwand notwendig ist.

            Trotzdem super.

            LG

            emblitz

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            Support us

            ioBroker
            Community Adapters
            Donate

            859
            Online

            31.7k
            Users

            79.8k
            Topics

            1.3m
            Posts

            2
            4
            822
            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