Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • 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. Blockly schleife läuft durch

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    793

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    18
    1
    6.2k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.5k

Blockly schleife läuft durch

Geplant Angeheftet Gesperrt Verschoben Blockly
5 Beiträge 3 Kommentatoren 170 Aufrufe 2 Beobachtet
  • Ä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.
  • ChrisNettC Offline
    ChrisNettC Offline
    ChrisNett
    schrieb am zuletzt editiert von
    #1

    Hallo,

    Ich habe dieses Blockly geschrieben um mit wenn ein sender (oder mein test DP) auf true wechselt solange eine Telegram nachricht zu schicken bis ich das quittiere (tex2komm...)... das funktioniert so weit auch aber der JS-Adapter ist damit starkt ausgelattetes (>40% GPU) auch nach dem Quittieren... könnt ihr mir sagen warum?

    9f222ca5-49f1-4dd5-b595-e722f093d558-image.png

    <xml xmlns="https://developers.google.com/blockly/xml">
      <variables>
        <variable type="interval" id="intervall">intervall</variable>
      </variables>
      <block type="procedures_defcustomnoreturn" id="Y*CK._LX]d`/0lF^Qe;e" x="88" y="-37">
        <mutation statements="false"></mutation>
        <field name="NAME">Telegramm Quiut?</field>
        <field name="SCRIPT">c2VuZFRvKCd0ZWxlZ3JhbS4wJywgew0KICAgIHRleHQ6ICAgJ3F1aXR0aWVyZW4gPycsDQogICAgcmVwbHlfbWFya3VwOiB7DQogICAgICAgIGtleWJvYXJkOiBbDQogICAgICAgICAgICAgWydxdWl0dGllcmVuJ10NCiAgICAgICAgXSwNCiAgICAgICAgcmVzaXplX2tleWJvYXJkOiAgIHRydWUsDQogICAgICAgIG9uZV90aW1lX2tleWJvYXJkOiB0cnVlDQogICAgfQ0KfSk7</field>
        <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
      </block>
      <block type="control" id="qkr|Zv8.p7!#!r9I/lL[" x="88" y="-12">
        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
        <field name="OID">0_userdata.0.Eigene.Automation.Sicherheit.quittiert_on_off</field>
        <field name="WITH_DELAY">FALSE</field>
        <value name="VALUE">
          <block type="logic_boolean" id="t=3k+JLs]gz%.{Pq-5.=">
            <field name="BOOL">FALSE</field>
          </block>
        </value>
        <next>
          <block type="on_ext" id="Z:[WU-iKpUi}5h{-7B-O">
            <mutation xmlns="http://www.w3.org/1999/xhtml" items="4"></mutation>
            <field name="CONDITION">ne</field>
            <field name="ACK_CONDITION"></field>
            <value name="OID0">
              <shadow type="field_oid" id="SWdv!Fu.4VMGvAWgx}JD">
                <field name="oid">0_userdata.0.Eigene.Automation.Test.Test_true_false</field>
              </shadow>
            </value>
            <value name="OID1">
              <shadow type="field_oid" id="a9L@z3a+n6_D1UYvKt-u">
                <field name="oid">zigbee.0.00158d000705d726.detected</field>
              </shadow>
            </value>
            <value name="OID2">
              <shadow type="field_oid" id="yG|woHybI:7?(X8DR{[w">
                <field name="oid">zigbee.0.00158d0006f94454.detected</field>
              </shadow>
            </value>
            <value name="OID3">
              <shadow type="field_oid" id=",.ih_m2*^O3ga=+lJtYu">
                <field name="oid">zigbee.0.00158d000705b107.detected</field>
              </shadow>
            </value>
            <statement name="STATEMENT">
              <block type="controls_if" id="cganBdvt^Pqq^s)g-qKT">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="yA`xUc~Itn5]lEH+PO?,">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="on_source" id="#olW2?.8Xp-;E.MC`v{q">
                        <field name="ATTR">state.val</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_boolean" id="s:B:Xzm;^dY%$ReLcV~a">
                        <field name="BOOL">TRUE</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="procedures_callcustomnoreturn" id="@@;$vCT;o}h,Sy4$mr*w">
                    <mutation name="Telegramm Quiut?"></mutation>
                    <next>
                      <block type="timeouts_setinterval" id="+`AvYYvJD1p]=XIKfAiW">
                        <field name="NAME">intervall</field>
                        <field name="INTERVAL">1</field>
                        <field name="UNIT">sec</field>
                        <statement name="STATEMENT">
                          <block type="debug" id="pA8TS=DH(|08eOyy]BAS">
                            <field name="Severity">error</field>
                            <value name="TEXT">
                              <shadow type="text" id="^)]Lra!A:KZ8~1hkv?bh">
                                <field name="TEXT">Wasserschaden</field>
                              </shadow>
                              <block type="on_source" id="T6|GU(KRqsB2C3`s:ac8">
                                <field name="ATTR">channelName</field>
                              </block>
                            </value>
                            <next>
                              <block type="telegram" id="p71-/0dBke+)Wqhi$D7H" disabled="true">
                                <field name="INSTANCE"></field>
                                <field name="LOG">error</field>
                                <field name="SILENT">FALSE</field>
                                <field name="PARSEMODE">default</field>
                                <value name="MESSAGE">
                                  <shadow type="text" id="amu:R2T@@4xc_z3e6tT;">
                                    <field name="TEXT">Wasserschaden Küche</field>
                                  </shadow>
                                  <block type="text_join" id=";.{2+VV}(${m[PiV?5*C">
                                    <mutation items="2"></mutation>
                                    <value name="ADD0">
                                      <block type="text" id="C{c(_umh-]h3{mSbEc}S">
                                        <field name="TEXT">WASSER Melder Ausgelösst</field>
                                      </block>
                                    </value>
                                    <value name="ADD1">
                                      <block type="on_source" id="oB~M8T/6y=f!;Pz,;p[0">
                                        <field name="ATTR">channelName</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="USERNAME">
                                  <block type="text" id="A.SEvhki];sgRAKC5$2!">
                                    <field name="TEXT">Christian</field>
                                  </block>
                                </value>
                              </block>
                            </next>
                          </block>
                        </statement>
                      </block>
                    </next>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="timeouts_clearinterval" id="):dotUOV,q0n7ql9+gQv">
                    <field name="NAME">intervall</field>
                    <next>
                      <block type="control" id="%m`xLjZc_E=ha1s]MEO#">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">0_userdata.0.Eigene.Automation.Sicherheit.quittiert_on_off</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="@j,U52GVMY#%MxYu-Ba^">
                            <field name="BOOL">FALSE</field>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </statement>
              </block>
            </statement>
            <next>
              <block type="on_ext" id="MCF8g9[iF6A5yLWOXN-`">
                <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                <field name="CONDITION">any</field>
                <field name="ACK_CONDITION"></field>
                <value name="OID0">
                  <shadow type="field_oid" id=":TgBaz3t}(~JmS73]3^#">
                    <field name="oid">0_userdata.0.Eigene.Automation.Sicherheit.quittiert_on_off</field>
                  </shadow>
                </value>
                <statement name="STATEMENT">
                  <block type="timeouts_clearinterval" id="}mN*rb@PZ3Wt#o0z!_:v">
                    <field name="NAME">intervall</field>
                    <next>
                      <block type="control" id="gLK)^0H2|dyFT/K?w]jF">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">0_userdata.0.Eigene.Automation.Sicherheit.quittiert_on_off</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="_lG)#oR7-!^f#/Nt:O#1">
                            <field name="BOOL">FALSE</field>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </next>
      </block>
    </xml>
    

    Danke

    AsgothianA paul53P 2 Antworten Letzte Antwort
    0
    • ChrisNettC ChrisNett

      Hallo,

      Ich habe dieses Blockly geschrieben um mit wenn ein sender (oder mein test DP) auf true wechselt solange eine Telegram nachricht zu schicken bis ich das quittiere (tex2komm...)... das funktioniert so weit auch aber der JS-Adapter ist damit starkt ausgelattetes (>40% GPU) auch nach dem Quittieren... könnt ihr mir sagen warum?

      9f222ca5-49f1-4dd5-b595-e722f093d558-image.png

      <xml xmlns="https://developers.google.com/blockly/xml">
        <variables>
          <variable type="interval" id="intervall">intervall</variable>
        </variables>
        <block type="procedures_defcustomnoreturn" id="Y*CK._LX]d`/0lF^Qe;e" x="88" y="-37">
          <mutation statements="false"></mutation>
          <field name="NAME">Telegramm Quiut?</field>
          <field name="SCRIPT">c2VuZFRvKCd0ZWxlZ3JhbS4wJywgew0KICAgIHRleHQ6ICAgJ3F1aXR0aWVyZW4gPycsDQogICAgcmVwbHlfbWFya3VwOiB7DQogICAgICAgIGtleWJvYXJkOiBbDQogICAgICAgICAgICAgWydxdWl0dGllcmVuJ10NCiAgICAgICAgXSwNCiAgICAgICAgcmVzaXplX2tleWJvYXJkOiAgIHRydWUsDQogICAgICAgIG9uZV90aW1lX2tleWJvYXJkOiB0cnVlDQogICAgfQ0KfSk7</field>
          <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
        </block>
        <block type="control" id="qkr|Zv8.p7!#!r9I/lL[" x="88" y="-12">
          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
          <field name="OID">0_userdata.0.Eigene.Automation.Sicherheit.quittiert_on_off</field>
          <field name="WITH_DELAY">FALSE</field>
          <value name="VALUE">
            <block type="logic_boolean" id="t=3k+JLs]gz%.{Pq-5.=">
              <field name="BOOL">FALSE</field>
            </block>
          </value>
          <next>
            <block type="on_ext" id="Z:[WU-iKpUi}5h{-7B-O">
              <mutation xmlns="http://www.w3.org/1999/xhtml" items="4"></mutation>
              <field name="CONDITION">ne</field>
              <field name="ACK_CONDITION"></field>
              <value name="OID0">
                <shadow type="field_oid" id="SWdv!Fu.4VMGvAWgx}JD">
                  <field name="oid">0_userdata.0.Eigene.Automation.Test.Test_true_false</field>
                </shadow>
              </value>
              <value name="OID1">
                <shadow type="field_oid" id="a9L@z3a+n6_D1UYvKt-u">
                  <field name="oid">zigbee.0.00158d000705d726.detected</field>
                </shadow>
              </value>
              <value name="OID2">
                <shadow type="field_oid" id="yG|woHybI:7?(X8DR{[w">
                  <field name="oid">zigbee.0.00158d0006f94454.detected</field>
                </shadow>
              </value>
              <value name="OID3">
                <shadow type="field_oid" id=",.ih_m2*^O3ga=+lJtYu">
                  <field name="oid">zigbee.0.00158d000705b107.detected</field>
                </shadow>
              </value>
              <statement name="STATEMENT">
                <block type="controls_if" id="cganBdvt^Pqq^s)g-qKT">
                  <mutation else="1"></mutation>
                  <value name="IF0">
                    <block type="logic_compare" id="yA`xUc~Itn5]lEH+PO?,">
                      <field name="OP">EQ</field>
                      <value name="A">
                        <block type="on_source" id="#olW2?.8Xp-;E.MC`v{q">
                          <field name="ATTR">state.val</field>
                        </block>
                      </value>
                      <value name="B">
                        <block type="logic_boolean" id="s:B:Xzm;^dY%$ReLcV~a">
                          <field name="BOOL">TRUE</field>
                        </block>
                      </value>
                    </block>
                  </value>
                  <statement name="DO0">
                    <block type="procedures_callcustomnoreturn" id="@@;$vCT;o}h,Sy4$mr*w">
                      <mutation name="Telegramm Quiut?"></mutation>
                      <next>
                        <block type="timeouts_setinterval" id="+`AvYYvJD1p]=XIKfAiW">
                          <field name="NAME">intervall</field>
                          <field name="INTERVAL">1</field>
                          <field name="UNIT">sec</field>
                          <statement name="STATEMENT">
                            <block type="debug" id="pA8TS=DH(|08eOyy]BAS">
                              <field name="Severity">error</field>
                              <value name="TEXT">
                                <shadow type="text" id="^)]Lra!A:KZ8~1hkv?bh">
                                  <field name="TEXT">Wasserschaden</field>
                                </shadow>
                                <block type="on_source" id="T6|GU(KRqsB2C3`s:ac8">
                                  <field name="ATTR">channelName</field>
                                </block>
                              </value>
                              <next>
                                <block type="telegram" id="p71-/0dBke+)Wqhi$D7H" disabled="true">
                                  <field name="INSTANCE"></field>
                                  <field name="LOG">error</field>
                                  <field name="SILENT">FALSE</field>
                                  <field name="PARSEMODE">default</field>
                                  <value name="MESSAGE">
                                    <shadow type="text" id="amu:R2T@@4xc_z3e6tT;">
                                      <field name="TEXT">Wasserschaden Küche</field>
                                    </shadow>
                                    <block type="text_join" id=";.{2+VV}(${m[PiV?5*C">
                                      <mutation items="2"></mutation>
                                      <value name="ADD0">
                                        <block type="text" id="C{c(_umh-]h3{mSbEc}S">
                                          <field name="TEXT">WASSER Melder Ausgelösst</field>
                                        </block>
                                      </value>
                                      <value name="ADD1">
                                        <block type="on_source" id="oB~M8T/6y=f!;Pz,;p[0">
                                          <field name="ATTR">channelName</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <value name="USERNAME">
                                    <block type="text" id="A.SEvhki];sgRAKC5$2!">
                                      <field name="TEXT">Christian</field>
                                    </block>
                                  </value>
                                </block>
                              </next>
                            </block>
                          </statement>
                        </block>
                      </next>
                    </block>
                  </statement>
                  <statement name="ELSE">
                    <block type="timeouts_clearinterval" id="):dotUOV,q0n7ql9+gQv">
                      <field name="NAME">intervall</field>
                      <next>
                        <block type="control" id="%m`xLjZc_E=ha1s]MEO#">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">0_userdata.0.Eigene.Automation.Sicherheit.quittiert_on_off</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="logic_boolean" id="@j,U52GVMY#%MxYu-Ba^">
                              <field name="BOOL">FALSE</field>
                            </block>
                          </value>
                        </block>
                      </next>
                    </block>
                  </statement>
                </block>
              </statement>
              <next>
                <block type="on_ext" id="MCF8g9[iF6A5yLWOXN-`">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                  <field name="CONDITION">any</field>
                  <field name="ACK_CONDITION"></field>
                  <value name="OID0">
                    <shadow type="field_oid" id=":TgBaz3t}(~JmS73]3^#">
                      <field name="oid">0_userdata.0.Eigene.Automation.Sicherheit.quittiert_on_off</field>
                    </shadow>
                  </value>
                  <statement name="STATEMENT">
                    <block type="timeouts_clearinterval" id="}mN*rb@PZ3Wt#o0z!_:v">
                      <field name="NAME">intervall</field>
                      <next>
                        <block type="control" id="gLK)^0H2|dyFT/K?w]jF">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">0_userdata.0.Eigene.Automation.Sicherheit.quittiert_on_off</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="logic_boolean" id="_lG)#oR7-!^f#/Nt:O#1">
                              <field name="BOOL">FALSE</field>
                            </block>
                          </value>
                        </block>
                      </next>
                    </block>
                  </statement>
                </block>
              </next>
            </block>
          </next>
        </block>
      </xml>
      

      Danke

      AsgothianA Offline
      AsgothianA Offline
      Asgothian
      Developer
      schrieb am zuletzt editiert von
      #2

      @christian-sandkaulen

      • Warum läuft das Intervall einmal jede Sekunde ?
      • Was genau macht die Funktion Telegram Quiut ?

      Ich gehe davon aus das

      • die Telegram Funktion einiges an Rechenleistung zieht
      • das Ausführen dieser Funktion einmal pro Sekunde einfach zu oft ist. Muss das wirklich so schnell abgefragt werden ?

      A.

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

      ChrisNettC 1 Antwort Letzte Antwort
      0
      • AsgothianA Asgothian

        @christian-sandkaulen

        • Warum läuft das Intervall einmal jede Sekunde ?
        • Was genau macht die Funktion Telegram Quiut ?

        Ich gehe davon aus das

        • die Telegram Funktion einiges an Rechenleistung zieht
        • das Ausführen dieser Funktion einmal pro Sekunde einfach zu oft ist. Muss das wirklich so schnell abgefragt werden ?

        A.

        ChrisNettC Offline
        ChrisNettC Offline
        ChrisNett
        schrieb am zuletzt editiert von
        #3

        @asgothian sagte in Blockly schleife läuft durch:

        @christian-sandkaulen

        • Warum läuft das Intervall einmal jede Sekunde ?
        • Was genau macht die Funktion Telegram Quiut ?

        Ich gehe davon aus das

        • die Telegram Funktion einiges an Rechenleistung zieht
        • das Ausführen dieser Funktion einmal pro Sekunde einfach zu oft ist. Muss das wirklich so schnell abgefragt werden ?

        A.

        das Intervall ist sicher was hoch ich denke alle 10sec reicht, mir auch :-) ich möchte so lange nachrichten bekommen bis ich das bestätig habe--- dazu das die "Telegram Quiut" funktion
        Telegram Quiut ruft im telegram bot die button zum abstellen auf.

        sendTo('telegram.0', {
            text:   'quittieren ?',
            reply_markup: {
                keyboard: [
                     ['quittieren']
                ],
                resize_keyboard:   true,
                one_time_keyboard: true
            }
        });
        
        1 Antwort Letzte Antwort
        0
        • ChrisNettC ChrisNett

          Hallo,

          Ich habe dieses Blockly geschrieben um mit wenn ein sender (oder mein test DP) auf true wechselt solange eine Telegram nachricht zu schicken bis ich das quittiere (tex2komm...)... das funktioniert so weit auch aber der JS-Adapter ist damit starkt ausgelattetes (>40% GPU) auch nach dem Quittieren... könnt ihr mir sagen warum?

          9f222ca5-49f1-4dd5-b595-e722f093d558-image.png

          <xml xmlns="https://developers.google.com/blockly/xml">
            <variables>
              <variable type="interval" id="intervall">intervall</variable>
            </variables>
            <block type="procedures_defcustomnoreturn" id="Y*CK._LX]d`/0lF^Qe;e" x="88" y="-37">
              <mutation statements="false"></mutation>
              <field name="NAME">Telegramm Quiut?</field>
              <field name="SCRIPT">c2VuZFRvKCd0ZWxlZ3JhbS4wJywgew0KICAgIHRleHQ6ICAgJ3F1aXR0aWVyZW4gPycsDQogICAgcmVwbHlfbWFya3VwOiB7DQogICAgICAgIGtleWJvYXJkOiBbDQogICAgICAgICAgICAgWydxdWl0dGllcmVuJ10NCiAgICAgICAgXSwNCiAgICAgICAgcmVzaXplX2tleWJvYXJkOiAgIHRydWUsDQogICAgICAgIG9uZV90aW1lX2tleWJvYXJkOiB0cnVlDQogICAgfQ0KfSk7</field>
              <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
            </block>
            <block type="control" id="qkr|Zv8.p7!#!r9I/lL[" x="88" y="-12">
              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
              <field name="OID">0_userdata.0.Eigene.Automation.Sicherheit.quittiert_on_off</field>
              <field name="WITH_DELAY">FALSE</field>
              <value name="VALUE">
                <block type="logic_boolean" id="t=3k+JLs]gz%.{Pq-5.=">
                  <field name="BOOL">FALSE</field>
                </block>
              </value>
              <next>
                <block type="on_ext" id="Z:[WU-iKpUi}5h{-7B-O">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" items="4"></mutation>
                  <field name="CONDITION">ne</field>
                  <field name="ACK_CONDITION"></field>
                  <value name="OID0">
                    <shadow type="field_oid" id="SWdv!Fu.4VMGvAWgx}JD">
                      <field name="oid">0_userdata.0.Eigene.Automation.Test.Test_true_false</field>
                    </shadow>
                  </value>
                  <value name="OID1">
                    <shadow type="field_oid" id="a9L@z3a+n6_D1UYvKt-u">
                      <field name="oid">zigbee.0.00158d000705d726.detected</field>
                    </shadow>
                  </value>
                  <value name="OID2">
                    <shadow type="field_oid" id="yG|woHybI:7?(X8DR{[w">
                      <field name="oid">zigbee.0.00158d0006f94454.detected</field>
                    </shadow>
                  </value>
                  <value name="OID3">
                    <shadow type="field_oid" id=",.ih_m2*^O3ga=+lJtYu">
                      <field name="oid">zigbee.0.00158d000705b107.detected</field>
                    </shadow>
                  </value>
                  <statement name="STATEMENT">
                    <block type="controls_if" id="cganBdvt^Pqq^s)g-qKT">
                      <mutation else="1"></mutation>
                      <value name="IF0">
                        <block type="logic_compare" id="yA`xUc~Itn5]lEH+PO?,">
                          <field name="OP">EQ</field>
                          <value name="A">
                            <block type="on_source" id="#olW2?.8Xp-;E.MC`v{q">
                              <field name="ATTR">state.val</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="logic_boolean" id="s:B:Xzm;^dY%$ReLcV~a">
                              <field name="BOOL">TRUE</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <statement name="DO0">
                        <block type="procedures_callcustomnoreturn" id="@@;$vCT;o}h,Sy4$mr*w">
                          <mutation name="Telegramm Quiut?"></mutation>
                          <next>
                            <block type="timeouts_setinterval" id="+`AvYYvJD1p]=XIKfAiW">
                              <field name="NAME">intervall</field>
                              <field name="INTERVAL">1</field>
                              <field name="UNIT">sec</field>
                              <statement name="STATEMENT">
                                <block type="debug" id="pA8TS=DH(|08eOyy]BAS">
                                  <field name="Severity">error</field>
                                  <value name="TEXT">
                                    <shadow type="text" id="^)]Lra!A:KZ8~1hkv?bh">
                                      <field name="TEXT">Wasserschaden</field>
                                    </shadow>
                                    <block type="on_source" id="T6|GU(KRqsB2C3`s:ac8">
                                      <field name="ATTR">channelName</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="telegram" id="p71-/0dBke+)Wqhi$D7H" disabled="true">
                                      <field name="INSTANCE"></field>
                                      <field name="LOG">error</field>
                                      <field name="SILENT">FALSE</field>
                                      <field name="PARSEMODE">default</field>
                                      <value name="MESSAGE">
                                        <shadow type="text" id="amu:R2T@@4xc_z3e6tT;">
                                          <field name="TEXT">Wasserschaden Küche</field>
                                        </shadow>
                                        <block type="text_join" id=";.{2+VV}(${m[PiV?5*C">
                                          <mutation items="2"></mutation>
                                          <value name="ADD0">
                                            <block type="text" id="C{c(_umh-]h3{mSbEc}S">
                                              <field name="TEXT">WASSER Melder Ausgelösst</field>
                                            </block>
                                          </value>
                                          <value name="ADD1">
                                            <block type="on_source" id="oB~M8T/6y=f!;Pz,;p[0">
                                              <field name="ATTR">channelName</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <value name="USERNAME">
                                        <block type="text" id="A.SEvhki];sgRAKC5$2!">
                                          <field name="TEXT">Christian</field>
                                        </block>
                                      </value>
                                    </block>
                                  </next>
                                </block>
                              </statement>
                            </block>
                          </next>
                        </block>
                      </statement>
                      <statement name="ELSE">
                        <block type="timeouts_clearinterval" id="):dotUOV,q0n7ql9+gQv">
                          <field name="NAME">intervall</field>
                          <next>
                            <block type="control" id="%m`xLjZc_E=ha1s]MEO#">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">0_userdata.0.Eigene.Automation.Sicherheit.quittiert_on_off</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id="@j,U52GVMY#%MxYu-Ba^">
                                  <field name="BOOL">FALSE</field>
                                </block>
                              </value>
                            </block>
                          </next>
                        </block>
                      </statement>
                    </block>
                  </statement>
                  <next>
                    <block type="on_ext" id="MCF8g9[iF6A5yLWOXN-`">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                      <field name="CONDITION">any</field>
                      <field name="ACK_CONDITION"></field>
                      <value name="OID0">
                        <shadow type="field_oid" id=":TgBaz3t}(~JmS73]3^#">
                          <field name="oid">0_userdata.0.Eigene.Automation.Sicherheit.quittiert_on_off</field>
                        </shadow>
                      </value>
                      <statement name="STATEMENT">
                        <block type="timeouts_clearinterval" id="}mN*rb@PZ3Wt#o0z!_:v">
                          <field name="NAME">intervall</field>
                          <next>
                            <block type="control" id="gLK)^0H2|dyFT/K?w]jF">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">0_userdata.0.Eigene.Automation.Sicherheit.quittiert_on_off</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id="_lG)#oR7-!^f#/Nt:O#1">
                                  <field name="BOOL">FALSE</field>
                                </block>
                              </value>
                            </block>
                          </next>
                        </block>
                      </statement>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </xml>
          

          Danke

          paul53P Offline
          paul53P Offline
          paul53
          schrieb am zuletzt editiert von paul53
          #4

          @christian-sandkaulen sagte: nach dem Quittieren... könnt ihr mir sagen warum?

          Der Quittierungs-Trigger erzeugt mit "wurde aktualisiert" eine Endlosschleife, da auf jedes "steuere quittiert_on_off mit falsch" erneut getriggert wird. Ändere den Trigger auf "ist größer als letztes".

          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

          ChrisNettC 1 Antwort Letzte Antwort
          0
          • paul53P paul53

            @christian-sandkaulen sagte: nach dem Quittieren... könnt ihr mir sagen warum?

            Der Quittierungs-Trigger erzeugt mit "wurde aktualisiert" eine Endlosschleife, da auf jedes "steuere quittiert_on_off mit falsch" erneut getriggert wird. Ändere den Trigger auf "ist größer als letztes".

            ChrisNettC Offline
            ChrisNettC Offline
            ChrisNett
            schrieb am zuletzt editiert von
            #5

            @paul53 sagte in Blockly schleife läuft durch:

            @christian-sandkaulen sagte: nach dem Quittieren... könnt ihr mir sagen warum?

            Der Quittierungs-Trigger erzeugt mit "wurde aktualisiert" eine Endlosschleife, da auf jedes "steuere quittiert_on_off mit falsch" erneut getriggert wird. Ändere den Trigger auf "ist größer als letztes".

            Ohh super danke, das habe ich nicht gesehen.

            1 Antwort Letzte Antwort
            0

            Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

            Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

            Mit deinem Input könnte dieser Beitrag noch besser werden 💗

            Registrieren Anmelden
            Antworten
            • In einem neuen Thema antworten
            Anmelden zum Antworten
            • Älteste zuerst
            • Neuste zuerst
            • Meiste Stimmen


            Support us

            ioBroker
            Community Adapters
            Donate

            567

            Online

            32.8k

            Benutzer

            82.7k

            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