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. [gelöst] Fenster noch offen - Funktion

NEWS

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

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

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

[gelöst] Fenster noch offen - Funktion

Geplant Angeheftet Gesperrt Verschoben Blockly
16 Beiträge 6 Kommentatoren 1.6k Aufrufe 6 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.
  • S Spectrum1981

    @paul53

    Hast du auch eine Idee wie ich das Lösen kann? Oder kann ich den Timeout auch mit einer Variable steuern?

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

    @Spectrum1981 sagte:

    Hast du auch eine Idee wie ich das Lösen kann?

    Jedes Fenster benötigt einen eigenen Timer, der beim Schließen des Fensters gestoppt wird. Prinzip:

    Blockly_temp.JPG

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

    S 1 Antwort Letzte Antwort
    0
    • paul53P paul53

      @Spectrum1981 sagte:

      Hast du auch eine Idee wie ich das Lösen kann?

      Jedes Fenster benötigt einen eigenen Timer, der beim Schließen des Fensters gestoppt wird. Prinzip:

      Blockly_temp.JPG

      S Offline
      S Offline
      Spectrum1981
      schrieb am zuletzt editiert von
      #5

      @paul53

      Danke für die Hilfe. Ich habe das gerade umgebaut und schaue wie es geht. Hat natürlich auch den Vorteil das es so recht einfach ist unterschiedliche Zeiten pro Fenster einzustellen!

      95e244a3-2c5f-45dc-8bcb-8bec83ec4c38-image.png

      paul53P 1 Antwort Letzte Antwort
      0
      • S Spectrum1981

        @paul53

        Danke für die Hilfe. Ich habe das gerade umgebaut und schaue wie es geht. Hat natürlich auch den Vorteil das es so recht einfach ist unterschiedliche Zeiten pro Fenster einzustellen!

        95e244a3-2c5f-45dc-8bcb-8bec83ec4c38-image.png

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

        @Spectrum1981 sagte:

        Ich habe das gerade umgebaut

        Du musst den jeweils zugehörigen Timer stoppen !

        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

        S 1 Antwort Letzte Antwort
        0
        • paul53P paul53

          @Spectrum1981 sagte:

          Ich habe das gerade umgebaut

          Du musst den jeweils zugehörigen Timer stoppen !

          S Offline
          S Offline
          Spectrum1981
          schrieb am zuletzt editiert von
          #7

          @paul53

          Übersehen. Habe das angepasst!

          S 1 Antwort Letzte Antwort
          0
          • S Spectrum1981

            @paul53

            Übersehen. Habe das angepasst!

            S Offline
            S Offline
            Spectrum1981
            schrieb am zuletzt editiert von
            #8

            Ich habe noch eine Frage zu einer Erweiterung des Skripts. Ich möchte das ich alle 15 Minuten benachrichtig werden und nicht nur ein mal. Dazu habe ich das hier gebaut, was aber leider nicht funktioniert:

            fccce101-a876-4271-94cf-5d0c43b0cd82-image.png

            Hier stürzt immer die Javascript Instanz ab wenn das triggert. Was mache ich falsch?

            Export:

            <xml xmlns="https://developers.google.com/blockly/xml">
              <variables>
                <variable id="j]m/.nz{`TQix/0xD}xx">Kanalname</variable>
                <variable id="wW)h{Xs~{IE])^)_wUs1">HWzu</variable>
                <variable type="timeout" id="timeout">timeout</variable>
                <variable type="timeout" id="timeout2">timeout2</variable>
                <variable type="timeout" id="timeout3">timeout3</variable>
                <variable type="timeout" id="timeout4">timeout4</variable>
                <variable type="timeout" id="timeout5">timeout5</variable>
                <variable type="timeout" id="timeout6">timeout6</variable>
                <variable type="timeout" id="timeout7">timeout7</variable>
                <variable type="timeout" id="timeout8">timeout8</variable>
              </variables>
              <block type="comment" id="b+^u-Y6]z|m}sFr7jVR[" x="-87" y="-612">
                <field name="COMMENT">HW Raum Tür</field>
                <next>
                  <block type="on_ext" id="C^}q`~i2SEmvcsk9_:s8">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                    <field name="CONDITION">ne</field>
                    <field name="ACK_CONDITION"></field>
                    <value name="OID0">
                      <shadow type="field_oid" id="N}{a;,l,W/xvioWD$.Dv">
                        <field name="oid">zigbee.0.00158d0003120f02.opened</field>
                      </shadow>
                    </value>
                    <statement name="STATEMENT">
                      <block type="controls_if" id=".IHnu]vTP5`U]8Q99..0">
                        <mutation else="1"></mutation>
                        <value name="IF0">
                          <block type="logic_compare" id="KP)I$=Rt1SUnlqvkW6gp">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="on_source" id="DNvvVjbXGWvHth`(_f#L">
                                <field name="ATTR">state.val</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_boolean" id="K8TNP_HBR7hDh7Z/$G{8">
                                <field name="BOOL">TRUE</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="variables_set" id="cH#LpYZII?.rpleg;}Z%">
                            <field name="VAR" id="wW)h{Xs~{IE])^)_wUs1">HWzu</field>
                            <value name="VALUE">
                              <block type="on_source" id="x-It2h]Fr6NB6P5r@+Dp">
                                <field name="ATTR">state.val</field>
                              </block>
                            </value>
                            <next>
                              <block type="controls_whileUntil" id="B_1$P;No^k?C40$bGy6H">
                                <field name="MODE">UNTIL</field>
                                <value name="BOOL">
                                  <block type="logic_compare" id="hArZu.4|GN^r0}l0yz4)">
                                    <field name="OP">EQ</field>
                                    <value name="A">
                                      <block type="variables_get" id="!j^%37QX`}c$^VH*,i^X">
                                        <field name="VAR" id="wW)h{Xs~{IE])^)_wUs1">HWzu</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_boolean" id="iEcth-;^QYeT/Yir#g}l">
                                        <field name="BOOL">FALSE</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO">
                                  <block type="timeouts_settimeout" id="@4#J5)jM[VE4D68;XwiQ">
                                    <field name="NAME">timeout</field>
                                    <field name="DELAY">5</field>
                                    <field name="UNIT">sec</field>
                                    <statement name="STATEMENT">
                                      <block type="variables_set" id="b*]Ud#Ii?w)56PrfkAzb">
                                        <field name="VAR" id="wW)h{Xs~{IE])^)_wUs1">HWzu</field>
                                        <value name="VALUE">
                                          <block type="get_value" id="5kt`2uC}^Q-y*!`;z+0=">
                                            <field name="ATTR">val</field>
                                            <field name="OID">zigbee.0.00158d0003120f02.opened</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="procedures_callnoreturn" id="75nVv5f%~GjK}_UnKY(,">
                                            <mutation name="Check_Window">
                                              <arg name="Kanalname"></arg>
                                            </mutation>
                                            <value name="ARG0">
                                              <block type="on_source" id=";}Ua-/D1irU+K?2|+W9P">
                                                <field name="ATTR">channelName</field>
                                              </block>
                                            </value>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                  </block>
                                </statement>
                              </block>
                            </next>
                          </block>
                        </statement>
                        <statement name="ELSE">
                          <block type="timeouts_cleartimeout" id="/4s7!~(^Fvh[X,#e9DUB">
                            <field name="NAME">timeout</field>
                          </block>
                        </statement>
                      </block>
                    </statement>
                    <next>
                      <block type="comment" id="1k0,(hOY$3eZfq(1n[`k">
                        <field name="COMMENT">HW Raum Fenster</field>
                        <next>
                          <block type="on_ext" id="r0lcKWHBe;_{TuW,@6UW">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                            <field name="CONDITION">ne</field>
                            <field name="ACK_CONDITION"></field>
                            <value name="OID0">
                              <shadow type="field_oid" id="-COe5D52Eogb2%o!o*bN">
                                <field name="oid">zigbee.0.00158d0003121015.opened</field>
                              </shadow>
                            </value>
                            <statement name="STATEMENT">
                              <block type="controls_if" id=",{8bU[MzB]wG.GoY}+V!">
                                <mutation else="1"></mutation>
                                <value name="IF0">
                                  <block type="logic_compare" id="j.8S*Rhl!!d]SXBzI*lg">
                                    <field name="OP">EQ</field>
                                    <value name="A">
                                      <block type="on_source" id="LH3rvtbJE/4?8s4N3,UC">
                                        <field name="ATTR">state.val</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_boolean" id="td(.V^t5.-/G:U$LGGmQ">
                                        <field name="BOOL">TRUE</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="timeouts_settimeout" id="Q(icg,m;Iaf@PuUbb?Z=">
                                    <field name="NAME">timeout2</field>
                                    <field name="DELAY">15</field>
                                    <field name="UNIT">min</field>
                                    <statement name="STATEMENT">
                                      <block type="procedures_callnoreturn" id="^{4@Vza@V)4q@CYOmJjN">
                                        <mutation name="Check_Window">
                                          <arg name="Kanalname"></arg>
                                        </mutation>
                                        <value name="ARG0">
                                          <block type="on_source" id="z8m|zj/zE5nw}@7@|y`^">
                                            <field name="ATTR">channelName</field>
                                          </block>
                                        </value>
                                      </block>
                                    </statement>
                                  </block>
                                </statement>
                                <statement name="ELSE">
                                  <block type="timeouts_cleartimeout" id="GBhN#Z2ah#;`I0~?~J#N">
                                    <field name="NAME">timeout2</field>
                                  </block>
                                </statement>
                              </block>
                            </statement>
                            <next>
                              <block type="comment" id="9^)G$^G-|8lT0:W2l!Y~">
                                <field name="COMMENT">Badezimmer Fenster</field>
                                <next>
                                  <block type="on_ext" id="sG=mcW(YPgkay}?^LnE[">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                    <field name="CONDITION">ne</field>
                                    <field name="ACK_CONDITION"></field>
                                    <value name="OID0">
                                      <shadow type="field_oid" id="E=IoSOQtj:tE6_$_EiaH">
                                        <field name="oid">zigbee.0.00158d000312da05.opened</field>
                                      </shadow>
                                    </value>
                                    <statement name="STATEMENT">
                                      <block type="controls_if" id=";iD#6nEPlL|d*^;HMPTv">
                                        <mutation else="1"></mutation>
                                        <value name="IF0">
                                          <block type="logic_compare" id="K!op{B5rv3zD~^x!?Xu1">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="on_source" id="yI_u,h%X1[clcM`7,8B8">
                                                <field name="ATTR">state.val</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_boolean" id="T/(h@M{i:J!aK:WH!emE">
                                                <field name="BOOL">TRUE</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO0">
                                          <block type="timeouts_settimeout" id="XAbF]z1$%.A4fY-Q7Ij|">
                                            <field name="NAME">timeout3</field>
                                            <field name="DELAY">15</field>
                                            <field name="UNIT">min</field>
                                            <statement name="STATEMENT">
                                              <block type="procedures_callnoreturn" id="%._^`XdjE#k/lH7G}P!|">
                                                <mutation name="Check_Window">
                                                  <arg name="Kanalname"></arg>
                                                </mutation>
                                                <value name="ARG0">
                                                  <block type="on_source" id="Mh8n%Q98_AIx,J/Gsa9V">
                                                    <field name="ATTR">channelName</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </statement>
                                          </block>
                                        </statement>
                                        <statement name="ELSE">
                                          <block type="timeouts_cleartimeout" id="}L|S,.9u,-D?6A*P{^2P">
                                            <field name="NAME">timeout3</field>
                                          </block>
                                        </statement>
                                      </block>
                                    </statement>
                                    <next>
                                      <block type="comment" id="+qn798dk@X.(^7d*:.|c">
                                        <field name="COMMENT">Gäste-WC</field>
                                        <next>
                                          <block type="on_ext" id="AUf*RD.Uw,EP-[zF9B!^">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                            <field name="CONDITION">ne</field>
                                            <field name="ACK_CONDITION"></field>
                                            <value name="OID0">
                                              <shadow type="field_oid" id="o7;d+S/HuSIi~}hJ1-fY">
                                                <field name="oid">zigbee.0.00158d000312e002.opened</field>
                                              </shadow>
                                            </value>
                                            <statement name="STATEMENT">
                                              <block type="controls_if" id="W|)ybp!`BK|c_?.3LIs{">
                                                <mutation else="1"></mutation>
                                                <value name="IF0">
                                                  <block type="logic_compare" id=",ht)HFYtau_YPVya5L!Z">
                                                    <field name="OP">EQ</field>
                                                    <value name="A">
                                                      <block type="on_source" id="e74cu?Z]|*X6FEjWy5wU">
                                                        <field name="ATTR">state.val</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="logic_boolean" id=";S9T{l({8+BfVE:~|-)1">
                                                        <field name="BOOL">TRUE</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <statement name="DO0">
                                                  <block type="timeouts_settimeout" id="nH(9~_j?FU/Cw%iR.5pX">
                                                    <field name="NAME">timeout4</field>
                                                    <field name="DELAY">15</field>
                                                    <field name="UNIT">min</field>
                                                    <statement name="STATEMENT">
                                                      <block type="procedures_callnoreturn" id="H[$o/)=VR$D(*f{NOIe4">
                                                        <mutation name="Check_Window">
                                                          <arg name="Kanalname"></arg>
                                                        </mutation>
                                                        <value name="ARG0">
                                                          <block type="on_source" id="(h;[b9hvJ3eeg.6.Qt;]">
                                                            <field name="ATTR">channelName</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </statement>
                                                  </block>
                                                </statement>
                                                <statement name="ELSE">
                                                  <block type="timeouts_cleartimeout" id="Fn=K+UU4Yx8yavF.TLAc">
                                                    <field name="NAME">timeout4</field>
                                                  </block>
                                                </statement>
                                              </block>
                                            </statement>
                                            <next>
                                              <block type="comment" id="qS;V:+SAw!!j[VmjWB0;">
                                                <field name="COMMENT">Flor OG</field>
                                                <next>
                                                  <block type="on_ext" id="ZD`qtMs_Wjtm(5;FQLZ7">
                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                                    <field name="CONDITION">ne</field>
                                                    <field name="ACK_CONDITION"></field>
                                                    <value name="OID0">
                                                      <shadow type="field_oid" id="XqD,ba|TewRuZG0-MtfZ">
                                                        <field name="oid">zigbee.0.00158d00032b8908.opened</field>
                                                      </shadow>
                                                    </value>
                                                    <statement name="STATEMENT">
                                                      <block type="controls_if" id="5oG|hD,ZLGHZl^92F4FV">
                                                        <mutation else="1"></mutation>
                                                        <value name="IF0">
                                                          <block type="logic_compare" id="A[4)uIB5Rl0U~D73sa%(">
                                                            <field name="OP">EQ</field>
                                                            <value name="A">
                                                              <block type="on_source" id="iM0)gAXNPomX2SU5Tw%;">
                                                                <field name="ATTR">state.val</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="logic_boolean" id="zil5,*`pH*a5+/kaKdzW">
                                                                <field name="BOOL">TRUE</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <statement name="DO0">
                                                          <block type="timeouts_settimeout" id="m.n8/,9z~sXVHj9h9A~$">
                                                            <field name="NAME">timeout5</field>
                                                            <field name="DELAY">15</field>
                                                            <field name="UNIT">min</field>
                                                            <statement name="STATEMENT">
                                                              <block type="procedures_callnoreturn" id="*ZO?FZ{$8l5sdI/)kM~s">
                                                                <mutation name="Check_Window">
                                                                  <arg name="Kanalname"></arg>
                                                                </mutation>
                                                                <value name="ARG0">
                                                                  <block type="on_source" id="PHC.I$ckO..~KKAFR|Rl">
                                                                    <field name="ATTR">channelName</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </statement>
                                                          </block>
                                                        </statement>
                                                        <statement name="ELSE">
                                                          <block type="timeouts_cleartimeout" id="S}I*~j,.H}9|NpRRy^j*">
                                                            <field name="NAME">timeout5</field>
                                                          </block>
                                                        </statement>
                                                      </block>
                                                    </statement>
                                                    <next>
                                                      <block type="comment" id="m;ayz_S.#!k}rxFO-/GW">
                                                        <field name="COMMENT">Küche</field>
                                                        <next>
                                                          <block type="on_ext" id="xiKeP(~~)!Xfd]Jre}7r">
                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                                            <field name="CONDITION">ne</field>
                                                            <field name="ACK_CONDITION"></field>
                                                            <value name="OID0">
                                                              <shadow type="field_oid" id="I.~B,][:e#PW{UOs.X;,">
                                                                <field name="oid">zigbee.0.00158d00044f5cba.opened</field>
                                                              </shadow>
                                                            </value>
                                                            <statement name="STATEMENT">
                                                              <block type="controls_if" id="|`;0;_A*=Xe4h}%tYVHm">
                                                                <mutation else="1"></mutation>
                                                                <value name="IF0">
                                                                  <block type="logic_compare" id="saPXv?Zh#np,6yqvUr%w">
                                                                    <field name="OP">EQ</field>
                                                                    <value name="A">
                                                                      <block type="on_source" id="s{q6sEJgfgn)M2(x*U5}">
                                                                        <field name="ATTR">state.val</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <block type="logic_boolean" id=";-JYS}5VF@CeQ(AG23rq">
                                                                        <field name="BOOL">TRUE</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <statement name="DO0">
                                                                  <block type="timeouts_settimeout" id="8.%74oR^~$|!`!p[LQQU">
                                                                    <field name="NAME">timeout6</field>
                                                                    <field name="DELAY">15</field>
                                                                    <field name="UNIT">min</field>
                                                                    <statement name="STATEMENT">
                                                                      <block type="procedures_callnoreturn" id="]rB5Tkd38OWqq[Ndn:-/">
                                                                        <mutation name="Check_Window">
                                                                          <arg name="Kanalname"></arg>
                                                                        </mutation>
                                                                        <value name="ARG0">
                                                                          <block type="on_source" id="tqxy8JDq6,;#]JYb+UsW">
                                                                            <field name="ATTR">channelName</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </statement>
                                                                  </block>
                                                                </statement>
                                                                <statement name="ELSE">
                                                                  <block type="timeouts_cleartimeout" id="vbB0!c[:OQNE_wHV/Yu$">
                                                                    <field name="NAME">timeout6</field>
                                                                  </block>
                                                                </statement>
                                                              </block>
                                                            </statement>
                                                            <next>
                                                              <block type="comment" id="C,IPKM:,+s#^6zp+m~|o">
                                                                <field name="COMMENT">Moritz</field>
                                                                <next>
                                                                  <block type="on_ext" id="%@p!$g6E(ytB1j5oG?*_">
                                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                                                    <field name="CONDITION">ne</field>
                                                                    <field name="ACK_CONDITION"></field>
                                                                    <value name="OID0">
                                                                      <shadow type="field_oid" id="HA#k8iywG46HCa-tafJh">
                                                                        <field name="oid">zigbee.0.00158d000456cd54.opened</field>
                                                                      </shadow>
                                                                    </value>
                                                                    <statement name="STATEMENT">
                                                                      <block type="controls_if" id="_;V([,!~32.-!vzPW[S9">
                                                                        <mutation else="1"></mutation>
                                                                        <value name="IF0">
                                                                          <block type="logic_compare" id="p^0-.JY/hWT];p`4qi5$">
                                                                            <field name="OP">EQ</field>
                                                                            <value name="A">
                                                                              <block type="on_source" id="2yzvXgrK$hx/zfs)RnxK">
                                                                                <field name="ATTR">state.val</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="B">
                                                                              <block type="logic_boolean" id="BOop!,_U2$Q|(T.UW4C@">
                                                                                <field name="BOOL">TRUE</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <statement name="DO0">
                                                                          <block type="timeouts_settimeout" id="t/G5CW:;fCoJAtsk5m{@">
                                                                            <field name="NAME">timeout7</field>
                                                                            <field name="DELAY">15</field>
                                                                            <field name="UNIT">min</field>
                                                                            <statement name="STATEMENT">
                                                                              <block type="procedures_callnoreturn" id="?Mkc8t(fec`DmN|[5^#:">
                                                                                <mutation name="Check_Window">
                                                                                  <arg name="Kanalname"></arg>
                                                                                </mutation>
                                                                                <value name="ARG0">
                                                                                  <block type="on_source" id="=VOH%m|]Iu3eFj@G^G)d">
                                                                                    <field name="ATTR">channelName</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </statement>
                                                                          </block>
                                                                        </statement>
                                                                        <statement name="ELSE">
                                                                          <block type="timeouts_cleartimeout" id="jsCw/1k(Hd#r_8b|i*4l">
                                                                            <field name="NAME">timeout7</field>
                                                                          </block>
                                                                        </statement>
                                                                      </block>
                                                                    </statement>
                                                                    <next>
                                                                      <block type="comment" id="Tiq;KDShhqR/o7:^Q)2t">
                                                                        <field name="COMMENT">Haustür</field>
                                                                        <next>
                                                                          <block type="on_ext" id="xWY6tFp9eg_)z^mQl=|E">
                                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                                                            <field name="CONDITION">ne</field>
                                                                            <field name="ACK_CONDITION"></field>
                                                                            <value name="OID0">
                                                                              <shadow type="field_oid" id="hgP=n`wFuk`HX.f3|Q(R">
                                                                                <field name="oid">zigbee.0.00158d0004616d03.opened</field>
                                                                              </shadow>
                                                                            </value>
                                                                            <statement name="STATEMENT">
                                                                              <block type="controls_if" id="Tg]hiu!s:L,+/IWP9P0?">
                                                                                <mutation else="1"></mutation>
                                                                                <value name="IF0">
                                                                                  <block type="logic_compare" id="xju*7su2sbcl[rVLYrQ.">
                                                                                    <field name="OP">EQ</field>
                                                                                    <value name="A">
                                                                                      <block type="on_source" id="ZKk(bq5=Sa=_Rev|}y~Q">
                                                                                        <field name="ATTR">state.val</field>
                                                                                      </block>
                                                                                    </value>
                                                                                    <value name="B">
                                                                                      <block type="logic_boolean" id="C)LPyJlw~.4H@kPi(6cR">
                                                                                        <field name="BOOL">TRUE</field>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                                <statement name="DO0">
                                                                                  <block type="timeouts_settimeout" id="#,});no|-N-,xXWWO#=}">
                                                                                    <field name="NAME">timeout8</field>
                                                                                    <field name="DELAY">15</field>
                                                                                    <field name="UNIT">min</field>
                                                                                    <statement name="STATEMENT">
                                                                                      <block type="procedures_callnoreturn" id="LktJI5]G4lL]CrW{c9fr">
                                                                                        <mutation name="Check_Window">
                                                                                          <arg name="Kanalname"></arg>
                                                                                        </mutation>
                                                                                        <value name="ARG0">
                                                                                          <block type="on_source" id="UR5J,x9iv$=Y4s]R]*Bq">
                                                                                            <field name="ATTR">channelName</field>
                                                                                          </block>
                                                                                        </value>
                                                                                      </block>
                                                                                    </statement>
                                                                                  </block>
                                                                                </statement>
                                                                                <statement name="ELSE">
                                                                                  <block type="timeouts_cleartimeout" id="iRLo`%tENad.`%fdEcnr">
                                                                                    <field name="NAME">timeout8</field>
                                                                                  </block>
                                                                                </statement>
                                                                              </block>
                                                                            </statement>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
              <block type="procedures_defnoreturn" id="ciNdU,VY?6-F1?)q2,On" x="588" y="-562">
                <mutation>
                  <arg name="Kanalname" varid="j]m/.nz{`TQix/0xD}xx"></arg>
                </mutation>
                <field name="NAME">Check_Window</field>
                <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                <statement name="STACK">
                  <block type="pushover" id="#:a6;f3W5J:_di%U)7Md">
                    <field name="INSTANCE"></field>
                    <field name="SOUND"></field>
                    <field name="PRIORITY">1</field>
                    <field name="LOG"></field>
                    <value name="MESSAGE">
                      <shadow type="text" id="kx4O~(0$KDlJ=4))+b?o">
                        <field name="TEXT">Fenster im Bad ist noch offen! Bitte schließen</field>
                      </shadow>
                      <block type="text_join" id="*O1tF^$z*VwzI0u7]TKT">
                        <mutation items="3"></mutation>
                        <value name="ADD0">
                          <block type="text" id="oHzLgPzbbfZ(94g+JC-Q">
                            <field name="TEXT">Fenster im </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="variables_get" id="YgI9!*LxWceP{#?^m|Fp">
                            <field name="VAR" id="j]m/.nz{`TQix/0xD}xx">Kanalname</field>
                          </block>
                        </value>
                        <value name="ADD2">
                          <block type="text" id="W^]seXTJPpeeG$Z1r4Bq">
                            <field name="TEXT"> ist noch offen! Bitte schließen!</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="TITLE">
                      <block type="text" id="y1f-,s:;MJ;$%;bAS)]J">
                        <field name="TEXT">Fenster noch offen!</field>
                      </block>
                    </value>
                  </block>
                </statement>
              </block>
            </xml>
            
            paul53P 1 Antwort Letzte Antwort
            0
            • S Spectrum1981

              Ich habe noch eine Frage zu einer Erweiterung des Skripts. Ich möchte das ich alle 15 Minuten benachrichtig werden und nicht nur ein mal. Dazu habe ich das hier gebaut, was aber leider nicht funktioniert:

              fccce101-a876-4271-94cf-5d0c43b0cd82-image.png

              Hier stürzt immer die Javascript Instanz ab wenn das triggert. Was mache ich falsch?

              Export:

              <xml xmlns="https://developers.google.com/blockly/xml">
                <variables>
                  <variable id="j]m/.nz{`TQix/0xD}xx">Kanalname</variable>
                  <variable id="wW)h{Xs~{IE])^)_wUs1">HWzu</variable>
                  <variable type="timeout" id="timeout">timeout</variable>
                  <variable type="timeout" id="timeout2">timeout2</variable>
                  <variable type="timeout" id="timeout3">timeout3</variable>
                  <variable type="timeout" id="timeout4">timeout4</variable>
                  <variable type="timeout" id="timeout5">timeout5</variable>
                  <variable type="timeout" id="timeout6">timeout6</variable>
                  <variable type="timeout" id="timeout7">timeout7</variable>
                  <variable type="timeout" id="timeout8">timeout8</variable>
                </variables>
                <block type="comment" id="b+^u-Y6]z|m}sFr7jVR[" x="-87" y="-612">
                  <field name="COMMENT">HW Raum Tür</field>
                  <next>
                    <block type="on_ext" id="C^}q`~i2SEmvcsk9_:s8">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                      <field name="CONDITION">ne</field>
                      <field name="ACK_CONDITION"></field>
                      <value name="OID0">
                        <shadow type="field_oid" id="N}{a;,l,W/xvioWD$.Dv">
                          <field name="oid">zigbee.0.00158d0003120f02.opened</field>
                        </shadow>
                      </value>
                      <statement name="STATEMENT">
                        <block type="controls_if" id=".IHnu]vTP5`U]8Q99..0">
                          <mutation else="1"></mutation>
                          <value name="IF0">
                            <block type="logic_compare" id="KP)I$=Rt1SUnlqvkW6gp">
                              <field name="OP">EQ</field>
                              <value name="A">
                                <block type="on_source" id="DNvvVjbXGWvHth`(_f#L">
                                  <field name="ATTR">state.val</field>
                                </block>
                              </value>
                              <value name="B">
                                <block type="logic_boolean" id="K8TNP_HBR7hDh7Z/$G{8">
                                  <field name="BOOL">TRUE</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <statement name="DO0">
                            <block type="variables_set" id="cH#LpYZII?.rpleg;}Z%">
                              <field name="VAR" id="wW)h{Xs~{IE])^)_wUs1">HWzu</field>
                              <value name="VALUE">
                                <block type="on_source" id="x-It2h]Fr6NB6P5r@+Dp">
                                  <field name="ATTR">state.val</field>
                                </block>
                              </value>
                              <next>
                                <block type="controls_whileUntil" id="B_1$P;No^k?C40$bGy6H">
                                  <field name="MODE">UNTIL</field>
                                  <value name="BOOL">
                                    <block type="logic_compare" id="hArZu.4|GN^r0}l0yz4)">
                                      <field name="OP">EQ</field>
                                      <value name="A">
                                        <block type="variables_get" id="!j^%37QX`}c$^VH*,i^X">
                                          <field name="VAR" id="wW)h{Xs~{IE])^)_wUs1">HWzu</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="logic_boolean" id="iEcth-;^QYeT/Yir#g}l">
                                          <field name="BOOL">FALSE</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <statement name="DO">
                                    <block type="timeouts_settimeout" id="@4#J5)jM[VE4D68;XwiQ">
                                      <field name="NAME">timeout</field>
                                      <field name="DELAY">5</field>
                                      <field name="UNIT">sec</field>
                                      <statement name="STATEMENT">
                                        <block type="variables_set" id="b*]Ud#Ii?w)56PrfkAzb">
                                          <field name="VAR" id="wW)h{Xs~{IE])^)_wUs1">HWzu</field>
                                          <value name="VALUE">
                                            <block type="get_value" id="5kt`2uC}^Q-y*!`;z+0=">
                                              <field name="ATTR">val</field>
                                              <field name="OID">zigbee.0.00158d0003120f02.opened</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="procedures_callnoreturn" id="75nVv5f%~GjK}_UnKY(,">
                                              <mutation name="Check_Window">
                                                <arg name="Kanalname"></arg>
                                              </mutation>
                                              <value name="ARG0">
                                                <block type="on_source" id=";}Ua-/D1irU+K?2|+W9P">
                                                  <field name="ATTR">channelName</field>
                                                </block>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                    </block>
                                  </statement>
                                </block>
                              </next>
                            </block>
                          </statement>
                          <statement name="ELSE">
                            <block type="timeouts_cleartimeout" id="/4s7!~(^Fvh[X,#e9DUB">
                              <field name="NAME">timeout</field>
                            </block>
                          </statement>
                        </block>
                      </statement>
                      <next>
                        <block type="comment" id="1k0,(hOY$3eZfq(1n[`k">
                          <field name="COMMENT">HW Raum Fenster</field>
                          <next>
                            <block type="on_ext" id="r0lcKWHBe;_{TuW,@6UW">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                              <field name="CONDITION">ne</field>
                              <field name="ACK_CONDITION"></field>
                              <value name="OID0">
                                <shadow type="field_oid" id="-COe5D52Eogb2%o!o*bN">
                                  <field name="oid">zigbee.0.00158d0003121015.opened</field>
                                </shadow>
                              </value>
                              <statement name="STATEMENT">
                                <block type="controls_if" id=",{8bU[MzB]wG.GoY}+V!">
                                  <mutation else="1"></mutation>
                                  <value name="IF0">
                                    <block type="logic_compare" id="j.8S*Rhl!!d]SXBzI*lg">
                                      <field name="OP">EQ</field>
                                      <value name="A">
                                        <block type="on_source" id="LH3rvtbJE/4?8s4N3,UC">
                                          <field name="ATTR">state.val</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="logic_boolean" id="td(.V^t5.-/G:U$LGGmQ">
                                          <field name="BOOL">TRUE</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <statement name="DO0">
                                    <block type="timeouts_settimeout" id="Q(icg,m;Iaf@PuUbb?Z=">
                                      <field name="NAME">timeout2</field>
                                      <field name="DELAY">15</field>
                                      <field name="UNIT">min</field>
                                      <statement name="STATEMENT">
                                        <block type="procedures_callnoreturn" id="^{4@Vza@V)4q@CYOmJjN">
                                          <mutation name="Check_Window">
                                            <arg name="Kanalname"></arg>
                                          </mutation>
                                          <value name="ARG0">
                                            <block type="on_source" id="z8m|zj/zE5nw}@7@|y`^">
                                              <field name="ATTR">channelName</field>
                                            </block>
                                          </value>
                                        </block>
                                      </statement>
                                    </block>
                                  </statement>
                                  <statement name="ELSE">
                                    <block type="timeouts_cleartimeout" id="GBhN#Z2ah#;`I0~?~J#N">
                                      <field name="NAME">timeout2</field>
                                    </block>
                                  </statement>
                                </block>
                              </statement>
                              <next>
                                <block type="comment" id="9^)G$^G-|8lT0:W2l!Y~">
                                  <field name="COMMENT">Badezimmer Fenster</field>
                                  <next>
                                    <block type="on_ext" id="sG=mcW(YPgkay}?^LnE[">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                      <field name="CONDITION">ne</field>
                                      <field name="ACK_CONDITION"></field>
                                      <value name="OID0">
                                        <shadow type="field_oid" id="E=IoSOQtj:tE6_$_EiaH">
                                          <field name="oid">zigbee.0.00158d000312da05.opened</field>
                                        </shadow>
                                      </value>
                                      <statement name="STATEMENT">
                                        <block type="controls_if" id=";iD#6nEPlL|d*^;HMPTv">
                                          <mutation else="1"></mutation>
                                          <value name="IF0">
                                            <block type="logic_compare" id="K!op{B5rv3zD~^x!?Xu1">
                                              <field name="OP">EQ</field>
                                              <value name="A">
                                                <block type="on_source" id="yI_u,h%X1[clcM`7,8B8">
                                                  <field name="ATTR">state.val</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="logic_boolean" id="T/(h@M{i:J!aK:WH!emE">
                                                  <field name="BOOL">TRUE</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <statement name="DO0">
                                            <block type="timeouts_settimeout" id="XAbF]z1$%.A4fY-Q7Ij|">
                                              <field name="NAME">timeout3</field>
                                              <field name="DELAY">15</field>
                                              <field name="UNIT">min</field>
                                              <statement name="STATEMENT">
                                                <block type="procedures_callnoreturn" id="%._^`XdjE#k/lH7G}P!|">
                                                  <mutation name="Check_Window">
                                                    <arg name="Kanalname"></arg>
                                                  </mutation>
                                                  <value name="ARG0">
                                                    <block type="on_source" id="Mh8n%Q98_AIx,J/Gsa9V">
                                                      <field name="ATTR">channelName</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </statement>
                                            </block>
                                          </statement>
                                          <statement name="ELSE">
                                            <block type="timeouts_cleartimeout" id="}L|S,.9u,-D?6A*P{^2P">
                                              <field name="NAME">timeout3</field>
                                            </block>
                                          </statement>
                                        </block>
                                      </statement>
                                      <next>
                                        <block type="comment" id="+qn798dk@X.(^7d*:.|c">
                                          <field name="COMMENT">Gäste-WC</field>
                                          <next>
                                            <block type="on_ext" id="AUf*RD.Uw,EP-[zF9B!^">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                              <field name="CONDITION">ne</field>
                                              <field name="ACK_CONDITION"></field>
                                              <value name="OID0">
                                                <shadow type="field_oid" id="o7;d+S/HuSIi~}hJ1-fY">
                                                  <field name="oid">zigbee.0.00158d000312e002.opened</field>
                                                </shadow>
                                              </value>
                                              <statement name="STATEMENT">
                                                <block type="controls_if" id="W|)ybp!`BK|c_?.3LIs{">
                                                  <mutation else="1"></mutation>
                                                  <value name="IF0">
                                                    <block type="logic_compare" id=",ht)HFYtau_YPVya5L!Z">
                                                      <field name="OP">EQ</field>
                                                      <value name="A">
                                                        <block type="on_source" id="e74cu?Z]|*X6FEjWy5wU">
                                                          <field name="ATTR">state.val</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="logic_boolean" id=";S9T{l({8+BfVE:~|-)1">
                                                          <field name="BOOL">TRUE</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <statement name="DO0">
                                                    <block type="timeouts_settimeout" id="nH(9~_j?FU/Cw%iR.5pX">
                                                      <field name="NAME">timeout4</field>
                                                      <field name="DELAY">15</field>
                                                      <field name="UNIT">min</field>
                                                      <statement name="STATEMENT">
                                                        <block type="procedures_callnoreturn" id="H[$o/)=VR$D(*f{NOIe4">
                                                          <mutation name="Check_Window">
                                                            <arg name="Kanalname"></arg>
                                                          </mutation>
                                                          <value name="ARG0">
                                                            <block type="on_source" id="(h;[b9hvJ3eeg.6.Qt;]">
                                                              <field name="ATTR">channelName</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </statement>
                                                    </block>
                                                  </statement>
                                                  <statement name="ELSE">
                                                    <block type="timeouts_cleartimeout" id="Fn=K+UU4Yx8yavF.TLAc">
                                                      <field name="NAME">timeout4</field>
                                                    </block>
                                                  </statement>
                                                </block>
                                              </statement>
                                              <next>
                                                <block type="comment" id="qS;V:+SAw!!j[VmjWB0;">
                                                  <field name="COMMENT">Flor OG</field>
                                                  <next>
                                                    <block type="on_ext" id="ZD`qtMs_Wjtm(5;FQLZ7">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                                      <field name="CONDITION">ne</field>
                                                      <field name="ACK_CONDITION"></field>
                                                      <value name="OID0">
                                                        <shadow type="field_oid" id="XqD,ba|TewRuZG0-MtfZ">
                                                          <field name="oid">zigbee.0.00158d00032b8908.opened</field>
                                                        </shadow>
                                                      </value>
                                                      <statement name="STATEMENT">
                                                        <block type="controls_if" id="5oG|hD,ZLGHZl^92F4FV">
                                                          <mutation else="1"></mutation>
                                                          <value name="IF0">
                                                            <block type="logic_compare" id="A[4)uIB5Rl0U~D73sa%(">
                                                              <field name="OP">EQ</field>
                                                              <value name="A">
                                                                <block type="on_source" id="iM0)gAXNPomX2SU5Tw%;">
                                                                  <field name="ATTR">state.val</field>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block type="logic_boolean" id="zil5,*`pH*a5+/kaKdzW">
                                                                  <field name="BOOL">TRUE</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <statement name="DO0">
                                                            <block type="timeouts_settimeout" id="m.n8/,9z~sXVHj9h9A~$">
                                                              <field name="NAME">timeout5</field>
                                                              <field name="DELAY">15</field>
                                                              <field name="UNIT">min</field>
                                                              <statement name="STATEMENT">
                                                                <block type="procedures_callnoreturn" id="*ZO?FZ{$8l5sdI/)kM~s">
                                                                  <mutation name="Check_Window">
                                                                    <arg name="Kanalname"></arg>
                                                                  </mutation>
                                                                  <value name="ARG0">
                                                                    <block type="on_source" id="PHC.I$ckO..~KKAFR|Rl">
                                                                      <field name="ATTR">channelName</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </statement>
                                                            </block>
                                                          </statement>
                                                          <statement name="ELSE">
                                                            <block type="timeouts_cleartimeout" id="S}I*~j,.H}9|NpRRy^j*">
                                                              <field name="NAME">timeout5</field>
                                                            </block>
                                                          </statement>
                                                        </block>
                                                      </statement>
                                                      <next>
                                                        <block type="comment" id="m;ayz_S.#!k}rxFO-/GW">
                                                          <field name="COMMENT">Küche</field>
                                                          <next>
                                                            <block type="on_ext" id="xiKeP(~~)!Xfd]Jre}7r">
                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                                              <field name="CONDITION">ne</field>
                                                              <field name="ACK_CONDITION"></field>
                                                              <value name="OID0">
                                                                <shadow type="field_oid" id="I.~B,][:e#PW{UOs.X;,">
                                                                  <field name="oid">zigbee.0.00158d00044f5cba.opened</field>
                                                                </shadow>
                                                              </value>
                                                              <statement name="STATEMENT">
                                                                <block type="controls_if" id="|`;0;_A*=Xe4h}%tYVHm">
                                                                  <mutation else="1"></mutation>
                                                                  <value name="IF0">
                                                                    <block type="logic_compare" id="saPXv?Zh#np,6yqvUr%w">
                                                                      <field name="OP">EQ</field>
                                                                      <value name="A">
                                                                        <block type="on_source" id="s{q6sEJgfgn)M2(x*U5}">
                                                                          <field name="ATTR">state.val</field>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <block type="logic_boolean" id=";-JYS}5VF@CeQ(AG23rq">
                                                                          <field name="BOOL">TRUE</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                  <statement name="DO0">
                                                                    <block type="timeouts_settimeout" id="8.%74oR^~$|!`!p[LQQU">
                                                                      <field name="NAME">timeout6</field>
                                                                      <field name="DELAY">15</field>
                                                                      <field name="UNIT">min</field>
                                                                      <statement name="STATEMENT">
                                                                        <block type="procedures_callnoreturn" id="]rB5Tkd38OWqq[Ndn:-/">
                                                                          <mutation name="Check_Window">
                                                                            <arg name="Kanalname"></arg>
                                                                          </mutation>
                                                                          <value name="ARG0">
                                                                            <block type="on_source" id="tqxy8JDq6,;#]JYb+UsW">
                                                                              <field name="ATTR">channelName</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </statement>
                                                                    </block>
                                                                  </statement>
                                                                  <statement name="ELSE">
                                                                    <block type="timeouts_cleartimeout" id="vbB0!c[:OQNE_wHV/Yu$">
                                                                      <field name="NAME">timeout6</field>
                                                                    </block>
                                                                  </statement>
                                                                </block>
                                                              </statement>
                                                              <next>
                                                                <block type="comment" id="C,IPKM:,+s#^6zp+m~|o">
                                                                  <field name="COMMENT">Moritz</field>
                                                                  <next>
                                                                    <block type="on_ext" id="%@p!$g6E(ytB1j5oG?*_">
                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                                                      <field name="CONDITION">ne</field>
                                                                      <field name="ACK_CONDITION"></field>
                                                                      <value name="OID0">
                                                                        <shadow type="field_oid" id="HA#k8iywG46HCa-tafJh">
                                                                          <field name="oid">zigbee.0.00158d000456cd54.opened</field>
                                                                        </shadow>
                                                                      </value>
                                                                      <statement name="STATEMENT">
                                                                        <block type="controls_if" id="_;V([,!~32.-!vzPW[S9">
                                                                          <mutation else="1"></mutation>
                                                                          <value name="IF0">
                                                                            <block type="logic_compare" id="p^0-.JY/hWT];p`4qi5$">
                                                                              <field name="OP">EQ</field>
                                                                              <value name="A">
                                                                                <block type="on_source" id="2yzvXgrK$hx/zfs)RnxK">
                                                                                  <field name="ATTR">state.val</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="logic_boolean" id="BOop!,_U2$Q|(T.UW4C@">
                                                                                  <field name="BOOL">TRUE</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <statement name="DO0">
                                                                            <block type="timeouts_settimeout" id="t/G5CW:;fCoJAtsk5m{@">
                                                                              <field name="NAME">timeout7</field>
                                                                              <field name="DELAY">15</field>
                                                                              <field name="UNIT">min</field>
                                                                              <statement name="STATEMENT">
                                                                                <block type="procedures_callnoreturn" id="?Mkc8t(fec`DmN|[5^#:">
                                                                                  <mutation name="Check_Window">
                                                                                    <arg name="Kanalname"></arg>
                                                                                  </mutation>
                                                                                  <value name="ARG0">
                                                                                    <block type="on_source" id="=VOH%m|]Iu3eFj@G^G)d">
                                                                                      <field name="ATTR">channelName</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </statement>
                                                                            </block>
                                                                          </statement>
                                                                          <statement name="ELSE">
                                                                            <block type="timeouts_cleartimeout" id="jsCw/1k(Hd#r_8b|i*4l">
                                                                              <field name="NAME">timeout7</field>
                                                                            </block>
                                                                          </statement>
                                                                        </block>
                                                                      </statement>
                                                                      <next>
                                                                        <block type="comment" id="Tiq;KDShhqR/o7:^Q)2t">
                                                                          <field name="COMMENT">Haustür</field>
                                                                          <next>
                                                                            <block type="on_ext" id="xWY6tFp9eg_)z^mQl=|E">
                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                                                              <field name="CONDITION">ne</field>
                                                                              <field name="ACK_CONDITION"></field>
                                                                              <value name="OID0">
                                                                                <shadow type="field_oid" id="hgP=n`wFuk`HX.f3|Q(R">
                                                                                  <field name="oid">zigbee.0.00158d0004616d03.opened</field>
                                                                                </shadow>
                                                                              </value>
                                                                              <statement name="STATEMENT">
                                                                                <block type="controls_if" id="Tg]hiu!s:L,+/IWP9P0?">
                                                                                  <mutation else="1"></mutation>
                                                                                  <value name="IF0">
                                                                                    <block type="logic_compare" id="xju*7su2sbcl[rVLYrQ.">
                                                                                      <field name="OP">EQ</field>
                                                                                      <value name="A">
                                                                                        <block type="on_source" id="ZKk(bq5=Sa=_Rev|}y~Q">
                                                                                          <field name="ATTR">state.val</field>
                                                                                        </block>
                                                                                      </value>
                                                                                      <value name="B">
                                                                                        <block type="logic_boolean" id="C)LPyJlw~.4H@kPi(6cR">
                                                                                          <field name="BOOL">TRUE</field>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                  <statement name="DO0">
                                                                                    <block type="timeouts_settimeout" id="#,});no|-N-,xXWWO#=}">
                                                                                      <field name="NAME">timeout8</field>
                                                                                      <field name="DELAY">15</field>
                                                                                      <field name="UNIT">min</field>
                                                                                      <statement name="STATEMENT">
                                                                                        <block type="procedures_callnoreturn" id="LktJI5]G4lL]CrW{c9fr">
                                                                                          <mutation name="Check_Window">
                                                                                            <arg name="Kanalname"></arg>
                                                                                          </mutation>
                                                                                          <value name="ARG0">
                                                                                            <block type="on_source" id="UR5J,x9iv$=Y4s]R]*Bq">
                                                                                              <field name="ATTR">channelName</field>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </statement>
                                                                                    </block>
                                                                                  </statement>
                                                                                  <statement name="ELSE">
                                                                                    <block type="timeouts_cleartimeout" id="iRLo`%tENad.`%fdEcnr">
                                                                                      <field name="NAME">timeout8</field>
                                                                                    </block>
                                                                                  </statement>
                                                                                </block>
                                                                              </statement>
                                                                            </block>
                                                                          </next>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
                <block type="procedures_defnoreturn" id="ciNdU,VY?6-F1?)q2,On" x="588" y="-562">
                  <mutation>
                    <arg name="Kanalname" varid="j]m/.nz{`TQix/0xD}xx"></arg>
                  </mutation>
                  <field name="NAME">Check_Window</field>
                  <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                  <statement name="STACK">
                    <block type="pushover" id="#:a6;f3W5J:_di%U)7Md">
                      <field name="INSTANCE"></field>
                      <field name="SOUND"></field>
                      <field name="PRIORITY">1</field>
                      <field name="LOG"></field>
                      <value name="MESSAGE">
                        <shadow type="text" id="kx4O~(0$KDlJ=4))+b?o">
                          <field name="TEXT">Fenster im Bad ist noch offen! Bitte schließen</field>
                        </shadow>
                        <block type="text_join" id="*O1tF^$z*VwzI0u7]TKT">
                          <mutation items="3"></mutation>
                          <value name="ADD0">
                            <block type="text" id="oHzLgPzbbfZ(94g+JC-Q">
                              <field name="TEXT">Fenster im </field>
                            </block>
                          </value>
                          <value name="ADD1">
                            <block type="variables_get" id="YgI9!*LxWceP{#?^m|Fp">
                              <field name="VAR" id="j]m/.nz{`TQix/0xD}xx">Kanalname</field>
                            </block>
                          </value>
                          <value name="ADD2">
                            <block type="text" id="W^]seXTJPpeeG$Z1r4Bq">
                              <field name="TEXT"> ist noch offen! Bitte schließen!</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <value name="TITLE">
                        <block type="text" id="y1f-,s:;MJ;$%;bAS)]J">
                          <field name="TEXT">Fenster noch offen!</field>
                        </block>
                      </value>
                    </block>
                  </statement>
                </block>
              </xml>
              
              paul53P Offline
              paul53P Offline
              paul53
              schrieb am zuletzt editiert von
              #9

              @Spectrum1981 sagte:

              Was mache ich falsch?

              Mit "wiederhole bis" wird eine Endlosschleife erzeugt. Die Lösung ist "Intervall".

              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

              S 1 Antwort Letzte Antwort
              0
              • paul53P paul53

                @Spectrum1981 sagte:

                Was mache ich falsch?

                Mit "wiederhole bis" wird eine Endlosschleife erzeugt. Die Lösung ist "Intervall".

                S Offline
                S Offline
                Spectrum1981
                schrieb am zuletzt editiert von
                #10

                @paul53

                Vielen Dank für die Hilfe. Klappt nun und ich bekomme alle x Minuten eine Info das das Fenster noch offen ist.

                Hier das Skript wenn das jemand nachbauen will:

                5e8d148b-fe49-4b47-b0d6-4caa98a2cde6-image.png

                dslraserD Thomas JansenT Zu HauseZ 3 Antworten Letzte Antwort
                0
                • S Spectrum1981

                  @paul53

                  Vielen Dank für die Hilfe. Klappt nun und ich bekomme alle x Minuten eine Info das das Fenster noch offen ist.

                  Hier das Skript wenn das jemand nachbauen will:

                  5e8d148b-fe49-4b47-b0d6-4caa98a2cde6-image.png

                  dslraserD Offline
                  dslraserD Offline
                  dslraser
                  Forum Testing Most Active
                  schrieb am zuletzt editiert von
                  #11

                  @Spectrum1981
                  falls Wert (ohne = wahr) sollte auch reichen.

                  S 1 Antwort Letzte Antwort
                  1
                  • dslraserD dslraser

                    @Spectrum1981
                    falls Wert (ohne = wahr) sollte auch reichen.

                    S Offline
                    S Offline
                    Spectrum1981
                    schrieb am zuletzt editiert von
                    #12

                    @dslraser

                    Ja, das ist richtig. Spart noch etwas Code :)

                    1 Antwort Letzte Antwort
                    0
                    • S Spectrum1981

                      @paul53

                      Vielen Dank für die Hilfe. Klappt nun und ich bekomme alle x Minuten eine Info das das Fenster noch offen ist.

                      Hier das Skript wenn das jemand nachbauen will:

                      5e8d148b-fe49-4b47-b0d6-4caa98a2cde6-image.png

                      Thomas JansenT Offline
                      Thomas JansenT Offline
                      Thomas Jansen
                      schrieb am zuletzt editiert von
                      #13

                      @Spectrum1981 Hey, geniales Script, versuche das anzupassen. Läuft auch, jedoch bekomme ich nur die Meldung Fenster im Heat noch offen! Wie oder was ist das mit dem Kanalnamen? Da blick ich als Anfänger noch nicht so durch... LG

                      Hätte gerne die Raumnamen angezeigt z.B wie bei Dir HW Raum Tür...

                      1 Antwort Letzte Antwort
                      0
                      • S Spectrum1981

                        @paul53

                        Vielen Dank für die Hilfe. Klappt nun und ich bekomme alle x Minuten eine Info das das Fenster noch offen ist.

                        Hier das Skript wenn das jemand nachbauen will:

                        5e8d148b-fe49-4b47-b0d6-4caa98a2cde6-image.png

                        Zu HauseZ Offline
                        Zu HauseZ Offline
                        Zu Hause
                        schrieb am zuletzt editiert von
                        #14

                        @Spectrum1981 moin bin ganz neu in der iobroker Welt und würde gern das Skript nachbauen, welcher Baustein ist Check_Window mit: Kanalname?

                        SlowmanS paul53P 2 Antworten Letzte Antwort
                        0
                        • Zu HauseZ Zu Hause

                          @Spectrum1981 moin bin ganz neu in der iobroker Welt und würde gern das Skript nachbauen, welcher Baustein ist Check_Window mit: Kanalname?

                          SlowmanS Offline
                          SlowmanS Offline
                          Slowman
                          schrieb am zuletzt editiert von Slowman
                          #15

                          @Zu-Hause

                          Ist eine selbstdefinierte Variable: https://www.iobroker.net/docu/index-43.htm?page_id=5385&lang=de#Variablen

                          Schaue mal hier: https://forum.iobroker.net/topic/38279/gelöst-timer-erst-starten-wenn-gerät-nicht-mehr-aktiv-ist/16

                          Vielleicht kannst du damit mehr anfangen. Hatte da auch ein Problem 😁

                          1 Antwort Letzte Antwort
                          1
                          • Zu HauseZ Zu Hause

                            @Spectrum1981 moin bin ganz neu in der iobroker Welt und würde gern das Skript nachbauen, welcher Baustein ist Check_Window mit: Kanalname?

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

                            @Zu-Hause sagte:

                            welcher Baustein ist Check_Window mit: Kanalname?

                            Das ist die Funktion rechts im Bild.

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

                            1 Antwort Letzte Antwort
                            0

                            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

                            592

                            Online

                            32.7k

                            Benutzer

                            82.6k

                            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