Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. schroed99

    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

    • Profile
    • Following 1
    • Followers 0
    • Topics 5
    • Posts 40
    • Best 2
    • Groups 1

    schroed99

    @schroed99

    2
    Reputation
    12
    Profile views
    40
    Posts
    0
    Followers
    1
    Following
    Joined Last Online
    Location Oberwiera Age 48

    schroed99 Follow
    Starter

    Best posts made by schroed99

    • RE: Alexa2.0-Adapter, Amazon Cookie, funktioniert nicht mehr

      @djmarc75 👍 Hi DJMarc75, vielen Dank für den hilfreichen Tipp! Da ich bereits SMS-Benachrichtigungen von Amazon erhalten habe, bin ich davon ausgegangen, dass dies bereits die Multi-Factor Authentication oder Zwei-Schritt-Verifizierung gewesen sei und ich dahingehend nicht weiter geschaut habe. Nachdem ich nun die Zwei-Schritt-Verifizierung (wirklich) im Amazon-Konto konfiguriert habe, hat es dann geklappt.

      Vielen Dank 🙂

      62c5945f-53ef-465a-9ff0-058ce188616d-image.png Zwei-Schritt-Verifizierung

      posted in ioBroker Allgemein
      schroed99
      schroed99
    • RE: [neuer Adapter] smartgarden adapter for Gardena smart system

      @happyuser20 Ja, die V1 muss unbedingt weggelassen werden. Das fügt der Skript automatisch hinzu.

      posted in Tester
      schroed99
      schroed99

    Latest posts made by schroed99

    • RE: Alexa2.0-Adapter, Amazon Cookie, funktioniert nicht mehr

      @djmarc75 👍 Hi DJMarc75, vielen Dank für den hilfreichen Tipp! Da ich bereits SMS-Benachrichtigungen von Amazon erhalten habe, bin ich davon ausgegangen, dass dies bereits die Multi-Factor Authentication oder Zwei-Schritt-Verifizierung gewesen sei und ich dahingehend nicht weiter geschaut habe. Nachdem ich nun die Zwei-Schritt-Verifizierung (wirklich) im Amazon-Konto konfiguriert habe, hat es dann geklappt.

      Vielen Dank 🙂

      62c5945f-53ef-465a-9ff0-058ce188616d-image.png Zwei-Schritt-Verifizierung

      posted in ioBroker Allgemein
      schroed99
      schroed99
    • Alexa2.0-Adapter, Amazon Cookie, funktioniert nicht mehr

      Hallo liebe Community,

      nachdem ich gestern meinen ioBroker neu installiert und meine Adapter soweit wieder eingerichtet habe, wollte ich heute den Alexa2.0-Adapter einrichten.

      94634503-49c0-4ff5-bdcb-76fe21750f34-image.png

      Leider stellte sich heraus, dass dieser aus irgendeinem unerklärlichen Grund nicht funktioniert bzw. ich keine Cookies mehr holen kann.

      Wenn ich über den Anmeldebutton "Bitte den folgenden Link zur einmaligen Anmeldung im Amazon-Konto nutzen..." klicke und mich dort mit meinen Anmeldedaten authentifiziere, erhalte ich die SMS von Amazon. Doch nachdem es mir gelungen ist, den Code einzugeben (das Eingabefeld aktualisiert sich sehr schnell), erscheint eine Fehlerseite von Amazon (404) mit einem Bild eines Hundes, und es geht nicht weiter.

      ad89353e-21c3-45c7-8646-63d18bb71190-image.png
      Gibt es vielleicht einen anderen Weg, die Cookies einzutragen?

      Diesen Fehler habe ich im Log: Error: Please open http://192.168.xxx.xxx:44731/ with your browser and login to Amazon. The cookie will be output here after successful login.

      Mein Alexa2.0-Adapter ist in der Version v3.26.5 installiert.

      NPM: 10.8.2
      Node.js: v20.17.0
      Raspberry Pi 4 mit "Bookworm"

      Vielen Dank für weitere Hinweise.

      Gruß
      Schroed99

      536388aa-3a48-4223-9085-079a30bbddc9-image.png 95df1b63-c394-408a-b4d2-903e17286897-image.png

      posted in ioBroker Allgemein
      schroed99
      schroed99
    • RE: Angebot für Reparatur des "C26-Problems"

      Guten Abend,
      mir wurde von einem anderen Nutzer geraten, meine Frage hier zu stellen. Anscheinend war die Frage in dem anderen Beitrag nicht optimal platziert.
      Nun gut, ich habe eine Gosund SP1 Steckdose mit einem offensichtlichen Defekt (durchgebrannt). Jetzt frage ich mich, ob es wirtschaftlich sinnvoll ist, diese Steckdose zu reparieren. Leider kenne ich mich mit Elektronik wenig aus. Dennoch bin ich durchaus in der Lage, einen Lötkolben zu bedienen und tue dies auch 🙂 Egal, ob mir jemand sagen könnte, wo und welche Bezeichnung ich kaufen müsste, um die Steckdose zu reparieren. Mein laienhafter Verstand sagt mir, dass die C15 und C20 ausgetauscht werden müssten.

      GosundSP1_Defekt02.png GosundSP1_Defekt01.png
      Vielen Dank für die Unterstützung.

      Viele Grüße Tristan

      posted in Marktplatz
      schroed99
      schroed99
    • RE: Gosund SP112 mit Tasmota flashen geht nicht

      @chaot Hi, vielen Dank. Dann werde ich meine Frag dort mal stellen. 😀

      posted in Microcontroller
      schroed99
      schroed99
    • RE: Gosund SP112 mit Tasmota flashen geht nicht

      @ro-sp1 said in Gosund SP112 mit Tasmota flashen geht nicht:

      Guten Morgen, Ich habe noch Platinen. Melde mich per PN vg

      Guten Abend, Fragen kostet nichts.😊

      Ich habe gerade diesen Beitrag gefunden und frage mich, ob mir jemand sagen kann, ob eine Reparatur einer Gosund SP1 Steckdose wirtschaftlich sinnvoll ist. Eine meiner Gosund Steckdosen ist durchgebrannt, und es scheint, dass der Austausch der Widerstände, Transistoren oder was auch immer, die Dose möglicherweise wieder funktionieren lassen könnte. Leider kenne ich mich mit Elektronik wenig aus. Dennoch bin ich durchaus in der Lage, einen Lötkolben zu bedienen und tue dies auch 😀 🙂 Egal, ob mir jemand sagen könnte, wo und welche Bezeichnung ich kaufen müsste, um die Steckdose zu reparieren.

      Mein laienhafter Verstand sagt mir, dass die C15 und C20 (siehe Bild) ausgetauscht werden müssten oder evtl. sogar nur C15???
      GosundSP1_Defekt02.png GosundSP1_Defekt01.png

      Vielen Dank für die Unterstützung.

      VG Tristan

      posted in Microcontroller
      schroed99
      schroed99
    • RE: Timeout in einer Schleife

      @paul53 Hallo Paul53, ich habe den Skript entsprechend angepasst und bisher habe ich keine Probleme gefunden. Es ist jetzt möglich, den Skript zu stoppen. Ich habe noch eine Abfrage hinzugefügt, ob die benötigten Aktoren online sind, wenn nicht, wird abgebrochen. Damit kann ich mir viel Zeit sparen. Vielen Dank für deine Hilfe! 👍

      posted in Blockly
      schroed99
      schroed99
    • RE: Timeout in einer Schleife

      @paul53 vielen lieben Dank, ich werde es mir genauer anschauen. Melde mich mit dem Ergebnis zurück.

      Danke
      Gruß Tristan

      posted in Blockly
      schroed99
      schroed99
    • RE: Timeout in einer Schleife

      @paul53 Hallo Paul, kannst du mir evtl. noch mal helfen? Ich bin gerade etwas überfragt, bzw. stehe ich etwas auf´n Schlauch. Mein Skript soll zukünftig mit Timeout umgebaut werden. Um die Abarbeitung des Skriptes unterbrechen zu können, in dem ich das Timeout stoppen kann. Was mit der Pause-Funktion nicht geht. Dazu habe ich die Funktion Timeout eingebaut, welche das Ausschalten innerhalb der Timeout-Funktion übernehmen soll. Leider stürzt mein System mit dieser Funktion ab und ich kann nicht sehen warum?

      c3414011-d1f8-4d05-90fa-8803212d3dfb-image.png

      VG

      <xml xmlns="https://developers.google.com/blockly/xml">
        <variables>
          <variable id="DuKnNK_fb{/Qq{IFWG$v">zyklus</variable>
          <variable id=":Mj#Vtl}cC1M:v#90=PD">anzahlBelueftung</variable>
          <variable id="Z}P^~lcsIWmg$xymi]s|">msg</variable>
          <variable type="timeout" id="lampeaus">lampeaus</variable>
          <variable id="5e7CDB8d+z)p64]UEPq)">aktiv</variable>
          <variable id="j=8.H21R4p}Bl_6Ddd*o">idAktor</variable>
        </variables>
        <block type="on_ext" id="#2~L4UEK6FMI+P3C8_A}" x="88" y="-62">
          <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
          <field name="CONDITION">true</field>
          <field name="ACK_CONDITION"></field>
          <value name="OID0">
            <shadow type="field_oid" id="~YXNBsr?ey*s$f%:jZ4i">
              <field name="oid">0_userdata.0.TestDatenpunkte.Automatik_on</field>
            </shadow>
          </value>
          <statement name="STATEMENT">
            <block type="variables_set" id=";:Rs|y!a%3wq;-Gq4y)*">
              <field name="VAR" id="DuKnNK_fb{/Qq{IFWG$v">zyklus</field>
              <value name="VALUE">
                <block type="math_number" id="s-)-z[loX]EMloKW0R@j">
                  <field name="NUM">1</field>
                </block>
              </value>
              <next>
                <block type="variables_set" id="3t3kFLx5D@^``,VtG=iF">
                  <field name="VAR" id=":Mj#Vtl}cC1M:v#90=PD">anzahlBelueftung</field>
                  <value name="VALUE">
                    <block type="get_value" id="0P~iY+t6f^Sol4pT||2S">
                      <field name="ATTR">val</field>
                      <field name="OID">0_userdata.0.TestDatenpunkte.Belueftungszyklen</field>
                    </block>
                  </value>
                  <next>
                    <block type="procedures_callnoreturn" id="$n5B(VFgEN|}34zr:zK6">
                      <mutation name="schleife"></mutation>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </statement>
        </block>
        <block type="procedures_defnoreturn" id="KAYmjF~QMX34:y[iSp-^" x="88" y="138">
          <field name="NAME">schleife</field>
          <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
          <statement name="STACK">
            <block type="logic_switch_case" id="XpXI#,j.tC[~8GE+~{XJ">
              <mutation xmlns="http://www.w3.org/1999/xhtml" case="2" default="1"></mutation>
              <value name="CONDITION">
                <block type="variables_get" id="Xoh).rKK_L[CJQ0^}+s0">
                  <field name="VAR" id="DuKnNK_fb{/Qq{IFWG$v">zyklus</field>
                </block>
              </value>
              <value name="CASECONDITION0">
                <block type="math_number" id="FJUpW46g[o_p9Un*Nw~^">
                  <field name="NUM">1</field>
                </block>
              </value>
              <statement name="CASE0">
                <block type="variables_set" id="0J#T-Qd7+AzZ5/[U5^m:">
                  <field name="VAR" id="Z}P^~lcsIWmg$xymi]s|">msg</field>
                  <value name="VALUE">
                    <block type="text" id="TAm,2C|I#_JI1FaKw%$C">
                      <field name="TEXT">Beschicken</field>
                    </block>
                  </value>
                  <next>
                    <block type="update" id="I5G--r|QsJ`GU{kCr4Z(">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                      <field name="OID">0_userdata.0.TestDatenpunkte.befindet_sich_im_Arbeitsprozess</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="text" id="A+[g:1o^cNp#R.-(28mB">
                          <field name="TEXT">Beschicken</field>
                        </block>
                      </value>
                      <next>
                        <block type="variables_set" id="WU.#loWYjVs;k[ZjmX|]">
                          <field name="VAR" id="5e7CDB8d+z)p64]UEPq)">aktiv</field>
                          <value name="VALUE">
                            <block type="math_number" id="Dl8@Hb3TsdNEjD;lnCUc">
                              <field name="NUM">1</field>
                            </block>
                          </value>
                          <next>
                            <block type="variables_set" id=":sn1O`h-VhceoMK_}_zI">
                              <field name="VAR" id="j=8.H21R4p}Bl_6Ddd*o">idAktor</field>
                              <value name="VALUE">
                                <block type="field_oid" id="j8$xrAL~{Ydw9I(iUNH#">
                                  <field name="oid">sonoff.0.Klärgrubensteuerung.POWER1</field>
                                </block>
                              </value>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </statement>
              <value name="CASECONDITION1">
                <block type="math_arithmetic" id="),k9?lv.o/om3NomMr{W">
                  <field name="OP">ADD</field>
                  <value name="A">
                    <shadow type="math_number" id="vc33fGuq!FL{t{]S!_;G">
                      <field name="NUM">1</field>
                    </shadow>
                    <block type="variables_get" id="/$`U7I8kK^YGGgl(DAd7">
                      <field name="VAR" id=":Mj#Vtl}cC1M:v#90=PD">anzahlBelueftung</field>
                    </block>
                  </value>
                  <value name="B">
                    <shadow type="math_number" id=";ss@7U#hL!Y5^=@d-cyg">
                      <field name="NUM">2</field>
                    </shadow>
                  </value>
                </block>
              </value>
              <statement name="CASE1">
                <block type="variables_set" id="]YYXU.NFb7e.b8{r]`%d">
                  <field name="VAR" id="Z}P^~lcsIWmg$xymi]s|">msg</field>
                  <value name="VALUE">
                    <block type="text" id="B7cr[{hU-7$(jxs(WceL">
                      <field name="TEXT">Klären</field>
                    </block>
                  </value>
                  <next>
                    <block type="update" id="Z3#lh*fKiR2+be8P,,mI">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                      <field name="OID">0_userdata.0.TestDatenpunkte.befindet_sich_im_Arbeitsprozess</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="text" id=";y5!nM$Yz]jpu9ccza|e">
                          <field name="TEXT">Klären</field>
                        </block>
                      </value>
                      <next>
                        <block type="variables_set" id=")Fq{]z_uqqB=GtjEjpdu">
                          <field name="VAR" id="5e7CDB8d+z)p64]UEPq)">aktiv</field>
                          <value name="VALUE">
                            <block type="math_number" id="6d=`Qh,[~2xrxDp9i`!*">
                              <field name="NUM">1</field>
                            </block>
                          </value>
                          <next>
                            <block type="variables_set" id="*q!j9!sgKD)sJ%*5siPA">
                              <field name="VAR" id="j=8.H21R4p}Bl_6Ddd*o">idAktor</field>
                              <value name="VALUE">
                                <block type="field_oid" id="9J0G}NXJt{.8;!RJ)(43">
                                  <field name="oid">sonoff.0.Klärgrubensteuerung.POWER2</field>
                                </block>
                              </value>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </statement>
              <value name="CASECONDITION2">
                <block type="math_arithmetic" id="fE`0aSbODB?[jtna2h}v">
                  <field name="OP">ADD</field>
                  <value name="A">
                    <shadow type="math_number">
                      <field name="NUM">1</field>
                    </shadow>
                    <block type="variables_get" id="9/@{ZNE,kkpqqO2SG.2G">
                      <field name="VAR" id=":Mj#Vtl}cC1M:v#90=PD">anzahlBelueftung</field>
                    </block>
                  </value>
                  <value name="B">
                    <shadow type="math_number" id="XO++b0v;S*j;NMzvi;BH">
                      <field name="NUM">3</field>
                    </shadow>
                  </value>
                </block>
              </value>
              <statement name="CASE2">
                <block type="variables_set" id="hGGvl6[y[m4/|,yw.QPA">
                  <field name="VAR" id="Z}P^~lcsIWmg$xymi]s|">msg</field>
                  <value name="VALUE">
                    <block type="text" id="~MYYG0S{7.2[+7412#d^">
                      <field name="TEXT">Abzug</field>
                    </block>
                  </value>
                  <next>
                    <block type="update" id="OlbPH1yy_#eW/4s^2ob]">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                      <field name="OID">0_userdata.0.TestDatenpunkte.befindet_sich_im_Arbeitsprozess</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="text" id="7;$)tqPNz5g3?1n6Ps`)">
                          <field name="TEXT">Abzug</field>
                        </block>
                      </value>
                      <next>
                        <block type="variables_set" id="C3odK@MB[#t1Z!(50$h~">
                          <field name="VAR" id="5e7CDB8d+z)p64]UEPq)">aktiv</field>
                          <value name="VALUE">
                            <block type="math_number" id="wGY=4_:8UGJK@F[qh?CK">
                              <field name="NUM">1</field>
                            </block>
                          </value>
                          <next>
                            <block type="variables_set" id="4SJl[9P1}0vuufWTQ,gH">
                              <field name="VAR" id="j=8.H21R4p}Bl_6Ddd*o">idAktor</field>
                              <value name="VALUE">
                                <block type="field_oid" id="K]x~$R#NFUG$7nrxrjbr">
                                  <field name="oid">sonoff.0.Klärgrubensteuerung.POWER3</field>
                                </block>
                              </value>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </statement>
              <statement name="ONDEFAULT">
                <block type="variables_set" id="cn^2?^q%(MRPg+t~|#f%">
                  <field name="VAR" id="Z}P^~lcsIWmg$xymi]s|">msg</field>
                  <value name="VALUE">
                    <block type="text" id="twa}Ya*L[_eS--R(9S$V">
                      <field name="TEXT">Belüften</field>
                    </block>
                  </value>
                  <next>
                    <block type="update" id="_o!wcOdKG9$6N_=S?n|.">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                      <field name="OID">0_userdata.0.TestDatenpunkte.befindet_sich_im_Arbeitsprozess</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="text" id=";((M1;xiZqQ7@1H]^ahk">
                          <field name="TEXT">Belüften</field>
                        </block>
                      </value>
                      <next>
                        <block type="variables_set" id=".dN:vw*pv!Rx![CkY*me">
                          <field name="VAR" id="5e7CDB8d+z)p64]UEPq)">aktiv</field>
                          <value name="VALUE">
                            <block type="math_number" id="tkz!m@SJi@i$wECG?W*u">
                              <field name="NUM">1</field>
                            </block>
                          </value>
                          <next>
                            <block type="variables_set" id="sAiPw#-5qUpH59i,w_q@">
                              <field name="VAR" id="j=8.H21R4p}Bl_6Ddd*o">idAktor</field>
                              <value name="VALUE">
                                <block type="field_oid" id="mfa)=^OKxEB7*Vy[5hJ7">
                                  <field name="oid">sonoff.0.Klärgrubensteuerung.POWER4</field>
                                </block>
                              </value>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </statement>
              <next>
                <block type="update" id="[p`Tb^3mg$*`ucZWXU3U">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                  <field name="OID">0_userdata.0.TestDatenpunkte.kontrollleuchte</field>
                  <field name="WITH_DELAY">FALSE</field>
                  <value name="VALUE">
                    <block type="logic_boolean" id="yoc,a=dr#-24ZrKa*!)4">
                      <field name="BOOL">TRUE</field>
                    </block>
                  </value>
                  <next>
                    <block type="timeouts_settimeout" id="zS=-_ttq;3rru68G?08G">
                      <field name="NAME">lampeaus</field>
                      <field name="DELAY">6000</field>
                      <field name="UNIT">ms</field>
                      <statement name="STATEMENT">
                        <block type="update" id="};$Yq;1K/z#_)z2xZ+Pl">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">0_userdata.0.TestDatenpunkte.kontrollleuchte</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="logic_boolean" id="/qY{m|~]%fI.qLgpD@tx">
                              <field name="BOOL">FALSE</field>
                            </block>
                          </value>
                          <next>
                            <block type="math_change" id="t$k1;(e4S4F@lJ?oSl|2">
                              <field name="VAR" id="DuKnNK_fb{/Qq{IFWG$v">zyklus</field>
                              <value name="DELTA">
                                <shadow type="math_number" id="Z8pC)=gl1^`N3{G_zKU_">
                                  <field name="NUM">1</field>
                                </shadow>
                              </value>
                              <next>
                                <block type="comment" id="(7R4x0E~l}WX=M+F0)Ca">
                                  <field name="COMMENT">TimeOut nochmal aus</field>
                                  <next>
                                    <block type="timeouts_cleartimeout" id="n0T[nY-8eZC={7/QeH;8">
                                      <field name="NAME">lampeaus</field>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </statement>
                      <next>
                        <block type="debug" id="mC?6(g#mE0f$CPC$YHW8" inline="true">
                          <field name="Severity">log</field>
                          <value name="TEXT">
                            <shadow type="text">
                              <field name="TEXT">test</field>
                            </shadow>
                            <block type="text_join" id="{:mRm+N7a%L)gpf;^~]F" inline="true">
                              <mutation items="2"></mutation>
                              <value name="ADD0">
                                <block type="text" id="C;oGG_dS([r9,IWp,;$+">
                                  <field name="TEXT">Pause nach Zyklus </field>
                                </block>
                              </value>
                              <value name="ADD1">
                                <block type="variables_get" id="nqMYI_YWO*:Al2(9xPxg">
                                  <field name="VAR" id="DuKnNK_fb{/Qq{IFWG$v">zyklus</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <next>
                            <block type="controls_if" id="5lv2Cb$=H;.$u7|}!?c!">
                              <mutation else="1"></mutation>
                              <value name="IF0">
                                <block type="logic_compare" id="^k+eR16;c*YM0*wF2Ej`">
                                  <field name="OP">LTE</field>
                                  <value name="A">
                                    <block type="variables_get" id="c=`nSX8+Nm|,zsbI/TED">
                                      <field name="VAR" id="DuKnNK_fb{/Qq{IFWG$v">zyklus</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="math_arithmetic" id="=1GvY1`!n|gD+W}/y[+j">
                                      <field name="OP">ADD</field>
                                      <value name="A">
                                        <shadow type="math_number" id="Olj%1fZ%^64YjAqmIT,=">
                                          <field name="NUM">1</field>
                                        </shadow>
                                        <block type="variables_get" id="t0:G([-2Gn+Eev.eh!r6">
                                          <field name="VAR" id=":Mj#Vtl}cC1M:v#90=PD">anzahlBelueftung</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <shadow type="math_number" id="}Vs.kYIcqv@{p-XTS/w3">
                                          <field name="NUM">3</field>
                                        </shadow>
                                      </value>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO0">
                                <block type="procedures_callnoreturn" id="Xo=5qp[$2KyN_0Lygm8m">
                                  <mutation name="schleife"></mutation>
                                </block>
                              </statement>
                              <statement name="ELSE">
                                <block type="debug" id="ML/vxC97aV+K][vwDa3T">
                                  <field name="Severity">log</field>
                                  <value name="TEXT">
                                    <shadow type="text" id="_owh|G*~h@f7`QV$VGnl">
                                      <field name="TEXT">ende</field>
                                    </shadow>
                                  </value>
                                </block>
                              </statement>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </statement>
        </block>
      </xml>
      
      posted in Blockly
      schroed99
      schroed99
    • RE: Timeout in einer Schleife

      @paul53 vielen lieben Dank für die schnelle Antwort.

      Bedeutet ich muss den Skript auf Timeout umstellen.

      Anmerkung : Ja, 6000 Millisekunden sind 6 Sekunden, dies habe ich bewusst so eingetragen, da dies ein Test-Skript ist und während der Abarbeitung ich nicht lange warten möchte. Natürlich müssen dort 60000 drin stehen, wenn der Skript produktiv geht.

      VG

      posted in Blockly
      schroed99
      schroed99
    • RE: Timeout in einer Schleife

      Hallo liebe Gemeinde,

      es ist nun mittlerweile fast 1 Jahr her als mir @paul53 und @Asgothian dabei geholfen haben, meine Abwassersteuerung funktionell zu bauen. Diese läuft auch tadellos! Vielen Dank nochmal!

      Dennoch gibt es aktuell den Bedarf, die Skript Abarbeitung zwischendurch zu stoppen. Aktuell arbeite ich in meinem Skript mit der "Pause" Funktion. Das ist bisher auch kein Problem. Aber sobald ich das Skript unterbrechen muss, wird es schwierig. Daher möchte ich gerne wissen, ob es eine einfache Methode gibt eine Skript -Pause zu beenden. Alternativ würde ich auf Timeout umbauen, doch das erfordert etwas mehr Zeit und Aufwand, statt zu fragen, ob es eine Möglichkeit der Unterbrechung von Pause ähnlich wie bei Tmeout gibt? Der Code zum aktuellen Skript ohne TimeOut:

      <xml xmlns="https://developers.google.com/blockly/xml">
        <variables>
          <variable id="DuKnNK_fb{/Qq{IFWG$v">zyklus</variable>
          <variable id="Z}P^~lcsIWmg$xymi]s|">msg</variable>
          <variable id=":Mj#Vtl}cC1M:v#90=PD">anzahlBelueftung</variable>
          <variable id="5e7CDB8d+z)p64]UEPq)">aktiv</variable>
          <variable id="j=8.H21R4p}Bl_6Ddd*o">idAktor</variable>
          <variable id="B-j9cKa:S*pgK]WlzI3K">Pausezeit</variable>
        </variables>
        <block type="procedures_defcustomnoreturn" id="J0gO|sDHc*((XLQY.GM7" x="512" y="-312">
          <mutation statements="false"></mutation>
          <field name="NAME">dp_anlegen</field>
          <field name="SCRIPT">Ly9EYXRlbnB1bmt0IGVyc3RlbGxlbgovLyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjCgovL0RhdGVucHVua3QKY3JlYXRlU3RhdGUoIjBfdXNlcmRhdGEuMC5UZXN0RGF0ZW5wdW5rdGUuQXV0b21hdGlrX29uIiwgewogICAgbmFtZTogJ0F1dG9tYXRpa19vbicsIAogICAgcm9sZTogJ2J1dHRvbicsCiAgICByZWFkOiAgdHJ1ZSwgCiAgICB3cml0ZTogdHJ1ZSwKICAgIHR5cGU6ICJib29sZWFuIgp9KTsKCmNyZWF0ZVN0YXRlKCIwX3VzZXJkYXRhLjAuVGVzdERhdGVucHVua3RlLkJlbHVlZnR1bmdzenlrbGVuIiwgewogICAgbmFtZTogJ0JlbHVlZnR1bmdzenlrbGVuJywgCiAgICByZWFkOiAgdHJ1ZSwgCiAgICB3cml0ZTogdHJ1ZSwKICAgIHR5cGU6ICJpbnRlZ2VyIgp9KTsKCmNyZWF0ZVN0YXRlKCIwX3VzZXJkYXRhLjAuVGVzdERhdGVucHVua3RlLnp5a2x1cyIsIHsKICAgIG5hbWU6ICd6eWtsdXMnLCAKICAgIHJlYWQ6ICB0cnVlLCAKICAgIHdyaXRlOiB0cnVlLAogICAgdHlwZTogImludGVnZXIiCn0pOwoKCmNyZWF0ZVN0YXRlKCIwX3VzZXJkYXRhLjAuVGVzdERhdGVucHVua3RlLm1zZyIsIHsKICAgIG5hbWU6ICdtc2cnLCAKICAgIHJlYWQ6ICB0cnVlLCAKICAgIHdyaXRlOiB0cnVlLAogICAgdHlwZTogInRleHQiCn0pOwoKY3JlYXRlU3RhdGUoIjBfdXNlcmRhdGEuMC5UZXN0RGF0ZW5wdW5rdGUuYmVmaW5kZXRfc2ljaF9pbV9BcmJlaXRzcHJvemVzcyIsIHsKICAgIG5hbWU6ICdiZWZpbmRldF9zaWNoX2ltX0FyYmVpdHNwcm96ZXNzJywgCiAgICByZWFkOiAgdHJ1ZSwgCiAgICB3cml0ZTogdHJ1ZSwKICAgIHR5cGU6ICJ0ZXh0Igp9KTsKCmNyZWF0ZVN0YXRlKCIwX3VzZXJkYXRhLjAuVGVzdERhdGVucHVua3RlLlBhdXNlbnplaXRfendpc2NoZW5fZGVuX1NjaHJpdHRlbiIsIHsKICAgIG5hbWU6ICdQYXVzZW56ZWl0X3p3aXNjaGVuX2Rlbl9TY2hyaXR0ZW4nLCAKICAgIHJlYWQ6ICB0cnVlLCAKICAgIHdyaXRlOiB0cnVlLAogICAgdHlwZTogImludGVnZXIiCn0pOwoKLyogLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tICovCgpjcmVhdGVTdGF0ZSgiMF91c2VyZGF0YS4wLlRlc3REYXRlbnB1bmt0ZS5BcmJlaXRzemVpdF9CZXNjaGlja2VuIiwgewogICAgbmFtZTogJ0FyYmVpdHN6ZWl0X0Jlc2NoaWNrZW4nLCAKICAgIHJlYWQ6ICB0cnVlLCAKICAgIHdyaXRlOiB0cnVlLAogICAgdHlwZTogImludGVnZXIiCn0pOwoKCmNyZWF0ZVN0YXRlKCIwX3VzZXJkYXRhLjAuVGVzdERhdGVucHVua3RlLkFyYmVpdHN6ZWl0X0tsYWVyZW4iLCB7CiAgICBuYW1lOiAnQXJiZWl0c3plaXRfS2xhZXJlbicsIAogICAgcmVhZDogIHRydWUsIAogICAgd3JpdGU6IHRydWUsCiAgICB0eXBlOiAiaW50ZWdlciIKfSk7CgpjcmVhdGVTdGF0ZSgiMF91c2VyZGF0YS4wLlRlc3REYXRlbnB1bmt0ZS5BcmJlaXRzemVpdF9BYnp1ZyIsIHsKICAgIG5hbWU6ICdBcmJlaXRzemVpdF9BYnp1ZycsIAogICAgcmVhZDogIHRydWUsIAogICAgd3JpdGU6IHRydWUsCiAgICB0eXBlOiAiaW50ZWdlciIKfSk7CgpjcmVhdGVTdGF0ZSgiMF91c2VyZGF0YS4wLlRlc3REYXRlbnB1bmt0ZS5BcmJlaXRzemVpdF9CZWx1ZWZ0ZW4iLCB7CiAgICBuYW1lOiAnQXJiZWl0c3plaXRfQmVsdWVmdGVuJywgCiAgICByZWFkOiAgdHJ1ZSwgCiAgICB3cml0ZTogdHJ1ZSwKICAgIHR5cGU6ICJpbnRlZ2VyIgp9KTs=</field>
          <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
        </block>
        <block type="on_ext" id="M~d~!4/^/Bo{Y6lKG|ZP" x="1387" y="-313">
          <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
          <field name="CONDITION">false</field>
          <field name="ACK_CONDITION"></field>
          <value name="OID0">
            <shadow type="field_oid" id="LJ{VJW,T^ls-OA;YI*#W">
              <field name="oid">0_userdata.0.TestDatenpunkte.Automatik_on</field>
            </shadow>
          </value>
          <statement name="STATEMENT">
            <block type="control" id="rAHf3W%AbDF=,91gSfhm" disabled="true">
              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
              <field name="OID">sonoff.0.Klärgrubensteuerung.POWER1</field>
              <field name="WITH_DELAY">FALSE</field>
              <value name="VALUE">
                <block type="logic_boolean" id="giyra0!@8$.]gHMbnL.c">
                  <field name="BOOL">FALSE</field>
                </block>
              </value>
              <next>
                <block type="control" id="2wDPU[zh^y4G-?a/e`De" disabled="true">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                  <field name="OID">sonoff.0.Klärgrubensteuerung.POWER2</field>
                  <field name="WITH_DELAY">FALSE</field>
                  <value name="VALUE">
                    <block type="logic_boolean" id="=q+](eE9Ab!~sI$shH!D">
                      <field name="BOOL">FALSE</field>
                    </block>
                  </value>
                  <next>
                    <block type="control" id="nkL)9?bgXnKNxxRwh{)R" disabled="true">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                      <field name="OID">sonoff.0.Klärgrubensteuerung.POWER3</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="logic_boolean" id="JrcA[)Ts)JML@[!.N_E@">
                          <field name="BOOL">FALSE</field>
                        </block>
                      </value>
                      <next>
                        <block type="control" id="G$um+j/h[!uC(?.kM?d9" disabled="true">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">sonoff.0.Klärgrubensteuerung.POWER4</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="logic_boolean" id="gziwY~],boG/1G.YLrN=">
                              <field name="BOOL">FALSE</field>
                            </block>
                          </value>
                          <next>
                            <block type="update" id="P`hNw!K?K.tqlMm9e!F8">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">0_userdata.0.TestDatenpunkte.msg</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="text" id="){g.s5!N;fz31A;;UTo8">
                                  <field name="TEXT">Automatik aus</field>
                                </block>
                              </value>
                              <next>
                                <block type="update" id=":_jJ}REX7~]ZMAe#:cq8">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                  <field name="OID">0_userdata.0.TestDatenpunkte.befindet_sich_im_Arbeitsprozess</field>
                                  <field name="WITH_DELAY">TRUE</field>
                                  <field name="DELAY_MS">1000</field>
                                  <field name="UNIT">ms</field>
                                  <field name="CLEAR_RUNNING">FALSE</field>
                                  <value name="VALUE">
                                    <block type="text" id="+2S:^n7;qB{{l_1AHahH">
                                      <field name="TEXT">Aus</field>
                                    </block>
                                  </value>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </statement>
        </block>
        <block type="procedures_callcustomnoreturn" id="Ea}XVqq[!YS}Dl7DzfJ/" x="513" y="-237">
          <mutation name="dp_anlegen"></mutation>
          <next>
            <block type="comment" id="C3a/,Spt$^#8V%[$U0e[">
              <field name="COMMENT">Datenpunkte unter Testdatenpunkte anlegen</field>
              <next>
                <block type="on_ext" id="#2~L4UEK6FMI+P3C8_A}">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                  <field name="CONDITION">true</field>
                  <field name="ACK_CONDITION"></field>
                  <value name="OID0">
                    <shadow type="field_oid" id="~YXNBsr?ey*s$f%:jZ4i">
                      <field name="oid">0_userdata.0.TestDatenpunkte.Automatik_on</field>
                    </shadow>
                  </value>
                  <statement name="STATEMENT">
                    <block type="comment" id="3Qt|LMXy9/2w~|!3XXUX">
                      <field name="COMMENT">neu einen Datenpunkt dafür benutzen</field>
                      <next>
                        <block type="comment" id="]9qep`m6Zg!mIxONu.#y">
                          <field name="COMMENT">lässt sich von außen besser steuern</field>
                          <next>
                            <block type="update" id="Dcc^hIH5V$X^lc5CP]em">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">0_userdata.0.TestDatenpunkte.zyklus</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="math_number" id="f;ZS`fBsj|C;A$q~8o%a">
                                  <field name="NUM">1</field>
                                </block>
                              </value>
                              <next>
                                <block type="variables_set" id=";:Rs|y!a%3wq;-Gq4y)*">
                                  <field name="VAR" id="DuKnNK_fb{/Qq{IFWG$v">zyklus</field>
                                  <value name="VALUE">
                                    <block type="get_value" id="`;{Kh@K{jgo-tt`a:3Nl">
                                      <field name="ATTR">val</field>
                                      <field name="OID">0_userdata.0.TestDatenpunkte.zyklus</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="variables_set" id="3t3kFLx5D@^``,VtG=iF">
                                      <field name="VAR" id=":Mj#Vtl}cC1M:v#90=PD">anzahlBelueftung</field>
                                      <value name="VALUE">
                                        <block type="get_value" id="0P~iY+t6f^Sol4pT||2S">
                                          <field name="ATTR">val</field>
                                          <field name="OID">0_userdata.0.TestDatenpunkte.Belueftungszyklen</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="variables_set" id="Zhy)cO[JV/5+M9Ei;mdH">
                                          <field name="VAR" id="B-j9cKa:S*pgK]WlzI3K">Pausezeit</field>
                                          <value name="VALUE">
                                            <block type="get_value" id="YGI0W#vJw^Rq//*cjGV:">
                                              <field name="ATTR">val</field>
                                              <field name="OID">0_userdata.0.TestDatenpunkte.Pausenzeit_zwischen_den_Schritten</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="procedures_callnoreturn" id="$n5B(VFgEN|}34zr:zK6">
                                              <mutation name="schleife"></mutation>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </statement>
                </block>
              </next>
            </block>
          </next>
        </block>
        <block type="procedures_defnoreturn" id="KAYmjF~QMX34:y[iSp-^" x="513" y="137">
          <field name="NAME">schleife</field>
          <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
          <statement name="STACK">
            <block type="logic_switch_case" id="XpXI#,j.tC[~8GE+~{XJ">
              <mutation xmlns="http://www.w3.org/1999/xhtml" case="2" default="1"></mutation>
              <value name="CONDITION">
                <block type="variables_get" id="Xoh).rKK_L[CJQ0^}+s0">
                  <field name="VAR" id="DuKnNK_fb{/Qq{IFWG$v">zyklus</field>
                </block>
              </value>
              <value name="CASECONDITION0">
                <block type="math_number" id="FJUpW46g[o_p9Un*Nw~^">
                  <field name="NUM">1</field>
                </block>
              </value>
              <statement name="CASE0">
                <block type="comment" id="./Q^=)1w:Z{BKo95xZ%+">
                  <field name="COMMENT">Zyklus 1</field>
                  <next>
                    <block type="variables_set" id="0J#T-Qd7+AzZ5/[U5^m:">
                      <field name="VAR" id="Z}P^~lcsIWmg$xymi]s|">msg</field>
                      <value name="VALUE">
                        <block type="text" id="TAm,2C|I#_JI1FaKw%$C">
                          <field name="TEXT">Beschicken</field>
                        </block>
                      </value>
                      <next>
                        <block type="variables_set" id="WU.#loWYjVs;k[ZjmX|]">
                          <field name="VAR" id="5e7CDB8d+z)p64]UEPq)">aktiv</field>
                          <value name="VALUE">
                            <block type="get_value" id="z-9bIETK=BL[4rNVkf0o">
                              <field name="ATTR">val</field>
                              <field name="OID">0_userdata.0.TestDatenpunkte.Arbeitszeit_Beschicken</field>
                            </block>
                          </value>
                          <next>
                            <block type="update" id="^yh72m;+*~sg-l3S(2t?">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">0_userdata.0.TestDatenpunkte.befindet_sich_im_Arbeitsprozess</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="text" id=":GXJnAE+m}^~f7]fbMbO">
                                  <field name="TEXT">Beschicken</field>
                                </block>
                              </value>
                              <next>
                                <block type="comment" id="g%lMpl[S;mk3z!7!8[+[">
                                  <field name="COMMENT">Name des Aktors welcher gesteuert wird</field>
                                  <next>
                                    <block type="variables_set" id=":sn1O`h-VhceoMK_}_zI" disabled="true">
                                      <field name="VAR" id="j=8.H21R4p}Bl_6Ddd*o">idAktor</field>
                                      <value name="VALUE">
                                        <block type="field_oid" id="j8$xrAL~{Ydw9I(iUNH#">
                                          <field name="oid">sonoff.0.Klärgrubensteuerung.POWER2</field>
                                        </block>
                                      </value>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </statement>
              <value name="CASECONDITION1">
                <block type="math_arithmetic" id="),k9?lv.o/om3NomMr{W">
                  <field name="OP">ADD</field>
                  <value name="A">
                    <shadow type="math_number" id="vc33fGuq!FL{t{]S!_;G">
                      <field name="NUM">1</field>
                    </shadow>
                    <block type="variables_get" id="/$`U7I8kK^YGGgl(DAd7">
                      <field name="VAR" id=":Mj#Vtl}cC1M:v#90=PD">anzahlBelueftung</field>
                    </block>
                  </value>
                  <value name="B">
                    <shadow type="math_number" id=";ss@7U#hL!Y5^=@d-cyg">
                      <field name="NUM">2</field>
                    </shadow>
                  </value>
                </block>
              </value>
              <statement name="CASE1">
                <block type="comment" id="Qq[$Se-[_?($R.e)_O?a">
                  <field name="COMMENT">Zyklus Anzahl + 2 bzw. vorletzter Schritt</field>
                  <next>
                    <block type="variables_set" id="]YYXU.NFb7e.b8{r]`%d">
                      <field name="VAR" id="Z}P^~lcsIWmg$xymi]s|">msg</field>
                      <value name="VALUE">
                        <block type="text" id="B7cr[{hU-7$(jxs(WceL">
                          <field name="TEXT">Klären</field>
                        </block>
                      </value>
                      <next>
                        <block type="variables_set" id=")Fq{]z_uqqB=GtjEjpdu">
                          <field name="VAR" id="5e7CDB8d+z)p64]UEPq)">aktiv</field>
                          <value name="VALUE">
                            <block type="get_value" id="+T6}PCh-uxP+bpwtb^0t">
                              <field name="ATTR">val</field>
                              <field name="OID">0_userdata.0.TestDatenpunkte.Arbeitszeit_Klaeren</field>
                            </block>
                          </value>
                          <next>
                            <block type="update" id="Bc3RWxxFbnPJkmo1$_JT">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">0_userdata.0.TestDatenpunkte.befindet_sich_im_Arbeitsprozess</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="text" id="Pk{d$no@p%jTO0/3?)XM">
                                  <field name="TEXT">Klären</field>
                                </block>
                              </value>
                              <next>
                                <block type="comment" id="G..g@JP.]M[h!DW8@[Ue">
                                  <field name="COMMENT">Name des Aktors welcher gesteuert wird</field>
                                  <next>
                                    <block type="variables_set" id="*q!j9!sgKD)sJ%*5siPA" disabled="true">
                                      <field name="VAR" id="j=8.H21R4p}Bl_6Ddd*o">idAktor</field>
                                      <value name="VALUE">
                                        <block type="field_oid" id="9J0G}NXJt{.8;!RJ)(43">
                                          <field name="oid">sonoff.0.Klärgrubensteuerung.POWER4</field>
                                        </block>
                                      </value>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </statement>
              <value name="CASECONDITION2">
                <block type="math_arithmetic" id="fE`0aSbODB?[jtna2h}v">
                  <field name="OP">ADD</field>
                  <value name="A">
                    <shadow type="math_number">
                      <field name="NUM">1</field>
                    </shadow>
                    <block type="variables_get" id="9/@{ZNE,kkpqqO2SG.2G">
                      <field name="VAR" id=":Mj#Vtl}cC1M:v#90=PD">anzahlBelueftung</field>
                    </block>
                  </value>
                  <value name="B">
                    <shadow type="math_number" id="XO++b0v;S*j;NMzvi;BH">
                      <field name="NUM">3</field>
                    </shadow>
                  </value>
                </block>
              </value>
              <statement name="CASE2">
                <block type="comment" id="6Ivmn4`U#uYU9Cp!+vpQ">
                  <field name="COMMENT">Zyklus Anzahl + 3 letzter Schritt</field>
                  <next>
                    <block type="variables_set" id="hGGvl6[y[m4/|,yw.QPA">
                      <field name="VAR" id="Z}P^~lcsIWmg$xymi]s|">msg</field>
                      <value name="VALUE">
                        <block type="text" id="~MYYG0S{7.2[+7412#d^">
                          <field name="TEXT">Abzug</field>
                        </block>
                      </value>
                      <next>
                        <block type="variables_set" id="C3odK@MB[#t1Z!(50$h~">
                          <field name="VAR" id="5e7CDB8d+z)p64]UEPq)">aktiv</field>
                          <value name="VALUE">
                            <block type="get_value" id="qH=:(p;|_UpVg#HV8e3s">
                              <field name="ATTR">val</field>
                              <field name="OID">0_userdata.0.TestDatenpunkte.Arbeitszeit_Abzug</field>
                            </block>
                          </value>
                          <next>
                            <block type="update" id="@s/Qj]rZ`?wT^bXOxpb*">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">0_userdata.0.TestDatenpunkte.befindet_sich_im_Arbeitsprozess</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="text" id="honL*{6{Ouaa]-Tb6UkL">
                                  <field name="TEXT">Abzug</field>
                                </block>
                              </value>
                              <next>
                                <block type="comment" id="}ja]v+mo.c}o/G]f!G!x">
                                  <field name="COMMENT">Name des Aktors welcher gesteuert wird</field>
                                  <next>
                                    <block type="variables_set" id="4SJl[9P1}0vuufWTQ,gH" disabled="true">
                                      <field name="VAR" id="j=8.H21R4p}Bl_6Ddd*o">idAktor</field>
                                      <value name="VALUE">
                                        <block type="field_oid" id="K]x~$R#NFUG$7nrxrjbr">
                                          <field name="oid">sonoff.0.Klärgrubensteuerung.POWER1</field>
                                        </block>
                                      </value>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </statement>
              <statement name="ONDEFAULT">
                <block type="variables_set" id="cn^2?^q%(MRPg+t~|#f%">
                  <field name="VAR" id="Z}P^~lcsIWmg$xymi]s|">msg</field>
                  <value name="VALUE">
                    <block type="text" id="twa}Ya*L[_eS--R(9S$V">
                      <field name="TEXT">Belüften</field>
                    </block>
                  </value>
                  <next>
                    <block type="variables_set" id=".dN:vw*pv!Rx![CkY*me">
                      <field name="VAR" id="5e7CDB8d+z)p64]UEPq)">aktiv</field>
                      <value name="VALUE">
                        <block type="get_value" id="#.?wHX:t`cw0JV^g8]Vz">
                          <field name="ATTR">val</field>
                          <field name="OID">0_userdata.0.TestDatenpunkte.Arbeitszeit_Abzug</field>
                        </block>
                      </value>
                      <next>
                        <block type="update" id="a]$;*bxzJ}~0cw(~:4A]">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">0_userdata.0.TestDatenpunkte.befindet_sich_im_Arbeitsprozess</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="text" id="Y22?QLN`TAogOC~P8*WC">
                              <field name="TEXT">Belüften</field>
                            </block>
                          </value>
                          <next>
                            <block type="comment" id="M`Qmda`:DZ*C1gi)K.86">
                              <field name="COMMENT">Name des Aktors welcher gesteuert wird</field>
                              <next>
                                <block type="variables_set" id="sAiPw#-5qUpH59i,w_q@" disabled="true">
                                  <field name="VAR" id="j=8.H21R4p}Bl_6Ddd*o">idAktor</field>
                                  <value name="VALUE">
                                    <block type="field_oid" id="mfa)=^OKxEB7*Vy[5hJ7">
                                      <field name="oid">sonoff.0.Klärgrubensteuerung.POWER3</field>
                                    </block>
                                  </value>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </statement>
              <next>
                <block type="update" id="Q!^Oz9P(o~fmyk$/hyxr">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                  <field name="OID">0_userdata.0.TestDatenpunkte.msg</field>
                  <field name="WITH_DELAY">FALSE</field>
                  <value name="VALUE">
                    <block type="variables_get" id="Mh4H-G$Kx+:kh0*Te9bV">
                      <field name="VAR" id="Z}P^~lcsIWmg$xymi]s|">msg</field>
                    </block>
                  </value>
                  <next>
                    <block type="debug" id=",laPhqT$2^q}#uw|]$57" inline="true">
                      <field name="Severity">log</field>
                      <value name="TEXT">
                        <shadow type="text" id="kpr2?rx6Oo(R!:{uo?[L">
                          <field name="TEXT">test</field>
                        </shadow>
                        <block type="variables_get" id="|OWmKH~#2EH#6pT;!b!z">
                          <field name="VAR" id="Z}P^~lcsIWmg$xymi]s|">msg</field>
                        </block>
                      </value>
                      <next>
                        <block type="comment" id=",4X$A+SG]*@_R@WZU@f5">
                          <field name="COMMENT">gesteuertes Gerät einschalten</field>
                          <next>
                            <block type="control_ex" id="?xxiMro8f;`R8-;/C}1-" inline="true" disabled="true">
                              <field name="TYPE">false</field>
                              <field name="CLEAR_RUNNING">FALSE</field>
                              <value name="OID">
                                <shadow type="field_oid" id="R6fq3uZ1TbEH^yDHOu+5">
                                  <field name="oid">Object ID</field>
                                </shadow>
                                <block type="variables_get" id="|1;~@dEA*KaUDfky)uq]">
                                  <field name="VAR" id="j=8.H21R4p}Bl_6Ddd*o">idAktor</field>
                                </block>
                              </value>
                              <value name="VALUE">
                                <shadow type="logic_boolean" id="xGaD39SHe-c!$4B$s7_,">
                                  <field name="BOOL">TRUE</field>
                                </shadow>
                              </value>
                              <value name="DELAY_MS">
                                <shadow type="math_number" id="62Up,oPj.ONas*pY]Qv]">
                                  <field name="NUM">0</field>
                                </shadow>
                              </value>
                              <next>
                                <block type="comment" id="Mq_,(%job[b]w#b$fYpj">
                                  <field name="COMMENT">Zeiterrechnen aus der Variable aktiv</field>
                                  <next>
                                    <block type="variables_set" id="3li0*|1lax?f;F+:xi_C">
                                      <field name="VAR" id="5e7CDB8d+z)p64]UEPq)">aktiv</field>
                                      <value name="VALUE">
                                        <block type="math_arithmetic" id="f~Cr0$$;v1AjdeH+XL1O">
                                          <field name="OP">MULTIPLY</field>
                                          <value name="A">
                                            <shadow type="math_number" id="N*%].JB82X(RWzub}nc4">
                                              <field name="NUM">6000</field>
                                            </shadow>
                                          </value>
                                          <value name="B">
                                            <shadow type="math_number" id="]8qP1.$j[3NPArG{fwGg">
                                              <field name="NUM">1</field>
                                            </shadow>
                                            <block type="variables_get" id="j9)yUKvy`yucNRO%|w-B">
                                              <field name="VAR" id="5e7CDB8d+z)p64]UEPq)">aktiv</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="comment" id="Q*ERvQ~(GE~[g[l78=bX">
                                          <field name="COMMENT">jetzt wird die Zeit gewartet</field>
                                          <next>
                                            <block type="timeouts_wait" id="nFt;A}am$;0IvKl+`E+K">
                                              <field name="DELAY">aktiv</field>
                                              <field name="UNIT">ms</field>
                                              <next>
                                                <block type="update" id="zkY[.j+!OSB],5r6_fH?">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">0_userdata.0.TestDatenpunkte.befindet_sich_im_Arbeitsprozess</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="text" id="|:vjm7hztuc~!!5/5/%K">
                                                      <field name="TEXT">Pause</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="update" id="*I2=-=wcA?V*uTPB+YGb">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                      <field name="OID">0_userdata.0.TestDatenpunkte.msg</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="text_join" id="cpBL[qU`d%ibbgxb86}p" inline="true">
                                                          <mutation items="2"></mutation>
                                                          <value name="ADD0">
                                                            <block type="text" id="nJ]NcNTg#SXc_]4VRLU%">
                                                              <field name="TEXT">Pause nach Zyklus </field>
                                                            </block>
                                                          </value>
                                                          <value name="ADD1">
                                                            <block type="variables_get" id="1mIU164^AIw+($X8Xq[.">
                                                              <field name="VAR" id="Z}P^~lcsIWmg$xymi]s|">msg</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="debug" id="jpLPS1!9N,JjrD~RrbNj" inline="true">
                                                          <field name="Severity">log</field>
                                                          <value name="TEXT">
                                                            <shadow type="text" id="}?Aue~0~0}p3Ot%QMZ_m">
                                                              <field name="TEXT">test</field>
                                                            </shadow>
                                                            <block type="text_join" id="Q_1MS;Z#CD-9!QqR+ov," inline="true">
                                                              <mutation items="2"></mutation>
                                                              <value name="ADD0">
                                                                <block type="text" id="H(-VA)t,[tNL65R]phgS">
                                                                  <field name="TEXT">Pause nach Zyklus </field>
                                                                </block>
                                                              </value>
                                                              <value name="ADD1">
                                                                <block type="variables_get" id="f)mniute:lYRX;Lo1L#o">
                                                                  <field name="VAR" id="Z}P^~lcsIWmg$xymi]s|">msg</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="comment" id="MeNpJgQV/,kwar$RN#q3">
                                                              <field name="COMMENT">gesteuertes Gerät ausschalten</field>
                                                              <next>
                                                                <block type="control_ex" id="5XKm$I@/+?lxIq6-oWgE" inline="true" disabled="true">
                                                                  <field name="TYPE">false</field>
                                                                  <field name="CLEAR_RUNNING">FALSE</field>
                                                                  <value name="OID">
                                                                    <shadow type="field_oid">
                                                                      <field name="oid">Object ID</field>
                                                                    </shadow>
                                                                    <block type="variables_get" id="ejUb?Vk`*~ZA?E~#|6-~">
                                                                      <field name="VAR" id="j=8.H21R4p}Bl_6Ddd*o">idAktor</field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="VALUE">
                                                                    <shadow type="logic_boolean" id="7=4Y)RVjD|n{@V44yt$%">
                                                                      <field name="BOOL">FALSE</field>
                                                                    </shadow>
                                                                  </value>
                                                                  <value name="DELAY_MS">
                                                                    <shadow type="math_number" id="IUheJ~n5,kLG+,l?=x{=">
                                                                      <field name="NUM">0</field>
                                                                    </shadow>
                                                                  </value>
                                                                  <next>
                                                                    <block type="debug" id="DYd#2Ia@]Zb)[y{Dpj$x">
                                                                      <field name="Severity">log</field>
                                                                      <value name="TEXT">
                                                                        <shadow type="text" id="vp4.eOJQs6pkCMZ!LIZ}">
                                                                          <field name="TEXT">test</field>
                                                                        </shadow>
                                                                        <block type="text_join" id="[DA1R8asH.iDLckzInq[" inline="true">
                                                                          <mutation items="3"></mutation>
                                                                          <value name="ADD0">
                                                                            <block type="text" id="4$:_,eku|`vllhd8UPk{">
                                                                              <field name="TEXT">Pausezeit : </field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="ADD1">
                                                                            <block type="variables_get" id="7Iq#9$=7Ze.XT$V(Aoy5">
                                                                              <field name="VAR" id="B-j9cKa:S*pgK]WlzI3K">Pausezeit</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="ADD2">
                                                                            <block type="text" id="@v+[)$j|X_pMr^O9VdoP">
                                                                              <field name="TEXT"> Sekunden</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <next>
                                                                        <block type="variables_set" id="kM@*,@_q(M#C,3Q]n$;y">
                                                                          <field name="VAR" id="B-j9cKa:S*pgK]WlzI3K">Pausezeit</field>
                                                                          <value name="VALUE">
                                                                            <block type="math_arithmetic" id="lAQl}%]!`;Li}`O4Q]v.">
                                                                              <field name="OP">MULTIPLY</field>
                                                                              <value name="A">
                                                                                <shadow type="math_number" id=")70U#@?td]_;;?J8jWle">
                                                                                  <field name="NUM">6000</field>
                                                                                </shadow>
                                                                              </value>
                                                                              <value name="B">
                                                                                <shadow type="math_number">
                                                                                  <field name="NUM">1</field>
                                                                                </shadow>
                                                                                <block type="variables_get" id="EtRe[iSG}r5FIQ4y@E9a">
                                                                                  <field name="VAR" id="B-j9cKa:S*pgK]WlzI3K">Pausezeit</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <next>
                                                                            <block type="timeouts_wait" id="y{L/J6R@?8+UfC*cX2P*">
                                                                              <field name="DELAY">Pausezeit</field>
                                                                              <field name="UNIT">ms</field>
                                                                              <next>
                                                                                <block type="comment" id="Gxqt~Q/tRI%mK0xu{I8/">
                                                                                  <field name="COMMENT">Zyklus wird um 1 erhöht</field>
                                                                                  <next>
                                                                                    <block type="math_change" id="E.q/@kA}h1MvVXFyNLE#">
                                                                                      <field name="VAR" id="DuKnNK_fb{/Qq{IFWG$v">zyklus</field>
                                                                                      <value name="DELTA">
                                                                                        <shadow type="math_number" id="3tZm*cf0j~)=vh{KM8:y">
                                                                                          <field name="NUM">1</field>
                                                                                        </shadow>
                                                                                      </value>
                                                                                      <next>
                                                                                        <block type="update" id="CQ%hpnPW|Nrb_Kxzb2oS">
                                                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                                          <field name="OID">0_userdata.0.TestDatenpunkte.zyklus</field>
                                                                                          <field name="WITH_DELAY">TRUE</field>
                                                                                          <field name="DELAY_MS">1000</field>
                                                                                          <field name="UNIT">ms</field>
                                                                                          <field name="CLEAR_RUNNING">FALSE</field>
                                                                                          <value name="VALUE">
                                                                                            <block type="variables_get" id="dMTrOxOGthI%mhKXsjBk">
                                                                                              <field name="VAR" id="DuKnNK_fb{/Qq{IFWG$v">zyklus</field>
                                                                                            </block>
                                                                                          </value>
                                                                                          <next>
                                                                                            <block type="controls_if" id="p)%~WIwU27W_|rF$FIT!">
                                                                                              <mutation else="1"></mutation>
                                                                                              <value name="IF0">
                                                                                                <block type="logic_compare" id="#q[ghM@~w4l|6VFHXNu^">
                                                                                                  <field name="OP">LTE</field>
                                                                                                  <value name="A">
                                                                                                    <block type="variables_get" id="$*bOZe[H9oMHWSwS=X$u">
                                                                                                      <field name="VAR" id="DuKnNK_fb{/Qq{IFWG$v">zyklus</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="B">
                                                                                                    <block type="math_arithmetic" id="!`ckYW}pZ]t(~dYT.U1g">
                                                                                                      <field name="OP">ADD</field>
                                                                                                      <value name="A">
                                                                                                        <shadow type="math_number">
                                                                                                          <field name="NUM">1</field>
                                                                                                        </shadow>
                                                                                                        <block type="variables_get" id=",0Vjfd%h|1o[wFXpR+oj">
                                                                                                          <field name="VAR" id=":Mj#Vtl}cC1M:v#90=PD">anzahlBelueftung</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <value name="B">
                                                                                                        <shadow type="math_number" id="5*][;-*XoZNPch@f]d*C">
                                                                                                          <field name="NUM">3</field>
                                                                                                        </shadow>
                                                                                                      </value>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                              <statement name="DO0">
                                                                                                <block type="procedures_callnoreturn" id="}Ra|KK($BaRXeOu]T7Sk">
                                                                                                  <mutation name="schleife"></mutation>
                                                                                                </block>
                                                                                              </statement>
                                                                                              <statement name="ELSE">
                                                                                                <block type="update" id="p8;[w;q0$KtXzWoV2svF">
                                                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                  <field name="OID">0_userdata.0.TestDatenpunkte.befindet_sich_im_Arbeitsprozess</field>
                                                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                                                  <value name="VALUE">
                                                                                                    <block type="text" id="%gMMTkxh{h:KwY_WHz^@">
                                                                                                      <field name="TEXT">Ende</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <next>
                                                                                                    <block type="update" id="3|4jaxn8,K,H8=7B-U4)">
                                                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                      <field name="OID">0_userdata.0.TestDatenpunkte.msg</field>
                                                                                                      <field name="WITH_DELAY">FALSE</field>
                                                                                                      <value name="VALUE">
                                                                                                        <block type="text" id="mUW+q1ewzh0kY{W!zDqy">
                                                                                                          <field name="TEXT">Ende der Durchläufe</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <next>
                                                                                                        <block type="debug" id="W-7):4R3YXQ#-8(%t(K-">
                                                                                                          <field name="Severity">log</field>
                                                                                                          <value name="TEXT">
                                                                                                            <shadow type="text" id="aI$q4b;V/:l*YVk1B-n4">
                                                                                                              <field name="TEXT">ende</field>
                                                                                                            </shadow>
                                                                                                          </value>
                                                                                                        </block>
                                                                                                      </next>
                                                                                                    </block>
                                                                                                  </next>
                                                                                                </block>
                                                                                              </statement>
                                                                                            </block>
                                                                                          </next>
                                                                                        </block>
                                                                                      </next>
                                                                                    </block>
                                                                                  </next>
                                                                                </block>
                                                                              </next>
                                                                            </block>
                                                                          </next>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </statement>
        </block>
      </xml>
      
      posted in Blockly
      schroed99
      schroed99
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo