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 Fenstererkennung fehlerhaft

NEWS

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    6
    1
    227

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    8
    1
    222

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

Blockly Fenstererkennung fehlerhaft

Geplant Angeheftet Gesperrt Verschoben Blockly
12 Beiträge 3 Kommentatoren 558 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.
  • G Offline
    G Offline
    Gismoh
    schrieb am zuletzt editiert von Gismoh
    #1

    Hallo,
    irgendwo ist bei dem Skript der Wurm drin.
    Häufig, aber nicht immer bekomme ich weiterhin die Meldung, das ich das Fenster schließen soll,
    obwohl es längst geschlossen ist.

    Teilweise kommt sogar diese Meldung, wenn ich das Fenster vorher gar nicht geöffnet habe.
    Evtl. kann jemand von euch meine(n) Fehler finden?
    Okay, den Fehler mit zwei mal.. bzw. 1x kleiner und einmal kleiner gleich habe ich nun gesehen, aber daran kann es ja nicht alleine liegen. Kommt leider auch bei anderen Fenstern vor.
    fenster.gif

    <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="interval" id="Intervall">Intervall</variable>
        <variable type="interval" id="Intervall2">Intervall2</variable>
      </variables>
      <block type="on" id="}X18$mSrgDt8+ASv_!,!" x="-437" y="-1162">
        <field name="OID">deconz.0.Sensors.14.open</field>
        <field name="CONDITION">any</field>
        <field name="ACK_CONDITION"></field>
        <statement name="STATEMENT">
          <block type="controls_if" id="])W;Mu*ty13+=g[%*0Aq">
            <mutation else="1"></mutation>
            <value name="IF0">
              <block type="logic_operation" id="i?*sX^it1?ErKlJc%UH^">
                <field name="OP">AND</field>
                <value name="A">
                  <block type="logic_compare" id="~Uc==K0FO~Bm7$GFPhrw">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="on_source" id="((pd9K:+hKqEPd[D(S9L">
                        <field name="ATTR">state.val</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_boolean" id="F^LUuZ~s}hDs4@z[F~)M">
                        <field name="BOOL">TRUE</field>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_compare" id="[X:IB!-H)xytEVSORxv-">
                    <field name="OP">LTE</field>
                    <value name="A">
                      <block type="get_value" id="|e}RS_s#Svrq6/-I/16v">
                        <field name="ATTR">val</field>
                        <field name="OID">deconz.0.Sensors.5.temperature</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="math_number" id="26rTjVQK_ouv7]PfFt,$">
                        <field name="NUM">3</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="timeouts_settimeout" id="#l$|oP}}mg_),SiU2cUb">
                <field name="NAME">timeout</field>
                <field name="DELAY">7</field>
                <field name="UNIT">min</field>
                <statement name="STATEMENT">
                  <block type="telegram" id="MJB9.aFlUSZdQepmooyz">
                    <field name="INSTANCE"></field>
                    <field name="LOG"></field>
                    <field name="SILENT">FALSE</field>
                    <field name="PARSEMODE">default</field>
                    <value name="MESSAGE">
                      <shadow type="text" id="L!d-`HPcY3)tXg4({pxl">
                        <field name="TEXT">Fenstererkennung Bitte Wohnzimmer Fenster Schließen</field>
                      </shadow>
                    </value>
                    <next>
                      <block type="control" id="_G_{rP_/5(WpRk5#-?oF">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">alexa2.0.Echo-Devices.G090XG0894770UC4.Commands.speak</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="text" id="e4rr:}K_X-ryx5YGk]cB">
                            <field name="TEXT">Fenstererkennung Bitte Wohnzimmer Fenster schließen</field>
                          </block>
                        </value>
                        <next>
                          <block type="control" id="Z:02%*HV`00WrJNU{O7c">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                            <field name="OID">alexa2.0.Echo-Devices.G090XG0894772GR9.Commands.speak</field>
                            <field name="WITH_DELAY">TRUE</field>
                            <field name="DELAY_MS">9</field>
                            <field name="UNIT">sec</field>
                            <field name="CLEAR_RUNNING">FALSE</field>
                            <value name="VALUE">
                              <block type="text" id="hoRBb)9ufjPt1[Ypg8r8">
                                <field name="TEXT">Fenstererkennung Bitte Wohnzimmer Fenster schließen</field>
                              </block>
                            </value>
                            <next>
                              <block type="timeouts_setinterval" id="yC=4NbR3=X[XRa)w^HeM">
                                <field name="NAME">Intervall</field>
                                <field name="INTERVAL">90</field>
                                <field name="UNIT">sec</field>
                                <statement name="STATEMENT">
                                  <block type="control" id="T{PC{degEoC~}$mGooWv">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">alexa2.0.Echo-Devices.G090XG0894770UC4.Commands.speak</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="text" id="42pFw5e;~]0le/=hf@4{">
                                        <field name="TEXT">Fenstererkennung Bitte Wohnzimmer Fenster schließen</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="control" id="Hqc]D/v5E9kkgSdXVeq2">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                        <field name="OID">alexa2.0.Echo-Devices.G090XG0894772GR9.Commands.speak</field>
                                        <field name="WITH_DELAY">TRUE</field>
                                        <field name="DELAY_MS">9</field>
                                        <field name="UNIT">sec</field>
                                        <field name="CLEAR_RUNNING">FALSE</field>
                                        <value name="VALUE">
                                          <block type="text" id="Qviv8mBY87-~-MT|N8g,">
                                            <field name="TEXT">Fenstererkennung Bitte Wohnzimmer Fenster schließen</field>
                                          </block>
                                        </value>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
              </block>
            </statement>
            <statement name="ELSE">
              <block type="timeouts_cleartimeout" id="zfXvFv;!_N9Bpi{OC/Bp">
                <field name="NAME">timeout</field>
                <next>
                  <block type="timeouts_clearinterval" id="v]P+K1TiI4^!?G^QDR[2">
                    <field name="NAME">Intervall</field>
                  </block>
                </next>
              </block>
            </statement>
          </block>
        </statement>
      </block>
      <block type="on" id="yh-88=JyD1@j^y:%E/R=" x="-437" y="-488">
        <field name="OID">deconz.0.Sensors.14.open</field>
        <field name="CONDITION">any</field>
        <field name="ACK_CONDITION"></field>
        <statement name="STATEMENT">
          <block type="controls_if" id="g@$jUUU;L3=PlKi$|}[$">
            <mutation else="1"></mutation>
            <value name="IF0">
              <block type="logic_operation" id="wc#.a[rc7Byr=yc6x!V%">
                <field name="OP">AND</field>
                <value name="A">
                  <block type="logic_compare" id="dM=id8@I?s{7Dk;R-9f_">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="on_source" id="w-GaBY[Y)_J2M(t:h:)(">
                        <field name="ATTR">state.val</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_boolean" id="5nFDa|LIX[#CKVJs,6`?">
                        <field name="BOOL">TRUE</field>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_compare" id="ILWx9u%;f3JE@S3vih=`">
                    <field name="OP">LT</field>
                    <value name="A">
                      <block type="get_value" id="eO$UM0gt}w(R7J@!H1cN">
                        <field name="ATTR">val</field>
                        <field name="OID">deconz.0.Sensors.5.temperature</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="math_number" id="zmyl@Td5sd;zxf:.*0xb">
                        <field name="NUM">3</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="timeouts_settimeout" id="v:3,qwH_w;}`[L}X_J$G">
                <field name="NAME">timeout2</field>
                <field name="DELAY">4</field>
                <field name="UNIT">min</field>
                <statement name="STATEMENT">
                  <block type="telegram" id="4pFLJTRrMeXn4BS`|T(k">
                    <field name="INSTANCE"></field>
                    <field name="LOG"></field>
                    <field name="SILENT">FALSE</field>
                    <field name="PARSEMODE">default</field>
                    <value name="MESSAGE">
                      <shadow type="text" id="vVs2D;dHPX]Z@QFi%H;s">
                        <field name="TEXT">Fenstererkennung Bitte Wohnzimmer Fenster Schließen</field>
                      </shadow>
                    </value>
                    <next>
                      <block type="control" id="0V5(t}xAQgb69UIks3P1">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">alexa2.0.Echo-Devices.G090XG0894770UC4.Commands.speak</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="text" id="uau.H,PJ5lsbY2CRHB6K">
                            <field name="TEXT">Fenstererkennung Bitte Wohnzimmer Fenster schließen</field>
                          </block>
                        </value>
                        <next>
                          <block type="control" id=";{5e:3`i/C!#k1|E%qh.">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                            <field name="OID">alexa2.0.Echo-Devices.G090XG0894772GR9.Commands.speak</field>
                            <field name="WITH_DELAY">TRUE</field>
                            <field name="DELAY_MS">9</field>
                            <field name="UNIT">sec</field>
                            <field name="CLEAR_RUNNING">FALSE</field>
                            <value name="VALUE">
                              <block type="text" id="^8xxFrdKR([fiqFg?JMK">
                                <field name="TEXT">Fenstererkennung Bitte Wohnzimmer Fenster schließen</field>
                              </block>
                            </value>
                            <next>
                              <block type="timeouts_setinterval" id="(+T6;_*Xv*O%+u$)Ypu5">
                                <field name="NAME">Intervall2</field>
                                <field name="INTERVAL">90</field>
                                <field name="UNIT">sec</field>
                                <statement name="STATEMENT">
                                  <block type="control" id="?`N3/(GTpLSrQ54s[.6R">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">alexa2.0.Echo-Devices.G090XG0894770UC4.Commands.speak</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="text" id="(QRqMH|Gb+Yg+=.T17jm">
                                        <field name="TEXT">Fenstererkennung Bitte Wohnzimmer Fenster schließen</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="control" id="Y[,7WBLmy/y4j{MfM7x/">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                        <field name="OID">alexa2.0.Echo-Devices.G090XG0894772GR9.Commands.speak</field>
                                        <field name="WITH_DELAY">TRUE</field>
                                        <field name="DELAY_MS">9</field>
                                        <field name="UNIT">sec</field>
                                        <field name="CLEAR_RUNNING">FALSE</field>
                                        <value name="VALUE">
                                          <block type="text" id="9Us:|[YLg5yJ(,_M.Mv5">
                                            <field name="TEXT">Fenstererkennung Bitte Wohnzimmer Fenster schließen</field>
                                          </block>
                                        </value>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
              </block>
            </statement>
            <statement name="ELSE">
              <block type="timeouts_cleartimeout" id="]d/{Ej=0EtXLy?9Q9K2:">
                <field name="NAME">timeout2</field>
                <next>
                  <block type="timeouts_clearinterval" id="vf6w$dN({T;aM{,u(qSS">
                    <field name="NAME">Intervall2</field>
                  </block>
                </next>
              </block>
            </statement>
          </block>
        </statement>
      </block>
    </xml>
    

    ioBroker auf: Lenovo ThinkCentre M910Q Tiny i5-7500T 16 GB mit proxmox in VM (Bookworm)

    paul53P F 2 Antworten Letzte Antwort
    0
    • G Gismoh

      Hallo,
      irgendwo ist bei dem Skript der Wurm drin.
      Häufig, aber nicht immer bekomme ich weiterhin die Meldung, das ich das Fenster schließen soll,
      obwohl es längst geschlossen ist.

      Teilweise kommt sogar diese Meldung, wenn ich das Fenster vorher gar nicht geöffnet habe.
      Evtl. kann jemand von euch meine(n) Fehler finden?
      Okay, den Fehler mit zwei mal.. bzw. 1x kleiner und einmal kleiner gleich habe ich nun gesehen, aber daran kann es ja nicht alleine liegen. Kommt leider auch bei anderen Fenstern vor.
      fenster.gif

      <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="interval" id="Intervall">Intervall</variable>
          <variable type="interval" id="Intervall2">Intervall2</variable>
        </variables>
        <block type="on" id="}X18$mSrgDt8+ASv_!,!" x="-437" y="-1162">
          <field name="OID">deconz.0.Sensors.14.open</field>
          <field name="CONDITION">any</field>
          <field name="ACK_CONDITION"></field>
          <statement name="STATEMENT">
            <block type="controls_if" id="])W;Mu*ty13+=g[%*0Aq">
              <mutation else="1"></mutation>
              <value name="IF0">
                <block type="logic_operation" id="i?*sX^it1?ErKlJc%UH^">
                  <field name="OP">AND</field>
                  <value name="A">
                    <block type="logic_compare" id="~Uc==K0FO~Bm7$GFPhrw">
                      <field name="OP">EQ</field>
                      <value name="A">
                        <block type="on_source" id="((pd9K:+hKqEPd[D(S9L">
                          <field name="ATTR">state.val</field>
                        </block>
                      </value>
                      <value name="B">
                        <block type="logic_boolean" id="F^LUuZ~s}hDs4@z[F~)M">
                          <field name="BOOL">TRUE</field>
                        </block>
                      </value>
                    </block>
                  </value>
                  <value name="B">
                    <block type="logic_compare" id="[X:IB!-H)xytEVSORxv-">
                      <field name="OP">LTE</field>
                      <value name="A">
                        <block type="get_value" id="|e}RS_s#Svrq6/-I/16v">
                          <field name="ATTR">val</field>
                          <field name="OID">deconz.0.Sensors.5.temperature</field>
                        </block>
                      </value>
                      <value name="B">
                        <block type="math_number" id="26rTjVQK_ouv7]PfFt,$">
                          <field name="NUM">3</field>
                        </block>
                      </value>
                    </block>
                  </value>
                </block>
              </value>
              <statement name="DO0">
                <block type="timeouts_settimeout" id="#l$|oP}}mg_),SiU2cUb">
                  <field name="NAME">timeout</field>
                  <field name="DELAY">7</field>
                  <field name="UNIT">min</field>
                  <statement name="STATEMENT">
                    <block type="telegram" id="MJB9.aFlUSZdQepmooyz">
                      <field name="INSTANCE"></field>
                      <field name="LOG"></field>
                      <field name="SILENT">FALSE</field>
                      <field name="PARSEMODE">default</field>
                      <value name="MESSAGE">
                        <shadow type="text" id="L!d-`HPcY3)tXg4({pxl">
                          <field name="TEXT">Fenstererkennung Bitte Wohnzimmer Fenster Schließen</field>
                        </shadow>
                      </value>
                      <next>
                        <block type="control" id="_G_{rP_/5(WpRk5#-?oF">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">alexa2.0.Echo-Devices.G090XG0894770UC4.Commands.speak</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="text" id="e4rr:}K_X-ryx5YGk]cB">
                              <field name="TEXT">Fenstererkennung Bitte Wohnzimmer Fenster schließen</field>
                            </block>
                          </value>
                          <next>
                            <block type="control" id="Z:02%*HV`00WrJNU{O7c">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                              <field name="OID">alexa2.0.Echo-Devices.G090XG0894772GR9.Commands.speak</field>
                              <field name="WITH_DELAY">TRUE</field>
                              <field name="DELAY_MS">9</field>
                              <field name="UNIT">sec</field>
                              <field name="CLEAR_RUNNING">FALSE</field>
                              <value name="VALUE">
                                <block type="text" id="hoRBb)9ufjPt1[Ypg8r8">
                                  <field name="TEXT">Fenstererkennung Bitte Wohnzimmer Fenster schließen</field>
                                </block>
                              </value>
                              <next>
                                <block type="timeouts_setinterval" id="yC=4NbR3=X[XRa)w^HeM">
                                  <field name="NAME">Intervall</field>
                                  <field name="INTERVAL">90</field>
                                  <field name="UNIT">sec</field>
                                  <statement name="STATEMENT">
                                    <block type="control" id="T{PC{degEoC~}$mGooWv">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                      <field name="OID">alexa2.0.Echo-Devices.G090XG0894770UC4.Commands.speak</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="text" id="42pFw5e;~]0le/=hf@4{">
                                          <field name="TEXT">Fenstererkennung Bitte Wohnzimmer Fenster schließen</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="control" id="Hqc]D/v5E9kkgSdXVeq2">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                          <field name="OID">alexa2.0.Echo-Devices.G090XG0894772GR9.Commands.speak</field>
                                          <field name="WITH_DELAY">TRUE</field>
                                          <field name="DELAY_MS">9</field>
                                          <field name="UNIT">sec</field>
                                          <field name="CLEAR_RUNNING">FALSE</field>
                                          <value name="VALUE">
                                            <block type="text" id="Qviv8mBY87-~-MT|N8g,">
                                              <field name="TEXT">Fenstererkennung Bitte Wohnzimmer Fenster schließen</field>
                                            </block>
                                          </value>
                                        </block>
                                      </next>
                                    </block>
                                  </statement>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </statement>
                </block>
              </statement>
              <statement name="ELSE">
                <block type="timeouts_cleartimeout" id="zfXvFv;!_N9Bpi{OC/Bp">
                  <field name="NAME">timeout</field>
                  <next>
                    <block type="timeouts_clearinterval" id="v]P+K1TiI4^!?G^QDR[2">
                      <field name="NAME">Intervall</field>
                    </block>
                  </next>
                </block>
              </statement>
            </block>
          </statement>
        </block>
        <block type="on" id="yh-88=JyD1@j^y:%E/R=" x="-437" y="-488">
          <field name="OID">deconz.0.Sensors.14.open</field>
          <field name="CONDITION">any</field>
          <field name="ACK_CONDITION"></field>
          <statement name="STATEMENT">
            <block type="controls_if" id="g@$jUUU;L3=PlKi$|}[$">
              <mutation else="1"></mutation>
              <value name="IF0">
                <block type="logic_operation" id="wc#.a[rc7Byr=yc6x!V%">
                  <field name="OP">AND</field>
                  <value name="A">
                    <block type="logic_compare" id="dM=id8@I?s{7Dk;R-9f_">
                      <field name="OP">EQ</field>
                      <value name="A">
                        <block type="on_source" id="w-GaBY[Y)_J2M(t:h:)(">
                          <field name="ATTR">state.val</field>
                        </block>
                      </value>
                      <value name="B">
                        <block type="logic_boolean" id="5nFDa|LIX[#CKVJs,6`?">
                          <field name="BOOL">TRUE</field>
                        </block>
                      </value>
                    </block>
                  </value>
                  <value name="B">
                    <block type="logic_compare" id="ILWx9u%;f3JE@S3vih=`">
                      <field name="OP">LT</field>
                      <value name="A">
                        <block type="get_value" id="eO$UM0gt}w(R7J@!H1cN">
                          <field name="ATTR">val</field>
                          <field name="OID">deconz.0.Sensors.5.temperature</field>
                        </block>
                      </value>
                      <value name="B">
                        <block type="math_number" id="zmyl@Td5sd;zxf:.*0xb">
                          <field name="NUM">3</field>
                        </block>
                      </value>
                    </block>
                  </value>
                </block>
              </value>
              <statement name="DO0">
                <block type="timeouts_settimeout" id="v:3,qwH_w;}`[L}X_J$G">
                  <field name="NAME">timeout2</field>
                  <field name="DELAY">4</field>
                  <field name="UNIT">min</field>
                  <statement name="STATEMENT">
                    <block type="telegram" id="4pFLJTRrMeXn4BS`|T(k">
                      <field name="INSTANCE"></field>
                      <field name="LOG"></field>
                      <field name="SILENT">FALSE</field>
                      <field name="PARSEMODE">default</field>
                      <value name="MESSAGE">
                        <shadow type="text" id="vVs2D;dHPX]Z@QFi%H;s">
                          <field name="TEXT">Fenstererkennung Bitte Wohnzimmer Fenster Schließen</field>
                        </shadow>
                      </value>
                      <next>
                        <block type="control" id="0V5(t}xAQgb69UIks3P1">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">alexa2.0.Echo-Devices.G090XG0894770UC4.Commands.speak</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="text" id="uau.H,PJ5lsbY2CRHB6K">
                              <field name="TEXT">Fenstererkennung Bitte Wohnzimmer Fenster schließen</field>
                            </block>
                          </value>
                          <next>
                            <block type="control" id=";{5e:3`i/C!#k1|E%qh.">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                              <field name="OID">alexa2.0.Echo-Devices.G090XG0894772GR9.Commands.speak</field>
                              <field name="WITH_DELAY">TRUE</field>
                              <field name="DELAY_MS">9</field>
                              <field name="UNIT">sec</field>
                              <field name="CLEAR_RUNNING">FALSE</field>
                              <value name="VALUE">
                                <block type="text" id="^8xxFrdKR([fiqFg?JMK">
                                  <field name="TEXT">Fenstererkennung Bitte Wohnzimmer Fenster schließen</field>
                                </block>
                              </value>
                              <next>
                                <block type="timeouts_setinterval" id="(+T6;_*Xv*O%+u$)Ypu5">
                                  <field name="NAME">Intervall2</field>
                                  <field name="INTERVAL">90</field>
                                  <field name="UNIT">sec</field>
                                  <statement name="STATEMENT">
                                    <block type="control" id="?`N3/(GTpLSrQ54s[.6R">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                      <field name="OID">alexa2.0.Echo-Devices.G090XG0894770UC4.Commands.speak</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="text" id="(QRqMH|Gb+Yg+=.T17jm">
                                          <field name="TEXT">Fenstererkennung Bitte Wohnzimmer Fenster schließen</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="control" id="Y[,7WBLmy/y4j{MfM7x/">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                          <field name="OID">alexa2.0.Echo-Devices.G090XG0894772GR9.Commands.speak</field>
                                          <field name="WITH_DELAY">TRUE</field>
                                          <field name="DELAY_MS">9</field>
                                          <field name="UNIT">sec</field>
                                          <field name="CLEAR_RUNNING">FALSE</field>
                                          <value name="VALUE">
                                            <block type="text" id="9Us:|[YLg5yJ(,_M.Mv5">
                                              <field name="TEXT">Fenstererkennung Bitte Wohnzimmer Fenster schließen</field>
                                            </block>
                                          </value>
                                        </block>
                                      </next>
                                    </block>
                                  </statement>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </statement>
                </block>
              </statement>
              <statement name="ELSE">
                <block type="timeouts_cleartimeout" id="]d/{Ej=0EtXLy?9Q9K2:">
                  <field name="NAME">timeout2</field>
                  <next>
                    <block type="timeouts_clearinterval" id="vf6w$dN({T;aM{,u(qSS">
                      <field name="NAME">Intervall2</field>
                    </block>
                  </next>
                </block>
              </statement>
            </block>
          </statement>
        </block>
      </xml>
      
      paul53P Offline
      paul53P Offline
      paul53
      schrieb am zuletzt editiert von
      #2

      @gismoh
      Ändere die Trigger auf "wurde geändert".

      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

      G 2 Antworten Letzte Antwort
      0
      • G Gismoh

        Hallo,
        irgendwo ist bei dem Skript der Wurm drin.
        Häufig, aber nicht immer bekomme ich weiterhin die Meldung, das ich das Fenster schließen soll,
        obwohl es längst geschlossen ist.

        Teilweise kommt sogar diese Meldung, wenn ich das Fenster vorher gar nicht geöffnet habe.
        Evtl. kann jemand von euch meine(n) Fehler finden?
        Okay, den Fehler mit zwei mal.. bzw. 1x kleiner und einmal kleiner gleich habe ich nun gesehen, aber daran kann es ja nicht alleine liegen. Kommt leider auch bei anderen Fenstern vor.
        fenster.gif

        <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="interval" id="Intervall">Intervall</variable>
            <variable type="interval" id="Intervall2">Intervall2</variable>
          </variables>
          <block type="on" id="}X18$mSrgDt8+ASv_!,!" x="-437" y="-1162">
            <field name="OID">deconz.0.Sensors.14.open</field>
            <field name="CONDITION">any</field>
            <field name="ACK_CONDITION"></field>
            <statement name="STATEMENT">
              <block type="controls_if" id="])W;Mu*ty13+=g[%*0Aq">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_operation" id="i?*sX^it1?ErKlJc%UH^">
                    <field name="OP">AND</field>
                    <value name="A">
                      <block type="logic_compare" id="~Uc==K0FO~Bm7$GFPhrw">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="on_source" id="((pd9K:+hKqEPd[D(S9L">
                            <field name="ATTR">state.val</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_boolean" id="F^LUuZ~s}hDs4@z[F~)M">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_compare" id="[X:IB!-H)xytEVSORxv-">
                        <field name="OP">LTE</field>
                        <value name="A">
                          <block type="get_value" id="|e}RS_s#Svrq6/-I/16v">
                            <field name="ATTR">val</field>
                            <field name="OID">deconz.0.Sensors.5.temperature</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="26rTjVQK_ouv7]PfFt,$">
                            <field name="NUM">3</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="timeouts_settimeout" id="#l$|oP}}mg_),SiU2cUb">
                    <field name="NAME">timeout</field>
                    <field name="DELAY">7</field>
                    <field name="UNIT">min</field>
                    <statement name="STATEMENT">
                      <block type="telegram" id="MJB9.aFlUSZdQepmooyz">
                        <field name="INSTANCE"></field>
                        <field name="LOG"></field>
                        <field name="SILENT">FALSE</field>
                        <field name="PARSEMODE">default</field>
                        <value name="MESSAGE">
                          <shadow type="text" id="L!d-`HPcY3)tXg4({pxl">
                            <field name="TEXT">Fenstererkennung Bitte Wohnzimmer Fenster Schließen</field>
                          </shadow>
                        </value>
                        <next>
                          <block type="control" id="_G_{rP_/5(WpRk5#-?oF">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">alexa2.0.Echo-Devices.G090XG0894770UC4.Commands.speak</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="text" id="e4rr:}K_X-ryx5YGk]cB">
                                <field name="TEXT">Fenstererkennung Bitte Wohnzimmer Fenster schließen</field>
                              </block>
                            </value>
                            <next>
                              <block type="control" id="Z:02%*HV`00WrJNU{O7c">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                <field name="OID">alexa2.0.Echo-Devices.G090XG0894772GR9.Commands.speak</field>
                                <field name="WITH_DELAY">TRUE</field>
                                <field name="DELAY_MS">9</field>
                                <field name="UNIT">sec</field>
                                <field name="CLEAR_RUNNING">FALSE</field>
                                <value name="VALUE">
                                  <block type="text" id="hoRBb)9ufjPt1[Ypg8r8">
                                    <field name="TEXT">Fenstererkennung Bitte Wohnzimmer Fenster schließen</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="timeouts_setinterval" id="yC=4NbR3=X[XRa)w^HeM">
                                    <field name="NAME">Intervall</field>
                                    <field name="INTERVAL">90</field>
                                    <field name="UNIT">sec</field>
                                    <statement name="STATEMENT">
                                      <block type="control" id="T{PC{degEoC~}$mGooWv">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                        <field name="OID">alexa2.0.Echo-Devices.G090XG0894770UC4.Commands.speak</field>
                                        <field name="WITH_DELAY">FALSE</field>
                                        <value name="VALUE">
                                          <block type="text" id="42pFw5e;~]0le/=hf@4{">
                                            <field name="TEXT">Fenstererkennung Bitte Wohnzimmer Fenster schließen</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="control" id="Hqc]D/v5E9kkgSdXVeq2">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                            <field name="OID">alexa2.0.Echo-Devices.G090XG0894772GR9.Commands.speak</field>
                                            <field name="WITH_DELAY">TRUE</field>
                                            <field name="DELAY_MS">9</field>
                                            <field name="UNIT">sec</field>
                                            <field name="CLEAR_RUNNING">FALSE</field>
                                            <value name="VALUE">
                                              <block type="text" id="Qviv8mBY87-~-MT|N8g,">
                                                <field name="TEXT">Fenstererkennung Bitte Wohnzimmer Fenster schließen</field>
                                              </block>
                                            </value>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </statement>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="timeouts_cleartimeout" id="zfXvFv;!_N9Bpi{OC/Bp">
                    <field name="NAME">timeout</field>
                    <next>
                      <block type="timeouts_clearinterval" id="v]P+K1TiI4^!?G^QDR[2">
                        <field name="NAME">Intervall</field>
                      </block>
                    </next>
                  </block>
                </statement>
              </block>
            </statement>
          </block>
          <block type="on" id="yh-88=JyD1@j^y:%E/R=" x="-437" y="-488">
            <field name="OID">deconz.0.Sensors.14.open</field>
            <field name="CONDITION">any</field>
            <field name="ACK_CONDITION"></field>
            <statement name="STATEMENT">
              <block type="controls_if" id="g@$jUUU;L3=PlKi$|}[$">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_operation" id="wc#.a[rc7Byr=yc6x!V%">
                    <field name="OP">AND</field>
                    <value name="A">
                      <block type="logic_compare" id="dM=id8@I?s{7Dk;R-9f_">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="on_source" id="w-GaBY[Y)_J2M(t:h:)(">
                            <field name="ATTR">state.val</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_boolean" id="5nFDa|LIX[#CKVJs,6`?">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_compare" id="ILWx9u%;f3JE@S3vih=`">
                        <field name="OP">LT</field>
                        <value name="A">
                          <block type="get_value" id="eO$UM0gt}w(R7J@!H1cN">
                            <field name="ATTR">val</field>
                            <field name="OID">deconz.0.Sensors.5.temperature</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="zmyl@Td5sd;zxf:.*0xb">
                            <field name="NUM">3</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="timeouts_settimeout" id="v:3,qwH_w;}`[L}X_J$G">
                    <field name="NAME">timeout2</field>
                    <field name="DELAY">4</field>
                    <field name="UNIT">min</field>
                    <statement name="STATEMENT">
                      <block type="telegram" id="4pFLJTRrMeXn4BS`|T(k">
                        <field name="INSTANCE"></field>
                        <field name="LOG"></field>
                        <field name="SILENT">FALSE</field>
                        <field name="PARSEMODE">default</field>
                        <value name="MESSAGE">
                          <shadow type="text" id="vVs2D;dHPX]Z@QFi%H;s">
                            <field name="TEXT">Fenstererkennung Bitte Wohnzimmer Fenster Schließen</field>
                          </shadow>
                        </value>
                        <next>
                          <block type="control" id="0V5(t}xAQgb69UIks3P1">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">alexa2.0.Echo-Devices.G090XG0894770UC4.Commands.speak</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="text" id="uau.H,PJ5lsbY2CRHB6K">
                                <field name="TEXT">Fenstererkennung Bitte Wohnzimmer Fenster schließen</field>
                              </block>
                            </value>
                            <next>
                              <block type="control" id=";{5e:3`i/C!#k1|E%qh.">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                <field name="OID">alexa2.0.Echo-Devices.G090XG0894772GR9.Commands.speak</field>
                                <field name="WITH_DELAY">TRUE</field>
                                <field name="DELAY_MS">9</field>
                                <field name="UNIT">sec</field>
                                <field name="CLEAR_RUNNING">FALSE</field>
                                <value name="VALUE">
                                  <block type="text" id="^8xxFrdKR([fiqFg?JMK">
                                    <field name="TEXT">Fenstererkennung Bitte Wohnzimmer Fenster schließen</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="timeouts_setinterval" id="(+T6;_*Xv*O%+u$)Ypu5">
                                    <field name="NAME">Intervall2</field>
                                    <field name="INTERVAL">90</field>
                                    <field name="UNIT">sec</field>
                                    <statement name="STATEMENT">
                                      <block type="control" id="?`N3/(GTpLSrQ54s[.6R">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                        <field name="OID">alexa2.0.Echo-Devices.G090XG0894770UC4.Commands.speak</field>
                                        <field name="WITH_DELAY">FALSE</field>
                                        <value name="VALUE">
                                          <block type="text" id="(QRqMH|Gb+Yg+=.T17jm">
                                            <field name="TEXT">Fenstererkennung Bitte Wohnzimmer Fenster schließen</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="control" id="Y[,7WBLmy/y4j{MfM7x/">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                            <field name="OID">alexa2.0.Echo-Devices.G090XG0894772GR9.Commands.speak</field>
                                            <field name="WITH_DELAY">TRUE</field>
                                            <field name="DELAY_MS">9</field>
                                            <field name="UNIT">sec</field>
                                            <field name="CLEAR_RUNNING">FALSE</field>
                                            <value name="VALUE">
                                              <block type="text" id="9Us:|[YLg5yJ(,_M.Mv5">
                                                <field name="TEXT">Fenstererkennung Bitte Wohnzimmer Fenster schließen</field>
                                              </block>
                                            </value>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </statement>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="timeouts_cleartimeout" id="]d/{Ej=0EtXLy?9Q9K2:">
                    <field name="NAME">timeout2</field>
                    <next>
                      <block type="timeouts_clearinterval" id="vf6w$dN({T;aM{,u(qSS">
                        <field name="NAME">Intervall2</field>
                      </block>
                    </next>
                  </block>
                </statement>
              </block>
            </statement>
          </block>
        </xml>
        
        F Offline
        F Offline
        frankyboy73
        schrieb am zuletzt editiert von frankyboy73
        #3

        @gismoh Hi, mir erschließt sich nicht ganz der Sinn darin, hier 2 Blocklys zu verwenden um eigentlich die gleiche Sache zu machen. Wenns nur darum geht bei 3 Grad und unter 3 Grad andere Wartezeiten bis zur Meldung zu generieren, könnte man das auch in einen Trigger packen. Falls = 3 Grad, sonst Fall < 3 Grad.
        Edit: Auch das würde keinen Sinn ergeben, genau 3 Grad ist eher selten und es würde meist beides greifen. Aber das meintest du glaube ich schon mit Fehler erkannt.
        Ne andere Sache ist, wenn du das Fenster auf machst und es ist über 3 Grad kriegst du ja nie ne Meldung, auch nicht wenn die Temperatur später unter 3 Grad fällt. Ich würde die Temperatur da als zusätzlichen Trigger mit rein nehmen.

        Schöne Grüße Frank

        G 1 Antwort Letzte Antwort
        0
        • paul53P paul53

          @gismoh
          Ändere die Trigger auf "wurde geändert".

          G Offline
          G Offline
          Gismoh
          schrieb am zuletzt editiert von
          #4

          @paul53
          Danke, dies war es vermutlich.
          Hatte bei zwei weiteren Fenstern auch teils Probleme, und dort auch "aktualisiert" drin.
          Bei den bisher unauffälligen Fenstern stand es bereits auf "wurde geändert".
          Merci👍

          ioBroker auf: Lenovo ThinkCentre M910Q Tiny i5-7500T 16 GB mit proxmox in VM (Bookworm)

          1 Antwort Letzte Antwort
          0
          • F frankyboy73

            @gismoh Hi, mir erschließt sich nicht ganz der Sinn darin, hier 2 Blocklys zu verwenden um eigentlich die gleiche Sache zu machen. Wenns nur darum geht bei 3 Grad und unter 3 Grad andere Wartezeiten bis zur Meldung zu generieren, könnte man das auch in einen Trigger packen. Falls = 3 Grad, sonst Fall < 3 Grad.
            Edit: Auch das würde keinen Sinn ergeben, genau 3 Grad ist eher selten und es würde meist beides greifen. Aber das meintest du glaube ich schon mit Fehler erkannt.
            Ne andere Sache ist, wenn du das Fenster auf machst und es ist über 3 Grad kriegst du ja nie ne Meldung, auch nicht wenn die Temperatur später unter 3 Grad fällt. Ich würde die Temperatur da als zusätzlichen Trigger mit rein nehmen.

            G Offline
            G Offline
            Gismoh
            schrieb am zuletzt editiert von
            #5

            @frankyboy73
            Danke für den Hinweis.
            Habe eigentlich vor drei oder vier Temperaturstufen einzubauen.
            Also z.B. unter 0 Grad, 0-7 Grad, 8-12 Grad, 13-18 Grad, und über 19+ Grad.
            Jeweils mit einer anderen Zeitbegrenzung.

            Kann ich das einfacher (kompakter) machen, als jeweils einen neuen Trigger dafür anzulegen?

            ioBroker auf: Lenovo ThinkCentre M910Q Tiny i5-7500T 16 GB mit proxmox in VM (Bookworm)

            paul53P 1 Antwort Letzte Antwort
            0
            • G Gismoh

              @frankyboy73
              Danke für den Hinweis.
              Habe eigentlich vor drei oder vier Temperaturstufen einzubauen.
              Also z.B. unter 0 Grad, 0-7 Grad, 8-12 Grad, 13-18 Grad, und über 19+ Grad.
              Jeweils mit einer anderen Zeitbegrenzung.

              Kann ich das einfacher (kompakter) machen, als jeweils einen neuen Trigger dafür anzulegen?

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

              @gismoh sagte: Jeweils mit einer anderen Zeitbegrenzung.

              Was meinst Du mit Zeitbegrenzung?

              @gismoh sagte in Blockly Fenstererkennung fehlerhaft:

              als jeweils einen neuen Trigger dafür anzulegen?

              Man sollte generell nur einen Trigger pro Datenpunkt verwenden und innerhalb der Trigger-Callback-Funktion verzweigen. Etwa so:

              Bild_2021-04-06_221220.png

              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

              G 2 Antworten Letzte Antwort
              1
              • paul53P paul53

                @gismoh sagte: Jeweils mit einer anderen Zeitbegrenzung.

                Was meinst Du mit Zeitbegrenzung?

                @gismoh sagte in Blockly Fenstererkennung fehlerhaft:

                als jeweils einen neuen Trigger dafür anzulegen?

                Man sollte generell nur einen Trigger pro Datenpunkt verwenden und innerhalb der Trigger-Callback-Funktion verzweigen. Etwa so:

                Bild_2021-04-06_221220.png

                G Offline
                G Offline
                Gismoh
                schrieb am zuletzt editiert von
                #7

                @paul53
                Super, danke 👍 - versuche ich mal nachzubasteln
                Mit "Zeitbegrenzung" meine ich, das er uns z.B bei -1 Grad bereits nach 3 Minuten erinnern soll die Fenster zu schließen und z.B. bei 15 Grad erst nach 10 Minuten.

                ioBroker auf: Lenovo ThinkCentre M910Q Tiny i5-7500T 16 GB mit proxmox in VM (Bookworm)

                1 Antwort Letzte Antwort
                0
                • paul53P paul53

                  @gismoh
                  Ändere die Trigger auf "wurde geändert".

                  G Offline
                  G Offline
                  Gismoh
                  schrieb am zuletzt editiert von
                  #8

                  @paul53 said in Blockly Fenstererkennung fehlerhaft:

                  @gismoh
                  Ändere die Trigger auf "wurde geändert".

                  Muss ich beobachten,
                  zumindest wollte er heute bereits 1x trotz geänderten Trigger, das das bereits geschlossene Fenster geschlossen wird. Ansonsten hat sich vermutlich noch ein Fehler versteckt?

                  ioBroker auf: Lenovo ThinkCentre M910Q Tiny i5-7500T 16 GB mit proxmox in VM (Bookworm)

                  1 Antwort Letzte Antwort
                  0
                  • paul53P paul53

                    @gismoh sagte: Jeweils mit einer anderen Zeitbegrenzung.

                    Was meinst Du mit Zeitbegrenzung?

                    @gismoh sagte in Blockly Fenstererkennung fehlerhaft:

                    als jeweils einen neuen Trigger dafür anzulegen?

                    Man sollte generell nur einen Trigger pro Datenpunkt verwenden und innerhalb der Trigger-Callback-Funktion verzweigen. Etwa so:

                    Bild_2021-04-06_221220.png

                    G Offline
                    G Offline
                    Gismoh
                    schrieb am zuletzt editiert von
                    #9

                    @paul53
                    "Wurde geändert" hat leider nichts bewirkt. Ist auch erneut bei einem anderen Fenster passiert, das er noch meldet, das Fenster solle geschlossen werden.
                    Allerdings weis der iobroker (normalerweise) selber, das das Fenster zu ist.
                    Denn ich habe die Fenster auch visualisiert, dort werden die auch als geschlossen angezeigt.
                    Noch eine Idee - bzw. einen "Workaround"?


                    Super, habe mir das von Dir gerne abgeschaut - so sieht es natürlich sehr viel aufgeräumter aus. 👍 😊
                    Allerdings bekomme ich nun den Alarm, so wie ich den unteren Teil drangesetzt habe gar nicht deaktiviert.
                    Probiere ich aber noch weiter.

                    Fenster2.jpg

                    <xml xmlns="https://developers.google.com/blockly/xml">
                      <variables>
                        <variable id="gxHhXDH$hlKW3@T%B$8G">AussenTemp</variable>
                        <variable id="s$fb97|IP/p,8^LVB;W#">Verzoegerung</variable>
                        <variable type="timeout" id="timeout">timeout</variable>
                        <variable type="interval" id="Intervall">Intervall</variable>
                      </variables>
                      <block type="on" id="N]@:_uau_z*C[T^sev~n" x="-1087" y="-862">
                        <field name="OID">deconz.0.Sensors.29.open</field>
                        <field name="CONDITION">ne</field>
                        <field name="ACK_CONDITION"></field>
                        <statement name="STATEMENT">
                          <block type="controls_if" id="n0EVV1Ztai4:@^y]hz+I">
                            <value name="IF0">
                              <block type="logic_compare" id="$VC2eD1#hwmA2V!~!,.L">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="on_source" id="Zd~XBj*-vtUE]#(Q6d.2">
                                    <field name="ATTR">state.val</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_boolean" id="39N8~.l]JHhsQBSUf_Wh">
                                    <field name="BOOL">TRUE</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="variables_set" id="a|xi=saSOS4)~8dOzm/S">
                                <field name="VAR" id="gxHhXDH$hlKW3@T%B$8G">AussenTemp</field>
                                <value name="VALUE">
                                  <block type="get_value" id="*I:e,b1n|gY]I]phBgC{">
                                    <field name="ATTR">val</field>
                                    <field name="OID">deconz.0.Sensors.5.temperature</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="controls_if" id="u=0$^Yu!$)~o^OL`NQGz">
                                    <mutation elseif="3" else="1"></mutation>
                                    <value name="IF0">
                                      <block type="logic_compare" id="%/pbF7YxX1t5R.8j?f!U">
                                        <field name="OP">LT</field>
                                        <value name="A">
                                          <block type="variables_get" id="4~hyIdt}A569W=uZMgzI">
                                            <field name="VAR" id="gxHhXDH$hlKW3@T%B$8G">AussenTemp</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_number" id="rsCrLBgYoN|z{`SHc9KV">
                                            <field name="NUM">3</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="variables_set" id=".F)P7AAT_Px!BT!-u(*@">
                                        <field name="VAR" id="s$fb97|IP/p,8^LVB;W#">Verzoegerung</field>
                                        <value name="VALUE">
                                          <block type="math_number" id="=Ot_IUNS?W:T{,I{UM.j">
                                            <field name="NUM">3</field>
                                          </block>
                                        </value>
                                      </block>
                                    </statement>
                                    <value name="IF1">
                                      <block type="logic_compare" id="tV5rFG}.1EOt4Sw$0QaU">
                                        <field name="OP">LT</field>
                                        <value name="A">
                                          <block type="variables_get" id="f]Rz=UzI9sn:(l`tOyW-">
                                            <field name="VAR" id="gxHhXDH$hlKW3@T%B$8G">AussenTemp</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_number" id="lUKBqcGKpnsI#TDi+D^D">
                                            <field name="NUM">8</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO1">
                                      <block type="variables_set" id="YK1xhH(lJ4{/E_anCS[K">
                                        <field name="VAR" id="s$fb97|IP/p,8^LVB;W#">Verzoegerung</field>
                                        <value name="VALUE">
                                          <block type="math_number" id="Vqp@H|cAK6I{p(;LV!SJ">
                                            <field name="NUM">5</field>
                                          </block>
                                        </value>
                                      </block>
                                    </statement>
                                    <value name="IF2">
                                      <block type="logic_compare" id="9lZ5hGcs|UsPtYaJD1`p">
                                        <field name="OP">LT</field>
                                        <value name="A">
                                          <block type="variables_get" id="uZN=8^s}@,^O@ZrP`vIM">
                                            <field name="VAR" id="gxHhXDH$hlKW3@T%B$8G">AussenTemp</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_number" id="j7SLRPdeYK$jjT{9S;o,">
                                            <field name="NUM">15</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO2">
                                      <block type="variables_set" id="vCP@hlB_aw1AIk_dVGa-">
                                        <field name="VAR" id="s$fb97|IP/p,8^LVB;W#">Verzoegerung</field>
                                        <value name="VALUE">
                                          <block type="math_number" id="z7(LEAp}lV0UM^@mq{oD">
                                            <field name="NUM">7</field>
                                          </block>
                                        </value>
                                      </block>
                                    </statement>
                                    <value name="IF3">
                                      <block type="logic_compare" id="?m%Qam8%8NCFe|F7^5mn">
                                        <field name="OP">LT</field>
                                        <value name="A">
                                          <block type="variables_get" id="eY86g3zc`Wc=G3S`N!xI">
                                            <field name="VAR" id="gxHhXDH$hlKW3@T%B$8G">AussenTemp</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_number" id="xQ7`OY$bA%S`NwR-!}`g">
                                            <field name="NUM">18</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO3">
                                      <block type="variables_set" id="r?TMBpTi_FXA)}WCX]|Y">
                                        <field name="VAR" id="s$fb97|IP/p,8^LVB;W#">Verzoegerung</field>
                                        <value name="VALUE">
                                          <block type="math_number" id="%%;oIG+0g$NHZnlGg8-O">
                                            <field name="NUM">10</field>
                                          </block>
                                        </value>
                                      </block>
                                    </statement>
                                    <statement name="ELSE">
                                      <block type="variables_set" id="ejzKhEhJbLT=q{Za|/T3">
                                        <field name="VAR" id="s$fb97|IP/p,8^LVB;W#">Verzoegerung</field>
                                        <value name="VALUE">
                                          <block type="math_number" id="p[4hd1?{,-;)t?A}q5-i">
                                            <field name="NUM">15</field>
                                          </block>
                                        </value>
                                      </block>
                                    </statement>
                                    <next>
                                      <block type="variables_set" id="+=iOUAi*L3U8k5TaNoi:">
                                        <field name="VAR" id="s$fb97|IP/p,8^LVB;W#">Verzoegerung</field>
                                        <value name="VALUE">
                                          <block type="math_arithmetic" id="VF@m!e=T/oFkQM$25O2W">
                                            <field name="OP">MULTIPLY</field>
                                            <value name="A">
                                              <shadow type="math_number" id="V2[vXO5IX0V2YM:j=W=h">
                                                <field name="NUM">60000</field>
                                              </shadow>
                                              <block type="math_number" id="DYzkB1cTtA~*Y8Z?i/^%">
                                                <field name="NUM">60000</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <shadow type="math_number" id="mrJ,,(l66;D4/P5e[Rz_">
                                                <field name="NUM">1</field>
                                              </shadow>
                                              <block type="variables_get" id="g|^~d@6iP=mh*Vb_dHAy">
                                                <field name="VAR" id="s$fb97|IP/p,8^LVB;W#">Verzoegerung</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="controls_if" id="w=NLy_EfVh7BO^h|@~#l">
                                            <mutation else="1"></mutation>
                                            <value name="IF0">
                                              <block type="logic_compare" id="~II.(k3^eFc@b#$$0R7G">
                                                <field name="OP">EQ</field>
                                                <value name="A">
                                                  <block type="on_source" id="U,0XMv-19sty_NLV!c1|">
                                                    <field name="ATTR">state.val</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="logic_boolean" id="{Vw5J:u*Um$c,2GklT`0">
                                                    <field name="BOOL">TRUE</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <statement name="DO0">
                                              <block type="timeouts_settimeout" id="W*wP9@NBkxLW,Pco|1]r">
                                                <field name="NAME">timeout</field>
                                                <field name="DELAY">Verzoegerung</field>
                                                <field name="UNIT">ms</field>
                                                <statement name="STATEMENT">
                                                  <block type="telegram" id="W,~C7pwcqVp4-hZXkOsZ">
                                                    <field name="INSTANCE"></field>
                                                    <field name="LOG"></field>
                                                    <field name="SILENT">FALSE</field>
                                                    <field name="PARSEMODE">default</field>
                                                    <value name="MESSAGE">
                                                      <shadow type="text" id="h+].m2(HiI((lXC).no;">
                                                        <field name="TEXT">Fenstererkennung  Bitte WC Fenster Schließen</field>
                                                      </shadow>
                                                    </value>
                                                    <next>
                                                      <block type="control" id="g@SWkVlF|!)8ak+vD^x8">
                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                        <field name="OID">alexa2.0.Echo-Devices.G090XG0894770UC4.Commands.speak</field>
                                                        <field name="WITH_DELAY">FALSE</field>
                                                        <value name="VALUE">
                                                          <block type="text" id="zShd?J=2MAF|BjQn`m19">
                                                            <field name="TEXT">Fenstererkennung  Bitte WC Fenster schließen</field>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="control" id="[]]#_IY3V-ls7GW%jcS{">
                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                            <field name="OID">alexa2.0.Echo-Devices.G090XG0894772GR9.Commands.speak</field>
                                                            <field name="WITH_DELAY">TRUE</field>
                                                            <field name="DELAY_MS">7</field>
                                                            <field name="UNIT">sec</field>
                                                            <field name="CLEAR_RUNNING">FALSE</field>
                                                            <value name="VALUE">
                                                              <block type="text" id="LIT,_+jeUqWCs4ou8k+.">
                                                                <field name="TEXT">Fenstererkennung Bitte WC Fenster schließen</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </statement>
                                                <next>
                                                  <block type="timeouts_setinterval" id="2/Q4jIB|sx)F87OSk?4M">
                                                    <field name="NAME">Intervall</field>
                                                    <field name="INTERVAL">90</field>
                                                    <field name="UNIT">sec</field>
                                                    <statement name="STATEMENT">
                                                      <block type="control" id="lvT[dI47TtpPf]l5,/#K">
                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                        <field name="OID">alexa2.0.Echo-Devices.G090XG0894770UC4.Commands.speak</field>
                                                        <field name="WITH_DELAY">FALSE</field>
                                                        <value name="VALUE">
                                                          <block type="text" id="YLfSz$kfb_()/?{^s%Z3">
                                                            <field name="TEXT">&lt;amazon:effect name="whispered"&gt; Fenstererkennung Bitte WC Fenster schließen&lt;/amazon:effect&gt;</field>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="control" id="(k-@DnaU!(y5E*Yau6,]">
                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                            <field name="OID">alexa2.0.Echo-Devices.G090XG0894772GR9.Commands.speak</field>
                                                            <field name="WITH_DELAY">TRUE</field>
                                                            <field name="DELAY_MS">20</field>
                                                            <field name="UNIT">sec</field>
                                                            <field name="CLEAR_RUNNING">FALSE</field>
                                                            <value name="VALUE">
                                                              <block type="text" id="Bo20C8EXl(bu=:[9vwE(">
                                                                <field name="TEXT">Fenstererkennung Bitte WC Fenster schließen</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </statement>
                                                  </block>
                                                </next>
                                              </block>
                                            </statement>
                                            <statement name="ELSE">
                                              <block type="timeouts_cleartimeout" id="X7*3S88~X=HVTTysQC|N">
                                                <field name="NAME">timeout</field>
                                                <next>
                                                  <block type="timeouts_clearinterval" id="1clI^]d8$VfCq?nin/re">
                                                    <field name="NAME">Intervall</field>
                                                  </block>
                                                </next>
                                              </block>
                                            </statement>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </statement>
                          </block>
                        </statement>
                      </block>
                    </xml>
                    

                    Merci!

                    ioBroker auf: Lenovo ThinkCentre M910Q Tiny i5-7500T 16 GB mit proxmox in VM (Bookworm)

                    paul53P 1 Antwort Letzte Antwort
                    0
                    • G Gismoh

                      @paul53
                      "Wurde geändert" hat leider nichts bewirkt. Ist auch erneut bei einem anderen Fenster passiert, das er noch meldet, das Fenster solle geschlossen werden.
                      Allerdings weis der iobroker (normalerweise) selber, das das Fenster zu ist.
                      Denn ich habe die Fenster auch visualisiert, dort werden die auch als geschlossen angezeigt.
                      Noch eine Idee - bzw. einen "Workaround"?


                      Super, habe mir das von Dir gerne abgeschaut - so sieht es natürlich sehr viel aufgeräumter aus. 👍 😊
                      Allerdings bekomme ich nun den Alarm, so wie ich den unteren Teil drangesetzt habe gar nicht deaktiviert.
                      Probiere ich aber noch weiter.

                      Fenster2.jpg

                      <xml xmlns="https://developers.google.com/blockly/xml">
                        <variables>
                          <variable id="gxHhXDH$hlKW3@T%B$8G">AussenTemp</variable>
                          <variable id="s$fb97|IP/p,8^LVB;W#">Verzoegerung</variable>
                          <variable type="timeout" id="timeout">timeout</variable>
                          <variable type="interval" id="Intervall">Intervall</variable>
                        </variables>
                        <block type="on" id="N]@:_uau_z*C[T^sev~n" x="-1087" y="-862">
                          <field name="OID">deconz.0.Sensors.29.open</field>
                          <field name="CONDITION">ne</field>
                          <field name="ACK_CONDITION"></field>
                          <statement name="STATEMENT">
                            <block type="controls_if" id="n0EVV1Ztai4:@^y]hz+I">
                              <value name="IF0">
                                <block type="logic_compare" id="$VC2eD1#hwmA2V!~!,.L">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                    <block type="on_source" id="Zd~XBj*-vtUE]#(Q6d.2">
                                      <field name="ATTR">state.val</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_boolean" id="39N8~.l]JHhsQBSUf_Wh">
                                      <field name="BOOL">TRUE</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO0">
                                <block type="variables_set" id="a|xi=saSOS4)~8dOzm/S">
                                  <field name="VAR" id="gxHhXDH$hlKW3@T%B$8G">AussenTemp</field>
                                  <value name="VALUE">
                                    <block type="get_value" id="*I:e,b1n|gY]I]phBgC{">
                                      <field name="ATTR">val</field>
                                      <field name="OID">deconz.0.Sensors.5.temperature</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="controls_if" id="u=0$^Yu!$)~o^OL`NQGz">
                                      <mutation elseif="3" else="1"></mutation>
                                      <value name="IF0">
                                        <block type="logic_compare" id="%/pbF7YxX1t5R.8j?f!U">
                                          <field name="OP">LT</field>
                                          <value name="A">
                                            <block type="variables_get" id="4~hyIdt}A569W=uZMgzI">
                                              <field name="VAR" id="gxHhXDH$hlKW3@T%B$8G">AussenTemp</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="math_number" id="rsCrLBgYoN|z{`SHc9KV">
                                              <field name="NUM">3</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO0">
                                        <block type="variables_set" id=".F)P7AAT_Px!BT!-u(*@">
                                          <field name="VAR" id="s$fb97|IP/p,8^LVB;W#">Verzoegerung</field>
                                          <value name="VALUE">
                                            <block type="math_number" id="=Ot_IUNS?W:T{,I{UM.j">
                                              <field name="NUM">3</field>
                                            </block>
                                          </value>
                                        </block>
                                      </statement>
                                      <value name="IF1">
                                        <block type="logic_compare" id="tV5rFG}.1EOt4Sw$0QaU">
                                          <field name="OP">LT</field>
                                          <value name="A">
                                            <block type="variables_get" id="f]Rz=UzI9sn:(l`tOyW-">
                                              <field name="VAR" id="gxHhXDH$hlKW3@T%B$8G">AussenTemp</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="math_number" id="lUKBqcGKpnsI#TDi+D^D">
                                              <field name="NUM">8</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO1">
                                        <block type="variables_set" id="YK1xhH(lJ4{/E_anCS[K">
                                          <field name="VAR" id="s$fb97|IP/p,8^LVB;W#">Verzoegerung</field>
                                          <value name="VALUE">
                                            <block type="math_number" id="Vqp@H|cAK6I{p(;LV!SJ">
                                              <field name="NUM">5</field>
                                            </block>
                                          </value>
                                        </block>
                                      </statement>
                                      <value name="IF2">
                                        <block type="logic_compare" id="9lZ5hGcs|UsPtYaJD1`p">
                                          <field name="OP">LT</field>
                                          <value name="A">
                                            <block type="variables_get" id="uZN=8^s}@,^O@ZrP`vIM">
                                              <field name="VAR" id="gxHhXDH$hlKW3@T%B$8G">AussenTemp</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="math_number" id="j7SLRPdeYK$jjT{9S;o,">
                                              <field name="NUM">15</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO2">
                                        <block type="variables_set" id="vCP@hlB_aw1AIk_dVGa-">
                                          <field name="VAR" id="s$fb97|IP/p,8^LVB;W#">Verzoegerung</field>
                                          <value name="VALUE">
                                            <block type="math_number" id="z7(LEAp}lV0UM^@mq{oD">
                                              <field name="NUM">7</field>
                                            </block>
                                          </value>
                                        </block>
                                      </statement>
                                      <value name="IF3">
                                        <block type="logic_compare" id="?m%Qam8%8NCFe|F7^5mn">
                                          <field name="OP">LT</field>
                                          <value name="A">
                                            <block type="variables_get" id="eY86g3zc`Wc=G3S`N!xI">
                                              <field name="VAR" id="gxHhXDH$hlKW3@T%B$8G">AussenTemp</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="math_number" id="xQ7`OY$bA%S`NwR-!}`g">
                                              <field name="NUM">18</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO3">
                                        <block type="variables_set" id="r?TMBpTi_FXA)}WCX]|Y">
                                          <field name="VAR" id="s$fb97|IP/p,8^LVB;W#">Verzoegerung</field>
                                          <value name="VALUE">
                                            <block type="math_number" id="%%;oIG+0g$NHZnlGg8-O">
                                              <field name="NUM">10</field>
                                            </block>
                                          </value>
                                        </block>
                                      </statement>
                                      <statement name="ELSE">
                                        <block type="variables_set" id="ejzKhEhJbLT=q{Za|/T3">
                                          <field name="VAR" id="s$fb97|IP/p,8^LVB;W#">Verzoegerung</field>
                                          <value name="VALUE">
                                            <block type="math_number" id="p[4hd1?{,-;)t?A}q5-i">
                                              <field name="NUM">15</field>
                                            </block>
                                          </value>
                                        </block>
                                      </statement>
                                      <next>
                                        <block type="variables_set" id="+=iOUAi*L3U8k5TaNoi:">
                                          <field name="VAR" id="s$fb97|IP/p,8^LVB;W#">Verzoegerung</field>
                                          <value name="VALUE">
                                            <block type="math_arithmetic" id="VF@m!e=T/oFkQM$25O2W">
                                              <field name="OP">MULTIPLY</field>
                                              <value name="A">
                                                <shadow type="math_number" id="V2[vXO5IX0V2YM:j=W=h">
                                                  <field name="NUM">60000</field>
                                                </shadow>
                                                <block type="math_number" id="DYzkB1cTtA~*Y8Z?i/^%">
                                                  <field name="NUM">60000</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <shadow type="math_number" id="mrJ,,(l66;D4/P5e[Rz_">
                                                  <field name="NUM">1</field>
                                                </shadow>
                                                <block type="variables_get" id="g|^~d@6iP=mh*Vb_dHAy">
                                                  <field name="VAR" id="s$fb97|IP/p,8^LVB;W#">Verzoegerung</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="controls_if" id="w=NLy_EfVh7BO^h|@~#l">
                                              <mutation else="1"></mutation>
                                              <value name="IF0">
                                                <block type="logic_compare" id="~II.(k3^eFc@b#$$0R7G">
                                                  <field name="OP">EQ</field>
                                                  <value name="A">
                                                    <block type="on_source" id="U,0XMv-19sty_NLV!c1|">
                                                      <field name="ATTR">state.val</field>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block type="logic_boolean" id="{Vw5J:u*Um$c,2GklT`0">
                                                      <field name="BOOL">TRUE</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <statement name="DO0">
                                                <block type="timeouts_settimeout" id="W*wP9@NBkxLW,Pco|1]r">
                                                  <field name="NAME">timeout</field>
                                                  <field name="DELAY">Verzoegerung</field>
                                                  <field name="UNIT">ms</field>
                                                  <statement name="STATEMENT">
                                                    <block type="telegram" id="W,~C7pwcqVp4-hZXkOsZ">
                                                      <field name="INSTANCE"></field>
                                                      <field name="LOG"></field>
                                                      <field name="SILENT">FALSE</field>
                                                      <field name="PARSEMODE">default</field>
                                                      <value name="MESSAGE">
                                                        <shadow type="text" id="h+].m2(HiI((lXC).no;">
                                                          <field name="TEXT">Fenstererkennung  Bitte WC Fenster Schließen</field>
                                                        </shadow>
                                                      </value>
                                                      <next>
                                                        <block type="control" id="g@SWkVlF|!)8ak+vD^x8">
                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                          <field name="OID">alexa2.0.Echo-Devices.G090XG0894770UC4.Commands.speak</field>
                                                          <field name="WITH_DELAY">FALSE</field>
                                                          <value name="VALUE">
                                                            <block type="text" id="zShd?J=2MAF|BjQn`m19">
                                                              <field name="TEXT">Fenstererkennung  Bitte WC Fenster schließen</field>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="control" id="[]]#_IY3V-ls7GW%jcS{">
                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                              <field name="OID">alexa2.0.Echo-Devices.G090XG0894772GR9.Commands.speak</field>
                                                              <field name="WITH_DELAY">TRUE</field>
                                                              <field name="DELAY_MS">7</field>
                                                              <field name="UNIT">sec</field>
                                                              <field name="CLEAR_RUNNING">FALSE</field>
                                                              <value name="VALUE">
                                                                <block type="text" id="LIT,_+jeUqWCs4ou8k+.">
                                                                  <field name="TEXT">Fenstererkennung Bitte WC Fenster schließen</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </statement>
                                                  <next>
                                                    <block type="timeouts_setinterval" id="2/Q4jIB|sx)F87OSk?4M">
                                                      <field name="NAME">Intervall</field>
                                                      <field name="INTERVAL">90</field>
                                                      <field name="UNIT">sec</field>
                                                      <statement name="STATEMENT">
                                                        <block type="control" id="lvT[dI47TtpPf]l5,/#K">
                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                          <field name="OID">alexa2.0.Echo-Devices.G090XG0894770UC4.Commands.speak</field>
                                                          <field name="WITH_DELAY">FALSE</field>
                                                          <value name="VALUE">
                                                            <block type="text" id="YLfSz$kfb_()/?{^s%Z3">
                                                              <field name="TEXT">&lt;amazon:effect name="whispered"&gt; Fenstererkennung Bitte WC Fenster schließen&lt;/amazon:effect&gt;</field>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="control" id="(k-@DnaU!(y5E*Yau6,]">
                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                              <field name="OID">alexa2.0.Echo-Devices.G090XG0894772GR9.Commands.speak</field>
                                                              <field name="WITH_DELAY">TRUE</field>
                                                              <field name="DELAY_MS">20</field>
                                                              <field name="UNIT">sec</field>
                                                              <field name="CLEAR_RUNNING">FALSE</field>
                                                              <value name="VALUE">
                                                                <block type="text" id="Bo20C8EXl(bu=:[9vwE(">
                                                                  <field name="TEXT">Fenstererkennung Bitte WC Fenster schließen</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </statement>
                                                    </block>
                                                  </next>
                                                </block>
                                              </statement>
                                              <statement name="ELSE">
                                                <block type="timeouts_cleartimeout" id="X7*3S88~X=HVTTysQC|N">
                                                  <field name="NAME">timeout</field>
                                                  <next>
                                                    <block type="timeouts_clearinterval" id="1clI^]d8$VfCq?nin/re">
                                                      <field name="NAME">Intervall</field>
                                                    </block>
                                                  </next>
                                                </block>
                                              </statement>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </statement>
                            </block>
                          </statement>
                        </block>
                      </xml>
                      

                      Merci!

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

                      @gismoh sagte: Allerdings bekomme ich nun den Alarm, so wie ich den unteren Teil drangesetzt habe gar nicht deaktiviert.

                      Die Verzögerung und das Intervall werden so nie gestoppt.
                      Habe korrigiert:

                      <xml xmlns="https://developers.google.com/blockly/xml">
                       <variables>
                         <variable id="gxHhXDH$hlKW3@T%B$8G">AussenTemp</variable>
                         <variable id="s$fb97|IP/p,8^LVB;W#">Verzoegerung</variable>
                         <variable type="timeout" id="timeout">timeout</variable>
                         <variable type="interval" id="Intervall">Intervall</variable>
                       </variables>
                       <block type="on" id="N]@:_uau_z*C[T^sev~n" x="-1087" y="-862">
                         <field name="OID">deconz.0.Sensors.29.open</field>
                         <field name="CONDITION">ne</field>
                         <field name="ACK_CONDITION"></field>
                         <statement name="STATEMENT">
                           <block type="controls_if" id="n0EVV1Ztai4:@^y]hz+I">
                             <mutation else="1"></mutation>
                             <value name="IF0">
                               <block type="logic_compare" id="$VC2eD1#hwmA2V!~!,.L">
                                 <field name="OP">EQ</field>
                                 <value name="A">
                                   <block type="on_source" id="Zd~XBj*-vtUE]#(Q6d.2">
                                     <field name="ATTR">state.val</field>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="logic_boolean" id="39N8~.l]JHhsQBSUf_Wh">
                                     <field name="BOOL">TRUE</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <statement name="DO0">
                               <block type="variables_set" id="a|xi=saSOS4)~8dOzm/S">
                                 <field name="VAR" id="gxHhXDH$hlKW3@T%B$8G">AussenTemp</field>
                                 <value name="VALUE">
                                   <block type="get_value" id="*I:e,b1n|gY]I]phBgC{">
                                     <field name="ATTR">val</field>
                                     <field name="OID">deconz.0.Sensors.5.temperature</field>
                                   </block>
                                 </value>
                                 <next>
                                   <block type="controls_if" id="u=0$^Yu!$)~o^OL`NQGz">
                                     <mutation elseif="3" else="1"></mutation>
                                     <value name="IF0">
                                       <block type="logic_compare" id="%/pbF7YxX1t5R.8j?f!U">
                                         <field name="OP">LT</field>
                                         <value name="A">
                                           <block type="variables_get" id="4~hyIdt}A569W=uZMgzI">
                                             <field name="VAR" id="gxHhXDH$hlKW3@T%B$8G">AussenTemp</field>
                                           </block>
                                         </value>
                                         <value name="B">
                                           <block type="math_number" id="rsCrLBgYoN|z{`SHc9KV">
                                             <field name="NUM">3</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <statement name="DO0">
                                       <block type="variables_set" id=".F)P7AAT_Px!BT!-u(*@">
                                         <field name="VAR" id="s$fb97|IP/p,8^LVB;W#">Verzoegerung</field>
                                         <value name="VALUE">
                                           <block type="math_number" id="=Ot_IUNS?W:T{,I{UM.j">
                                             <field name="NUM">3</field>
                                           </block>
                                         </value>
                                       </block>
                                     </statement>
                                     <value name="IF1">
                                       <block type="logic_compare" id="tV5rFG}.1EOt4Sw$0QaU">
                                         <field name="OP">LT</field>
                                         <value name="A">
                                           <block type="variables_get" id="f]Rz=UzI9sn:(l`tOyW-">
                                             <field name="VAR" id="gxHhXDH$hlKW3@T%B$8G">AussenTemp</field>
                                           </block>
                                         </value>
                                         <value name="B">
                                           <block type="math_number" id="lUKBqcGKpnsI#TDi+D^D">
                                             <field name="NUM">8</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <statement name="DO1">
                                       <block type="variables_set" id="YK1xhH(lJ4{/E_anCS[K">
                                         <field name="VAR" id="s$fb97|IP/p,8^LVB;W#">Verzoegerung</field>
                                         <value name="VALUE">
                                           <block type="math_number" id="Vqp@H|cAK6I{p(;LV!SJ">
                                             <field name="NUM">5</field>
                                           </block>
                                         </value>
                                       </block>
                                     </statement>
                                     <value name="IF2">
                                       <block type="logic_compare" id="9lZ5hGcs|UsPtYaJD1`p">
                                         <field name="OP">LT</field>
                                         <value name="A">
                                           <block type="variables_get" id="uZN=8^s}@,^O@ZrP`vIM">
                                             <field name="VAR" id="gxHhXDH$hlKW3@T%B$8G">AussenTemp</field>
                                           </block>
                                         </value>
                                         <value name="B">
                                           <block type="math_number" id="j7SLRPdeYK$jjT{9S;o,">
                                             <field name="NUM">15</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <statement name="DO2">
                                       <block type="variables_set" id="vCP@hlB_aw1AIk_dVGa-">
                                         <field name="VAR" id="s$fb97|IP/p,8^LVB;W#">Verzoegerung</field>
                                         <value name="VALUE">
                                           <block type="math_number" id="z7(LEAp}lV0UM^@mq{oD">
                                             <field name="NUM">7</field>
                                           </block>
                                         </value>
                                       </block>
                                     </statement>
                                     <value name="IF3">
                                       <block type="logic_compare" id="?m%Qam8%8NCFe|F7^5mn">
                                         <field name="OP">LT</field>
                                         <value name="A">
                                           <block type="variables_get" id="eY86g3zc`Wc=G3S`N!xI">
                                             <field name="VAR" id="gxHhXDH$hlKW3@T%B$8G">AussenTemp</field>
                                           </block>
                                         </value>
                                         <value name="B">
                                           <block type="math_number" id="xQ7`OY$bA%S`NwR-!}`g">
                                             <field name="NUM">18</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <statement name="DO3">
                                       <block type="variables_set" id="r?TMBpTi_FXA)}WCX]|Y">
                                         <field name="VAR" id="s$fb97|IP/p,8^LVB;W#">Verzoegerung</field>
                                         <value name="VALUE">
                                           <block type="math_number" id="%%;oIG+0g$NHZnlGg8-O">
                                             <field name="NUM">10</field>
                                           </block>
                                         </value>
                                       </block>
                                     </statement>
                                     <statement name="ELSE">
                                       <block type="variables_set" id="ejzKhEhJbLT=q{Za|/T3">
                                         <field name="VAR" id="s$fb97|IP/p,8^LVB;W#">Verzoegerung</field>
                                         <value name="VALUE">
                                           <block type="math_number" id="p[4hd1?{,-;)t?A}q5-i">
                                             <field name="NUM">15</field>
                                           </block>
                                         </value>
                                       </block>
                                     </statement>
                                     <next>
                                       <block type="variables_set" id="+=iOUAi*L3U8k5TaNoi:">
                                         <field name="VAR" id="s$fb97|IP/p,8^LVB;W#">Verzoegerung</field>
                                         <value name="VALUE">
                                           <block type="math_arithmetic" id="VF@m!e=T/oFkQM$25O2W">
                                             <field name="OP">MULTIPLY</field>
                                             <value name="A">
                                               <shadow type="math_number" id="V2[vXO5IX0V2YM:j=W=h">
                                                 <field name="NUM">60000</field>
                                               </shadow>
                                               <block type="math_number" id="DYzkB1cTtA~*Y8Z?i/^%">
                                                 <field name="NUM">60000</field>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <shadow type="math_number" id="mrJ,,(l66;D4/P5e[Rz_">
                                                 <field name="NUM">1</field>
                                               </shadow>
                                               <block type="variables_get" id="g|^~d@6iP=mh*Vb_dHAy">
                                                 <field name="VAR" id="s$fb97|IP/p,8^LVB;W#">Verzoegerung</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="timeouts_settimeout" id="W*wP9@NBkxLW,Pco|1]r">
                                             <field name="NAME">timeout</field>
                                             <field name="DELAY">Verzoegerung</field>
                                             <field name="UNIT">ms</field>
                                             <statement name="STATEMENT">
                                               <block type="telegram" id="W,~C7pwcqVp4-hZXkOsZ">
                                                 <field name="INSTANCE"></field>
                                                 <field name="LOG"></field>
                                                 <field name="SILENT">FALSE</field>
                                                 <field name="PARSEMODE">default</field>
                                                 <value name="MESSAGE">
                                                   <shadow type="text" id="h+].m2(HiI((lXC).no;">
                                                     <field name="TEXT">Fenstererkennung  Bitte WC Fenster Schließen</field>
                                                   </shadow>
                                                 </value>
                                                 <next>
                                                   <block type="control" id="g@SWkVlF|!)8ak+vD^x8">
                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                     <field name="OID">alexa2.0.Echo-Devices.G090XG0894770UC4.Commands.speak</field>
                                                     <field name="WITH_DELAY">FALSE</field>
                                                     <value name="VALUE">
                                                       <block type="text" id="zShd?J=2MAF|BjQn`m19">
                                                         <field name="TEXT">Fenstererkennung  Bitte WC Fenster schließen</field>
                                                       </block>
                                                     </value>
                                                     <next>
                                                       <block type="control" id="[]]#_IY3V-ls7GW%jcS{">
                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                         <field name="OID">alexa2.0.Echo-Devices.G090XG0894772GR9.Commands.speak</field>
                                                         <field name="WITH_DELAY">TRUE</field>
                                                         <field name="DELAY_MS">7</field>
                                                         <field name="UNIT">sec</field>
                                                         <field name="CLEAR_RUNNING">FALSE</field>
                                                         <value name="VALUE">
                                                           <block type="text" id="LIT,_+jeUqWCs4ou8k+.">
                                                             <field name="TEXT">Fenstererkennung Bitte WC Fenster schließen</field>
                                                           </block>
                                                         </value>
                                                         <next>
                                                           <block type="timeouts_setinterval" id="2/Q4jIB|sx)F87OSk?4M">
                                                             <field name="NAME">Intervall</field>
                                                             <field name="INTERVAL">90</field>
                                                             <field name="UNIT">sec</field>
                                                             <statement name="STATEMENT">
                                                               <block type="control" id="lvT[dI47TtpPf]l5,/#K">
                                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                 <field name="OID">alexa2.0.Echo-Devices.G090XG0894770UC4.Commands.speak</field>
                                                                 <field name="WITH_DELAY">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="text" id="YLfSz$kfb_()/?{^s%Z3">
                                                                     <field name="TEXT">&lt;amazon:effect name="whispered"&gt; Fenstererkennung Bitte WC Fenster schließen&lt;/amazon:effect&gt;</field>
                                                                   </block>
                                                                 </value>
                                                                 <next>
                                                                   <block type="control" id="(k-@DnaU!(y5E*Yau6,]">
                                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                     <field name="OID">alexa2.0.Echo-Devices.G090XG0894772GR9.Commands.speak</field>
                                                                     <field name="WITH_DELAY">TRUE</field>
                                                                     <field name="DELAY_MS">20</field>
                                                                     <field name="UNIT">sec</field>
                                                                     <field name="CLEAR_RUNNING">FALSE</field>
                                                                     <value name="VALUE">
                                                                       <block type="text" id="Bo20C8EXl(bu=:[9vwE(">
                                                                         <field name="TEXT">Fenstererkennung Bitte WC Fenster schließen</field>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </next>
                                                               </block>
                                                             </statement>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </statement>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </next>
                               </block>
                             </statement>
                             <statement name="ELSE">
                               <block type="timeouts_cleartimeout" id="X7*3S88~X=HVTTysQC|N">
                                 <field name="NAME">timeout</field>
                                 <next>
                                   <block type="timeouts_clearinterval" id="1clI^]d8$VfCq?nin/re">
                                     <field name="NAME">Intervall</field>
                                   </block>
                                 </next>
                               </block>
                             </statement>
                           </block>
                         </statement>
                       </block>
                      </xml>
                      

                      Bild_2021-04-07_192632.png

                      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

                      G 2 Antworten Letzte Antwort
                      1
                      • paul53P paul53

                        @gismoh sagte: Allerdings bekomme ich nun den Alarm, so wie ich den unteren Teil drangesetzt habe gar nicht deaktiviert.

                        Die Verzögerung und das Intervall werden so nie gestoppt.
                        Habe korrigiert:

                        <xml xmlns="https://developers.google.com/blockly/xml">
                         <variables>
                           <variable id="gxHhXDH$hlKW3@T%B$8G">AussenTemp</variable>
                           <variable id="s$fb97|IP/p,8^LVB;W#">Verzoegerung</variable>
                           <variable type="timeout" id="timeout">timeout</variable>
                           <variable type="interval" id="Intervall">Intervall</variable>
                         </variables>
                         <block type="on" id="N]@:_uau_z*C[T^sev~n" x="-1087" y="-862">
                           <field name="OID">deconz.0.Sensors.29.open</field>
                           <field name="CONDITION">ne</field>
                           <field name="ACK_CONDITION"></field>
                           <statement name="STATEMENT">
                             <block type="controls_if" id="n0EVV1Ztai4:@^y]hz+I">
                               <mutation else="1"></mutation>
                               <value name="IF0">
                                 <block type="logic_compare" id="$VC2eD1#hwmA2V!~!,.L">
                                   <field name="OP">EQ</field>
                                   <value name="A">
                                     <block type="on_source" id="Zd~XBj*-vtUE]#(Q6d.2">
                                       <field name="ATTR">state.val</field>
                                     </block>
                                   </value>
                                   <value name="B">
                                     <block type="logic_boolean" id="39N8~.l]JHhsQBSUf_Wh">
                                       <field name="BOOL">TRUE</field>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <statement name="DO0">
                                 <block type="variables_set" id="a|xi=saSOS4)~8dOzm/S">
                                   <field name="VAR" id="gxHhXDH$hlKW3@T%B$8G">AussenTemp</field>
                                   <value name="VALUE">
                                     <block type="get_value" id="*I:e,b1n|gY]I]phBgC{">
                                       <field name="ATTR">val</field>
                                       <field name="OID">deconz.0.Sensors.5.temperature</field>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="controls_if" id="u=0$^Yu!$)~o^OL`NQGz">
                                       <mutation elseif="3" else="1"></mutation>
                                       <value name="IF0">
                                         <block type="logic_compare" id="%/pbF7YxX1t5R.8j?f!U">
                                           <field name="OP">LT</field>
                                           <value name="A">
                                             <block type="variables_get" id="4~hyIdt}A569W=uZMgzI">
                                               <field name="VAR" id="gxHhXDH$hlKW3@T%B$8G">AussenTemp</field>
                                             </block>
                                           </value>
                                           <value name="B">
                                             <block type="math_number" id="rsCrLBgYoN|z{`SHc9KV">
                                               <field name="NUM">3</field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                       <statement name="DO0">
                                         <block type="variables_set" id=".F)P7AAT_Px!BT!-u(*@">
                                           <field name="VAR" id="s$fb97|IP/p,8^LVB;W#">Verzoegerung</field>
                                           <value name="VALUE">
                                             <block type="math_number" id="=Ot_IUNS?W:T{,I{UM.j">
                                               <field name="NUM">3</field>
                                             </block>
                                           </value>
                                         </block>
                                       </statement>
                                       <value name="IF1">
                                         <block type="logic_compare" id="tV5rFG}.1EOt4Sw$0QaU">
                                           <field name="OP">LT</field>
                                           <value name="A">
                                             <block type="variables_get" id="f]Rz=UzI9sn:(l`tOyW-">
                                               <field name="VAR" id="gxHhXDH$hlKW3@T%B$8G">AussenTemp</field>
                                             </block>
                                           </value>
                                           <value name="B">
                                             <block type="math_number" id="lUKBqcGKpnsI#TDi+D^D">
                                               <field name="NUM">8</field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                       <statement name="DO1">
                                         <block type="variables_set" id="YK1xhH(lJ4{/E_anCS[K">
                                           <field name="VAR" id="s$fb97|IP/p,8^LVB;W#">Verzoegerung</field>
                                           <value name="VALUE">
                                             <block type="math_number" id="Vqp@H|cAK6I{p(;LV!SJ">
                                               <field name="NUM">5</field>
                                             </block>
                                           </value>
                                         </block>
                                       </statement>
                                       <value name="IF2">
                                         <block type="logic_compare" id="9lZ5hGcs|UsPtYaJD1`p">
                                           <field name="OP">LT</field>
                                           <value name="A">
                                             <block type="variables_get" id="uZN=8^s}@,^O@ZrP`vIM">
                                               <field name="VAR" id="gxHhXDH$hlKW3@T%B$8G">AussenTemp</field>
                                             </block>
                                           </value>
                                           <value name="B">
                                             <block type="math_number" id="j7SLRPdeYK$jjT{9S;o,">
                                               <field name="NUM">15</field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                       <statement name="DO2">
                                         <block type="variables_set" id="vCP@hlB_aw1AIk_dVGa-">
                                           <field name="VAR" id="s$fb97|IP/p,8^LVB;W#">Verzoegerung</field>
                                           <value name="VALUE">
                                             <block type="math_number" id="z7(LEAp}lV0UM^@mq{oD">
                                               <field name="NUM">7</field>
                                             </block>
                                           </value>
                                         </block>
                                       </statement>
                                       <value name="IF3">
                                         <block type="logic_compare" id="?m%Qam8%8NCFe|F7^5mn">
                                           <field name="OP">LT</field>
                                           <value name="A">
                                             <block type="variables_get" id="eY86g3zc`Wc=G3S`N!xI">
                                               <field name="VAR" id="gxHhXDH$hlKW3@T%B$8G">AussenTemp</field>
                                             </block>
                                           </value>
                                           <value name="B">
                                             <block type="math_number" id="xQ7`OY$bA%S`NwR-!}`g">
                                               <field name="NUM">18</field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                       <statement name="DO3">
                                         <block type="variables_set" id="r?TMBpTi_FXA)}WCX]|Y">
                                           <field name="VAR" id="s$fb97|IP/p,8^LVB;W#">Verzoegerung</field>
                                           <value name="VALUE">
                                             <block type="math_number" id="%%;oIG+0g$NHZnlGg8-O">
                                               <field name="NUM">10</field>
                                             </block>
                                           </value>
                                         </block>
                                       </statement>
                                       <statement name="ELSE">
                                         <block type="variables_set" id="ejzKhEhJbLT=q{Za|/T3">
                                           <field name="VAR" id="s$fb97|IP/p,8^LVB;W#">Verzoegerung</field>
                                           <value name="VALUE">
                                             <block type="math_number" id="p[4hd1?{,-;)t?A}q5-i">
                                               <field name="NUM">15</field>
                                             </block>
                                           </value>
                                         </block>
                                       </statement>
                                       <next>
                                         <block type="variables_set" id="+=iOUAi*L3U8k5TaNoi:">
                                           <field name="VAR" id="s$fb97|IP/p,8^LVB;W#">Verzoegerung</field>
                                           <value name="VALUE">
                                             <block type="math_arithmetic" id="VF@m!e=T/oFkQM$25O2W">
                                               <field name="OP">MULTIPLY</field>
                                               <value name="A">
                                                 <shadow type="math_number" id="V2[vXO5IX0V2YM:j=W=h">
                                                   <field name="NUM">60000</field>
                                                 </shadow>
                                                 <block type="math_number" id="DYzkB1cTtA~*Y8Z?i/^%">
                                                   <field name="NUM">60000</field>
                                                 </block>
                                               </value>
                                               <value name="B">
                                                 <shadow type="math_number" id="mrJ,,(l66;D4/P5e[Rz_">
                                                   <field name="NUM">1</field>
                                                 </shadow>
                                                 <block type="variables_get" id="g|^~d@6iP=mh*Vb_dHAy">
                                                   <field name="VAR" id="s$fb97|IP/p,8^LVB;W#">Verzoegerung</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                           <next>
                                             <block type="timeouts_settimeout" id="W*wP9@NBkxLW,Pco|1]r">
                                               <field name="NAME">timeout</field>
                                               <field name="DELAY">Verzoegerung</field>
                                               <field name="UNIT">ms</field>
                                               <statement name="STATEMENT">
                                                 <block type="telegram" id="W,~C7pwcqVp4-hZXkOsZ">
                                                   <field name="INSTANCE"></field>
                                                   <field name="LOG"></field>
                                                   <field name="SILENT">FALSE</field>
                                                   <field name="PARSEMODE">default</field>
                                                   <value name="MESSAGE">
                                                     <shadow type="text" id="h+].m2(HiI((lXC).no;">
                                                       <field name="TEXT">Fenstererkennung  Bitte WC Fenster Schließen</field>
                                                     </shadow>
                                                   </value>
                                                   <next>
                                                     <block type="control" id="g@SWkVlF|!)8ak+vD^x8">
                                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                       <field name="OID">alexa2.0.Echo-Devices.G090XG0894770UC4.Commands.speak</field>
                                                       <field name="WITH_DELAY">FALSE</field>
                                                       <value name="VALUE">
                                                         <block type="text" id="zShd?J=2MAF|BjQn`m19">
                                                           <field name="TEXT">Fenstererkennung  Bitte WC Fenster schließen</field>
                                                         </block>
                                                       </value>
                                                       <next>
                                                         <block type="control" id="[]]#_IY3V-ls7GW%jcS{">
                                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                           <field name="OID">alexa2.0.Echo-Devices.G090XG0894772GR9.Commands.speak</field>
                                                           <field name="WITH_DELAY">TRUE</field>
                                                           <field name="DELAY_MS">7</field>
                                                           <field name="UNIT">sec</field>
                                                           <field name="CLEAR_RUNNING">FALSE</field>
                                                           <value name="VALUE">
                                                             <block type="text" id="LIT,_+jeUqWCs4ou8k+.">
                                                               <field name="TEXT">Fenstererkennung Bitte WC Fenster schließen</field>
                                                             </block>
                                                           </value>
                                                           <next>
                                                             <block type="timeouts_setinterval" id="2/Q4jIB|sx)F87OSk?4M">
                                                               <field name="NAME">Intervall</field>
                                                               <field name="INTERVAL">90</field>
                                                               <field name="UNIT">sec</field>
                                                               <statement name="STATEMENT">
                                                                 <block type="control" id="lvT[dI47TtpPf]l5,/#K">
                                                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                   <field name="OID">alexa2.0.Echo-Devices.G090XG0894770UC4.Commands.speak</field>
                                                                   <field name="WITH_DELAY">FALSE</field>
                                                                   <value name="VALUE">
                                                                     <block type="text" id="YLfSz$kfb_()/?{^s%Z3">
                                                                       <field name="TEXT">&lt;amazon:effect name="whispered"&gt; Fenstererkennung Bitte WC Fenster schließen&lt;/amazon:effect&gt;</field>
                                                                     </block>
                                                                   </value>
                                                                   <next>
                                                                     <block type="control" id="(k-@DnaU!(y5E*Yau6,]">
                                                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                       <field name="OID">alexa2.0.Echo-Devices.G090XG0894772GR9.Commands.speak</field>
                                                                       <field name="WITH_DELAY">TRUE</field>
                                                                       <field name="DELAY_MS">20</field>
                                                                       <field name="UNIT">sec</field>
                                                                       <field name="CLEAR_RUNNING">FALSE</field>
                                                                       <value name="VALUE">
                                                                         <block type="text" id="Bo20C8EXl(bu=:[9vwE(">
                                                                           <field name="TEXT">Fenstererkennung Bitte WC Fenster schließen</field>
                                                                         </block>
                                                                       </value>
                                                                     </block>
                                                                   </next>
                                                                 </block>
                                                               </statement>
                                                             </block>
                                                           </next>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </statement>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </statement>
                               <statement name="ELSE">
                                 <block type="timeouts_cleartimeout" id="X7*3S88~X=HVTTysQC|N">
                                   <field name="NAME">timeout</field>
                                   <next>
                                     <block type="timeouts_clearinterval" id="1clI^]d8$VfCq?nin/re">
                                       <field name="NAME">Intervall</field>
                                     </block>
                                   </next>
                                 </block>
                               </statement>
                             </block>
                           </statement>
                         </block>
                        </xml>
                        

                        Bild_2021-04-07_192632.png

                        G Offline
                        G Offline
                        Gismoh
                        schrieb am zuletzt editiert von Gismoh
                        #11

                        @paul53 👍
                        Herzlichsten Dank!

                        Mein Gedankengang war, weil sich das Script auch vorher manchmal nicht beendet hatte (obwohl Fenster geschlossen) "haue" ich da zur Sicherheit erneut eine Abfrage rein, ob der Kontakt wirklich noch geöffnet ist.
                        Mir fehlt da wohl noch einiges grundsätzliches - bin Laie.

                        Sehr schön, nun kann ich einige Blockly´s sauberer machen.

                        Merci, sehr lieb von Dir.

                        ioBroker auf: Lenovo ThinkCentre M910Q Tiny i5-7500T 16 GB mit proxmox in VM (Bookworm)

                        1 Antwort Letzte Antwort
                        0
                        • paul53P paul53

                          @gismoh sagte: Allerdings bekomme ich nun den Alarm, so wie ich den unteren Teil drangesetzt habe gar nicht deaktiviert.

                          Die Verzögerung und das Intervall werden so nie gestoppt.
                          Habe korrigiert:

                          <xml xmlns="https://developers.google.com/blockly/xml">
                           <variables>
                             <variable id="gxHhXDH$hlKW3@T%B$8G">AussenTemp</variable>
                             <variable id="s$fb97|IP/p,8^LVB;W#">Verzoegerung</variable>
                             <variable type="timeout" id="timeout">timeout</variable>
                             <variable type="interval" id="Intervall">Intervall</variable>
                           </variables>
                           <block type="on" id="N]@:_uau_z*C[T^sev~n" x="-1087" y="-862">
                             <field name="OID">deconz.0.Sensors.29.open</field>
                             <field name="CONDITION">ne</field>
                             <field name="ACK_CONDITION"></field>
                             <statement name="STATEMENT">
                               <block type="controls_if" id="n0EVV1Ztai4:@^y]hz+I">
                                 <mutation else="1"></mutation>
                                 <value name="IF0">
                                   <block type="logic_compare" id="$VC2eD1#hwmA2V!~!,.L">
                                     <field name="OP">EQ</field>
                                     <value name="A">
                                       <block type="on_source" id="Zd~XBj*-vtUE]#(Q6d.2">
                                         <field name="ATTR">state.val</field>
                                       </block>
                                     </value>
                                     <value name="B">
                                       <block type="logic_boolean" id="39N8~.l]JHhsQBSUf_Wh">
                                         <field name="BOOL">TRUE</field>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                                 <statement name="DO0">
                                   <block type="variables_set" id="a|xi=saSOS4)~8dOzm/S">
                                     <field name="VAR" id="gxHhXDH$hlKW3@T%B$8G">AussenTemp</field>
                                     <value name="VALUE">
                                       <block type="get_value" id="*I:e,b1n|gY]I]phBgC{">
                                         <field name="ATTR">val</field>
                                         <field name="OID">deconz.0.Sensors.5.temperature</field>
                                       </block>
                                     </value>
                                     <next>
                                       <block type="controls_if" id="u=0$^Yu!$)~o^OL`NQGz">
                                         <mutation elseif="3" else="1"></mutation>
                                         <value name="IF0">
                                           <block type="logic_compare" id="%/pbF7YxX1t5R.8j?f!U">
                                             <field name="OP">LT</field>
                                             <value name="A">
                                               <block type="variables_get" id="4~hyIdt}A569W=uZMgzI">
                                                 <field name="VAR" id="gxHhXDH$hlKW3@T%B$8G">AussenTemp</field>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="math_number" id="rsCrLBgYoN|z{`SHc9KV">
                                                 <field name="NUM">3</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <statement name="DO0">
                                           <block type="variables_set" id=".F)P7AAT_Px!BT!-u(*@">
                                             <field name="VAR" id="s$fb97|IP/p,8^LVB;W#">Verzoegerung</field>
                                             <value name="VALUE">
                                               <block type="math_number" id="=Ot_IUNS?W:T{,I{UM.j">
                                                 <field name="NUM">3</field>
                                               </block>
                                             </value>
                                           </block>
                                         </statement>
                                         <value name="IF1">
                                           <block type="logic_compare" id="tV5rFG}.1EOt4Sw$0QaU">
                                             <field name="OP">LT</field>
                                             <value name="A">
                                               <block type="variables_get" id="f]Rz=UzI9sn:(l`tOyW-">
                                                 <field name="VAR" id="gxHhXDH$hlKW3@T%B$8G">AussenTemp</field>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="math_number" id="lUKBqcGKpnsI#TDi+D^D">
                                                 <field name="NUM">8</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <statement name="DO1">
                                           <block type="variables_set" id="YK1xhH(lJ4{/E_anCS[K">
                                             <field name="VAR" id="s$fb97|IP/p,8^LVB;W#">Verzoegerung</field>
                                             <value name="VALUE">
                                               <block type="math_number" id="Vqp@H|cAK6I{p(;LV!SJ">
                                                 <field name="NUM">5</field>
                                               </block>
                                             </value>
                                           </block>
                                         </statement>
                                         <value name="IF2">
                                           <block type="logic_compare" id="9lZ5hGcs|UsPtYaJD1`p">
                                             <field name="OP">LT</field>
                                             <value name="A">
                                               <block type="variables_get" id="uZN=8^s}@,^O@ZrP`vIM">
                                                 <field name="VAR" id="gxHhXDH$hlKW3@T%B$8G">AussenTemp</field>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="math_number" id="j7SLRPdeYK$jjT{9S;o,">
                                                 <field name="NUM">15</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <statement name="DO2">
                                           <block type="variables_set" id="vCP@hlB_aw1AIk_dVGa-">
                                             <field name="VAR" id="s$fb97|IP/p,8^LVB;W#">Verzoegerung</field>
                                             <value name="VALUE">
                                               <block type="math_number" id="z7(LEAp}lV0UM^@mq{oD">
                                                 <field name="NUM">7</field>
                                               </block>
                                             </value>
                                           </block>
                                         </statement>
                                         <value name="IF3">
                                           <block type="logic_compare" id="?m%Qam8%8NCFe|F7^5mn">
                                             <field name="OP">LT</field>
                                             <value name="A">
                                               <block type="variables_get" id="eY86g3zc`Wc=G3S`N!xI">
                                                 <field name="VAR" id="gxHhXDH$hlKW3@T%B$8G">AussenTemp</field>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="math_number" id="xQ7`OY$bA%S`NwR-!}`g">
                                                 <field name="NUM">18</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <statement name="DO3">
                                           <block type="variables_set" id="r?TMBpTi_FXA)}WCX]|Y">
                                             <field name="VAR" id="s$fb97|IP/p,8^LVB;W#">Verzoegerung</field>
                                             <value name="VALUE">
                                               <block type="math_number" id="%%;oIG+0g$NHZnlGg8-O">
                                                 <field name="NUM">10</field>
                                               </block>
                                             </value>
                                           </block>
                                         </statement>
                                         <statement name="ELSE">
                                           <block type="variables_set" id="ejzKhEhJbLT=q{Za|/T3">
                                             <field name="VAR" id="s$fb97|IP/p,8^LVB;W#">Verzoegerung</field>
                                             <value name="VALUE">
                                               <block type="math_number" id="p[4hd1?{,-;)t?A}q5-i">
                                                 <field name="NUM">15</field>
                                               </block>
                                             </value>
                                           </block>
                                         </statement>
                                         <next>
                                           <block type="variables_set" id="+=iOUAi*L3U8k5TaNoi:">
                                             <field name="VAR" id="s$fb97|IP/p,8^LVB;W#">Verzoegerung</field>
                                             <value name="VALUE">
                                               <block type="math_arithmetic" id="VF@m!e=T/oFkQM$25O2W">
                                                 <field name="OP">MULTIPLY</field>
                                                 <value name="A">
                                                   <shadow type="math_number" id="V2[vXO5IX0V2YM:j=W=h">
                                                     <field name="NUM">60000</field>
                                                   </shadow>
                                                   <block type="math_number" id="DYzkB1cTtA~*Y8Z?i/^%">
                                                     <field name="NUM">60000</field>
                                                   </block>
                                                 </value>
                                                 <value name="B">
                                                   <shadow type="math_number" id="mrJ,,(l66;D4/P5e[Rz_">
                                                     <field name="NUM">1</field>
                                                   </shadow>
                                                   <block type="variables_get" id="g|^~d@6iP=mh*Vb_dHAy">
                                                     <field name="VAR" id="s$fb97|IP/p,8^LVB;W#">Verzoegerung</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <next>
                                               <block type="timeouts_settimeout" id="W*wP9@NBkxLW,Pco|1]r">
                                                 <field name="NAME">timeout</field>
                                                 <field name="DELAY">Verzoegerung</field>
                                                 <field name="UNIT">ms</field>
                                                 <statement name="STATEMENT">
                                                   <block type="telegram" id="W,~C7pwcqVp4-hZXkOsZ">
                                                     <field name="INSTANCE"></field>
                                                     <field name="LOG"></field>
                                                     <field name="SILENT">FALSE</field>
                                                     <field name="PARSEMODE">default</field>
                                                     <value name="MESSAGE">
                                                       <shadow type="text" id="h+].m2(HiI((lXC).no;">
                                                         <field name="TEXT">Fenstererkennung  Bitte WC Fenster Schließen</field>
                                                       </shadow>
                                                     </value>
                                                     <next>
                                                       <block type="control" id="g@SWkVlF|!)8ak+vD^x8">
                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                         <field name="OID">alexa2.0.Echo-Devices.G090XG0894770UC4.Commands.speak</field>
                                                         <field name="WITH_DELAY">FALSE</field>
                                                         <value name="VALUE">
                                                           <block type="text" id="zShd?J=2MAF|BjQn`m19">
                                                             <field name="TEXT">Fenstererkennung  Bitte WC Fenster schließen</field>
                                                           </block>
                                                         </value>
                                                         <next>
                                                           <block type="control" id="[]]#_IY3V-ls7GW%jcS{">
                                                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                             <field name="OID">alexa2.0.Echo-Devices.G090XG0894772GR9.Commands.speak</field>
                                                             <field name="WITH_DELAY">TRUE</field>
                                                             <field name="DELAY_MS">7</field>
                                                             <field name="UNIT">sec</field>
                                                             <field name="CLEAR_RUNNING">FALSE</field>
                                                             <value name="VALUE">
                                                               <block type="text" id="LIT,_+jeUqWCs4ou8k+.">
                                                                 <field name="TEXT">Fenstererkennung Bitte WC Fenster schließen</field>
                                                               </block>
                                                             </value>
                                                             <next>
                                                               <block type="timeouts_setinterval" id="2/Q4jIB|sx)F87OSk?4M">
                                                                 <field name="NAME">Intervall</field>
                                                                 <field name="INTERVAL">90</field>
                                                                 <field name="UNIT">sec</field>
                                                                 <statement name="STATEMENT">
                                                                   <block type="control" id="lvT[dI47TtpPf]l5,/#K">
                                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                     <field name="OID">alexa2.0.Echo-Devices.G090XG0894770UC4.Commands.speak</field>
                                                                     <field name="WITH_DELAY">FALSE</field>
                                                                     <value name="VALUE">
                                                                       <block type="text" id="YLfSz$kfb_()/?{^s%Z3">
                                                                         <field name="TEXT">&lt;amazon:effect name="whispered"&gt; Fenstererkennung Bitte WC Fenster schließen&lt;/amazon:effect&gt;</field>
                                                                       </block>
                                                                     </value>
                                                                     <next>
                                                                       <block type="control" id="(k-@DnaU!(y5E*Yau6,]">
                                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                         <field name="OID">alexa2.0.Echo-Devices.G090XG0894772GR9.Commands.speak</field>
                                                                         <field name="WITH_DELAY">TRUE</field>
                                                                         <field name="DELAY_MS">20</field>
                                                                         <field name="UNIT">sec</field>
                                                                         <field name="CLEAR_RUNNING">FALSE</field>
                                                                         <value name="VALUE">
                                                                           <block type="text" id="Bo20C8EXl(bu=:[9vwE(">
                                                                             <field name="TEXT">Fenstererkennung Bitte WC Fenster schließen</field>
                                                                           </block>
                                                                         </value>
                                                                       </block>
                                                                     </next>
                                                                   </block>
                                                                 </statement>
                                                               </block>
                                                             </next>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </statement>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </statement>
                                 <statement name="ELSE">
                                   <block type="timeouts_cleartimeout" id="X7*3S88~X=HVTTysQC|N">
                                     <field name="NAME">timeout</field>
                                     <next>
                                       <block type="timeouts_clearinterval" id="1clI^]d8$VfCq?nin/re">
                                         <field name="NAME">Intervall</field>
                                       </block>
                                     </next>
                                   </block>
                                 </statement>
                               </block>
                             </statement>
                           </block>
                          </xml>
                          

                          Bild_2021-04-07_192632.png

                          G Offline
                          G Offline
                          Gismoh
                          schrieb am zuletzt editiert von
                          #12

                          @paul53
                          Konnte das neue Script nun ein paar Tage testen.
                          Die überflüssig anhaltende Aufforderung, offene Fenster zu schließen ist nun nicht mehr aufgetaucht.
                          Lag vermutlich an dem doppelten Trigger. Besten Dank!

                          ioBroker auf: Lenovo ThinkCentre M910Q Tiny i5-7500T 16 GB mit proxmox in VM (Bookworm)

                          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

                          594

                          Online

                          32.8k

                          Benutzer

                          82.8k

                          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