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

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. 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.2k

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

[Gelöst] Brauche Hilfe bei Script zwecks Abbruch

Geplant Angeheftet Gesperrt Verschoben Blockly
20 Beiträge 4 Kommentatoren 1.7k Aufrufe 3 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • AsgothianA 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 Offline
    S Offline
    Superdad
    schrieb am zuletzt editiert von
    #10

    @asgothian
    OMG
    Wie mache ich denn das jetzt wieder?

    CCU3

    iOBroker auf IntelNUC Proxmox

    1 Antwort Letzte Antwort
    0
    • S Offline
      S Offline
      Superdad
      schrieb am zuletzt editiert von 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 Antworten Letzte Antwort
      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
        schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
        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
          schrieb am zuletzt editiert von
          #13

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

          CCU3

          iOBroker auf IntelNUC Proxmox

          1 Antwort Letzte Antwort
          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
            schrieb am zuletzt editiert von
            #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 Antwort Letzte Antwort
            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
              schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
              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
                schrieb am zuletzt editiert von
                #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 Antwort Letzte Antwort
                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
                  schrieb am zuletzt editiert von
                  #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 Antwort Letzte Antwort
                  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
                    schrieb am zuletzt editiert von
                    #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 Antwort Letzte Antwort
                    0
                    • S Offline
                      S Offline
                      Superdad
                      schrieb am zuletzt editiert von
                      #19

                      Hoffentlich habe ich jetzt hier keinen Glaubenskrieg ausgelöst?

                      Nochmals vielen Dank!

                      CCU3

                      iOBroker auf IntelNUC Proxmox

                      AsgothianA 1 Antwort Letzte Antwort
                      0
                      • S Superdad

                        Hoffentlich habe ich jetzt hier keinen Glaubenskrieg ausgelöst?

                        Nochmals vielen Dank!

                        AsgothianA Offline
                        AsgothianA Offline
                        Asgothian
                        Developer
                        schrieb am zuletzt editiert von
                        #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 Antwort Letzte Antwort
                        0
                        Antworten
                        • In einem neuen Thema antworten
                        Anmelden zum Antworten
                        • Älteste zuerst
                        • Neuste zuerst
                        • Meiste Stimmen


                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        816

                        Online

                        32.4k

                        Benutzer

                        81.5k

                        Themen

                        1.3m

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

                        • Du hast noch kein Konto? Registrieren

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