Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. [Gelöst] Brauche Hilfe bei Script zwecks Abbruch

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [Gelöst] Brauche Hilfe bei Script zwecks Abbruch

    This topic has been deleted. Only users with topic management privileges can see it.
    • Codierknecht
      Codierknecht Developer Most Active @Superdad last edited by

      @superdad sagte in Brauche Hilfe bei Script zwecks Abbruch:

      Statt der 1,2,3 bei Id auswählen, müsste ich aber dann überall eine 1 rein schreiben, oder?

      Das soll die Kreise 1-3 symbolisieren. Ich habe keine Ahnung, wie das technisch bei Dir umgesetzt ist.
      Schaltest Du für die Kreise 1-3 ein Ventil? Schaltest Du unterschiedliche Pumpen?
      Was da zum ein- oder ausschalten einzelner Kreise nötig ist, weißt Du sicher besser als ich.

      Ich hoffe zumindest, dass das Prinzip klar geworden ist.
      Man definiert einen timeout mit einer bestimmten Ablaufzeit. Quasi einen Countdown.
      Ist der abgelaufen, werden die innerhalb des timeout definierten Anweisungen ausgeführt.
      Das kann dann am Ende natürlich auch ein weiterer timeout sein, der nach einer Zeit X wieder neue Anweisungen ausführt. Und so weiter, und so fort.

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

        @codierknecht
        Ich habe es jetzt so gelöst:

        <xml xmlns="https://developers.google.com/blockly/xml">
          <variables>
            <variable type="timeout" id="timeout">timeout</variable>
            <variable type="timeout" id="timeout2">timeout2</variable>
            <variable type="timeout" id="timeout3">timeout3</variable>
          </variables>
          <block type="on" id="WZ_(od6E#y-!g+dGW^q-" x="-763" y="-763">
            <field name="OID">javascript.0.Beregnung_Automatik.0.Trigger</field>
            <field name="CONDITION">ne</field>
            <field name="ACK_CONDITION"></field>
            <comment pinned="false" h="80" w="160">https://forum.iobroker.net/topic/75874/brauche-hilfe-bei-script-zwecks-abbruch</comment>
            <statement name="STATEMENT">
              <block type="controls_if" id="/+`C^0DH-iCEFhzp7zpU">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="on_source" id="{hXB(@7R8SELbA:,}j:y">
                    <field name="ATTR">state.val</field>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="comment" id="s6Tjlk2XfA~;oyi6Ho#K">
                    <field name="COMMENT">Kreis 1 beregnen</field>
                    <next>
                      <block type="comment" id="**ZOkO|t(nloQjPh5^4a">
                        <field name="COMMENT">Ventil Kreis3 einschalten</field>
                        <next>
                          <block type="control" id="u[dc7@uy6UG}!{8y.;f5">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">hm-rpc.0.NEQ1316670.3.STATE</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="uLG)sOBZQ*]rd8-GG,iN">
                                <field name="BOOL">TRUE</field>
                              </block>
                            </value>
                            <next>
                              <block type="comment" id="(:.ur#%1w-GyiTwyo*N6">
                                <field name="COMMENT">Pumpe einschalten</field>
                                <next>
                                  <block type="control" id="KTX}qiXddSGRk$N_AgKN">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">sonoff.0.Sonoff_Pumpe_Sprenger.POWER</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="O;:?;ndY1bwZ+ZwSdzN,">
                                        <field name="BOOL">TRUE</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="comment" id="2lZbt0zwk!V3%dMZ~5iA">
                                        <field name="COMMENT">Zigbee Ventil Gewächshaus einschalten</field>
                                        <next>
                                          <block type="control" id="-_0k`$U5c2$8Vs8QED5c">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">zigbee.0.9035eafffef8fd3e.state</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="?.kba4^[.frs%pzhEHd=">
                                                <field name="BOOL">TRUE</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="timeouts_settimeout" id="m|R)[SpmaQKub1yu:7D?">
                                                <field name="NAME">timeout</field>
                                                <field name="DELAY">20</field>
                                                <field name="UNIT">min</field>
                                                <statement name="STATEMENT">
                                                  <block type="comment" id="U{cOMC]#Zea}u[hyayFY">
                                                    <field name="COMMENT">Umschalten auf Kreis1</field>
                                                    <next>
                                                      <block type="comment" id="S*=r-gwj+r7.%5d#kGyT">
                                                        <field name="COMMENT">Ventil Kreis3 und Zigbee Ventil Gewächshaus schließen</field>
                                                        <next>
                                                          <block type="control" id="BWQ79/.X)U17qH`W@ncD">
                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                            <field name="OID">hm-rpc.0.NEQ1316670.3.STATE</field>
                                                            <field name="WITH_DELAY">FALSE</field>
                                                            <value name="VALUE">
                                                              <block type="logic_boolean" id="W_D,,p@u8GbT4W]^=s-|">
                                                                <field name="BOOL">FALSE</field>
                                                              </block>
                                                            </value>
                                                            <next>
                                                              <block type="control" id="}Y{XoE)*kMlnWuKtc72G">
                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                <field name="OID">zigbee.0.9035eafffef8fd3e.state</field>
                                                                <field name="WITH_DELAY">FALSE</field>
                                                                <value name="VALUE">
                                                                  <block type="logic_boolean" id="6K(_u*v),8b+pK{qn:p=">
                                                                    <field name="BOOL">FALSE</field>
                                                                  </block>
                                                                </value>
                                                                <next>
                                                                  <block type="comment" id="33w54dn?Q/XX=yW00Yjc">
                                                                    <field name="COMMENT">Ventil Kreis1 Zigbee Ventil Hochbeete einschalten</field>
                                                                    <next>
                                                                      <block type="control" id="Z6-BzVop=S$7lr;78C6L">
                                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                        <field name="OID">hm-rpc.0.NEQ1316670.1.STATE</field>
                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                        <value name="VALUE">
                                                                          <block type="logic_boolean" id="E4?J1t[JpJa0IRYpuUpU">
                                                                            <field name="BOOL">TRUE</field>
                                                                          </block>
                                                                        </value>
                                                                        <next>
                                                                          <block type="control" id="xUmBG9q.A;fNSpj7a}RD">
                                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                            <field name="OID">zigbee.0.9035eafffef8fae6.state</field>
                                                                            <field name="WITH_DELAY">FALSE</field>
                                                                            <value name="VALUE">
                                                                              <block type="logic_boolean" id="ylx{dRs0-1q{=-MyXBeB">
                                                                                <field name="BOOL">TRUE</field>
                                                                              </block>
                                                                            </value>
                                                                            <next>
                                                                              <block type="timeouts_settimeout" id="[Ia2J?K:4=?`)z#G%z`l">
                                                                                <field name="NAME">timeout2</field>
                                                                                <field name="DELAY">30</field>
                                                                                <field name="UNIT">min</field>
                                                                                <statement name="STATEMENT">
                                                                                  <block type="comment" id="4:LQzzc9|QPNRmPB%z;o">
                                                                                    <field name="COMMENT">Umschalten auf Kreis 2</field>
                                                                                    <next>
                                                                                      <block type="comment" id=",FxE_3wpEJH0}xP+e/$c">
                                                                                        <field name="COMMENT">Ventil Kreis1 + Zigbee Ventil Hochbeete ausschalten</field>
                                                                                        <next>
                                                                                          <block type="control" id="VOz{2*IyM=$Og/)wBU|}">
                                                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                            <field name="OID">hm-rpc.0.NEQ1316670.1.STATE</field>
                                                                                            <field name="WITH_DELAY">FALSE</field>
                                                                                            <value name="VALUE">
                                                                                              <block type="logic_boolean" id="Iy(2b,F-;PjZJw@v`a.Z">
                                                                                                <field name="BOOL">FALSE</field>
                                                                                              </block>
                                                                                            </value>
                                                                                            <next>
                                                                                              <block type="control" id="ly:?si!CmD*70a}+#V.+">
                                                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                <field name="OID">zigbee.0.9035eafffef8fae6.state</field>
                                                                                                <field name="WITH_DELAY">FALSE</field>
                                                                                                <value name="VALUE">
                                                                                                  <block type="logic_boolean" id="G75uRii.r+!0-YeY*}Tf">
                                                                                                    <field name="BOOL">FALSE</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <next>
                                                                                                  <block type="comment" id="/$3v$0cIQLn-Z)Opq/HF">
                                                                                                    <field name="COMMENT">Ventil Kreis2 + Zigbee Ventil Zaun einschalten</field>
                                                                                                    <next>
                                                                                                      <block type="control" id="He`m|x%P^o+`Gc[,kvPB">
                                                                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                        <field name="OID">hm-rpc.0.NEQ1316670.2.STATE</field>
                                                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                                                        <value name="VALUE">
                                                                                                          <block type="logic_boolean" id="M`9CndBG2zDiagMe2z8F">
                                                                                                            <field name="BOOL">TRUE</field>
                                                                                                          </block>
                                                                                                        </value>
                                                                                                        <next>
                                                                                                          <block type="control" id=")Bp`F+{!my5o|Dm%#:sQ">
                                                                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                            <field name="OID">zigbee.0.28dba7fffeaff176.state</field>
                                                                                                            <field name="WITH_DELAY">FALSE</field>
                                                                                                            <value name="VALUE">
                                                                                                              <block type="logic_boolean" id="mky_jGMsQyk)0g$YuzQC">
                                                                                                                <field name="BOOL">TRUE</field>
                                                                                                              </block>
                                                                                                            </value>
                                                                                                            <next>
                                                                                                              <block type="timeouts_settimeout" id="+uzziVMW:A$D91q4MyJd">
                                                                                                                <field name="NAME">timeout3</field>
                                                                                                                <field name="DELAY">20</field>
                                                                                                                <field name="UNIT">min</field>
                                                                                                                <statement name="STATEMENT">
                                                                                                                  <block type="comment" id="^;eoCQ#OJV3i:y]I,@f}">
                                                                                                                    <field name="COMMENT">Pumpe ausschalten</field>
                                                                                                                    <next>
                                                                                                                      <block type="control" id=":U#BVl3rS7)7dod!,}^@">
                                                                                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                                        <field name="OID">sonoff.0.Sonoff_Pumpe_Sprenger.POWER</field>
                                                                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                                                                        <value name="VALUE">
                                                                                                                          <block type="logic_boolean" id="9)2SRQ;Y-jPB(]2R4=i8">
                                                                                                                            <field name="BOOL">FALSE</field>
                                                                                                                          </block>
                                                                                                                        </value>
                                                                                                                        <next>
                                                                                                                          <block type="comment" id="41O0ArIxwKj#SC:p!9L?">
                                                                                                                            <field name="COMMENT">Ventil Kreis2 + Zigbee Ventil Zaun ausschalten</field>
                                                                                                                            <next>
                                                                                                                              <block type="control" id="~^Ruxg,}VajPeICwL%}w">
                                                                                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                                                <field name="OID">hm-rpc.0.NEQ1316670.2.STATE</field>
                                                                                                                                <field name="WITH_DELAY">FALSE</field>
                                                                                                                                <value name="VALUE">
                                                                                                                                  <block type="logic_boolean" id="hm*2I43v7Vc5d/5-RJk.">
                                                                                                                                    <field name="BOOL">FALSE</field>
                                                                                                                                  </block>
                                                                                                                                </value>
                                                                                                                                <next>
                                                                                                                                  <block type="control" id="x)zuVwkpz{C*;FI30Z*p">
                                                                                                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                                                    <field name="OID">zigbee.0.28dba7fffeaff176.state</field>
                                                                                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                                                                                    <value name="VALUE">
                                                                                                                                      <block type="logic_boolean" id="Twg%LH@L~Ci*2YVFPewG">
                                                                                                                                        <field name="BOOL">FALSE</field>
                                                                                                                                      </block>
                                                                                                                                    </value>
                                                                                                                                    <next>
                                                                                                                                      <block type="comment" id="=+[yk8P^UseTrzr7[jvp">
                                                                                                                                        <field name="COMMENT">Trigger auf false</field>
                                                                                                                                        <next>
                                                                                                                                          <block type="control" id="%N-Lsb5UMymK//4.U!9C">
                                                                                                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                                                            <field name="OID">javascript.0.Beregnung_Automatik.0.Trigger</field>
                                                                                                                                            <field name="WITH_DELAY">FALSE</field>
                                                                                                                                            <value name="VALUE">
                                                                                                                                              <block type="logic_boolean" id="TI$?BnQ.XL/==)sZ*}mW">
                                                                                                                                                <field name="BOOL">FALSE</field>
                                                                                                                                              </block>
                                                                                                                                            </value>
                                                                                                                                          </block>
                                                                                                                                        </next>
                                                                                                                                      </block>
                                                                                                                                    </next>
                                                                                                                                  </block>
                                                                                                                                </next>
                                                                                                                              </block>
                                                                                                                            </next>
                                                                                                                          </block>
                                                                                                                        </next>
                                                                                                                      </block>
                                                                                                                    </next>
                                                                                                                  </block>
                                                                                                                </statement>
                                                                                                              </block>
                                                                                                            </next>
                                                                                                          </block>
                                                                                                        </next>
                                                                                                      </block>
                                                                                                    </next>
                                                                                                  </block>
                                                                                                </next>
                                                                                              </block>
                                                                                            </next>
                                                                                          </block>
                                                                                        </next>
                                                                                      </block>
                                                                                    </next>
                                                                                  </block>
                                                                                </statement>
                                                                              </block>
                                                                            </next>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </statement>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="comment" id="k|O#9^V@imu(ArsoCx9F">
                    <field name="COMMENT">Pumpe ausschalten</field>
                    <next>
                      <block type="control" id="$wCL%H?OD{u4?9I0W4,#">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">sonoff.0.Sonoff_Pumpe_Sprenger.POWER</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="_I)n?2nf:Zpx^,Eq,Vo/">
                            <field name="BOOL">FALSE</field>
                          </block>
                        </value>
                        <next>
                          <block type="comment" id="|wH9d($;iYEg%Awg^x1T">
                            <field name="COMMENT">Ventile 1-3 schließen</field>
                            <next>
                              <block type="control" id="e,dRIdJ0pauN:ddef)Q{">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">hm-rpc.0.NEQ1316670.1.STATE</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id="Bot5x4gf8:Im{+.b!B`|">
                                    <field name="BOOL">FALSE</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="control" id="-IrY|-7~nUOy0?(fny%P">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">hm-rpc.0.NEQ1316670.2.STATE</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="__6WM(n}UQaV_x/QWMbB">
                                        <field name="BOOL">FALSE</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="control" id="7L`Rq)$kfeeCbS?fEcX,">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                        <field name="OID">hm-rpc.0.NEQ1316670.3.STATE</field>
                                        <field name="WITH_DELAY">FALSE</field>
                                        <value name="VALUE">
                                          <block type="logic_boolean" id="Dz(LW$Hf,9[u1vW:Fl%-">
                                            <field name="BOOL">FALSE</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="comment" id="6Ww1LcrL(uR/S]%tlApW">
                                            <field name="COMMENT">Zigbee Ventile 1-3 schließen</field>
                                            <next>
                                              <block type="control" id="3@w25G,t|!t}rndKuVm9">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                <field name="OID">zigbee.0.28dba7fffeaff176.state</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="logic_boolean" id="{V)FjV?5Ns5`w?~zW=kN">
                                                    <field name="BOOL">FALSE</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="control" id="Ei(3viA[C=5Kz)XE#=c+">
                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                    <field name="OID">zigbee.0.9035eafffef8fae6.state</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE">
                                                      <block type="logic_boolean" id="PMxKt)J6Py1,/fU.^J0/">
                                                        <field name="BOOL">FALSE</field>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="control" id="Jj)_~pS%D1Cf6w6i?Sr.">
                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                        <field name="OID">zigbee.0.9035eafffef8fd3e.state</field>
                                                        <field name="WITH_DELAY">FALSE</field>
                                                        <value name="VALUE">
                                                          <block type="logic_boolean" id="aKWLc:j`g~oJA!PgM}h;">
                                                            <field name="BOOL">FALSE</field>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="timeouts_cleartimeout" id="7|fOliT8c=O:e6EL42+)">
                                                            <field name="NAME">timeout</field>
                                                            <next>
                                                              <block type="timeouts_cleartimeout" id="GKT1(cN8_4~S`rCMOOf{">
                                                                <field name="NAME">timeout2</field>
                                                                <next>
                                                                  <block type="timeouts_cleartimeout" id="8PC*b3$_%]Z+QKdiQbj5">
                                                                    <field name="NAME">timeout3</field>
                                                                  </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>
            </statement>
          </block>
        </xml>
        

        c07738ae-0117-467a-bfcf-8630762270b8-image.png
        9a01f15f-575d-4b63-b5c8-210c8f7e1d93-image.png

        Hoffe, dass es ohne Fehler ist.

        Asgothian paul53 2 Replies Last reply Reply Quote 0
        • Asgothian
          Asgothian Developer @Superdad last edited by Asgothian

          @superdad sagte in Brauche Hilfe bei Script zwecks Abbruch:

          Hoffe, dass es ohne Fehler ist.

          Ist es nur bedingt. Da die Ausführung der setState befehle Zeit kosten kann sollten die Timeouts dringend vor dem schalten der Ventile etc. angehalten werden. Ansonsten kann es sein das durch einen noch nicht angehaltenen Timeout da etwas eingeschaltet wird was das Skript gerade vorher abgeschaltet hat.

          Das kommt im Zweifelsfall nur selten vor - ist aber nicht ausgeschlossen.

          A.

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

            @asgothian
            OMG
            Wie mache ich denn das jetzt wieder?

            1 Reply Last reply Reply Quote 0
            • S
              Superdad last edited by Superdad

              In jedem Timeout das vorherige Timeout nochmals stoppen?
              Also in TimeOut2 TimeOut stoppen?
              Und in TimeOut3 Timeout2 stoppen?

              So?
              c5652a9d-3c9f-4f39-888c-a722dd0cf88c-image.png

              Codierknecht paul53 2 Replies Last reply Reply Quote 0
              • Codierknecht
                Codierknecht Developer Most Active @Superdad last edited by Codierknecht

                @superdad
                Ich vermute, @Asgothian meint hier den "Sonst"-Teil.
                Hier zuerst die timeouts beenden und dann die states setzen.
                Also einfach die Reihenfolge ändern.

                Die anderen Stopps dürften aber auch nicht schaden.

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

                  @codierknecht
                  OK!
                  Vielen Dank für eure Hilfe!

                  1 Reply Last reply Reply Quote 0
                  • paul53
                    paul53 @Superdad last edited by

                    @superdad sagte: In jedem Timeout das vorherige Timeout nochmals stoppen?

                    Nein, das ist unnötig.

                    1 Reply Last reply Reply Quote 0
                    • paul53
                      paul53 @Superdad last edited by paul53

                      @superdad sagte: Ich habe es jetzt so gelöst:

                      Ich würde ein Minuten-Intervall mit einer Zählvariablen verwenden.

                      Blockly_temp.JPG

                      EDIT: Zusätzlich mit Ansagen (wie im ersten Beitrag):

                      Blockly_temp.JPG

                      Asgothian 1 Reply Last reply Reply Quote 0
                      • Asgothian
                        Asgothian Developer @paul53 last edited by

                        @paul53 sagte in Brauche Hilfe bei Script zwecks Abbruch:

                        @superdad sagte: Ich habe es jetzt so gelöst:

                        Ich würde ein Minuten-Intervall mit einer Zählvariablen verwenden.

                        Blockly_temp.JPG

                        Warum einen 1-Minütigen Heartbeat wenn die 3 verschachtelten Timeouts sauber laufen ? Das erschliesst sich mir nicht.

                        @codierknecht sagte in Brauche Hilfe bei Script zwecks Abbruch:

                        Ich vermute, @Asgothian meint hier den "Sonst"-Teil.

                        Korrekt. Das nur im Sonst-Teil\

                        A.

                        paul53 1 Reply Last reply Reply Quote 1
                        • paul53
                          paul53 @Asgothian last edited by

                          @asgothian sagte: Warum einen 1-Minütigen Heartbeat wenn die 3 verschachtelten Timeouts sauber laufen ?

                          Ich finde es übersichtlicher.

                          Codierknecht 1 Reply Last reply Reply Quote 1
                          • Codierknecht
                            Codierknecht Developer Most Active @paul53 last edited by

                            @paul53 sagte in Brauche Hilfe bei Script zwecks Abbruch:

                            Ich finde es übersichtlicher.

                            Ich nicht 😉

                            1 Reply Last reply Reply Quote 0
                            • S
                              Superdad last edited by

                              Hoffentlich habe ich jetzt hier keinen Glaubenskrieg ausgelöst?

                              Nochmals vielen Dank!

                              Asgothian 1 Reply Last reply Reply Quote 0
                              • Asgothian
                                Asgothian Developer @Superdad last edited by

                                @superdad sagte in Brauche Hilfe bei Script zwecks Abbruch:

                                Hoffentlich habe ich jetzt hier keinen Glaubenskrieg ausgelöst?

                                Nicht bei mir. Ich war nur neugierig.

                                Viel Spass mit der Lösung.

                                A.

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

                                Support us

                                ioBroker
                                Community Adapters
                                Donate

                                880
                                Online

                                31.6k
                                Users

                                79.6k
                                Topics

                                1.3m
                                Posts

                                4
                                20
                                777
                                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