Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. [Gelöst] Brauche Hilfe bei Script zwecks Abbruch

NEWS

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

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

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

[Gelöst] Brauche Hilfe bei Script zwecks Abbruch

Scheduled Pinned Locked Moved Blockly
20 Posts 4 Posters 1.7k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Superdad
    wrote on last edited by Superdad
    #11

    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

    CCU3

    iOBroker auf IntelNUC Proxmox

    CodierknechtC paul53P 2 Replies Last reply
    0
    • S 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

      CodierknechtC Offline
      CodierknechtC Offline
      Codierknecht
      Developer Most Active
      wrote on last edited by Codierknecht
      #12

      @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.

      "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." (Martin Fowler, "Refactoring")

      Proxmox 9.1.1 LXC|8 GB|Core i7-6700
      HmIP|ZigBee|Tasmota|Unifi
      Zabbix Certified Specialist
      Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag

      S 1 Reply Last reply
      0
      • CodierknechtC 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 Offline
        S Offline
        Superdad
        wrote on last edited by
        #13

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

        CCU3

        iOBroker auf IntelNUC Proxmox

        1 Reply Last reply
        0
        • S 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

          paul53P Offline
          paul53P Offline
          paul53
          wrote on last edited by
          #14

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

          Nein, das ist unnötig.

          Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
          Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

          1 Reply Last reply
          0
          • S Superdad

            @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.

            paul53P Offline
            paul53P Offline
            paul53
            wrote on last edited by paul53
            #15

            @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

            Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
            Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

            AsgothianA 1 Reply Last reply
            0
            • paul53P 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

              AsgothianA Offline
              AsgothianA Offline
              Asgothian
              Developer
              wrote on last edited by
              #16

              @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.

              ioBroker auf RPi4 - Hardware soweit wie möglich via Zigbee.
              "Shit don't work" ist keine Fehlermeldung, sondern ein Fluch.

              paul53P 1 Reply Last reply
              1
              • AsgothianA Asgothian

                @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.

                paul53P Offline
                paul53P Offline
                paul53
                wrote on last edited by
                #17

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

                Ich finde es übersichtlicher.

                Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                CodierknechtC 1 Reply Last reply
                1
                • paul53P paul53

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

                  Ich finde es übersichtlicher.

                  CodierknechtC Offline
                  CodierknechtC Offline
                  Codierknecht
                  Developer Most Active
                  wrote on last edited by
                  #18

                  @paul53 sagte in Brauche Hilfe bei Script zwecks Abbruch:

                  Ich finde es übersichtlicher.

                  Ich nicht ;-)

                  "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." (Martin Fowler, "Refactoring")

                  Proxmox 9.1.1 LXC|8 GB|Core i7-6700
                  HmIP|ZigBee|Tasmota|Unifi
                  Zabbix Certified Specialist
                  Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    Superdad
                    wrote on last edited by
                    #19

                    Hoffentlich habe ich jetzt hier keinen Glaubenskrieg ausgelöst?

                    Nochmals vielen Dank!

                    CCU3

                    iOBroker auf IntelNUC Proxmox

                    AsgothianA 1 Reply Last reply
                    0
                    • S Superdad

                      Hoffentlich habe ich jetzt hier keinen Glaubenskrieg ausgelöst?

                      Nochmals vielen Dank!

                      AsgothianA Offline
                      AsgothianA Offline
                      Asgothian
                      Developer
                      wrote on last edited by
                      #20

                      @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.

                      ioBroker auf RPi4 - Hardware soweit wie möglich via Zigbee.
                      "Shit don't work" ist keine Fehlermeldung, sondern ein Fluch.

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      Support us

                      ioBroker
                      Community Adapters
                      Donate

                      809

                      Online

                      32.4k

                      Users

                      81.6k

                      Topics

                      1.3m

                      Posts
                      Community
                      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                      ioBroker Community 2014-2025
                      logo
                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Home
                      • Recent
                      • Tags
                      • Unread 0
                      • Categories
                      • Unreplied
                      • Popular
                      • GitHub
                      • Docu
                      • Hilfe