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

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. Fenster lüften Skript

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    14
    1
    187

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

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

Fenster lüften Skript

Geplant Angeheftet Gesperrt Verschoben Blockly
4 Beiträge 4 Kommentatoren 566 Aufrufe 4 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • Sebastian 0S Offline
    Sebastian 0S Offline
    Sebastian 0
    schrieb am zuletzt editiert von Sebastian 0
    #1

    Hallo zusammen,

    kann mir jemand helfen wo mein Denkfehler liegt?

    Ich möchte folgendes:

    1. Block: Wenn alle Fenster geöffnet sind nach 10 min eine Meldung über Alexa.
    2. Block: wenn nur eines der Fenster geöffnet ist ebenfalls Meldung nach 10min.

    Leider kommt keine Meldung nach der vorgegebenen Zeit.


    BlocklyJavascriptTypeScript
    Protokoll
    Ausgewählte Blöcke exportieren
    <xml xmlns="https://developers.google.com/blockly/xml">
    <variables>
    <variable type="timeout" id="timeout3">timeout3</variable>
    <variable type="timeout" id="timeout">timeout</variable>
    </variables>
    <block type="comment" id="eHw2v,Kl]=(hrV=Gp8Z" x="13" y="13"> <field name="COMMENT">Alle Fenster gleichzeitig auf</field> <next> <block type="controls_if" id="^HY@Z]p_Xc$_OD[5%hS4"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_operation" id="(R}beD8,?i0,-X(AMKYS" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="do.@.xGI$?L[#ssO9c}S"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="8Jl;XxpVCh;^]vb=9io}"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.31.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="bi0pXC*@DvpaGa}5|L]]"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="{JD+c_D1bhC[g[Y``=zN" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="Rbb^;^oj|E0Lr%(;aRO">
    <field name="OP">EQ</field>
    <value name="A">
    <block type="get_value" id="Pk:P]w;e-VwH_yCUpqn5">
    <field name="ATTR">val</field>
    <field name="OID">deconz.0.Sensors.29.open</field>
    </block>
    </value>
    <value name="B">
    <block type="logic_boolean" id="8C3?sq#~k9ht$%3LC8N"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="!n3@|Mcny@tjS1*cW13g" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="QIyl;EqWdpyVphGhuXQb"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="M^Y(LKub?8wVLzLF$%|">
    <field name="ATTR">val</field>
    <field name="OID">deconz.0.Sensors.29.open</field>
    </block>
    </value>
    <value name="B">
    <block type="logic_boolean" id="jO{p~$)nzwmXvlP]q{[=">
    <field name="BOOL">TRUE</field>
    </block>
    </value>
    </block>
    </value>
    <value name="B">
    <block type="logic_operation" id="+L)4@q?Qwv!:z:6nX!D," inline="false">
    <field name="OP">AND</field>
    <value name="A">
    <block type="logic_compare" id="z[Z6B)j;]VTjc/bKV4%Z">
    <field name="OP">EQ</field>
    <value name="A">
    <block type="get_value" id="g72:IC]p;K#[mg-Rt7C"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.30.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="i@BsK8lZCubg{$$jZ;1">
    <field name="BOOL">TRUE</field>
    </block>
    </value>
    </block>
    </value>
    <value name="B">
    <block type="logic_operation" id="@qGKONF2lF.{s@1xsrW!" inline="false">
    <field name="OP">AND</field>
    <value name="A">
    <block type="logic_compare" id="PBbaB|Aqj~q+Ky7$WQDx">
    <field name="OP">EQ</field>
    <value name="A">
    <block type="get_value" id="7~+!:{Fz3C/CBw|=q~fg">
    <field name="ATTR">val</field>
    <field name="OID">deconz.0.Sensors.41.open</field>
    </block>
    </value>
    <value name="B">
    <block type="logic_boolean" id="vz?;:-jUAl~)ud=L~qv:">
    <field name="BOOL">TRUE</field>
    </block>
    </value>
    </block>
    </value>
    <value name="B">
    <block type="logic_compare" id="[L2~Z|ps9JnaBjrCVrM"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="D?5A(|BfSy.O*n5Muuhx"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.33.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id=".C[x39hQLrrb+o#hPfU~"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="timeouts_settimeout" id="IIFWx?kif8NN;w)r0qt9"> <field name="NAME">timeout3</field> <field name="DELAY">10</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="control" id="a,l$]SdyE??T+PcL7N:N"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G0911B0592620FBD.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="eL_pi!BmADruCtNxWjY">
    <field name="TEXT">10 min sind rum, bitte Fenster schliessen</field>
    </block>
    </value>
    <next>
    <block type="control" id=",X86cnmC,Ms;F;RdC$od">
    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
    <field name="OID">alexa2.0.Echo-Devices.G0911M1001350JF1.Commands.speak</field>
    <field name="WITH_DELAY">FALSE</field>
    <value name="VALUE">
    <block type="text" id=":%HGb@8v0|3mN?edN30?">
    <field name="TEXT">10 min sind rum, bitte Fenster schliessen</field>
    </block>
    </value>
    <next>
    <block type="telegram" id="7P97qB!^e]pZ(gt==gKd">
    <field name="INSTANCE"></field>
    <field name="LOG"></field>
    <field name="SILENT">FALSE</field>
    <field name="PARSEMODE">default</field>
    <value name="MESSAGE">
    <shadow type="text" id="v}/]8!Q?5Vcgfoy^gr*">
    <field name="TEXT"></field>
    </shadow>
    <block type="text_join" id=";ew!Yz(=~l]i)1PX0Co[">
    <mutation items="1"></mutation>
    <value name="ADD0">
    <block type="text" id="0k5/mItc;}1Oyaj+xmt*">
    <field name="TEXT">Fenster schliessen!</field>
    </block>
    </value>
    </block>
    </value>
    <value name="USERNAME">
    <block type="text" id="6$dUF_pj7pnrnVo2sUB*">
    <field name="TEXT">Basti274</field>
    </block>
    </value>
    </block>
    </next>
    </block>
    </next>
    </block>
    </statement>
    </block>
    </statement>
    <statement name="ELSE">
    <block type="timeouts_cleartimeout" id="G0m2?IwKY!kG*.+,zQ[:">
    <field name="NAME">timeout3</field>
    </block>
    </statement>
    </block>
    </next>
    </block>
    <block type="comment" id="t+;WH~nB{ObxiYTB*V=" x="13" y="613"> <field name="COMMENT">Egal welches Fenster auf </field> <next> <block type="on" id="Q8Rf-Tk~6ErA@VuZ_@F="> <field name="OID">Object ID</field> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <statement name="STATEMENT"> <block type="controls_if" id="R!ueGK%oDlfbAFyUd]#H"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_operation" id="hx2Kx07J8Y6vuU,R[TiA" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="#Fdp4A#{s?te/d,F#0!^"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="=VIGOLIrl.3Z.KT]X(uc"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.31.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="IrLYt8#qydGBC1derY6!"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="QN}R*.b*|*[Undb_w|" inline="false">
    <field name="OP">OR</field>
    <value name="A">
    <block type="logic_compare" id="FZmIll#8.8}hUd44St};">
    <field name="OP">EQ</field>
    <value name="A">
    <block type="get_value" id="v{injYw3h6VE.t^t]=z:">
    <field name="ATTR">val</field>
    <field name="OID">deconz.0.Sensors.29.open</field>
    </block>
    </value>
    <value name="B">
    <block type="logic_boolean" id="Z4:s/1
    Vd6L-WAOZ|?I"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id=":U}2UN52yBjKw/!YJm)^" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="^[)x$:hEFal^jFw*YPA0"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="C=i42I-/-;VnF;unV-RP"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.30.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="dz8F,H1sgTn~Xu|#0J$">
    <field name="BOOL">TRUE</field>
    </block>
    </value>
    </block>
    </value>
    <value name="B">
    <block type="logic_operation" id="kv/wFFRTgVB(pAwbF2oI" inline="false">
    <field name="OP">OR</field>
    <value name="A">
    <block type="logic_compare" id="L-(~Uo?+J7Vx}NX%EE%=">
    <field name="OP">EQ</field>
    <value name="A">
    <block type="get_value" id="GBP|G)?K-mIGF.j??Q
    ]">
    <field name="ATTR">val</field>
    <field name="OID">deconz.0.Sensors.41.open</field>
    </block>
    </value>
    <value name="B">
    <block type="logic_boolean" id="{3nx|D%$k|$plhEiG|U">
    <field name="BOOL">TRUE</field>
    </block>
    </value>
    </block>
    </value>
    <value name="B">
    <block type="logic_operation" id="Q9^TqCa/Z=(L-V.C+2" inline="false">
    <field name="OP">OR</field>
    <value name="A">
    <block type="logic_compare" id="3}N=8YoM(E!$P;e(+O:$">
    <field name="OP">EQ</field>
    <value name="A">
    <block type="get_value" id="?[u#i84HL2MO?1TX/7CE">
    <field name="ATTR">val</field>
    <field name="OID">deconz.0.Sensors.33.open</field>
    </block>
    </value>
    <value name="B">
    <block type="logic_boolean" id="g/P:V]O-^OY0T$3G5Kx"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="WBG!k6Ui9@$Y=
    @f4le">
    <field name="OP">EQ</field>
    <value name="A">
    <block type="get_value" id="UIyUy2ysjg}5~0.5Rz1"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.40.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="uxC_QiCGCJ}bP5$l6vY%"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="timeouts_settimeout" id="u+c)tcg.1c#x}kzH#zMT"> <field name="NAME">timeout</field> <field name="DELAY">10</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="control" id="Z@o$wC.]I]_/~,gu(xE7"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G0911B0592620FBD.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="sG/NW#$:?J}qJ)K=tZ"> <field name="TEXT">10 min sind rum, bitte Fenster schliessen</field> </block> </value> <next> <block type="control" id="[CcT!Wc[=ztqW2pjsGO">
    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
    <field name="OID">alexa2.0.Echo-Devices.G0911M1001350JF1.Commands.speak</field>
    <field name="WITH_DELAY">FALSE</field>
    <value name="VALUE">
    <block type="text" id="8@xT@5VyCJz!Ggj7pvz"> <field name="TEXT">10 min sind rum, bitte Fenster schliessen</field> </block> </value> <next> <block type="telegram" id="{(VSojU|vgrGtfcn(h_e"> <field name="INSTANCE"></field> <field name="LOG"></field> <field name="SILENT">FALSE</field> <field name="PARSEMODE">default</field> <value name="MESSAGE"> <shadow type="text" id="!jg3}}1LhKh1Mamnbz,+"> <field name="TEXT"></field> </shadow> <block type="text_join" id="hB0b10(2Xmf9/d5lbXn#"> <mutation items="1"></mutation> <value name="ADD0"> <block type="text" id="Jjv.LeU!l*?/n|_wqWuk"> <field name="TEXT">Fenster schliessen!</field> </block> </value> </block> </value> <value name="USERNAME"> <block type="text" id="NrKH]hxFu;P~ISOOq;T/"> <field name="TEXT">Basti274</field> </block> </value> </block> </next> </block> </next> </block> </statement> </block> </statement> <statement name="ELSE"> <block type="timeouts_cleartimeout" id="{D{I6WbXzSu-rCfQX3d">
    <field name="NAME">timeout</field>
    </block>
    </statement>
    </block>
    </statement>
    </block>
    </next>
    </block>
    </xml>
    <xml xmlns="https://developers.google.com/blockly/xml">
    <variables>
    <variable type="timeout" id="timeout3">timeout3</variable>
    <variable type="timeout" id="timeout">timeout</variable>
    </variables>
    <block type="comment" id="eHw2v,Kl]=(hrV=Gp8Z" x="13" y="13"> <field name="COMMENT">Alle Fenster gleichzeitig auf</field> <next> <block type="controls_if" id="^HY@Z]p_Xc$_OD[5%hS4"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_operation" id="(R}beD8,?i0,-X(AMKYS" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="do.@.xGI$?L[#ssO9c}S"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="8Jl;XxpVCh;^]vb=9io}"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.31.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="bi0pXC*@DvpaGa}5|L]]"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="{JD+c_D1bhC[g[Y``=zN" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="Rbb^;^oj|E0Lr%(;aRO">
    <field name="OP">EQ</field>
    <value name="A">
    <block type="get_value" id="Pk:P]w;e-VwH_yCUpqn5">
    <field name="ATTR">val</field>
    <field name="OID">deconz.0.Sensors.29.open</field>
    </block>
    </value>
    <value name="B">
    <block type="logic_boolean" id="8C3?sq#~k9ht$%3LC8N"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="!n3@|Mcny@tjS1*cW13g" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="QIyl;EqWdpyVphGhuXQb"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="M^Y(LKub?8wVLzLF$%|">
    <field name="ATTR">val</field>
    <field name="OID">deconz.0.Sensors.29.open</field>
    </block>
    </value>
    <value name="B">
    <block type="logic_boolean" id="jO{p~$)nzwmXvlP]q{[=">
    <field name="BOOL">TRUE</field>
    </block>
    </value>
    </block>
    </value>
    <value name="B">
    <block type="logic_operation" id="+L)4@q?Qwv!:z:6nX!D," inline="false">
    <field name="OP">AND</field>
    <value name="A">
    <block type="logic_compare" id="z[Z6B)j;]VTjc/bKV4%Z">
    <field name="OP">EQ</field>
    <value name="A">
    <block type="get_value" id="g72:IC]p;K#[mg-Rt7C"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.30.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="i@BsK8lZCubg{$$jZ;1">
    <field name="BOOL">TRUE</field>
    </block>
    </value>
    </block>
    </value>
    <value name="B">
    <block type="logic_operation" id="@qGKONF2lF.{s@1xsrW!" inline="false">
    <field name="OP">AND</field>
    <value name="A">
    <block type="logic_compare" id="PBbaB|Aqj~q+Ky7$WQDx">
    <field name="OP">EQ</field>
    <value name="A">
    <block type="get_value" id="7~+!:{Fz3C/CBw|=q~fg">
    <field name="ATTR">val</field>
    <field name="OID">deconz.0.Sensors.41.open</field>
    </block>
    </value>
    <value name="B">
    <block type="logic_boolean" id="vz?;:-jUAl~)ud=L~qv:">
    <field name="BOOL">TRUE</field>
    </block>
    </value>
    </block>
    </value>
    <value name="B">
    <block type="logic_compare" id="[L2~Z|ps9JnaBjrCVrM"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="D?5A(|BfSy.O*n5Muuhx"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.33.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id=".C[x39hQLrrb+o#hPfU~"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="timeouts_settimeout" id="IIFWx?kif8NN;w)r0qt9"> <field name="NAME">timeout3</field> <field name="DELAY">10</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="control" id="a,l$]SdyE??T+PcL7N:N"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G0911B0592620FBD.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="eL_pi!BmADruCtNxWjY">
    <field name="TEXT">10 min sind rum, bitte Fenster schliessen</field>
    </block>
    </value>
    <next>
    <block type="control" id=",X86cnmC,Ms;F;RdC$od">
    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
    <field name="OID">alexa2.0.Echo-Devices.G0911M1001350JF1.Commands.speak</field>
    <field name="WITH_DELAY">FALSE</field>
    <value name="VALUE">
    <block type="text" id=":%HGb@8v0|3mN?edN30?">
    <field name="TEXT">10 min sind rum, bitte Fenster schliessen</field>
    </block>
    </value>
    <next>
    <block type="telegram" id="7P97qB!^e]pZ(gt==gKd">
    <field name="INSTANCE"></field>
    <field name="LOG"></field>
    <field name="SILENT">FALSE</field>
    <field name="PARSEMODE">default</field>
    <value name="MESSAGE">
    <shadow type="text" id="v}/]8!Q?5Vcgfoy^gr*">
    <field name="TEXT"></field>
    </shadow>
    <block type="text_join" id=";ew!Yz(=~l]i)1PX0Co[">
    <mutation items="1"></mutation>
    <value name="ADD0">
    <block type="text" id="0k5/mItc;}1Oyaj+xmt*">
    <field name="TEXT">Fenster schliessen!</field>
    </block>
    </value>
    </block>
    </value>
    <value name="USERNAME">
    <block type="text" id="6$dUF_pj7pnrnVo2sUB*">
    <field name="TEXT">Basti274</field>
    </block>
    </value>
    </block>
    </next>
    </block>
    </next>
    </block>
    </statement>
    </block>
    </statement>
    <statement name="ELSE">
    <block type="timeouts_cleartimeout" id="G0m2?IwKY!kG*.+,zQ[:">
    <field name="NAME">timeout3</field>
    </block>
    </statement>
    </block>
    </next>
    </block>
    <block type="comment" id="t+;WH~nB{ObxiYTB*V=" x="13" y="613"> <field name="COMMENT">Egal welches Fenster auf </field> <next> <block type="on" id="Q8Rf-Tk~6ErA@VuZ_@F="> <field name="OID">Object ID</field> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <statement name="STATEMENT"> <block type="controls_if" id="R!ueGK%oDlfbAFyUd]#H"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_operation" id="hx2Kx07J8Y6vuU,R[TiA" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="#Fdp4A#{s?te/d,F#0!^"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="=VIGOLIrl.3Z.KT]X(uc"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.31.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="IrLYt8#qydGBC1derY6!"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="QN}R*.b*|*[Undb_w|" inline="false">
    <field name="OP">OR</field>
    <value name="A">
    <block type="logic_compare" id="FZmIll#8.8}hUd44St};">
    <field name="OP">EQ</field>
    <value name="A">
    <block type="get_value" id="v{injYw3h6VE.t^t]=z:">
    <field name="ATTR">val</field>
    <field name="OID">deconz.0.Sensors.29.open</field>
    </block>
    </value>
    <value name="B">
    <block type="logic_boolean" id="Z4:s/1
    Vd6L-WAOZ|?I"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id=":U}2UN52yBjKw/!YJm)^" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="^[)x$:hEFal^jFw*YPA0"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="C=i42I-/-;VnF;unV-RP"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.30.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="dz8F,H1sgTn~Xu|#0J$">
    <field name="BOOL">TRUE</field>
    </block>
    </value>
    </block>
    </value>
    <value name="B">
    <block type="logic_operation" id="kv/wFFRTgVB(pAwbF2oI" inline="false">
    <field name="OP">OR</field>
    <value name="A">
    <block type="logic_compare" id="L-(~Uo?+J7Vx}NX%EE%=">
    <field name="OP">EQ</field>
    <value name="A">
    <block type="get_value" id="GBP|G)?K-mIGF.j??Q
    ]">
    <field name="ATTR">val</field>
    <field name="OID">deconz.0.Sensors.41.open</field>
    </block>
    </value>
    <value name="B">
    <block type="logic_boolean" id="{3nx|D%$k|$plhEiG|U">
    <field name="BOOL">TRUE</field>
    </block>
    </value>
    </block>
    </value>
    <value name="B">
    <block type="logic_operation" id="Q9^TqCa/Z=(L-V.C+2" inline="false">
    <field name="OP">OR</field>
    <value name="A">
    <block type="logic_compare" id="3}N=8YoM(E!$P;e(+O:$">
    <field name="OP">EQ</field>
    <value name="A">
    <block type="get_value" id="?[u#i84HL2MO?1TX/7CE">
    <field name="ATTR">val</field>
    <field name="OID">deconz.0.Sensors.33.open</field>
    </block>
    </value>
    <value name="B">
    <block type="logic_boolean" id="g/P:V]O-^OY0T$3G5Kx"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="WBG!k6Ui9@$Y=
    @f4le">
    <field name="OP">EQ</field>
    <value name="A">
    <block type="get_value" id="UIyUy2ysjg}5~0.5Rz1"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.40.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="uxC_QiCGCJ}bP5$l6vY%"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="timeouts_settimeout" id="u+c)tcg.1c#x}kzH#zMT"> <field name="NAME">timeout</field> <field name="DELAY">10</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="control" id="Z@o$wC.]I]_/~,gu(xE7"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G0911B0592620FBD.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="sG/NW#$:?J}qJ)K=tZ"> <field name="TEXT">10 min sind rum, bitte Fenster schliessen</field> </block> </value> <next> <block type="control" id="[CcT!Wc[=ztqW2pjsGO">
    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
    <field name="OID">alexa2.0.Echo-Devices.G0911M1001350JF1.Commands.speak</field>
    <field name="WITH_DELAY">FALSE</field>
    <value name="VALUE">
    <block type="text" id="8@xT@5VyCJz!Ggj7pvz"> <field name="TEXT">10 min sind rum, bitte Fenster schliessen</field> </block> </value> <next> <block type="telegram" id="{(VSojU|vgrGtfcn(h_e"> <field name="INSTANCE"></field> <field name="LOG"></field> <field name="SILENT">FALSE</field> <field name="PARSEMODE">default</field> <value name="MESSAGE"> <shadow type="text" id="!jg3}}1LhKh1Mamnbz,+"> <field name="TEXT"></field> </shadow> <block type="text_join" id="hB0b10(2Xmf9/d5lbXn#"> <mutation items="1"></mutation> <value name="ADD0"> <block type="text" id="Jjv.LeU!l*?/n|_wqWuk"> <field name="TEXT">Fenster schliessen!</field> </block> </value> </block> </value> <value name="USERNAME"> <block type="text" id="NrKH]hxFu;P~ISOOq;T/"> <field name="TEXT">Basti274</field> </block> </value> </block> </next> </block> </next> </block> </statement> </block> </statement> <statement name="ELSE"> <block type="timeouts_cleartimeout" id="{D{I6WbXzSu-rCfQX3d">
    <field name="NAME">timeout</field>
    </block>
    </statement>
    </block>
    </statement>
    </block>
    </next>
    </block>
    </xml>

    Capture.PNG

    M OcrimO AsgothianA 3 Antworten Letzte Antwort
    0
    • Sebastian 0S Sebastian 0

      Hallo zusammen,

      kann mir jemand helfen wo mein Denkfehler liegt?

      Ich möchte folgendes:

      1. Block: Wenn alle Fenster geöffnet sind nach 10 min eine Meldung über Alexa.
      2. Block: wenn nur eines der Fenster geöffnet ist ebenfalls Meldung nach 10min.

      Leider kommt keine Meldung nach der vorgegebenen Zeit.


      BlocklyJavascriptTypeScript
      Protokoll
      Ausgewählte Blöcke exportieren
      <xml xmlns="https://developers.google.com/blockly/xml">
      <variables>
      <variable type="timeout" id="timeout3">timeout3</variable>
      <variable type="timeout" id="timeout">timeout</variable>
      </variables>
      <block type="comment" id="eHw2v,Kl]=(hrV=Gp8Z" x="13" y="13"> <field name="COMMENT">Alle Fenster gleichzeitig auf</field> <next> <block type="controls_if" id="^HY@Z]p_Xc$_OD[5%hS4"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_operation" id="(R}beD8,?i0,-X(AMKYS" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="do.@.xGI$?L[#ssO9c}S"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="8Jl;XxpVCh;^]vb=9io}"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.31.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="bi0pXC*@DvpaGa}5|L]]"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="{JD+c_D1bhC[g[Y``=zN" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="Rbb^;^oj|E0Lr%(;aRO">
      <field name="OP">EQ</field>
      <value name="A">
      <block type="get_value" id="Pk:P]w;e-VwH_yCUpqn5">
      <field name="ATTR">val</field>
      <field name="OID">deconz.0.Sensors.29.open</field>
      </block>
      </value>
      <value name="B">
      <block type="logic_boolean" id="8C3?sq#~k9ht$%3LC8N"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="!n3@|Mcny@tjS1*cW13g" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="QIyl;EqWdpyVphGhuXQb"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="M^Y(LKub?8wVLzLF$%|">
      <field name="ATTR">val</field>
      <field name="OID">deconz.0.Sensors.29.open</field>
      </block>
      </value>
      <value name="B">
      <block type="logic_boolean" id="jO{p~$)nzwmXvlP]q{[=">
      <field name="BOOL">TRUE</field>
      </block>
      </value>
      </block>
      </value>
      <value name="B">
      <block type="logic_operation" id="+L)4@q?Qwv!:z:6nX!D," inline="false">
      <field name="OP">AND</field>
      <value name="A">
      <block type="logic_compare" id="z[Z6B)j;]VTjc/bKV4%Z">
      <field name="OP">EQ</field>
      <value name="A">
      <block type="get_value" id="g72:IC]p;K#[mg-Rt7C"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.30.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="i@BsK8lZCubg{$$jZ;1">
      <field name="BOOL">TRUE</field>
      </block>
      </value>
      </block>
      </value>
      <value name="B">
      <block type="logic_operation" id="@qGKONF2lF.{s@1xsrW!" inline="false">
      <field name="OP">AND</field>
      <value name="A">
      <block type="logic_compare" id="PBbaB|Aqj~q+Ky7$WQDx">
      <field name="OP">EQ</field>
      <value name="A">
      <block type="get_value" id="7~+!:{Fz3C/CBw|=q~fg">
      <field name="ATTR">val</field>
      <field name="OID">deconz.0.Sensors.41.open</field>
      </block>
      </value>
      <value name="B">
      <block type="logic_boolean" id="vz?;:-jUAl~)ud=L~qv:">
      <field name="BOOL">TRUE</field>
      </block>
      </value>
      </block>
      </value>
      <value name="B">
      <block type="logic_compare" id="[L2~Z|ps9JnaBjrCVrM"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="D?5A(|BfSy.O*n5Muuhx"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.33.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id=".C[x39hQLrrb+o#hPfU~"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="timeouts_settimeout" id="IIFWx?kif8NN;w)r0qt9"> <field name="NAME">timeout3</field> <field name="DELAY">10</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="control" id="a,l$]SdyE??T+PcL7N:N"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G0911B0592620FBD.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="eL_pi!BmADruCtNxWjY">
      <field name="TEXT">10 min sind rum, bitte Fenster schliessen</field>
      </block>
      </value>
      <next>
      <block type="control" id=",X86cnmC,Ms;F;RdC$od">
      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
      <field name="OID">alexa2.0.Echo-Devices.G0911M1001350JF1.Commands.speak</field>
      <field name="WITH_DELAY">FALSE</field>
      <value name="VALUE">
      <block type="text" id=":%HGb@8v0|3mN?edN30?">
      <field name="TEXT">10 min sind rum, bitte Fenster schliessen</field>
      </block>
      </value>
      <next>
      <block type="telegram" id="7P97qB!^e]pZ(gt==gKd">
      <field name="INSTANCE"></field>
      <field name="LOG"></field>
      <field name="SILENT">FALSE</field>
      <field name="PARSEMODE">default</field>
      <value name="MESSAGE">
      <shadow type="text" id="v}/]8!Q?5Vcgfoy^gr*">
      <field name="TEXT"></field>
      </shadow>
      <block type="text_join" id=";ew!Yz(=~l]i)1PX0Co[">
      <mutation items="1"></mutation>
      <value name="ADD0">
      <block type="text" id="0k5/mItc;}1Oyaj+xmt*">
      <field name="TEXT">Fenster schliessen!</field>
      </block>
      </value>
      </block>
      </value>
      <value name="USERNAME">
      <block type="text" id="6$dUF_pj7pnrnVo2sUB*">
      <field name="TEXT">Basti274</field>
      </block>
      </value>
      </block>
      </next>
      </block>
      </next>
      </block>
      </statement>
      </block>
      </statement>
      <statement name="ELSE">
      <block type="timeouts_cleartimeout" id="G0m2?IwKY!kG*.+,zQ[:">
      <field name="NAME">timeout3</field>
      </block>
      </statement>
      </block>
      </next>
      </block>
      <block type="comment" id="t+;WH~nB{ObxiYTB*V=" x="13" y="613"> <field name="COMMENT">Egal welches Fenster auf </field> <next> <block type="on" id="Q8Rf-Tk~6ErA@VuZ_@F="> <field name="OID">Object ID</field> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <statement name="STATEMENT"> <block type="controls_if" id="R!ueGK%oDlfbAFyUd]#H"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_operation" id="hx2Kx07J8Y6vuU,R[TiA" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="#Fdp4A#{s?te/d,F#0!^"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="=VIGOLIrl.3Z.KT]X(uc"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.31.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="IrLYt8#qydGBC1derY6!"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="QN}R*.b*|*[Undb_w|" inline="false">
      <field name="OP">OR</field>
      <value name="A">
      <block type="logic_compare" id="FZmIll#8.8}hUd44St};">
      <field name="OP">EQ</field>
      <value name="A">
      <block type="get_value" id="v{injYw3h6VE.t^t]=z:">
      <field name="ATTR">val</field>
      <field name="OID">deconz.0.Sensors.29.open</field>
      </block>
      </value>
      <value name="B">
      <block type="logic_boolean" id="Z4:s/1
      Vd6L-WAOZ|?I"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id=":U}2UN52yBjKw/!YJm)^" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="^[)x$:hEFal^jFw*YPA0"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="C=i42I-/-;VnF;unV-RP"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.30.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="dz8F,H1sgTn~Xu|#0J$">
      <field name="BOOL">TRUE</field>
      </block>
      </value>
      </block>
      </value>
      <value name="B">
      <block type="logic_operation" id="kv/wFFRTgVB(pAwbF2oI" inline="false">
      <field name="OP">OR</field>
      <value name="A">
      <block type="logic_compare" id="L-(~Uo?+J7Vx}NX%EE%=">
      <field name="OP">EQ</field>
      <value name="A">
      <block type="get_value" id="GBP|G)?K-mIGF.j??Q
      ]">
      <field name="ATTR">val</field>
      <field name="OID">deconz.0.Sensors.41.open</field>
      </block>
      </value>
      <value name="B">
      <block type="logic_boolean" id="{3nx|D%$k|$plhEiG|U">
      <field name="BOOL">TRUE</field>
      </block>
      </value>
      </block>
      </value>
      <value name="B">
      <block type="logic_operation" id="Q9^TqCa/Z=(L-V.C+2" inline="false">
      <field name="OP">OR</field>
      <value name="A">
      <block type="logic_compare" id="3}N=8YoM(E!$P;e(+O:$">
      <field name="OP">EQ</field>
      <value name="A">
      <block type="get_value" id="?[u#i84HL2MO?1TX/7CE">
      <field name="ATTR">val</field>
      <field name="OID">deconz.0.Sensors.33.open</field>
      </block>
      </value>
      <value name="B">
      <block type="logic_boolean" id="g/P:V]O-^OY0T$3G5Kx"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="WBG!k6Ui9@$Y=
      @f4le">
      <field name="OP">EQ</field>
      <value name="A">
      <block type="get_value" id="UIyUy2ysjg}5~0.5Rz1"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.40.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="uxC_QiCGCJ}bP5$l6vY%"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="timeouts_settimeout" id="u+c)tcg.1c#x}kzH#zMT"> <field name="NAME">timeout</field> <field name="DELAY">10</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="control" id="Z@o$wC.]I]_/~,gu(xE7"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G0911B0592620FBD.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="sG/NW#$:?J}qJ)K=tZ"> <field name="TEXT">10 min sind rum, bitte Fenster schliessen</field> </block> </value> <next> <block type="control" id="[CcT!Wc[=ztqW2pjsGO">
      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
      <field name="OID">alexa2.0.Echo-Devices.G0911M1001350JF1.Commands.speak</field>
      <field name="WITH_DELAY">FALSE</field>
      <value name="VALUE">
      <block type="text" id="8@xT@5VyCJz!Ggj7pvz"> <field name="TEXT">10 min sind rum, bitte Fenster schliessen</field> </block> </value> <next> <block type="telegram" id="{(VSojU|vgrGtfcn(h_e"> <field name="INSTANCE"></field> <field name="LOG"></field> <field name="SILENT">FALSE</field> <field name="PARSEMODE">default</field> <value name="MESSAGE"> <shadow type="text" id="!jg3}}1LhKh1Mamnbz,+"> <field name="TEXT"></field> </shadow> <block type="text_join" id="hB0b10(2Xmf9/d5lbXn#"> <mutation items="1"></mutation> <value name="ADD0"> <block type="text" id="Jjv.LeU!l*?/n|_wqWuk"> <field name="TEXT">Fenster schliessen!</field> </block> </value> </block> </value> <value name="USERNAME"> <block type="text" id="NrKH]hxFu;P~ISOOq;T/"> <field name="TEXT">Basti274</field> </block> </value> </block> </next> </block> </next> </block> </statement> </block> </statement> <statement name="ELSE"> <block type="timeouts_cleartimeout" id="{D{I6WbXzSu-rCfQX3d">
      <field name="NAME">timeout</field>
      </block>
      </statement>
      </block>
      </statement>
      </block>
      </next>
      </block>
      </xml>
      <xml xmlns="https://developers.google.com/blockly/xml">
      <variables>
      <variable type="timeout" id="timeout3">timeout3</variable>
      <variable type="timeout" id="timeout">timeout</variable>
      </variables>
      <block type="comment" id="eHw2v,Kl]=(hrV=Gp8Z" x="13" y="13"> <field name="COMMENT">Alle Fenster gleichzeitig auf</field> <next> <block type="controls_if" id="^HY@Z]p_Xc$_OD[5%hS4"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_operation" id="(R}beD8,?i0,-X(AMKYS" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="do.@.xGI$?L[#ssO9c}S"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="8Jl;XxpVCh;^]vb=9io}"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.31.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="bi0pXC*@DvpaGa}5|L]]"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="{JD+c_D1bhC[g[Y``=zN" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="Rbb^;^oj|E0Lr%(;aRO">
      <field name="OP">EQ</field>
      <value name="A">
      <block type="get_value" id="Pk:P]w;e-VwH_yCUpqn5">
      <field name="ATTR">val</field>
      <field name="OID">deconz.0.Sensors.29.open</field>
      </block>
      </value>
      <value name="B">
      <block type="logic_boolean" id="8C3?sq#~k9ht$%3LC8N"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="!n3@|Mcny@tjS1*cW13g" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="QIyl;EqWdpyVphGhuXQb"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="M^Y(LKub?8wVLzLF$%|">
      <field name="ATTR">val</field>
      <field name="OID">deconz.0.Sensors.29.open</field>
      </block>
      </value>
      <value name="B">
      <block type="logic_boolean" id="jO{p~$)nzwmXvlP]q{[=">
      <field name="BOOL">TRUE</field>
      </block>
      </value>
      </block>
      </value>
      <value name="B">
      <block type="logic_operation" id="+L)4@q?Qwv!:z:6nX!D," inline="false">
      <field name="OP">AND</field>
      <value name="A">
      <block type="logic_compare" id="z[Z6B)j;]VTjc/bKV4%Z">
      <field name="OP">EQ</field>
      <value name="A">
      <block type="get_value" id="g72:IC]p;K#[mg-Rt7C"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.30.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="i@BsK8lZCubg{$$jZ;1">
      <field name="BOOL">TRUE</field>
      </block>
      </value>
      </block>
      </value>
      <value name="B">
      <block type="logic_operation" id="@qGKONF2lF.{s@1xsrW!" inline="false">
      <field name="OP">AND</field>
      <value name="A">
      <block type="logic_compare" id="PBbaB|Aqj~q+Ky7$WQDx">
      <field name="OP">EQ</field>
      <value name="A">
      <block type="get_value" id="7~+!:{Fz3C/CBw|=q~fg">
      <field name="ATTR">val</field>
      <field name="OID">deconz.0.Sensors.41.open</field>
      </block>
      </value>
      <value name="B">
      <block type="logic_boolean" id="vz?;:-jUAl~)ud=L~qv:">
      <field name="BOOL">TRUE</field>
      </block>
      </value>
      </block>
      </value>
      <value name="B">
      <block type="logic_compare" id="[L2~Z|ps9JnaBjrCVrM"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="D?5A(|BfSy.O*n5Muuhx"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.33.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id=".C[x39hQLrrb+o#hPfU~"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="timeouts_settimeout" id="IIFWx?kif8NN;w)r0qt9"> <field name="NAME">timeout3</field> <field name="DELAY">10</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="control" id="a,l$]SdyE??T+PcL7N:N"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G0911B0592620FBD.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="eL_pi!BmADruCtNxWjY">
      <field name="TEXT">10 min sind rum, bitte Fenster schliessen</field>
      </block>
      </value>
      <next>
      <block type="control" id=",X86cnmC,Ms;F;RdC$od">
      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
      <field name="OID">alexa2.0.Echo-Devices.G0911M1001350JF1.Commands.speak</field>
      <field name="WITH_DELAY">FALSE</field>
      <value name="VALUE">
      <block type="text" id=":%HGb@8v0|3mN?edN30?">
      <field name="TEXT">10 min sind rum, bitte Fenster schliessen</field>
      </block>
      </value>
      <next>
      <block type="telegram" id="7P97qB!^e]pZ(gt==gKd">
      <field name="INSTANCE"></field>
      <field name="LOG"></field>
      <field name="SILENT">FALSE</field>
      <field name="PARSEMODE">default</field>
      <value name="MESSAGE">
      <shadow type="text" id="v}/]8!Q?5Vcgfoy^gr*">
      <field name="TEXT"></field>
      </shadow>
      <block type="text_join" id=";ew!Yz(=~l]i)1PX0Co[">
      <mutation items="1"></mutation>
      <value name="ADD0">
      <block type="text" id="0k5/mItc;}1Oyaj+xmt*">
      <field name="TEXT">Fenster schliessen!</field>
      </block>
      </value>
      </block>
      </value>
      <value name="USERNAME">
      <block type="text" id="6$dUF_pj7pnrnVo2sUB*">
      <field name="TEXT">Basti274</field>
      </block>
      </value>
      </block>
      </next>
      </block>
      </next>
      </block>
      </statement>
      </block>
      </statement>
      <statement name="ELSE">
      <block type="timeouts_cleartimeout" id="G0m2?IwKY!kG*.+,zQ[:">
      <field name="NAME">timeout3</field>
      </block>
      </statement>
      </block>
      </next>
      </block>
      <block type="comment" id="t+;WH~nB{ObxiYTB*V=" x="13" y="613"> <field name="COMMENT">Egal welches Fenster auf </field> <next> <block type="on" id="Q8Rf-Tk~6ErA@VuZ_@F="> <field name="OID">Object ID</field> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <statement name="STATEMENT"> <block type="controls_if" id="R!ueGK%oDlfbAFyUd]#H"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_operation" id="hx2Kx07J8Y6vuU,R[TiA" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="#Fdp4A#{s?te/d,F#0!^"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="=VIGOLIrl.3Z.KT]X(uc"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.31.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="IrLYt8#qydGBC1derY6!"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="QN}R*.b*|*[Undb_w|" inline="false">
      <field name="OP">OR</field>
      <value name="A">
      <block type="logic_compare" id="FZmIll#8.8}hUd44St};">
      <field name="OP">EQ</field>
      <value name="A">
      <block type="get_value" id="v{injYw3h6VE.t^t]=z:">
      <field name="ATTR">val</field>
      <field name="OID">deconz.0.Sensors.29.open</field>
      </block>
      </value>
      <value name="B">
      <block type="logic_boolean" id="Z4:s/1
      Vd6L-WAOZ|?I"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id=":U}2UN52yBjKw/!YJm)^" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="^[)x$:hEFal^jFw*YPA0"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="C=i42I-/-;VnF;unV-RP"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.30.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="dz8F,H1sgTn~Xu|#0J$">
      <field name="BOOL">TRUE</field>
      </block>
      </value>
      </block>
      </value>
      <value name="B">
      <block type="logic_operation" id="kv/wFFRTgVB(pAwbF2oI" inline="false">
      <field name="OP">OR</field>
      <value name="A">
      <block type="logic_compare" id="L-(~Uo?+J7Vx}NX%EE%=">
      <field name="OP">EQ</field>
      <value name="A">
      <block type="get_value" id="GBP|G)?K-mIGF.j??Q
      ]">
      <field name="ATTR">val</field>
      <field name="OID">deconz.0.Sensors.41.open</field>
      </block>
      </value>
      <value name="B">
      <block type="logic_boolean" id="{3nx|D%$k|$plhEiG|U">
      <field name="BOOL">TRUE</field>
      </block>
      </value>
      </block>
      </value>
      <value name="B">
      <block type="logic_operation" id="Q9^TqCa/Z=(L-V.C+2" inline="false">
      <field name="OP">OR</field>
      <value name="A">
      <block type="logic_compare" id="3}N=8YoM(E!$P;e(+O:$">
      <field name="OP">EQ</field>
      <value name="A">
      <block type="get_value" id="?[u#i84HL2MO?1TX/7CE">
      <field name="ATTR">val</field>
      <field name="OID">deconz.0.Sensors.33.open</field>
      </block>
      </value>
      <value name="B">
      <block type="logic_boolean" id="g/P:V]O-^OY0T$3G5Kx"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="WBG!k6Ui9@$Y=
      @f4le">
      <field name="OP">EQ</field>
      <value name="A">
      <block type="get_value" id="UIyUy2ysjg}5~0.5Rz1"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.40.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="uxC_QiCGCJ}bP5$l6vY%"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="timeouts_settimeout" id="u+c)tcg.1c#x}kzH#zMT"> <field name="NAME">timeout</field> <field name="DELAY">10</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="control" id="Z@o$wC.]I]_/~,gu(xE7"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G0911B0592620FBD.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="sG/NW#$:?J}qJ)K=tZ"> <field name="TEXT">10 min sind rum, bitte Fenster schliessen</field> </block> </value> <next> <block type="control" id="[CcT!Wc[=ztqW2pjsGO">
      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
      <field name="OID">alexa2.0.Echo-Devices.G0911M1001350JF1.Commands.speak</field>
      <field name="WITH_DELAY">FALSE</field>
      <value name="VALUE">
      <block type="text" id="8@xT@5VyCJz!Ggj7pvz"> <field name="TEXT">10 min sind rum, bitte Fenster schliessen</field> </block> </value> <next> <block type="telegram" id="{(VSojU|vgrGtfcn(h_e"> <field name="INSTANCE"></field> <field name="LOG"></field> <field name="SILENT">FALSE</field> <field name="PARSEMODE">default</field> <value name="MESSAGE"> <shadow type="text" id="!jg3}}1LhKh1Mamnbz,+"> <field name="TEXT"></field> </shadow> <block type="text_join" id="hB0b10(2Xmf9/d5lbXn#"> <mutation items="1"></mutation> <value name="ADD0"> <block type="text" id="Jjv.LeU!l*?/n|_wqWuk"> <field name="TEXT">Fenster schliessen!</field> </block> </value> </block> </value> <value name="USERNAME"> <block type="text" id="NrKH]hxFu;P~ISOOq;T/"> <field name="TEXT">Basti274</field> </block> </value> </block> </next> </block> </next> </block> </statement> </block> </statement> <statement name="ELSE"> <block type="timeouts_cleartimeout" id="{D{I6WbXzSu-rCfQX3d">
      <field name="NAME">timeout</field>
      </block>
      </statement>
      </block>
      </statement>
      </block>
      </next>
      </block>
      </xml>

      Capture.PNG

      M Offline
      M Offline
      MCU
      schrieb am zuletzt editiert von MCU
      #2

      @Sebastian-0 Bei Für alle Fenster ist ja kein Trigger gesetzt. Läuft nur einmal, wenn man Script startet.
      Man muss die ObjectID('s) auch auswählen!

      Pack bitte das Script bitte in einen Spoiler(Auge) ist sonst in der INFO immer so lang!.Danke.

      NUC i7 64GB mit Proxmox ---- Jarvis Infos Aktualisierungen der Doku auf Instagram verfolgen -> mcuiobroker Instagram
      Wenn Euch mein Vorschlag geholfen hat, bitte rechts "^" klicken.

      1 Antwort Letzte Antwort
      0
      • Sebastian 0S Sebastian 0

        Hallo zusammen,

        kann mir jemand helfen wo mein Denkfehler liegt?

        Ich möchte folgendes:

        1. Block: Wenn alle Fenster geöffnet sind nach 10 min eine Meldung über Alexa.
        2. Block: wenn nur eines der Fenster geöffnet ist ebenfalls Meldung nach 10min.

        Leider kommt keine Meldung nach der vorgegebenen Zeit.


        BlocklyJavascriptTypeScript
        Protokoll
        Ausgewählte Blöcke exportieren
        <xml xmlns="https://developers.google.com/blockly/xml">
        <variables>
        <variable type="timeout" id="timeout3">timeout3</variable>
        <variable type="timeout" id="timeout">timeout</variable>
        </variables>
        <block type="comment" id="eHw2v,Kl]=(hrV=Gp8Z" x="13" y="13"> <field name="COMMENT">Alle Fenster gleichzeitig auf</field> <next> <block type="controls_if" id="^HY@Z]p_Xc$_OD[5%hS4"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_operation" id="(R}beD8,?i0,-X(AMKYS" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="do.@.xGI$?L[#ssO9c}S"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="8Jl;XxpVCh;^]vb=9io}"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.31.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="bi0pXC*@DvpaGa}5|L]]"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="{JD+c_D1bhC[g[Y``=zN" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="Rbb^;^oj|E0Lr%(;aRO">
        <field name="OP">EQ</field>
        <value name="A">
        <block type="get_value" id="Pk:P]w;e-VwH_yCUpqn5">
        <field name="ATTR">val</field>
        <field name="OID">deconz.0.Sensors.29.open</field>
        </block>
        </value>
        <value name="B">
        <block type="logic_boolean" id="8C3?sq#~k9ht$%3LC8N"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="!n3@|Mcny@tjS1*cW13g" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="QIyl;EqWdpyVphGhuXQb"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="M^Y(LKub?8wVLzLF$%|">
        <field name="ATTR">val</field>
        <field name="OID">deconz.0.Sensors.29.open</field>
        </block>
        </value>
        <value name="B">
        <block type="logic_boolean" id="jO{p~$)nzwmXvlP]q{[=">
        <field name="BOOL">TRUE</field>
        </block>
        </value>
        </block>
        </value>
        <value name="B">
        <block type="logic_operation" id="+L)4@q?Qwv!:z:6nX!D," inline="false">
        <field name="OP">AND</field>
        <value name="A">
        <block type="logic_compare" id="z[Z6B)j;]VTjc/bKV4%Z">
        <field name="OP">EQ</field>
        <value name="A">
        <block type="get_value" id="g72:IC]p;K#[mg-Rt7C"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.30.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="i@BsK8lZCubg{$$jZ;1">
        <field name="BOOL">TRUE</field>
        </block>
        </value>
        </block>
        </value>
        <value name="B">
        <block type="logic_operation" id="@qGKONF2lF.{s@1xsrW!" inline="false">
        <field name="OP">AND</field>
        <value name="A">
        <block type="logic_compare" id="PBbaB|Aqj~q+Ky7$WQDx">
        <field name="OP">EQ</field>
        <value name="A">
        <block type="get_value" id="7~+!:{Fz3C/CBw|=q~fg">
        <field name="ATTR">val</field>
        <field name="OID">deconz.0.Sensors.41.open</field>
        </block>
        </value>
        <value name="B">
        <block type="logic_boolean" id="vz?;:-jUAl~)ud=L~qv:">
        <field name="BOOL">TRUE</field>
        </block>
        </value>
        </block>
        </value>
        <value name="B">
        <block type="logic_compare" id="[L2~Z|ps9JnaBjrCVrM"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="D?5A(|BfSy.O*n5Muuhx"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.33.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id=".C[x39hQLrrb+o#hPfU~"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="timeouts_settimeout" id="IIFWx?kif8NN;w)r0qt9"> <field name="NAME">timeout3</field> <field name="DELAY">10</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="control" id="a,l$]SdyE??T+PcL7N:N"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G0911B0592620FBD.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="eL_pi!BmADruCtNxWjY">
        <field name="TEXT">10 min sind rum, bitte Fenster schliessen</field>
        </block>
        </value>
        <next>
        <block type="control" id=",X86cnmC,Ms;F;RdC$od">
        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
        <field name="OID">alexa2.0.Echo-Devices.G0911M1001350JF1.Commands.speak</field>
        <field name="WITH_DELAY">FALSE</field>
        <value name="VALUE">
        <block type="text" id=":%HGb@8v0|3mN?edN30?">
        <field name="TEXT">10 min sind rum, bitte Fenster schliessen</field>
        </block>
        </value>
        <next>
        <block type="telegram" id="7P97qB!^e]pZ(gt==gKd">
        <field name="INSTANCE"></field>
        <field name="LOG"></field>
        <field name="SILENT">FALSE</field>
        <field name="PARSEMODE">default</field>
        <value name="MESSAGE">
        <shadow type="text" id="v}/]8!Q?5Vcgfoy^gr*">
        <field name="TEXT"></field>
        </shadow>
        <block type="text_join" id=";ew!Yz(=~l]i)1PX0Co[">
        <mutation items="1"></mutation>
        <value name="ADD0">
        <block type="text" id="0k5/mItc;}1Oyaj+xmt*">
        <field name="TEXT">Fenster schliessen!</field>
        </block>
        </value>
        </block>
        </value>
        <value name="USERNAME">
        <block type="text" id="6$dUF_pj7pnrnVo2sUB*">
        <field name="TEXT">Basti274</field>
        </block>
        </value>
        </block>
        </next>
        </block>
        </next>
        </block>
        </statement>
        </block>
        </statement>
        <statement name="ELSE">
        <block type="timeouts_cleartimeout" id="G0m2?IwKY!kG*.+,zQ[:">
        <field name="NAME">timeout3</field>
        </block>
        </statement>
        </block>
        </next>
        </block>
        <block type="comment" id="t+;WH~nB{ObxiYTB*V=" x="13" y="613"> <field name="COMMENT">Egal welches Fenster auf </field> <next> <block type="on" id="Q8Rf-Tk~6ErA@VuZ_@F="> <field name="OID">Object ID</field> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <statement name="STATEMENT"> <block type="controls_if" id="R!ueGK%oDlfbAFyUd]#H"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_operation" id="hx2Kx07J8Y6vuU,R[TiA" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="#Fdp4A#{s?te/d,F#0!^"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="=VIGOLIrl.3Z.KT]X(uc"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.31.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="IrLYt8#qydGBC1derY6!"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="QN}R*.b*|*[Undb_w|" inline="false">
        <field name="OP">OR</field>
        <value name="A">
        <block type="logic_compare" id="FZmIll#8.8}hUd44St};">
        <field name="OP">EQ</field>
        <value name="A">
        <block type="get_value" id="v{injYw3h6VE.t^t]=z:">
        <field name="ATTR">val</field>
        <field name="OID">deconz.0.Sensors.29.open</field>
        </block>
        </value>
        <value name="B">
        <block type="logic_boolean" id="Z4:s/1
        Vd6L-WAOZ|?I"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id=":U}2UN52yBjKw/!YJm)^" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="^[)x$:hEFal^jFw*YPA0"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="C=i42I-/-;VnF;unV-RP"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.30.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="dz8F,H1sgTn~Xu|#0J$">
        <field name="BOOL">TRUE</field>
        </block>
        </value>
        </block>
        </value>
        <value name="B">
        <block type="logic_operation" id="kv/wFFRTgVB(pAwbF2oI" inline="false">
        <field name="OP">OR</field>
        <value name="A">
        <block type="logic_compare" id="L-(~Uo?+J7Vx}NX%EE%=">
        <field name="OP">EQ</field>
        <value name="A">
        <block type="get_value" id="GBP|G)?K-mIGF.j??Q
        ]">
        <field name="ATTR">val</field>
        <field name="OID">deconz.0.Sensors.41.open</field>
        </block>
        </value>
        <value name="B">
        <block type="logic_boolean" id="{3nx|D%$k|$plhEiG|U">
        <field name="BOOL">TRUE</field>
        </block>
        </value>
        </block>
        </value>
        <value name="B">
        <block type="logic_operation" id="Q9^TqCa/Z=(L-V.C+2" inline="false">
        <field name="OP">OR</field>
        <value name="A">
        <block type="logic_compare" id="3}N=8YoM(E!$P;e(+O:$">
        <field name="OP">EQ</field>
        <value name="A">
        <block type="get_value" id="?[u#i84HL2MO?1TX/7CE">
        <field name="ATTR">val</field>
        <field name="OID">deconz.0.Sensors.33.open</field>
        </block>
        </value>
        <value name="B">
        <block type="logic_boolean" id="g/P:V]O-^OY0T$3G5Kx"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="WBG!k6Ui9@$Y=
        @f4le">
        <field name="OP">EQ</field>
        <value name="A">
        <block type="get_value" id="UIyUy2ysjg}5~0.5Rz1"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.40.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="uxC_QiCGCJ}bP5$l6vY%"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="timeouts_settimeout" id="u+c)tcg.1c#x}kzH#zMT"> <field name="NAME">timeout</field> <field name="DELAY">10</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="control" id="Z@o$wC.]I]_/~,gu(xE7"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G0911B0592620FBD.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="sG/NW#$:?J}qJ)K=tZ"> <field name="TEXT">10 min sind rum, bitte Fenster schliessen</field> </block> </value> <next> <block type="control" id="[CcT!Wc[=ztqW2pjsGO">
        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
        <field name="OID">alexa2.0.Echo-Devices.G0911M1001350JF1.Commands.speak</field>
        <field name="WITH_DELAY">FALSE</field>
        <value name="VALUE">
        <block type="text" id="8@xT@5VyCJz!Ggj7pvz"> <field name="TEXT">10 min sind rum, bitte Fenster schliessen</field> </block> </value> <next> <block type="telegram" id="{(VSojU|vgrGtfcn(h_e"> <field name="INSTANCE"></field> <field name="LOG"></field> <field name="SILENT">FALSE</field> <field name="PARSEMODE">default</field> <value name="MESSAGE"> <shadow type="text" id="!jg3}}1LhKh1Mamnbz,+"> <field name="TEXT"></field> </shadow> <block type="text_join" id="hB0b10(2Xmf9/d5lbXn#"> <mutation items="1"></mutation> <value name="ADD0"> <block type="text" id="Jjv.LeU!l*?/n|_wqWuk"> <field name="TEXT">Fenster schliessen!</field> </block> </value> </block> </value> <value name="USERNAME"> <block type="text" id="NrKH]hxFu;P~ISOOq;T/"> <field name="TEXT">Basti274</field> </block> </value> </block> </next> </block> </next> </block> </statement> </block> </statement> <statement name="ELSE"> <block type="timeouts_cleartimeout" id="{D{I6WbXzSu-rCfQX3d">
        <field name="NAME">timeout</field>
        </block>
        </statement>
        </block>
        </statement>
        </block>
        </next>
        </block>
        </xml>
        <xml xmlns="https://developers.google.com/blockly/xml">
        <variables>
        <variable type="timeout" id="timeout3">timeout3</variable>
        <variable type="timeout" id="timeout">timeout</variable>
        </variables>
        <block type="comment" id="eHw2v,Kl]=(hrV=Gp8Z" x="13" y="13"> <field name="COMMENT">Alle Fenster gleichzeitig auf</field> <next> <block type="controls_if" id="^HY@Z]p_Xc$_OD[5%hS4"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_operation" id="(R}beD8,?i0,-X(AMKYS" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="do.@.xGI$?L[#ssO9c}S"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="8Jl;XxpVCh;^]vb=9io}"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.31.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="bi0pXC*@DvpaGa}5|L]]"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="{JD+c_D1bhC[g[Y``=zN" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="Rbb^;^oj|E0Lr%(;aRO">
        <field name="OP">EQ</field>
        <value name="A">
        <block type="get_value" id="Pk:P]w;e-VwH_yCUpqn5">
        <field name="ATTR">val</field>
        <field name="OID">deconz.0.Sensors.29.open</field>
        </block>
        </value>
        <value name="B">
        <block type="logic_boolean" id="8C3?sq#~k9ht$%3LC8N"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="!n3@|Mcny@tjS1*cW13g" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="QIyl;EqWdpyVphGhuXQb"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="M^Y(LKub?8wVLzLF$%|">
        <field name="ATTR">val</field>
        <field name="OID">deconz.0.Sensors.29.open</field>
        </block>
        </value>
        <value name="B">
        <block type="logic_boolean" id="jO{p~$)nzwmXvlP]q{[=">
        <field name="BOOL">TRUE</field>
        </block>
        </value>
        </block>
        </value>
        <value name="B">
        <block type="logic_operation" id="+L)4@q?Qwv!:z:6nX!D," inline="false">
        <field name="OP">AND</field>
        <value name="A">
        <block type="logic_compare" id="z[Z6B)j;]VTjc/bKV4%Z">
        <field name="OP">EQ</field>
        <value name="A">
        <block type="get_value" id="g72:IC]p;K#[mg-Rt7C"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.30.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="i@BsK8lZCubg{$$jZ;1">
        <field name="BOOL">TRUE</field>
        </block>
        </value>
        </block>
        </value>
        <value name="B">
        <block type="logic_operation" id="@qGKONF2lF.{s@1xsrW!" inline="false">
        <field name="OP">AND</field>
        <value name="A">
        <block type="logic_compare" id="PBbaB|Aqj~q+Ky7$WQDx">
        <field name="OP">EQ</field>
        <value name="A">
        <block type="get_value" id="7~+!:{Fz3C/CBw|=q~fg">
        <field name="ATTR">val</field>
        <field name="OID">deconz.0.Sensors.41.open</field>
        </block>
        </value>
        <value name="B">
        <block type="logic_boolean" id="vz?;:-jUAl~)ud=L~qv:">
        <field name="BOOL">TRUE</field>
        </block>
        </value>
        </block>
        </value>
        <value name="B">
        <block type="logic_compare" id="[L2~Z|ps9JnaBjrCVrM"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="D?5A(|BfSy.O*n5Muuhx"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.33.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id=".C[x39hQLrrb+o#hPfU~"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="timeouts_settimeout" id="IIFWx?kif8NN;w)r0qt9"> <field name="NAME">timeout3</field> <field name="DELAY">10</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="control" id="a,l$]SdyE??T+PcL7N:N"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G0911B0592620FBD.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="eL_pi!BmADruCtNxWjY">
        <field name="TEXT">10 min sind rum, bitte Fenster schliessen</field>
        </block>
        </value>
        <next>
        <block type="control" id=",X86cnmC,Ms;F;RdC$od">
        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
        <field name="OID">alexa2.0.Echo-Devices.G0911M1001350JF1.Commands.speak</field>
        <field name="WITH_DELAY">FALSE</field>
        <value name="VALUE">
        <block type="text" id=":%HGb@8v0|3mN?edN30?">
        <field name="TEXT">10 min sind rum, bitte Fenster schliessen</field>
        </block>
        </value>
        <next>
        <block type="telegram" id="7P97qB!^e]pZ(gt==gKd">
        <field name="INSTANCE"></field>
        <field name="LOG"></field>
        <field name="SILENT">FALSE</field>
        <field name="PARSEMODE">default</field>
        <value name="MESSAGE">
        <shadow type="text" id="v}/]8!Q?5Vcgfoy^gr*">
        <field name="TEXT"></field>
        </shadow>
        <block type="text_join" id=";ew!Yz(=~l]i)1PX0Co[">
        <mutation items="1"></mutation>
        <value name="ADD0">
        <block type="text" id="0k5/mItc;}1Oyaj+xmt*">
        <field name="TEXT">Fenster schliessen!</field>
        </block>
        </value>
        </block>
        </value>
        <value name="USERNAME">
        <block type="text" id="6$dUF_pj7pnrnVo2sUB*">
        <field name="TEXT">Basti274</field>
        </block>
        </value>
        </block>
        </next>
        </block>
        </next>
        </block>
        </statement>
        </block>
        </statement>
        <statement name="ELSE">
        <block type="timeouts_cleartimeout" id="G0m2?IwKY!kG*.+,zQ[:">
        <field name="NAME">timeout3</field>
        </block>
        </statement>
        </block>
        </next>
        </block>
        <block type="comment" id="t+;WH~nB{ObxiYTB*V=" x="13" y="613"> <field name="COMMENT">Egal welches Fenster auf </field> <next> <block type="on" id="Q8Rf-Tk~6ErA@VuZ_@F="> <field name="OID">Object ID</field> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <statement name="STATEMENT"> <block type="controls_if" id="R!ueGK%oDlfbAFyUd]#H"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_operation" id="hx2Kx07J8Y6vuU,R[TiA" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="#Fdp4A#{s?te/d,F#0!^"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="=VIGOLIrl.3Z.KT]X(uc"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.31.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="IrLYt8#qydGBC1derY6!"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="QN}R*.b*|*[Undb_w|" inline="false">
        <field name="OP">OR</field>
        <value name="A">
        <block type="logic_compare" id="FZmIll#8.8}hUd44St};">
        <field name="OP">EQ</field>
        <value name="A">
        <block type="get_value" id="v{injYw3h6VE.t^t]=z:">
        <field name="ATTR">val</field>
        <field name="OID">deconz.0.Sensors.29.open</field>
        </block>
        </value>
        <value name="B">
        <block type="logic_boolean" id="Z4:s/1
        Vd6L-WAOZ|?I"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id=":U}2UN52yBjKw/!YJm)^" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="^[)x$:hEFal^jFw*YPA0"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="C=i42I-/-;VnF;unV-RP"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.30.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="dz8F,H1sgTn~Xu|#0J$">
        <field name="BOOL">TRUE</field>
        </block>
        </value>
        </block>
        </value>
        <value name="B">
        <block type="logic_operation" id="kv/wFFRTgVB(pAwbF2oI" inline="false">
        <field name="OP">OR</field>
        <value name="A">
        <block type="logic_compare" id="L-(~Uo?+J7Vx}NX%EE%=">
        <field name="OP">EQ</field>
        <value name="A">
        <block type="get_value" id="GBP|G)?K-mIGF.j??Q
        ]">
        <field name="ATTR">val</field>
        <field name="OID">deconz.0.Sensors.41.open</field>
        </block>
        </value>
        <value name="B">
        <block type="logic_boolean" id="{3nx|D%$k|$plhEiG|U">
        <field name="BOOL">TRUE</field>
        </block>
        </value>
        </block>
        </value>
        <value name="B">
        <block type="logic_operation" id="Q9^TqCa/Z=(L-V.C+2" inline="false">
        <field name="OP">OR</field>
        <value name="A">
        <block type="logic_compare" id="3}N=8YoM(E!$P;e(+O:$">
        <field name="OP">EQ</field>
        <value name="A">
        <block type="get_value" id="?[u#i84HL2MO?1TX/7CE">
        <field name="ATTR">val</field>
        <field name="OID">deconz.0.Sensors.33.open</field>
        </block>
        </value>
        <value name="B">
        <block type="logic_boolean" id="g/P:V]O-^OY0T$3G5Kx"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="WBG!k6Ui9@$Y=
        @f4le">
        <field name="OP">EQ</field>
        <value name="A">
        <block type="get_value" id="UIyUy2ysjg}5~0.5Rz1"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.40.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="uxC_QiCGCJ}bP5$l6vY%"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="timeouts_settimeout" id="u+c)tcg.1c#x}kzH#zMT"> <field name="NAME">timeout</field> <field name="DELAY">10</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="control" id="Z@o$wC.]I]_/~,gu(xE7"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G0911B0592620FBD.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="sG/NW#$:?J}qJ)K=tZ"> <field name="TEXT">10 min sind rum, bitte Fenster schliessen</field> </block> </value> <next> <block type="control" id="[CcT!Wc[=ztqW2pjsGO">
        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
        <field name="OID">alexa2.0.Echo-Devices.G0911M1001350JF1.Commands.speak</field>
        <field name="WITH_DELAY">FALSE</field>
        <value name="VALUE">
        <block type="text" id="8@xT@5VyCJz!Ggj7pvz"> <field name="TEXT">10 min sind rum, bitte Fenster schliessen</field> </block> </value> <next> <block type="telegram" id="{(VSojU|vgrGtfcn(h_e"> <field name="INSTANCE"></field> <field name="LOG"></field> <field name="SILENT">FALSE</field> <field name="PARSEMODE">default</field> <value name="MESSAGE"> <shadow type="text" id="!jg3}}1LhKh1Mamnbz,+"> <field name="TEXT"></field> </shadow> <block type="text_join" id="hB0b10(2Xmf9/d5lbXn#"> <mutation items="1"></mutation> <value name="ADD0"> <block type="text" id="Jjv.LeU!l*?/n|_wqWuk"> <field name="TEXT">Fenster schliessen!</field> </block> </value> </block> </value> <value name="USERNAME"> <block type="text" id="NrKH]hxFu;P~ISOOq;T/"> <field name="TEXT">Basti274</field> </block> </value> </block> </next> </block> </next> </block> </statement> </block> </statement> <statement name="ELSE"> <block type="timeouts_cleartimeout" id="{D{I6WbXzSu-rCfQX3d">
        <field name="NAME">timeout</field>
        </block>
        </statement>
        </block>
        </statement>
        </block>
        </next>
        </block>
        </xml>

        Capture.PNG

        OcrimO Offline
        OcrimO Offline
        Ocrim
        schrieb am zuletzt editiert von
        #3

        @Sebastian-0
        Wenn der Text den du bekommen willst gleich ist, kannst du dir den oberen Teil komplett sparen. Ob nun alle Fenster geöffnet sind oder nur eins spielt dann ja keine Rolle. Ansonsten musst du jedes Fenster unten in den Trigger nehmen. Da gibt es auch einen Trigger bei dem du die objekt ids alle rechts anheften kannst.
        Schöner ist es aber vermutlich, wenn du jedes Fenster in je einen Trigger packst und dir direkt die Meldung ausgeben lässt welches Fenster geschlossen werden muss

        1 Antwort Letzte Antwort
        0
        • Sebastian 0S Sebastian 0

          Hallo zusammen,

          kann mir jemand helfen wo mein Denkfehler liegt?

          Ich möchte folgendes:

          1. Block: Wenn alle Fenster geöffnet sind nach 10 min eine Meldung über Alexa.
          2. Block: wenn nur eines der Fenster geöffnet ist ebenfalls Meldung nach 10min.

          Leider kommt keine Meldung nach der vorgegebenen Zeit.


          BlocklyJavascriptTypeScript
          Protokoll
          Ausgewählte Blöcke exportieren
          <xml xmlns="https://developers.google.com/blockly/xml">
          <variables>
          <variable type="timeout" id="timeout3">timeout3</variable>
          <variable type="timeout" id="timeout">timeout</variable>
          </variables>
          <block type="comment" id="eHw2v,Kl]=(hrV=Gp8Z" x="13" y="13"> <field name="COMMENT">Alle Fenster gleichzeitig auf</field> <next> <block type="controls_if" id="^HY@Z]p_Xc$_OD[5%hS4"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_operation" id="(R}beD8,?i0,-X(AMKYS" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="do.@.xGI$?L[#ssO9c}S"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="8Jl;XxpVCh;^]vb=9io}"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.31.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="bi0pXC*@DvpaGa}5|L]]"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="{JD+c_D1bhC[g[Y``=zN" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="Rbb^;^oj|E0Lr%(;aRO">
          <field name="OP">EQ</field>
          <value name="A">
          <block type="get_value" id="Pk:P]w;e-VwH_yCUpqn5">
          <field name="ATTR">val</field>
          <field name="OID">deconz.0.Sensors.29.open</field>
          </block>
          </value>
          <value name="B">
          <block type="logic_boolean" id="8C3?sq#~k9ht$%3LC8N"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="!n3@|Mcny@tjS1*cW13g" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="QIyl;EqWdpyVphGhuXQb"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="M^Y(LKub?8wVLzLF$%|">
          <field name="ATTR">val</field>
          <field name="OID">deconz.0.Sensors.29.open</field>
          </block>
          </value>
          <value name="B">
          <block type="logic_boolean" id="jO{p~$)nzwmXvlP]q{[=">
          <field name="BOOL">TRUE</field>
          </block>
          </value>
          </block>
          </value>
          <value name="B">
          <block type="logic_operation" id="+L)4@q?Qwv!:z:6nX!D," inline="false">
          <field name="OP">AND</field>
          <value name="A">
          <block type="logic_compare" id="z[Z6B)j;]VTjc/bKV4%Z">
          <field name="OP">EQ</field>
          <value name="A">
          <block type="get_value" id="g72:IC]p;K#[mg-Rt7C"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.30.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="i@BsK8lZCubg{$$jZ;1">
          <field name="BOOL">TRUE</field>
          </block>
          </value>
          </block>
          </value>
          <value name="B">
          <block type="logic_operation" id="@qGKONF2lF.{s@1xsrW!" inline="false">
          <field name="OP">AND</field>
          <value name="A">
          <block type="logic_compare" id="PBbaB|Aqj~q+Ky7$WQDx">
          <field name="OP">EQ</field>
          <value name="A">
          <block type="get_value" id="7~+!:{Fz3C/CBw|=q~fg">
          <field name="ATTR">val</field>
          <field name="OID">deconz.0.Sensors.41.open</field>
          </block>
          </value>
          <value name="B">
          <block type="logic_boolean" id="vz?;:-jUAl~)ud=L~qv:">
          <field name="BOOL">TRUE</field>
          </block>
          </value>
          </block>
          </value>
          <value name="B">
          <block type="logic_compare" id="[L2~Z|ps9JnaBjrCVrM"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="D?5A(|BfSy.O*n5Muuhx"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.33.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id=".C[x39hQLrrb+o#hPfU~"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="timeouts_settimeout" id="IIFWx?kif8NN;w)r0qt9"> <field name="NAME">timeout3</field> <field name="DELAY">10</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="control" id="a,l$]SdyE??T+PcL7N:N"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G0911B0592620FBD.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="eL_pi!BmADruCtNxWjY">
          <field name="TEXT">10 min sind rum, bitte Fenster schliessen</field>
          </block>
          </value>
          <next>
          <block type="control" id=",X86cnmC,Ms;F;RdC$od">
          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
          <field name="OID">alexa2.0.Echo-Devices.G0911M1001350JF1.Commands.speak</field>
          <field name="WITH_DELAY">FALSE</field>
          <value name="VALUE">
          <block type="text" id=":%HGb@8v0|3mN?edN30?">
          <field name="TEXT">10 min sind rum, bitte Fenster schliessen</field>
          </block>
          </value>
          <next>
          <block type="telegram" id="7P97qB!^e]pZ(gt==gKd">
          <field name="INSTANCE"></field>
          <field name="LOG"></field>
          <field name="SILENT">FALSE</field>
          <field name="PARSEMODE">default</field>
          <value name="MESSAGE">
          <shadow type="text" id="v}/]8!Q?5Vcgfoy^gr*">
          <field name="TEXT"></field>
          </shadow>
          <block type="text_join" id=";ew!Yz(=~l]i)1PX0Co[">
          <mutation items="1"></mutation>
          <value name="ADD0">
          <block type="text" id="0k5/mItc;}1Oyaj+xmt*">
          <field name="TEXT">Fenster schliessen!</field>
          </block>
          </value>
          </block>
          </value>
          <value name="USERNAME">
          <block type="text" id="6$dUF_pj7pnrnVo2sUB*">
          <field name="TEXT">Basti274</field>
          </block>
          </value>
          </block>
          </next>
          </block>
          </next>
          </block>
          </statement>
          </block>
          </statement>
          <statement name="ELSE">
          <block type="timeouts_cleartimeout" id="G0m2?IwKY!kG*.+,zQ[:">
          <field name="NAME">timeout3</field>
          </block>
          </statement>
          </block>
          </next>
          </block>
          <block type="comment" id="t+;WH~nB{ObxiYTB*V=" x="13" y="613"> <field name="COMMENT">Egal welches Fenster auf </field> <next> <block type="on" id="Q8Rf-Tk~6ErA@VuZ_@F="> <field name="OID">Object ID</field> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <statement name="STATEMENT"> <block type="controls_if" id="R!ueGK%oDlfbAFyUd]#H"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_operation" id="hx2Kx07J8Y6vuU,R[TiA" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="#Fdp4A#{s?te/d,F#0!^"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="=VIGOLIrl.3Z.KT]X(uc"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.31.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="IrLYt8#qydGBC1derY6!"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="QN}R*.b*|*[Undb_w|" inline="false">
          <field name="OP">OR</field>
          <value name="A">
          <block type="logic_compare" id="FZmIll#8.8}hUd44St};">
          <field name="OP">EQ</field>
          <value name="A">
          <block type="get_value" id="v{injYw3h6VE.t^t]=z:">
          <field name="ATTR">val</field>
          <field name="OID">deconz.0.Sensors.29.open</field>
          </block>
          </value>
          <value name="B">
          <block type="logic_boolean" id="Z4:s/1
          Vd6L-WAOZ|?I"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id=":U}2UN52yBjKw/!YJm)^" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="^[)x$:hEFal^jFw*YPA0"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="C=i42I-/-;VnF;unV-RP"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.30.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="dz8F,H1sgTn~Xu|#0J$">
          <field name="BOOL">TRUE</field>
          </block>
          </value>
          </block>
          </value>
          <value name="B">
          <block type="logic_operation" id="kv/wFFRTgVB(pAwbF2oI" inline="false">
          <field name="OP">OR</field>
          <value name="A">
          <block type="logic_compare" id="L-(~Uo?+J7Vx}NX%EE%=">
          <field name="OP">EQ</field>
          <value name="A">
          <block type="get_value" id="GBP|G)?K-mIGF.j??Q
          ]">
          <field name="ATTR">val</field>
          <field name="OID">deconz.0.Sensors.41.open</field>
          </block>
          </value>
          <value name="B">
          <block type="logic_boolean" id="{3nx|D%$k|$plhEiG|U">
          <field name="BOOL">TRUE</field>
          </block>
          </value>
          </block>
          </value>
          <value name="B">
          <block type="logic_operation" id="Q9^TqCa/Z=(L-V.C+2" inline="false">
          <field name="OP">OR</field>
          <value name="A">
          <block type="logic_compare" id="3}N=8YoM(E!$P;e(+O:$">
          <field name="OP">EQ</field>
          <value name="A">
          <block type="get_value" id="?[u#i84HL2MO?1TX/7CE">
          <field name="ATTR">val</field>
          <field name="OID">deconz.0.Sensors.33.open</field>
          </block>
          </value>
          <value name="B">
          <block type="logic_boolean" id="g/P:V]O-^OY0T$3G5Kx"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="WBG!k6Ui9@$Y=
          @f4le">
          <field name="OP">EQ</field>
          <value name="A">
          <block type="get_value" id="UIyUy2ysjg}5~0.5Rz1"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.40.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="uxC_QiCGCJ}bP5$l6vY%"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="timeouts_settimeout" id="u+c)tcg.1c#x}kzH#zMT"> <field name="NAME">timeout</field> <field name="DELAY">10</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="control" id="Z@o$wC.]I]_/~,gu(xE7"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G0911B0592620FBD.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="sG/NW#$:?J}qJ)K=tZ"> <field name="TEXT">10 min sind rum, bitte Fenster schliessen</field> </block> </value> <next> <block type="control" id="[CcT!Wc[=ztqW2pjsGO">
          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
          <field name="OID">alexa2.0.Echo-Devices.G0911M1001350JF1.Commands.speak</field>
          <field name="WITH_DELAY">FALSE</field>
          <value name="VALUE">
          <block type="text" id="8@xT@5VyCJz!Ggj7pvz"> <field name="TEXT">10 min sind rum, bitte Fenster schliessen</field> </block> </value> <next> <block type="telegram" id="{(VSojU|vgrGtfcn(h_e"> <field name="INSTANCE"></field> <field name="LOG"></field> <field name="SILENT">FALSE</field> <field name="PARSEMODE">default</field> <value name="MESSAGE"> <shadow type="text" id="!jg3}}1LhKh1Mamnbz,+"> <field name="TEXT"></field> </shadow> <block type="text_join" id="hB0b10(2Xmf9/d5lbXn#"> <mutation items="1"></mutation> <value name="ADD0"> <block type="text" id="Jjv.LeU!l*?/n|_wqWuk"> <field name="TEXT">Fenster schliessen!</field> </block> </value> </block> </value> <value name="USERNAME"> <block type="text" id="NrKH]hxFu;P~ISOOq;T/"> <field name="TEXT">Basti274</field> </block> </value> </block> </next> </block> </next> </block> </statement> </block> </statement> <statement name="ELSE"> <block type="timeouts_cleartimeout" id="{D{I6WbXzSu-rCfQX3d">
          <field name="NAME">timeout</field>
          </block>
          </statement>
          </block>
          </statement>
          </block>
          </next>
          </block>
          </xml>
          <xml xmlns="https://developers.google.com/blockly/xml">
          <variables>
          <variable type="timeout" id="timeout3">timeout3</variable>
          <variable type="timeout" id="timeout">timeout</variable>
          </variables>
          <block type="comment" id="eHw2v,Kl]=(hrV=Gp8Z" x="13" y="13"> <field name="COMMENT">Alle Fenster gleichzeitig auf</field> <next> <block type="controls_if" id="^HY@Z]p_Xc$_OD[5%hS4"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_operation" id="(R}beD8,?i0,-X(AMKYS" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="do.@.xGI$?L[#ssO9c}S"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="8Jl;XxpVCh;^]vb=9io}"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.31.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="bi0pXC*@DvpaGa}5|L]]"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="{JD+c_D1bhC[g[Y``=zN" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="Rbb^;^oj|E0Lr%(;aRO">
          <field name="OP">EQ</field>
          <value name="A">
          <block type="get_value" id="Pk:P]w;e-VwH_yCUpqn5">
          <field name="ATTR">val</field>
          <field name="OID">deconz.0.Sensors.29.open</field>
          </block>
          </value>
          <value name="B">
          <block type="logic_boolean" id="8C3?sq#~k9ht$%3LC8N"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="!n3@|Mcny@tjS1*cW13g" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="QIyl;EqWdpyVphGhuXQb"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="M^Y(LKub?8wVLzLF$%|">
          <field name="ATTR">val</field>
          <field name="OID">deconz.0.Sensors.29.open</field>
          </block>
          </value>
          <value name="B">
          <block type="logic_boolean" id="jO{p~$)nzwmXvlP]q{[=">
          <field name="BOOL">TRUE</field>
          </block>
          </value>
          </block>
          </value>
          <value name="B">
          <block type="logic_operation" id="+L)4@q?Qwv!:z:6nX!D," inline="false">
          <field name="OP">AND</field>
          <value name="A">
          <block type="logic_compare" id="z[Z6B)j;]VTjc/bKV4%Z">
          <field name="OP">EQ</field>
          <value name="A">
          <block type="get_value" id="g72:IC]p;K#[mg-Rt7C"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.30.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="i@BsK8lZCubg{$$jZ;1">
          <field name="BOOL">TRUE</field>
          </block>
          </value>
          </block>
          </value>
          <value name="B">
          <block type="logic_operation" id="@qGKONF2lF.{s@1xsrW!" inline="false">
          <field name="OP">AND</field>
          <value name="A">
          <block type="logic_compare" id="PBbaB|Aqj~q+Ky7$WQDx">
          <field name="OP">EQ</field>
          <value name="A">
          <block type="get_value" id="7~+!:{Fz3C/CBw|=q~fg">
          <field name="ATTR">val</field>
          <field name="OID">deconz.0.Sensors.41.open</field>
          </block>
          </value>
          <value name="B">
          <block type="logic_boolean" id="vz?;:-jUAl~)ud=L~qv:">
          <field name="BOOL">TRUE</field>
          </block>
          </value>
          </block>
          </value>
          <value name="B">
          <block type="logic_compare" id="[L2~Z|ps9JnaBjrCVrM"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="D?5A(|BfSy.O*n5Muuhx"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.33.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id=".C[x39hQLrrb+o#hPfU~"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="timeouts_settimeout" id="IIFWx?kif8NN;w)r0qt9"> <field name="NAME">timeout3</field> <field name="DELAY">10</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="control" id="a,l$]SdyE??T+PcL7N:N"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G0911B0592620FBD.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="eL_pi!BmADruCtNxWjY">
          <field name="TEXT">10 min sind rum, bitte Fenster schliessen</field>
          </block>
          </value>
          <next>
          <block type="control" id=",X86cnmC,Ms;F;RdC$od">
          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
          <field name="OID">alexa2.0.Echo-Devices.G0911M1001350JF1.Commands.speak</field>
          <field name="WITH_DELAY">FALSE</field>
          <value name="VALUE">
          <block type="text" id=":%HGb@8v0|3mN?edN30?">
          <field name="TEXT">10 min sind rum, bitte Fenster schliessen</field>
          </block>
          </value>
          <next>
          <block type="telegram" id="7P97qB!^e]pZ(gt==gKd">
          <field name="INSTANCE"></field>
          <field name="LOG"></field>
          <field name="SILENT">FALSE</field>
          <field name="PARSEMODE">default</field>
          <value name="MESSAGE">
          <shadow type="text" id="v}/]8!Q?5Vcgfoy^gr*">
          <field name="TEXT"></field>
          </shadow>
          <block type="text_join" id=";ew!Yz(=~l]i)1PX0Co[">
          <mutation items="1"></mutation>
          <value name="ADD0">
          <block type="text" id="0k5/mItc;}1Oyaj+xmt*">
          <field name="TEXT">Fenster schliessen!</field>
          </block>
          </value>
          </block>
          </value>
          <value name="USERNAME">
          <block type="text" id="6$dUF_pj7pnrnVo2sUB*">
          <field name="TEXT">Basti274</field>
          </block>
          </value>
          </block>
          </next>
          </block>
          </next>
          </block>
          </statement>
          </block>
          </statement>
          <statement name="ELSE">
          <block type="timeouts_cleartimeout" id="G0m2?IwKY!kG*.+,zQ[:">
          <field name="NAME">timeout3</field>
          </block>
          </statement>
          </block>
          </next>
          </block>
          <block type="comment" id="t+;WH~nB{ObxiYTB*V=" x="13" y="613"> <field name="COMMENT">Egal welches Fenster auf </field> <next> <block type="on" id="Q8Rf-Tk~6ErA@VuZ_@F="> <field name="OID">Object ID</field> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <statement name="STATEMENT"> <block type="controls_if" id="R!ueGK%oDlfbAFyUd]#H"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_operation" id="hx2Kx07J8Y6vuU,R[TiA" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="#Fdp4A#{s?te/d,F#0!^"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="=VIGOLIrl.3Z.KT]X(uc"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.31.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="IrLYt8#qydGBC1derY6!"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="QN}R*.b*|*[Undb_w|" inline="false">
          <field name="OP">OR</field>
          <value name="A">
          <block type="logic_compare" id="FZmIll#8.8}hUd44St};">
          <field name="OP">EQ</field>
          <value name="A">
          <block type="get_value" id="v{injYw3h6VE.t^t]=z:">
          <field name="ATTR">val</field>
          <field name="OID">deconz.0.Sensors.29.open</field>
          </block>
          </value>
          <value name="B">
          <block type="logic_boolean" id="Z4:s/1
          Vd6L-WAOZ|?I"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id=":U}2UN52yBjKw/!YJm)^" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="^[)x$:hEFal^jFw*YPA0"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="C=i42I-/-;VnF;unV-RP"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.30.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="dz8F,H1sgTn~Xu|#0J$">
          <field name="BOOL">TRUE</field>
          </block>
          </value>
          </block>
          </value>
          <value name="B">
          <block type="logic_operation" id="kv/wFFRTgVB(pAwbF2oI" inline="false">
          <field name="OP">OR</field>
          <value name="A">
          <block type="logic_compare" id="L-(~Uo?+J7Vx}NX%EE%=">
          <field name="OP">EQ</field>
          <value name="A">
          <block type="get_value" id="GBP|G)?K-mIGF.j??Q
          ]">
          <field name="ATTR">val</field>
          <field name="OID">deconz.0.Sensors.41.open</field>
          </block>
          </value>
          <value name="B">
          <block type="logic_boolean" id="{3nx|D%$k|$plhEiG|U">
          <field name="BOOL">TRUE</field>
          </block>
          </value>
          </block>
          </value>
          <value name="B">
          <block type="logic_operation" id="Q9^TqCa/Z=(L-V.C+2" inline="false">
          <field name="OP">OR</field>
          <value name="A">
          <block type="logic_compare" id="3}N=8YoM(E!$P;e(+O:$">
          <field name="OP">EQ</field>
          <value name="A">
          <block type="get_value" id="?[u#i84HL2MO?1TX/7CE">
          <field name="ATTR">val</field>
          <field name="OID">deconz.0.Sensors.33.open</field>
          </block>
          </value>
          <value name="B">
          <block type="logic_boolean" id="g/P:V]O-^OY0T$3G5Kx"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="WBG!k6Ui9@$Y=
          @f4le">
          <field name="OP">EQ</field>
          <value name="A">
          <block type="get_value" id="UIyUy2ysjg}5~0.5Rz1"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.40.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="uxC_QiCGCJ}bP5$l6vY%"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="timeouts_settimeout" id="u+c)tcg.1c#x}kzH#zMT"> <field name="NAME">timeout</field> <field name="DELAY">10</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="control" id="Z@o$wC.]I]_/~,gu(xE7"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G0911B0592620FBD.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="sG/NW#$:?J}qJ)K=tZ"> <field name="TEXT">10 min sind rum, bitte Fenster schliessen</field> </block> </value> <next> <block type="control" id="[CcT!Wc[=ztqW2pjsGO">
          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
          <field name="OID">alexa2.0.Echo-Devices.G0911M1001350JF1.Commands.speak</field>
          <field name="WITH_DELAY">FALSE</field>
          <value name="VALUE">
          <block type="text" id="8@xT@5VyCJz!Ggj7pvz"> <field name="TEXT">10 min sind rum, bitte Fenster schliessen</field> </block> </value> <next> <block type="telegram" id="{(VSojU|vgrGtfcn(h_e"> <field name="INSTANCE"></field> <field name="LOG"></field> <field name="SILENT">FALSE</field> <field name="PARSEMODE">default</field> <value name="MESSAGE"> <shadow type="text" id="!jg3}}1LhKh1Mamnbz,+"> <field name="TEXT"></field> </shadow> <block type="text_join" id="hB0b10(2Xmf9/d5lbXn#"> <mutation items="1"></mutation> <value name="ADD0"> <block type="text" id="Jjv.LeU!l*?/n|_wqWuk"> <field name="TEXT">Fenster schliessen!</field> </block> </value> </block> </value> <value name="USERNAME"> <block type="text" id="NrKH]hxFu;P~ISOOq;T/"> <field name="TEXT">Basti274</field> </block> </value> </block> </next> </block> </next> </block> </statement> </block> </statement> <statement name="ELSE"> <block type="timeouts_cleartimeout" id="{D{I6WbXzSu-rCfQX3d">
          <field name="NAME">timeout</field>
          </block>
          </statement>
          </block>
          </statement>
          </block>
          </next>
          </block>
          </xml>

          Capture.PNG

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

          @Sebastian-0

          Hinter dem Spoiler hast du meinen Vorschlag dazu.

          Um das auf beliebig viele Fenster zu erweitern musst du nur die Liste am Anfang (siehe kleines Bild) anpassen, der rest geht von alleine.
          Screen Shot 2020-11-11 at 11.15.59 .png

          Das Skript zählt die offenen Fenster und merkt sich ihre Namen, so das du in der Meldung gleich ausgeben kannst welche Fenster noch offen sind.,

          Beim Start werden alle Fenster geprüft - wenn eines offen ist wird gleich ein Timeout gestartet (bei allen, das "nag" Intervall alle 10 Minuten)
          Die Erinnerung zum Schliessen kommt (aktuell)1 Minute nach dem öffnen des 1. geöffneten Fensters - die Zeit kannst du ja noch anpassen.

          Da ich keinen Baustein zur Benachrichtigung habe habe ich die Benachrichtigung durch einen Debug output as error Baustein ersetzt.


          Screen Shot 2020-11-11 at 11.14.21 .png

          <xml xmlns="https://developers.google.com/blockly/xml">
            <variables>
              <variable id="xAdM=~)~ovsDuh+Xr%]X">x</variable>
              <variable id="THWRsZRIb3c~V=f;D?%r">OpenWindows</variable>
              <variable id="RwmbCD{s6og*(:4+WX@2">tmp</variable>
              <variable id="MQnR=$~orKy=Q^5_qEOi">IdList</variable>
              <variable id="`d5)K`K}Po8^5V4(bK8H">NumberOfOpenWindows</variable>
              <variable id="w(Tfvz@XHnm$MVeg(gMW">WindowId</variable>
              <variable id="AtEhB4|=_6zTixjPJg?c">WindowTimeout</variable>
              <variable type="timeout" id="WindowTimeout2">WindowTimeout2</variable>
              <variable type="interval" id="interval2">interval2</variable>
              <variable id="ETkby/vrcheZ2V0CW7f9">WindowName</variable>
              <variable id=",^q$U[hV$m~5y5Z(2E52">Index</variable>
              <variable type="interval" id="interval">interval</variable>
              <variable type="timeout" id="WindowTimeout">WindowTimeout</variable>
            </variables>
            <block type="procedures_defreturn" id="M0SpI{DfOjz!jzHjA4xD" x="-287" y="-112">
              <mutation>
                <arg name="x" varid="xAdM=~)~ovsDuh+Xr%]X"></arg>
              </mutation>
              <field name="NAME">Get Name Of</field>
              <comment pinned="false" h="80" w="160">Describe this function...</comment>
              <statement name="STACK">
                <block type="variables_set" id="Y~uC5R|:x6b*SxQyhd~E">
                  <field name="VAR" id="RwmbCD{s6og*(:4+WX@2">tmp</field>
                  <value name="VALUE">
                    <block type="text_getSubstring" id="Kp7nAm0y%MWH3vCan~.y" inline="false">
                      <mutation at1="true" at2="true"></mutation>
                      <field name="WHERE1">FROM_START</field>
                      <field name="WHERE2">FROM_START</field>
                      <value name="STRING">
                        <block type="variables_get" id="Oaf-)7BQwU4CxA3AiP_4">
                          <field name="VAR" id="xAdM=~)~ovsDuh+Xr%]X">x</field>
                        </block>
                      </value>
                      <value name="AT1">
                        <block type="math_arithmetic" id="r7AXJJZ[Mezqb|*VSf%|" inline="false">
                          <field name="OP">ADD</field>
                          <value name="A">
                            <shadow type="math_number" id="NY8`FfH`GuwgoU]uJ;[w">
                              <field name="NUM">1</field>
                            </shadow>
                            <block type="text_indexOf" id="dopby0HJV:caiI]!*j#1" inline="false">
                              <field name="END">LAST</field>
                              <value name="VALUE">
                                <block type="variables_get" id="HGQ%OR@lK$$L0Tl[vXN|">
                                  <field name="VAR" id="xAdM=~)~ovsDuh+Xr%]X">x</field>
                                </block>
                              </value>
                              <value name="FIND">
                                <shadow type="text" id="e,M33M1uK;f;F~3Q4WQR">
                                  <field name="TEXT">.</field>
                                </shadow>
                              </value>
                            </block>
                          </value>
                          <value name="B">
                            <shadow type="math_number" id="[k`d*8UkNP1:f~`sF1%e">
                              <field name="NUM">1</field>
                            </shadow>
                          </value>
                        </block>
                      </value>
                      <value name="AT2">
                        <block type="text_length" id="/N3m{^j()vO-?XSRyPhX">
                          <value name="VALUE">
                            <shadow type="text" id="[-5Z9AXlP%M9fJ,Z{I5v">
                              <field name="TEXT">abc</field>
                            </shadow>
                            <block type="variables_get" id="P?fay$:u5r=q_?~t|yg{">
                              <field name="VAR" id="xAdM=~)~ovsDuh+Xr%]X">x</field>
                            </block>
                          </value>
                        </block>
                      </value>
                    </block>
                  </value>
                </block>
              </statement>
              <value name="RETURN">
                <block type="variables_get" id="y2L{GZ:-9|_{}hfr.a/?">
                  <field name="VAR" id="RwmbCD{s6og*(:4+WX@2">tmp</field>
                </block>
              </value>
            </block>
            <block type="variables_set" id="%f)Dfk@cAdUiY{{*.pS}" x="-287" y="88">
              <field name="VAR" id="THWRsZRIb3c~V=f;D?%r">OpenWindows</field>
              <value name="VALUE">
                <block type="text" id="5R12d3|VmJ{DPCcK4|k2">
                  <field name="TEXT"></field>
                </block>
              </value>
              <next>
                <block type="variables_set" id="ro#a~j$@gVX){]UT;.ES">
                  <field name="VAR" id="MQnR=$~orKy=Q^5_qEOi">IdList</field>
                  <value name="VALUE">
                    <block type="lists_create_with" id=")xRs!/ZQ?4iLI9UcH$Q:">
                      <mutation items="3"></mutation>
                      <value name="ADD0">
                        <block type="field_oid" id="z*7$/D9y*Swz3^:F{jrL">
                          <field name="oid">0_userdata.0.ScriptTest.Window_1</field>
                        </block>
                      </value>
                      <value name="ADD1">
                        <block type="field_oid" id="k}$Xv4nM2^Xp#{+0az/-">
                          <field name="oid">0_userdata.0.ScriptTest.Window_2</field>
                        </block>
                      </value>
                      <value name="ADD2">
                        <block type="field_oid" id="JG/XgA4$wTWis{AS=pR-">
                          <field name="oid">0_userdata.0.ScriptTest.Window_3</field>
                        </block>
                      </value>
                    </block>
                  </value>
                  <next>
                    <block type="variables_set" id="d:+A;9U*mQq{#q4bB4WY">
                      <field name="VAR" id="`d5)K`K}Po8^5V4(bK8H">NumberOfOpenWindows</field>
                      <value name="VALUE">
                        <block type="math_number" id="Hg]ocqhbsi#FD-?@.Z~$">
                          <field name="NUM">0</field>
                        </block>
                      </value>
                      <next>
                        <block type="controls_forEach" id="^6I++;vlnywGQTOr;7yl">
                          <field name="VAR" id="w(Tfvz@XHnm$MVeg(gMW">WindowId</field>
                          <value name="LIST">
                            <block type="variables_get" id="Q8dRJHsLcSktv0yTOL]u">
                              <field name="VAR" id="MQnR=$~orKy=Q^5_qEOi">IdList</field>
                            </block>
                          </value>
                          <statement name="DO">
                            <block type="controls_if" id="8C?],Qg-o,*h+);sYayw">
                              <value name="IF0">
                                <block type="get_value_var" id="9a(ZB0t/^k2!mv:u9$kB">
                                  <field name="ATTR">val</field>
                                  <value name="OID">
                                    <shadow type="text" id="?/@Dlu*Q610g]YzUeLaV">
                                      <field name="TEXT"></field>
                                    </shadow>
                                    <block type="variables_get" id="$K/;?3CoA}edaEy5Y9,W">
                                      <field name="VAR" id="w(Tfvz@XHnm$MVeg(gMW">WindowId</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO0">
                                <block type="text_append" id="?[bC:3,1Ut#x=zT6-JuN">
                                  <field name="VAR" id="THWRsZRIb3c~V=f;D?%r">OpenWindows</field>
                                  <value name="TEXT">
                                    <shadow type="text" id="N#W%BT995~pR-?eLXPYz">
                                      <field name="TEXT"></field>
                                    </shadow>
                                    <block type="text_join" id="iBB@g}^O1T*}/C9LQPf]">
                                      <mutation items="2"></mutation>
                                      <value name="ADD0">
                                        <block type="procedures_callreturn" id="+tXBS3;4D:-B9o2V;~Mg">
                                          <mutation name="Get Name Of">
                                            <arg name="x"></arg>
                                          </mutation>
                                          <value name="ARG0">
                                            <block type="variables_get" id="QV=H,UImbHnR5zp^aKz6">
                                              <field name="VAR" id="w(Tfvz@XHnm$MVeg(gMW">WindowId</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <value name="ADD1">
                                        <block type="text" id="/BH=_Ys2dB7T*/Aro5Nu">
                                          <field name="TEXT"> and </field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="math_change" id="35KT1Z|Bo=WwtmL8[h|m">
                                      <field name="VAR" id="`d5)K`K}Po8^5V4(bK8H">NumberOfOpenWindows</field>
                                      <value name="DELTA">
                                        <shadow type="math_number" id="e4R#[}1dkIwY?|vB$/D1">
                                          <field name="NUM">1</field>
                                        </shadow>
                                      </value>
                                    </block>
                                  </next>
                                </block>
                              </statement>
                            </block>
                          </statement>
                          <next>
                            <block type="variables_set" id="@p2V2*Mv}:]BSyhyxz]1">
                              <field name="VAR" id="AtEhB4|=_6zTixjPJg?c">WindowTimeout</field>
                              <value name="VALUE">
                                <block type="logic_null" id="$!!,N*TS+BYf$Qe4P:W/"></block>
                              </value>
                              <next>
                                <block type="controls_if" id="vd:jI;9*0;9Z}k~JA8*i">
                                  <value name="IF0">
                                    <block type="logic_compare" id="S}YXS(T%UO,%l|ZQ-d,)">
                                      <field name="OP">GT</field>
                                      <value name="A">
                                        <block type="variables_get" id="pi%l~N[t_Mm|l54`(q/m">
                                          <field name="VAR" id="`d5)K`K}Po8^5V4(bK8H">NumberOfOpenWindows</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="math_number" id=".E/[L9Oh$O!v=Xn=jKVh">
                                          <field name="NUM">0</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <statement name="DO0">
                                    <block type="timeouts_settimeout" id=",QOZCo-^CCl~`FMI,_8H">
                                      <field name="NAME">WindowTimeout2</field>
                                      <field name="DELAY">1</field>
                                      <field name="UNIT">min</field>
                                      <statement name="STATEMENT">
                                        <block type="comment" id="}D.cP(UH0V3v.K*@xqVx">
                                          <field name="COMMENT">Message here, use the variable OpenWindows to tell you which windows are open</field>
                                          <next>
                                            <block type="debug" id="6}3A}+Qh2XFZM*pRo)S{">
                                              <field name="Severity">error</field>
                                              <value name="TEXT">
                                                <shadow type="text">
                                                  <field name="TEXT">test</field>
                                                </shadow>
                                                <block type="text_join" id="?+0u,m)[ns:U!:_Fq2Mn">
                                                  <mutation items="2"></mutation>
                                                  <value name="ADD0">
                                                    <block type="text_getSubstring" id="a9CJX37D~{eLu|-ouH0l">
                                                      <mutation at1="true" at2="true"></mutation>
                                                      <field name="WHERE1">FROM_START</field>
                                                      <field name="WHERE2">FROM_START</field>
                                                      <value name="STRING">
                                                        <block type="variables_get" id="zSvF;#_p+Tq_*v~a$#Pc">
                                                          <field name="VAR" id="THWRsZRIb3c~V=f;D?%r">OpenWindows</field>
                                                        </block>
                                                      </value>
                                                      <value name="AT1">
                                                        <block type="math_number" id="Nz+:A=u2-P0#7d^S7O`Z">
                                                          <field name="NUM">1</field>
                                                        </block>
                                                      </value>
                                                      <value name="AT2">
                                                        <block type="math_arithmetic" id="8}PSXQ43,}`LF~!yD-L2">
                                                          <field name="OP">MINUS</field>
                                                          <value name="A">
                                                            <shadow type="math_number">
                                                              <field name="NUM">1</field>
                                                            </shadow>
                                                            <block type="text_length" id="6`)LaA},7B?RuJ3u_m%j">
                                                              <value name="VALUE">
                                                                <shadow type="text">
                                                                  <field name="TEXT">abc</field>
                                                                </shadow>
                                                                <block type="variables_get" id="wpsqol/.L@Aj8U,=;l:k">
                                                                  <field name="VAR" id="THWRsZRIb3c~V=f;D?%r">OpenWindows</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <shadow type="math_number" id="j$,+fR;n8Gr:1b{]6N;K">
                                                              <field name="NUM">5</field>
                                                            </shadow>
                                                          </value>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <value name="ADD1">
                                                    <block type="text" id="(,c6jGi:$$r!QY4tHwTh">
                                                      <field name="TEXT"> is still open</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                      <next>
                                        <block type="controls_if" id="i9.KBtA}rz:86/v^#Mk2">
                                          <value name="IF0">
                                            <block type="logic_compare" id="dF^;0gH+q18b#!Fo;6.~">
                                              <field name="OP">GTE</field>
                                              <value name="A">
                                                <block type="variables_get" id="UD??r#[Q?pY$+(]hV1|O">
                                                  <field name="VAR" id="`d5)K`K}Po8^5V4(bK8H">NumberOfOpenWindows</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="lists_length" id="p_NC3r4NG@R!mR.b/EtR">
                                                  <value name="VALUE">
                                                    <block type="variables_get" id="RTqAY#zFB)Dv4n,f/gj1">
                                                      <field name="VAR" id="MQnR=$~orKy=Q^5_qEOi">IdList</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <statement name="DO0">
                                            <block type="timeouts_setinterval" id="z%8s6//+_|qeP7_JKE.x">
                                              <field name="NAME">interval2</field>
                                              <field name="INTERVAL">10</field>
                                              <field name="UNIT">min</field>
                                              <statement name="STATEMENT">
                                                <block type="debug" id="_u#2_lPovhc@e]TPd#Y#">
                                                  <field name="Severity">log</field>
                                                  <value name="TEXT">
                                                    <shadow type="text" id="S32ORp]#7q!`Kx.JRR9K">
                                                      <field name="TEXT">All Windows are Open</field>
                                                    </shadow>
                                                  </value>
                                                </block>
                                              </statement>
                                            </block>
                                          </statement>
                                        </block>
                                      </next>
                                    </block>
                                  </statement>
                                  <next>
                                    <block type="on_ext" id="j9*A0/4[!R%xM8:)*MZT">
                                      <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="]Evg=|WB=PM3lD3VOcnE">
                                          <field name="oid">0_userdata.0.ScriptTest.Window_1</field>
                                        </shadow>
                                        <block type="variables_get" id="]?8NU(7+Vv#[ysuKJxks">
                                          <field name="VAR" id="MQnR=$~orKy=Q^5_qEOi">IdList</field>
                                        </block>
                                      </value>
                                      <statement name="STATEMENT">
                                        <block type="debug" id="S,xAnoGPBmJeCWwqz0UI">
                                          <field name="Severity">warn</field>
                                          <value name="TEXT">
                                            <shadow type="text">
                                              <field name="TEXT">test</field>
                                            </shadow>
                                            <block type="text_join" id="IGJXey|dFu~D6NQktBRi">
                                              <mutation items="2"></mutation>
                                              <value name="ADD0">
                                                <block type="text" id="J!+x=K:8[t`THu;3Rn7i">
                                                  <field name="TEXT">Before Trigger: Open Window Count is </field>
                                                </block>
                                              </value>
                                              <value name="ADD1">
                                                <block type="variables_get" id="4MB=RI}4tWZ;XXQ=osy8">
                                                  <field name="VAR" id="`d5)K`K}Po8^5V4(bK8H">NumberOfOpenWindows</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="variables_set" id="7:0feuEbu]o{)#UA|+3n">
                                              <field name="VAR" id="ETkby/vrcheZ2V0CW7f9">WindowName</field>
                                              <value name="VALUE">
                                                <block type="procedures_callreturn" id="s|B9Nt`4qFC)@|T=25xt">
                                                  <mutation name="Get Name Of">
                                                    <arg name="x"></arg>
                                                  </mutation>
                                                  <value name="ARG0">
                                                    <block type="on_source" id="jC;~Bm2w~$K1_`:LsCp|">
                                                      <field name="ATTR">id</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="controls_if" id=")6sD4ulvl#=*=Ye@r$JJ">
                                                  <mutation else="1"></mutation>
                                                  <value name="IF0">
                                                    <block type="on_source" id="J4@^,=cb_Dyq5Z%+.}A]">
                                                      <field name="ATTR">state.val</field>
                                                    </block>
                                                  </value>
                                                  <statement name="DO0">
                                                    <block type="comment" id="/M#T4hu?P[VrD{(W#9O9">
                                                      <field name="COMMENT">A window was opened</field>
                                                      <next>
                                                        <block type="text_append" id="R``IB;)=Zb1KXklaJ5sN">
                                                          <field name="VAR" id="THWRsZRIb3c~V=f;D?%r">OpenWindows</field>
                                                          <value name="TEXT">
                                                            <shadow type="text" id="nCX@4Eqt@}Y+IU4rYG.-">
                                                              <field name="TEXT"></field>
                                                            </shadow>
                                                            <block type="text_join" id="k4]-Sy;Ke:l*:UudzOku">
                                                              <mutation items="2"></mutation>
                                                              <value name="ADD0">
                                                                <block type="variables_get" id="Qj(YS5y=Wr/$SueMU[e`">
                                                                  <field name="VAR" id="ETkby/vrcheZ2V0CW7f9">WindowName</field>
                                                                </block>
                                                              </value>
                                                              <value name="ADD1">
                                                                <block type="text" id="WJnC}wsVu,Mp3Qk2b3D$">
                                                                  <field name="TEXT"> and </field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="math_change" id=":OohNwRzGC_Q;9m$dOo-">
                                                              <field name="VAR" id="`d5)K`K}Po8^5V4(bK8H">NumberOfOpenWindows</field>
                                                              <value name="DELTA">
                                                                <shadow type="math_number" id="gA_1defT|_]P/Hsp+q1b">
                                                                  <field name="NUM">1</field>
                                                                </shadow>
                                                              </value>
                                                              <next>
                                                                <block type="debug" id="4K.)RD0a+UCF)[/DUZ[v">
                                                                  <field name="Severity">warn</field>
                                                                  <value name="TEXT">
                                                                    <shadow type="text">
                                                                      <field name="TEXT">test</field>
                                                                    </shadow>
                                                                    <block type="text_join" id="HPTr?x-o;5O#mZK[IWrE">
                                                                      <mutation items="2"></mutation>
                                                                      <value name="ADD0">
                                                                        <block type="text" id="+mVZuoGY~+`+X!8,V@4D">
                                                                          <field name="TEXT">Open Windows after Opening: </field>
                                                                        </block>
                                                                      </value>
                                                                      <value name="ADD1">
                                                                        <block type="variables_get" id="b{x#gC}iVt@#c6LsSYM@">
                                                                          <field name="VAR" id="THWRsZRIb3c~V=f;D?%r">OpenWindows</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                  <next>
                                                                    <block type="controls_if" id="^1jyTiu8-j5(/nFzKLJX">
                                                                      <value name="IF0">
                                                                        <block type="logic_compare" id="=tJTg)oM(WydnP+2Tds]" inline="false">
                                                                          <field name="OP">GTE</field>
                                                                          <value name="A">
                                                                            <block type="variables_get" id="u9$G3kENio)6%V/(lrA%">
                                                                              <field name="VAR" id="`d5)K`K}Po8^5V4(bK8H">NumberOfOpenWindows</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block type="lists_length" id="_ZaB,XMbHE6GrwIW9HTP">
                                                                              <value name="VALUE">
                                                                                <block type="variables_get" id="3{fyD}(|H@[fzBe6It8l">
                                                                                  <field name="VAR" id="MQnR=$~orKy=Q^5_qEOi">IdList</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <statement name="DO0">
                                                                        <block type="timeouts_setinterval" id="pJ(6gBxo(KUXfgB3YuPm">
                                                                          <field name="NAME">interval</field>
                                                                          <field name="INTERVAL">10</field>
                                                                          <field name="UNIT">min</field>
                                                                          <statement name="STATEMENT">
                                                                            <block type="debug" id="rzM!UVhbTv[p-/wAGJQQ">
                                                                              <field name="Severity">log</field>
                                                                              <value name="TEXT">
                                                                                <shadow type="text" id="[dCZc:9@L*]Zp%);V-k~">
                                                                                  <field name="TEXT">All Windows are Open</field>
                                                                                </shadow>
                                                                              </value>
                                                                            </block>
                                                                          </statement>
                                                                        </block>
                                                                      </statement>
                                                                      <next>
                                                                        <block type="controls_if" id="MVaa-z)jpRMYb$=9:CCO">
                                                                          <value name="IF0">
                                                                            <block type="logic_compare" id="#6;mH]f+85%Jf0;zRvgz">
                                                                              <field name="OP">EQ</field>
                                                                              <value name="A">
                                                                                <block type="logic_null" id=",^iDPf}FwbPejrDYsKNM"></block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="variables_get" id="%^WPR%0pk[|i#j*%AZT#">
                                                                                  <field name="VAR" id="AtEhB4|=_6zTixjPJg?c">WindowTimeout</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <statement name="DO0">
                                                                            <block type="timeouts_settimeout" id=":j/BK1dayalIUYj0E_@k">
                                                                              <field name="NAME">WindowTimeout</field>
                                                                              <field name="DELAY">1</field>
                                                                              <field name="UNIT">min</field>
                                                                              <statement name="STATEMENT">
                                                                                <block type="comment" id="fxWwIYeu(t1F`=j+s0*;">
                                                                                  <field name="COMMENT">Message here, use the variable OpenWindows to tell you which windows are open</field>
                                                                                  <next>
                                                                                    <block type="debug" id="+/pi7si+@r!66xhDQ*.W">
                                                                                      <field name="Severity">error</field>
                                                                                      <value name="TEXT">
                                                                                        <shadow type="text" id="avXPIF2kGT;NBSFhAkvj">
                                                                                          <field name="TEXT">test</field>
                                                                                        </shadow>
                                                                                        <block type="text_join" id="h;Q=`rL*$-NE[ZdUvIe(">
                                                                                          <mutation items="2"></mutation>
                                                                                          <value name="ADD0">
                                                                                            <block type="text_getSubstring" id="?G+-mB|[ZR=lf_ALw]ig" inline="false">
                                                                                              <mutation at1="true" at2="true"></mutation>
                                                                                              <field name="WHERE1">FROM_START</field>
                                                                                              <field name="WHERE2">FROM_START</field>
                                                                                              <value name="STRING">
                                                                                                <block type="variables_get" id=",uZ;jXm=zNL98Y8{2b9,">
                                                                                                  <field name="VAR" id="THWRsZRIb3c~V=f;D?%r">OpenWindows</field>
                                                                                                </block>
                                                                                              </value>
                                                                                              <value name="AT1">
                                                                                                <block type="math_number" id="y2eh08Qh=6PlUu*69A,c">
                                                                                                  <field name="NUM">1</field>
                                                                                                </block>
                                                                                              </value>
                                                                                              <value name="AT2">
                                                                                                <block type="math_arithmetic" id="m4^hn@?1NN5u@SM9Tmth" inline="false">
                                                                                                  <field name="OP">MINUS</field>
                                                                                                  <value name="A">
                                                                                                    <shadow type="math_number" id="@wGYWIES`(6!8uKk8)lX">
                                                                                                      <field name="NUM">1</field>
                                                                                                    </shadow>
                                                                                                    <block type="text_length" id="B3FnLgE#S|[tpa?nQgo%">
                                                                                                      <value name="VALUE">
                                                                                                        <shadow type="text" id="dN9}n@]^oCX;/SRhcO@%">
                                                                                                          <field name="TEXT">abc</field>
                                                                                                        </shadow>
                                                                                                        <block type="variables_get" id="y!2so5ovxL:F/v){6(.[">
                                                                                                          <field name="VAR" id="THWRsZRIb3c~V=f;D?%r">OpenWindows</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="B">
                                                                                                    <shadow type="math_number" id="vL0-*euy^P]/OeH(6QX^">
                                                                                                      <field name="NUM">5</field>
                                                                                                    </shadow>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                            </block>
                                                                                          </value>
                                                                                          <value name="ADD1">
                                                                                            <block type="text" id="hC/Iy}kX1-j5KNUnn;rx">
                                                                                              <field name="TEXT"> is still open</field>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </next>
                                                                                </block>
                                                                              </statement>
                                                                            </block>
                                                                          </statement>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </statement>
                                                  <statement name="ELSE">
                                                    <block type="timeouts_clearinterval" id=";./pV}:OPVAp6@0Ap-{k">
                                                      <field name="NAME">interval</field>
                                                      <next>
                                                        <block type="comment" id="$vsEverm1w=kY2[uB_2(">
                                                          <field name="COMMENT">A window was closed</field>
                                                          <next>
                                                            <block type="math_change" id="M~eyQt,Bq0M{#pnStOza">
                                                              <field name="VAR" id="`d5)K`K}Po8^5V4(bK8H">NumberOfOpenWindows</field>
                                                              <value name="DELTA">
                                                                <shadow type="math_number" id="/C.bHg;gjWScD@eSV`q@">
                                                                  <field name="NUM">-1</field>
                                                                </shadow>
                                                              </value>
                                                              <next>
                                                                <block type="controls_if" id="^5:BLL[%h1S|.yH.-f#a">
                                                                  <mutation else="1"></mutation>
                                                                  <value name="IF0">
                                                                    <block type="logic_compare" id="A5f@cJ6,M^dWFPPBcO+Y">
                                                                      <field name="OP">EQ</field>
                                                                      <value name="A">
                                                                        <block type="variables_get" id="a~G;i3:k~ri7_kk/2!qp">
                                                                          <field name="VAR" id="`d5)K`K}Po8^5V4(bK8H">NumberOfOpenWindows</field>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <block type="math_number" id="`rKs14t9K_JNLE-.*@Ig">
                                                                          <field name="NUM">0</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                  <statement name="DO0">
                                                                    <block type="variables_set" id="y6,y/9JFEY)[lgf.xX*^">
                                                                      <field name="VAR" id="THWRsZRIb3c~V=f;D?%r">OpenWindows</field>
                                                                      <value name="VALUE">
                                                                        <block type="text" id="/gcPk$KzvJ{Mw}q]Mk29">
                                                                          <field name="TEXT"></field>
                                                                        </block>
                                                                      </value>
                                                                      <next>
                                                                        <block type="timeouts_cleartimeout" id="9Z|A,1C`k^;qFrW,.]og">
                                                                          <field name="NAME">WindowTimeout</field>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </statement>
                                                                  <statement name="ELSE">
                                                                    <block type="variables_set" id="Qb(Xv}LOkt5!J.N5)eZm">
                                                                      <field name="VAR" id=",^q$U[hV$m~5y5Z(2E52">Index</field>
                                                                      <value name="VALUE">
                                                                        <block type="text_indexOf" id="=+QJCsuI6p#[O|U`V(oT">
                                                                          <field name="END">FIRST</field>
                                                                          <value name="VALUE">
                                                                            <block type="variables_get" id="V-R{SUBC[MK[d*jds`[Z">
                                                                              <field name="VAR" id="THWRsZRIb3c~V=f;D?%r">OpenWindows</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="FIND">
                                                                            <shadow type="text" id="HuE+EErn2Pv=4kmRKOk9">
                                                                              <field name="TEXT">abc</field>
                                                                            </shadow>
                                                                            <block type="variables_get" id="1@j8v9uk,~v2`1U)~aE1">
                                                                              <field name="VAR" id="ETkby/vrcheZ2V0CW7f9">WindowName</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <next>
                                                                        <block type="controls_if" id="GKLA3O`=HysX]4yx4r.w">
                                                                          <value name="IF0">
                                                                            <block type="logic_compare" id="U]j6|$$Rr!3Rd4QaQ~{0">
                                                                              <field name="OP">GT</field>
                                                                              <value name="A">
                                                                                <block type="variables_get" id="-:e5hn*bz0dO~vb|Nn+Y">
                                                                                  <field name="VAR" id=",^q$U[hV$m~5y5Z(2E52">Index</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="math_number" id="GJw9]IQ2^R2Y:C~t9r=F">
                                                                                  <field name="NUM">0</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <statement name="DO0">
                                                                            <block type="variables_set" id="LM4/IVk%afjRzBidI!@[">
                                                                              <field name="VAR" id="THWRsZRIb3c~V=f;D?%r">OpenWindows</field>
                                                                              <value name="VALUE">
                                                                                <block type="text_join" id="+b2$Hrzyq9Rp+yV[d/gY">
                                                                                  <mutation items="2"></mutation>
                                                                                  <value name="ADD0">
                                                                                    <block type="text_getSubstring" id="vj!S^hk#-)%YrDw:p0|l" inline="false">
                                                                                      <mutation at1="true" at2="true"></mutation>
                                                                                      <field name="WHERE1">FROM_START</field>
                                                                                      <field name="WHERE2">FROM_START</field>
                                                                                      <value name="STRING">
                                                                                        <block type="variables_get" id="MaOdxghG)^|yBZB/GEHh">
                                                                                          <field name="VAR" id="THWRsZRIb3c~V=f;D?%r">OpenWindows</field>
                                                                                        </block>
                                                                                      </value>
                                                                                      <value name="AT1">
                                                                                        <block type="math_number" id="9OkNaT+CBX!-!0zINCJ*">
                                                                                          <field name="NUM">1</field>
                                                                                        </block>
                                                                                      </value>
                                                                                      <value name="AT2">
                                                                                        <block type="math_arithmetic" id="iU592G@zsY0_#ErI?)!(">
                                                                                          <field name="OP">MINUS</field>
                                                                                          <value name="A">
                                                                                            <shadow type="math_number" id="H[@SkKyOB/RM}.Vc;jy*">
                                                                                              <field name="NUM">1</field>
                                                                                            </shadow>
                                                                                            <block type="variables_get" id="3{t0+%+{37t}xYrSaJFK">
                                                                                              <field name="VAR" id=",^q$U[hV$m~5y5Z(2E52">Index</field>
                                                                                            </block>
                                                                                          </value>
                                                                                          <value name="B">
                                                                                            <shadow type="math_number" id="5Rl:hm6f~q,Xkm@N%YXE">
                                                                                              <field name="NUM">1</field>
                                                                                            </shadow>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="ADD1">
                                                                                    <block type="text_getSubstring" id="kT5/O=8v3M+96F0pG@Gx" inline="false">
                                                                                      <mutation at1="true" at2="true"></mutation>
                                                                                      <field name="WHERE1">FROM_START</field>
                                                                                      <field name="WHERE2">FROM_START</field>
                                                                                      <value name="STRING">
                                                                                        <block type="variables_get" id="Ck_G5w]mXrmV@)4xTO%u">
                                                                                          <field name="VAR" id="THWRsZRIb3c~V=f;D?%r">OpenWindows</field>
                                                                                        </block>
                                                                                      </value>
                                                                                      <value name="AT1">
                                                                                        <block type="math_arithmetic" id="V/]iw76CvN;O~eOAn}Ad" inline="false">
                                                                                          <field name="OP">ADD</field>
                                                                                          <value name="A">
                                                                                            <shadow type="math_number">
                                                                                              <field name="NUM">1</field>
                                                                                            </shadow>
                                                                                            <block type="math_arithmetic" id="ql4UTpcd!h0U#{u{FoRi" inline="false">
                                                                                              <field name="OP">ADD</field>
                                                                                              <value name="A">
                                                                                                <shadow type="math_number">
                                                                                                  <field name="NUM">1</field>
                                                                                                </shadow>
                                                                                                <block type="variables_get" id="Hf_/RO3$Tf.eh|meEiG:">
                                                                                                  <field name="VAR" id=",^q$U[hV$m~5y5Z(2E52">Index</field>
                                                                                                </block>
                                                                                              </value>
                                                                                              <value name="B">
                                                                                                <shadow type="math_number">
                                                                                                  <field name="NUM">1</field>
                                                                                                </shadow>
                                                                                                <block type="text_length" id="=]Fuh?Kt$[:X8ZQU@^Qv">
                                                                                                  <value name="VALUE">
                                                                                                    <shadow type="text">
                                                                                                      <field name="TEXT">abc</field>
                                                                                                    </shadow>
                                                                                                    <block type="variables_get" id="uN:lU?:,a9`zc]$rFqu7">
                                                                                                      <field name="VAR" id="ETkby/vrcheZ2V0CW7f9">WindowName</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                            </block>
                                                                                          </value>
                                                                                          <value name="B">
                                                                                            <shadow type="math_number" id="6:b#U[7B%(zAI]3xx-1G">
                                                                                              <field name="NUM">5</field>
                                                                                            </shadow>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                      <value name="AT2">
                                                                                        <block type="text_length" id="7htGadV$Ctc(NE]FVC=U">
                                                                                          <value name="VALUE">
                                                                                            <shadow type="text" id="7@3AR!(V9Rnh/6r}YNc9">
                                                                                              <field name="TEXT">abc</field>
                                                                                            </shadow>
                                                                                            <block type="variables_get" id="RAcB_;r|UUm!7Ft]y.$S">
                                                                                              <field name="VAR" id="THWRsZRIb3c~V=f;D?%r">OpenWindows</field>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </statement>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </statement>
                                                                  <next>
                                                                    <block type="debug" id="4I~godS;}gr$vY?SgTMp">
                                                                      <field name="Severity">warn</field>
                                                                      <value name="TEXT">
                                                                        <shadow type="text">
                                                                          <field name="TEXT">test</field>
                                                                        </shadow>
                                                                        <block type="text_join" id="`!=a.,9?LimC|B%_S0K9">
                                                                          <mutation items="2"></mutation>
                                                                          <value name="ADD0">
                                                                            <block type="text" id="!0o8Bek|hqPL3Zu-tK#d">
                                                                              <field name="TEXT">Open Windows after Opening: </field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="ADD1">
                                                                            <block type="variables_get" id="GMM1VQrGXw%f~O}]*P-w">
                                                                              <field name="VAR" id="THWRsZRIb3c~V=f;D?%r">OpenWindows</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </statement>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </xml>
          

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

          1 Antwort Letzte Antwort
          0
          Antworten
          • In einem neuen Thema antworten
          Anmelden zum Antworten
          • Älteste zuerst
          • Neuste zuerst
          • Meiste Stimmen


          Support us

          ioBroker
          Community Adapters
          Donate

          570

          Online

          32.7k

          Benutzer

          82.4k

          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