- Home
- Deutsch
- Skripten / Logik
- Blockly
- Fenster offen und Temperatur außen
Fenster offen und Temperatur außen
-
das Skript läuft ja nur wenn ich die Temperatur über die eingestellte Zahl geht kommt gleich das alle Fenster geschloßen sind. was müste ich ändern bin in Blockly noch nicht so fit.
-
@michael-1975 sagte in Fenster offen und Temperatur außen:
bin in Blockly noch nicht so fit.
ich bin auch nicht sooo fit!
Aber die Variable "Wert" bezieht sich auf den Trigger.
Wenn du zwei Trigger hast kann das Blockly den nicht auswerten.Ich würde statt der Variable "Wert" eine Veroderung der beiden "Wert von..." den Auslösern nehmen
-
@Homoran was ist eine Verordnung oder wo finde ich die
-
@michael-1975 sagte in Fenster offen und Temperatur außen:
was ist eine Verordnung oder wo finde ich die
nicht Verordnung sonder Ver ODER ung
Dazu nimmst du aus der Gruppe Logik den "...und.." Block stellst ihn im Pulldownmenü auf "oder" und in den beiden offenen Enden die " ...=..."-Blöcke , in das erste freie Feld jeweils einen "WERT von..." Block, gibst da die ID ein und in das zweite freie Feld die Bedingung
-
Ok kannst du mir noch sagen wo ich diesen Block finde ist bei mir nicht vorhanden
-
@michael-1975 Doch ist er
Das ist der UND-Baustein
-
Ok ich habe das so hin bekommen
Leider geht jetzt der Intervall nicht mehr ich verstehe es nicht -
@michael-1975 setze mal debug-Bausteine mit sinnvollem Output an die neuralgischen Punkte um zu sehen wie weit das Skript läuft
-
@Homoran Habe es gerade noch mal probiert es Läuft danke
-
Ich hänge dir mal mein Blockly an. Vielleicht kannst du damit was anfangen.
<xml xmlns="http://www.w3.org/1999/xhtml">
<variables>
<variable type="undefined" id="timeout">timeout</variable>
<variable type="undefined" id="timeout2">timeout2</variable>
<variable type="undefined" id="timeout3">timeout3</variable>
<variable type="undefined" id="timeout4">timeout4</variable>
</variables>
<block type="on_ext" id="CQC;{=jg+V-{lh0eVE[" x="-1728" y="-5412"> <mutation items="2"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="Ii?[Ge~U7Qx+TSkkHcB:"> <field name="oid">deconz.0.Sensors.22.open</field> </shadow> </value> <value name="OID1"> <shadow type="field_oid" id="Q)T0yX*,804%amdY
r0l">
<field name="oid">fritzdect.0.Comet_099950039552.mode</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="[}@uqyg|Fo!B(Ja6[,k2">
<value name="IF0">
<block type="logic_compare" id=":n{HW@bnnO7.]Z/R$2/C">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="YWu3I.6f5pD5Jzg8eBqC">
<field name="ATTR">val</field>
<field name="OID">deconz.0.Sensors.22.open</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="-jbKG:L[PveJJ(p4]{DN">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="comment" id="dYD~:^mOK4BMXVTmG4O2">
<field name="COMMENT">Meldung nach 10 Minuten</field>
<next>
<block type="timeouts_cleartimeout" id="gF2%azoTldF/=@!RmAIt">
<field name="NAME">timeout</field>
<next>
<block type="timeouts_settimeout" id="]}WWtlQ]|4eT-%sK_]sh">
<field name="NAME">timeout</field>
<field name="DELAY">10</field>
<field name="UNIT">min</field>
<statement name="STATEMENT">
<block type="controls_if" id="l-QZ+F#KE6g[uOQ(OaPU">
<mutation elseif="3"></mutation>
<value name="IF0">
<block type="logic_operation" id="EQI}%!6uV?]+~.^{rTf" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="Oin}g$)QLgcu#S-Ac=06">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="8ls@3jT_jW;%ljgw{X/"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.22.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="wg@,8RN1v{3y)wSl3_-m"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="time_compare_ex" id="6rUe/+}+2b)!QxS$(QHD"> <mutation end_time="true" actual_time="true"></mutation> <field name="USE_ACTUAL_TIME">TRUE</field> <field name="OPTION">between</field> <value name="START_TIME"> <shadow type="text" id="I9}$Kw6Y78S0TnE{a/;0"> <field name="TEXT">06:00</field> </shadow> </value> <value name="END_TIME"> <shadow type="text" id="DkN;sm_J.zY)^s}th:!W"> <field name="TEXT">10:00</field> </shadow> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="controls_if" id="A]Mj7aj%yfk51D@ujhZh"> <value name="IF0"> <block type="logic_operation" id="!5f8={J7ZXc2tvwcPK=*"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="Ep6.0Bhd),(KYdNYG,,9"> <field name="OP">LT</field> <value name="A"> <block type="get_value" id="N(If_xhK88
D{1@57YSP">
<field name="ATTR">val</field>
<field name="OID">viessmannapi.0.heating.sensors.temperature.outside.value</field>
</block>
</value>
<value name="B">
<block type="math_number" id="Y)o;~~.fCRh@ckik,M9">
<field name="NUM">15</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="nmN)kUs##)+4~8P}CXC">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="M]lV(yST5~GY$jJ$KAYN">
<field name="ATTR">val</field>
<field name="OID">deconz.0.Sensors.22.open</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="G:%|DKA]7%HF.:AmMbF">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="pushover" id="Xe.Fqs]maFa0gX!8L6c(">
<field name="INSTANCE">.0</field>
<field name="SOUND">siren</field>
<field name="PRIORITY">1</field>
<field name="LOG">warn</field>
<value name="MESSAGE">
<shadow type="text" id="(ae12(wZ}0,7vidQPp^">
<field name="TEXT">Fenster im Schlafzimmer noch offen!</field>
</shadow>
</value>
<value name="DEVICE">
<block type="get_value" id="ntRwECpff^5wsK_e|@io">
<field name="ATTR">val</field>
<field name="OID">viessmannapi.0.heating.sensors.temperature.outside.value</field>
</block>
</value>
<next>
<block type="control" id="/R/ayqLmK:H#fC]7RR%"> <mutation delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G090U50984811V0M.Commands.speak-volume</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="^@^[yAI5,ls]6YKg[Aa-"> <field name="NUM">30</field> </block> </value> <next> <block type="control" id="iPD/q;j@CxC8p2(xU(^q"> <mutation delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G090U50984811V0M.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text_join" id="]qLY,R.87Ls26)mwF-F%"> <mutation items="11"></mutation> <value name="ADD0"> <block type="text" id="zqa@t}qUJo)(C^_m=yL2"> <field name="TEXT">Hallo Bewohner, </field> </block> </value> <value name="ADD1"> <block type="text" id="b+3==I[hb)9r-$)diDXv"> <field name="TEXT">Draußen sind es</field> </block> </value> <value name="ADD2"> <block type="math_round" id="T9W
rO/nYF$]0a-^tsA">
<field name="OP">ROUND</field>
<value name="NUM">
<shadow type="math_number" id="Yvcz#0gTJE2d{w/zCScG">
<field name="NUM">3.1</field>
</shadow>
<block type="get_value" id="$]E2b(!?=VD,3)H:6zYm">
<field name="ATTR">val</field>
<field name="OID">viessmannapi.0.heating.sensors.temperature.outside.value</field>
</block>
</value>
</block>
</value>
<value name="ADD3">
<block type="text" id="#A|?sVge|xvWFF0HYU[e">
<field name="TEXT">Grad, und es ist,</field>
</block>
</value>
<value name="ADD4">
<block type="get_value" id="AT)OOHWd6e$IrqN:;.=">
<field name="ATTR">val</field>
<field name="OID">0_userdata.0.Wetter.Wind</field>
</block>
</value>
<value name="ADD5">
<block type="text" id="fP6bksOfr)TXcfbUl2iq">
<field name="TEXT">Das Fenster im Schlafzimmer ist auf,</field>
</block>
</value>
<value name="ADD6">
<block type="text" id="Yce:q/it=[^xxp;hg,e">
<field name="TEXT">Aktuell sind es im Schlafzimmer</field>
</block>
</value>
<value name="ADD7">
<block type="math_round" id="Ae)=RsI_GURZS$u8/Vqn">
<field name="OP">ROUND</field>
<value name="NUM">
<shadow type="math_number" id="Yvcz#0gTJE2d{w/zCScG">
<field name="NUM">3.1</field>
</shadow>
<block type="get_value" id="]YJfnFwn/{S.=o{U)bq">
<field name="ATTR">val</field>
<field name="OID">0_userdata.0.Temperatur.Schlafzimmer.Temperatur_Mittelwert</field>
</block>
</value>
</block>
</value>
<value name="ADD8">
<block type="text" id="~pilOQ}_O,|7as/DlEXC">
<field name="TEXT">Grad, und die Luftfeuchtigkeit beträgt</field>
</block>
</value>
<value name="ADD9">
<block type="math_round" id="Jr#RcEfF?bpUFYZ?M00o">
<field name="OP">ROUND</field>
<value name="NUM">
<shadow type="math_number" id="Yvcz#0gTJE2d{w/zCScG">
<field name="NUM">3.1</field>
</shadow>
<block type="get_value" id="24|vV%SCgqp/1qlux{4">
<field name="ATTR">val</field>
<field name="OID">deconz.0.Sensors.5.humidity</field>
</block>
</value>
</block>
</value>
<value name="ADD10">
<block type="text" id="P.rjG~0Xn{U@,L1oa]V">
<field name="TEXT">Prozent.</field>
</block>
</value>
</block>
</value>
<next>
<block type="debug" id="99?[]DE1,HpWYy#;CFEz">
<field name="Severity">warn</field>
<value name="TEXT">
<shadow type="text" id="XCqDFZycBtOKZzy[I.j"> <field name="TEXT">Fenster im Schlafzimmer seit 10 Minuten offen!</field> </shadow> </value> <next> <block type="control" id="mi.T*PssZx,jz}C^N
td">
<mutation delay_input="false"></mutation>
<field name="OID">alexa2.0.Echo-Devices.G090U50984811V0M.Commands.speak-volume</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_number" id="K:]f9@=R]J)zU^;?2ul9">
<field name="NUM">50</field>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</statement>
<value name="IF1">
<block type="logic_operation" id="huR|l@Y|60!b-yQ=5" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="MYE}|;ZOrG,FLi_3GMk$"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="$qnsznob3S$M7%syED%l"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.22.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="wO=g/p),=5k1j}-o@{
N">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="time_compare_ex" id="DV~1,@zMP/yS:@;K8c67">
<mutation end_time="true" actual_time="true"></mutation>
<field name="USE_ACTUAL_TIME">TRUE</field>
<field name="OPTION">between</field>
<value name="START_TIME">
<shadow type="text" id="9w2DAA?l?7][8/Tg}V}">
<field name="TEXT">10:00</field>
</shadow>
</value>
<value name="END_TIME">
<shadow type="text" id="rMVOy!Ib0Y~cM-0j^]iR">
<field name="TEXT">20:00</field>
</shadow>
</value>
</block>
</value>
</block>
</value>
<statement name="DO1">
<block type="controls_if" id="Dqi.[_R-OkTC|vU}+S~">
<value name="IF0">
<block type="logic_operation" id="?[XI9~6@w%x](}akxYi"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="9{Blx4{O!i:%G*%:WIp9"> <field name="OP">LT</field> <value name="A"> <block type="get_value" id="oAVUd=CV%v6U3y%!KMN)"> <field name="ATTR">val</field> <field name="OID">viessmannapi.0.heating.sensors.temperature.outside.value</field> </block> </value> <value name="B"> <block type="math_number" id=")sX2bLqL{LPNj?o)y,rX"> <field name="NUM">15</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="7sR1cqLTTj+D:9!7=oOH"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id=":U]$DtnI-08O.l|FA[dZ"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.22.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="Z8m7MHK7i^;XKGh[.RY
">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="pushover" id="^K3++}b1Ev^%5YMtV}e"> <field name="INSTANCE">.0</field> <field name="SOUND">siren</field> <field name="PRIORITY">1</field> <field name="LOG">warn</field> <value name="MESSAGE"> <shadow type="text" id="U!_@)jBx/BMM0eANF^i:"> <field name="TEXT">Fenster im Schlafzimmer noch offen!</field> </shadow> </value> <value name="DEVICE"> <block type="get_value" id="0-4?JyM]g%9Vo0QC-v3~"> <field name="ATTR">val</field> <field name="OID">viessmannapi.0.heating.sensors.temperature.outside.value</field> </block> </value> <next> <block type="control" id="]_
3K_vBH/1aOb@5uFd0">
<mutation delay_input="false"></mutation>
<field name="OID">alexa2.0.Echo-Devices.G090U50984811V0M.Commands.speak</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text_join" id="W;y,$^CuQRqu6T:Fs]Ix">
<mutation items="11"></mutation>
<value name="ADD0">
<block type="text" id="ZDDwme5q:)BQ_)~dnB-"> <field name="TEXT">Hallo Bewohner, </field> </block> </value> <value name="ADD1"> <block type="text" id="n)U0:2a=])[_[L^Q*|km"> <field name="TEXT">Draußen sind es</field> </block> </value> <value name="ADD2"> <block type="math_round" id="*9mrZ7W:V6aKgct_(?LB"> <field name="OP">ROUND</field> <value name="NUM"> <shadow type="math_number" id="Yvcz#0gTJE2d{w/zCScG"> <field name="NUM">3.1</field> </shadow> <block type="get_value" id="5XB!(3=T](}N1AC!*|7v"> <field name="ATTR">val</field> <field name="OID">viessmannapi.0.heating.sensors.temperature.outside.value</field> </block> </value> </block> </value> <value name="ADD3"> <block type="text" id="N!zou7{;AOX4([!bYa#8"> <field name="TEXT">Grad, und es ist,</field> </block> </value> <value name="ADD4"> <block type="get_value" id="Zi$Z
-lBTX3tj48N3X(~">
<field name="ATTR">val</field>
<field name="OID">0_userdata.0.Wetter.Wind</field>
</block>
</value>
<value name="ADD5">
<block type="text" id="1H6_4G^M?j!=yy:^Mnu9">
<field name="TEXT">Das Fenster im Schlafzimmer ist auf,</field>
</block>
</value>
<value name="ADD6">
<block type="text" id="N]2Sk5aV4O
b+[ZW7)R">
<field name="TEXT">Aktuell sind es im Schlafzimmer</field>
</block>
</value>
<value name="ADD7">
<block type="math_round" id="}kmaMX+fzjk?gv$@]Ov">
<field name="OP">ROUND</field>
<value name="NUM">
<shadow type="math_number" id="Yvcz#0gTJE2d{w/zCScG">
<field name="NUM">3.1</field>
</shadow>
<block type="get_value" id="B*+|I1PV/B0_/-Zh]k4G">
<field name="ATTR">val</field>
<field name="OID">0_userdata.0.Temperatur.Schlafzimmer.Temperatur_Mittelwert</field>
</block>
</value>
</block>
</value>
<value name="ADD8">
<block type="text" id="(U2@w%?VOq6u.IVg-3q^">
<field name="TEXT">Grad, und die Luftfeuchtigkeit beträgt</field>
</block>
</value>
<value name="ADD9">
<block type="math_round" id="Es4,MscPUF[@0.ALuW~"> <field name="OP">ROUND</field> <value name="NUM"> <shadow type="math_number" id="Yvcz#0gTJE2d{w/zCScG"> <field name="NUM">3.1</field> </shadow> <block type="get_value" id="VdkN0$T*_i{cEEi1I(:M"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.5.humidity</field> </block> </value> </block> </value> <value name="ADD10"> <block type="text" id="llsMp=*YM^HNxIy
0I;V">
<field name="TEXT">Prozent.</field>
</block>
</value>
</block>
</value>
<next>
<block type="debug" id="?|1,vKN(r_+C=%fXv/"> <field name="Severity">warn</field> <value name="TEXT"> <shadow type="text" id="c-]E)BGO{=m(lhwBrxI@"> <field name="TEXT">Fenster im Schlafzimmer seit 10 Minuten offen!</field> </shadow> </value> </block> </next> </block> </next> </block> </statement> </block> </statement> <value name="IF2"> <block type="logic_operation" id="Kno9@*g+)1O@)a.Ir:RS" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="NIp?a:iHn4*B[s$I**%V"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="uWWiqQeduL|70]zQP*x3"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.22.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="PCp$/pwUSS/%(8@pP+;d"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="time_compare_ex" id="4:c[-[3;aqJnkr~,%3mE"> <mutation end_time="true" actual_time="true"></mutation> <field name="USE_ACTUAL_TIME">TRUE</field> <field name="OPTION">between</field> <value name="START_TIME"> <shadow type="text" id="M,1kw!;OX:OkcDL1TzvG"> <field name="TEXT">20:00</field> </shadow> </value> <value name="END_TIME"> <shadow type="text" id="xfQGiPHbeJNumB(8I-^s"> <field name="TEXT">23:00</field> </shadow> </value> </block> </value> </block> </value> <statement name="DO2"> <block type="controls_if" id="Otf0(_O^W}eH?~/W?r-/"> <value name="IF0"> <block type="logic_operation" id="2!7gZQq+bcJ}E0a7YwSS"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="7j|3!(oyxaPB%(y=$R,p"> <field name="OP">LT</field> <value name="A"> <block type="get_value" id="#heT.c!|A)c-
b(IGI:">
<field name="ATTR">val</field>
<field name="OID">viessmannapi.0.heating.sensors.temperature.outside.value</field>
</block>
</value>
<value name="B">
<block type="math_number" id="-deDxL=)+7TS~;,v^)">
<field name="NUM">15</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="s:sf1x~#j!x{EF/!.x0E">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="ES_5!E2UDsc2)5b91ZN~">
<field name="ATTR">val</field>
<field name="OID">deconz.0.Sensors.22.open</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="LuYPoJ%kaDXJ/YLMke]@">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="pushover" id="i65V#s;q~fNM6.y+tC/">
<field name="INSTANCE">.0</field>
<field name="SOUND">siren</field>
<field name="PRIORITY">1</field>
<field name="LOG">warn</field>
<value name="MESSAGE">
<shadow type="text" id="4cbO{)1t8gvK3./?)9[O">
<field name="TEXT">Fenster im Schlafzimmer noch offen!</field>
</shadow>
</value>
<value name="DEVICE">
<block type="get_value" id="w[id?cvLB;Ix0PA.5bQ5">
<field name="ATTR">val</field>
<field name="OID">viessmannapi.0.heating.sensors.temperature.outside.value</field>
</block>
</value>
<next>
<block type="control" id="l2G!(?V(V7?l_w44O=R">
<mutation delay_input="false"></mutation>
<field name="OID">alexa2.0.Echo-Devices.G090U50984811V0M.Commands.speak-volume</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_number" id="v71u7Mw|WH41iWH#SU^}">
<field name="NUM">30</field>
</block>
</value>
<next>
<block type="control" id="PX|xC;[Y^3mAatzT~sKo">
<mutation delay_input="false"></mutation>
<field name="OID">alexa2.0.Echo-Devices.G090U50984811V0M.Commands.speak</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text_join" id="E?5I:gT/K7EXnzM?O${"> <mutation items="11"></mutation> <value name="ADD0"> <block type="text" id="XX%cxiQI*knOY1|ZM%N5"> <field name="TEXT">Hallo Bewohner, </field> </block> </value> <value name="ADD1"> <block type="text" id="}^!OR7$.OwX9UKPa_cve"> <field name="TEXT">Draußen sind es</field> </block> </value> <value name="ADD2"> <block type="math_round" id="2GIc_{JvrpP6(%_ldeZh"> <field name="OP">ROUND</field> <value name="NUM"> <shadow type="math_number" id="Yvcz#0gTJE2d{w/zCScG"> <field name="NUM">3.1</field> </shadow> <block type="get_value" id="?/.VA=ct
OjqGF8bYd_l">
<field name="ATTR">val</field>
<field name="OID">viessmannapi.0.heating.sensors.temperature.outside.value</field>
</block>
</value>
</block>
</value>
<value name="ADD3">
<block type="text" id="!ye|u/#NTK99MiMbp%n"> <field name="TEXT">Grad, und es ist,</field> </block> </value> <value name="ADD4"> <block type="get_value" id="OD8Btya%ym
(C8qkmas+">
<field name="ATTR">val</field>
<field name="OID">0_userdata.0.Wetter.Wind</field>
</block>
</value>
<value name="ADD5">
<block type="text" id="/r($C2QimT7l{c4?JqZ">
<field name="TEXT">Das Fenster im Schlafzimmer ist auf,</field>
</block>
</value>
<value name="ADD6">
<block type="text" id="z-%$]hy-Zbe,A{jc.!d"> <field name="TEXT">Aktuell sind es im Schlafzimmer</field> </block> </value> <value name="ADD7"> <block type="math_round" id="*}r6le/d:w=Qqh;|Sf1."> <field name="OP">ROUND</field> <value name="NUM"> <shadow type="math_number" id="Yvcz#0gTJE2d{w/zCScG"> <field name="NUM">3.1</field> </shadow> <block type="get_value" id="NxVcxIX2@*zrale+%DFG"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Temperatur.Schlafzimmer.Temperatur_Mittelwert</field> </block> </value> </block> </value> <value name="ADD8"> <block type="text" id="![2lp/bvX[#e6g+73,=J"> <field name="TEXT">Grad, und die Luftfeuchtigkeit beträgt</field> </block> </value> <value name="ADD9"> <block type="math_round" id="?u:Q4^]=0VR=YB3D1GiH"> <field name="OP">ROUND</field> <value name="NUM"> <shadow type="math_number" id="Yvcz#0gTJE2d{w/zCScG"> <field name="NUM">3.1</field> </shadow> <block type="get_value" id="G(=OqnYyO9NCjVKvFl7
">
<field name="ATTR">val</field>
<field name="OID">deconz.0.Sensors.5.humidity</field>
</block>
</value>
</block>
</value>
<value name="ADD10">
<block type="text" id=")kb4@nt,9Py6m}HHuQ-">
<field name="TEXT">Prozent.</field>
</block>
</value>
</block>
</value>
<next>
<block type="debug" id="Mw78Upu/a{KtF+C6)/!Q">
<field name="Severity">warn</field>
<value name="TEXT">
<shadow type="text" id="N4m.5pQRqyvUQ#b?a4:#">
<field name="TEXT">Fenster im Schlafzimmer seit 10 Minuten offen!</field>
</shadow>
</value>
<next>
<block type="control" id="^3q[ut[q?,c9Y4bdjQ+">
<mutation delay_input="false"></mutation>
<field name="OID">alexa2.0.Echo-Devices.G090U50984811V0M.Commands.speak-volume</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_number" id="?Jd-g,(kq;Tf@XOu,iS">
<field name="NUM">50</field>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</statement>
<value name="IF3">
<block type="logic_compare" id="nbDOazvnaF~sLYkelYq"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="0HI#[Pfc]BU0a7.(I,aa"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.22.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="[a~fHq;$5)uiBrhJWLo;"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <statement name="DO3"> <block type="timeouts_cleartimeout" id="7C~4pyX9E;^|}R,7k7d^"> <field name="NAME">timeout</field> </block> </statement> </block> </statement> </block> </next> </block> </next> </block> </statement> <next> <block type="controls_if" id="AGI_Pmd#IXzQ%cE=jTqj"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_operation" id="#:c#B!;2xR_y/{)uUMZw" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="#b^Wym8F7*hNk4e%+bFh"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="|bj2Fyk5EJhTdh
m6U[n">
<field name="ATTR">val</field>
<field name="OID">deconz.0.Sensors.22.open</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="m%cEo~HPtu)b8O.?)!D">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="time_compare_ex" id="NuT(@NqLih%9f{[JaL,u">
<mutation end_time="true" actual_time="true"></mutation>
<field name="USE_ACTUAL_TIME">TRUE</field>
<field name="OPTION">between</field>
<value name="START_TIME">
<shadow type="text" id="nLJ|e{l{6lo_PrejKd7s">
<field name="TEXT">06:00</field>
</shadow>
</value>
<value name="END_TIME">
<shadow type="text" id="4Kt::6nT7N6-NYA%)4#"> <field name="TEXT">10:00</field> </shadow> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="comment" id="?}rm5sqEIiw0WGed:@qp"> <field name="COMMENT">Meldung nach 15 Minuten</field> <next> <block type="timeouts_cleartimeout" id=".p@#8DzQCEi/[yk)y^0?"> <field name="NAME">timeout2</field> <next> <block type="timeouts_settimeout" id="T(+asr^lss]to~{DQ.!J"> <field name="NAME">timeout2</field> <field name="DELAY">15</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="controls_if" id=":S_c6LO^/xcQm1:V/Dt]"> <value name="IF0"> <block type="logic_operation" id="zPI*cMbJp{U~d7C.oP.@"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="C]l]4U]N#x24}mr.bDJ/"> <field name="OP">LT</field> <value name="A"> <block type="get_value" id="uEhS,9[ua{#B_,cuz#?!"> <field name="ATTR">val</field> <field name="OID">viessmannapi.0.heating.sensors.temperature.outside.value</field> </block> </value> <value name="B"> <block type="math_number" id="zcFF/4^bzCxun+]27/?+"> <field name="NUM">15</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="_LBHl%MOB1G(
V?UFr#E">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="Q(Oq:^::U#2anD{($)~"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.22.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="
wP48j)yW0c~G.ncGnA%">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="JG/7wphqEx#Y/f%Vgz-">
<mutation delay_input="false"></mutation>
<field name="OID">alexa2.0.Echo-Devices.G090U50984811V0M.Commands.speak-volume</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_number" id="aA]1FR[@ay5()gE|H(Be">
<field name="NUM">30</field>
</block>
</value>
<next>
<block type="control" id="[f-r[B*j?uJ1i,;[qb"> <mutation delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G090U50984811V0M.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="0(I1pN)S%iW^Li}b1[#1"> <field name="TEXT">He ihr Nasen, das Fenster im Schlafzimmer ist immer noch offen!</field> </block> </value> <next> <block type="control" id="ExI+DVYBhd(0*jbiF6Z?"> <mutation delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G090U50984811V0M.Commands.speak-volume</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="r1,aM-6}rFJ-(BuQU_BO"> <field name="NUM">50</field> </block> </value> <next> <block type="debug" id="
X|#S=o-m3epktR{ig[R">
<field name="Severity">warn</field>
<value name="TEXT">
<shadow type="text" id="K%IJ}_)l,_,%(_PH:1"> <field name="TEXT">Fenster im Schlafzimmer seit 15 Minuten offen!</field> </shadow> </value> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </statement> </block> </next> </block> </next> </block> </statement> <value name="IF1"> <block type="logic_compare" id="1%De0bjW
5ryqd9u)GlI">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="q9OZ5NNEU1PU3Ae17p?[">
<field name="ATTR">val</field>
<field name="OID">deconz.0.Sensors.22.open</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="Qo6KcQJU4UfW8c@4n|ou">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</value>
<statement name="DO1">
<block type="timeouts_cleartimeout" id="t{_C=}6Lo[E7{Hz:(3G)">
<field name="NAME">timeout2</field>
</block>
</statement>
<next>
<block type="controls_if" id="g9^-t.)to(^gFrt6OMnS">
<mutation elseif="1"></mutation>
<value name="IF0">
<block type="logic_operation" id="[ud@Vg(?{Wob5iMhi//r" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="qZma7SCF!MGYmT)g-EfY">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="i.gmxbuB@8
^b3o:Gx#">
<field name="ATTR">val</field>
<field name="OID">deconz.0.Sensors.22.open</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="H?ZEyfhlOwUXhQh$rSo"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="time_compare_ex" id="6kaM{1rGPMKx/b}|]JDl"> <mutation end_time="true" actual_time="true"></mutation> <field name="USE_ACTUAL_TIME">TRUE</field> <field name="OPTION">between</field> <value name="START_TIME"> <shadow type="text" id="j$M:OcQcoo=l,aW?1Rlc"> <field name="TEXT">09:00</field> </shadow> </value> <value name="END_TIME"> <shadow type="text" id=".]Q+#4-3~x7,=~?O|Ave"> <field name="TEXT">22:00</field> </shadow> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="comment" id="r^4icu
BSApu+@sGbo,d">
<field name="COMMENT">Meldung nach 20 Minuten</field>
<next>
<block type="timeouts_cleartimeout" id="$1[sF0QLT/cteTil)^Sq">
<field name="NAME">timeout3</field>
<next>
<block type="timeouts_settimeout" id="cS/yD:|Z0)Lpyh{=w;s9">
<field name="NAME">timeout3</field>
<field name="DELAY">20</field>
<field name="UNIT">min</field>
<statement name="STATEMENT">
<block type="controls_if" id="CnK;jp(_drf7HGfZgjW)">
<value name="IF0">
<block type="logic_operation" id="9?F@-26yU@tU!~_w(3z}">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="wrLZNm(CJ#R!17aJ!iO4">
<field name="OP">LT</field>
<value name="A">
<block type="get_value" id="pc/8YI%-l4R+piaT:65X">
<field name="ATTR">val</field>
<field name="OID">viessmannapi.0.heating.sensors.temperature.outside.value</field>
</block>
</value>
<value name="B">
<block type="math_number" id="o,=GjTn!|3(p.825gIDP">
<field name="NUM">15</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="3nN)(0dY3(by|{g7Zco6">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="f24r1=,00o?Hx70047K">
<field name="ATTR">val</field>
<field name="OID">deconz.0.Sensors.22.open</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="Z;4zx)N^wbvg#14y9S2f">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="=Q2iyeHlY3BG#thAWEDV">
<mutation delay_input="false"></mutation>
<field name="OID">alexa2.0.Echo-Devices.G090U50984811V0M.Commands.speak-volume</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_number" id="ee#$0,Cq0O}D|n!#]Hgl">
<field name="NUM">60</field>
</block>
</value>
<next>
<block type="control" id="G_0))O.zFld3{09m?!UP">
<mutation delay_input="false"></mutation>
<field name="OID">alexa2.0.Echo-Devices.G090U50984811V0M.Commands.speak</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text" id="|cQRYxSTdMl~I4nb([Z"> <field name="TEXT">Das Fenster im Schlafzimmer ist bereits seit 20 Minuten offen! Bitte schließen!</field> </block> </value> <next> <block type="control" id="/+-H@2%MR(Lwg{hfrsS2"> <mutation delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G090U50984811V0M.Commands.speak-volume</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="+@KoTGmu/]hR4[@?BFBE"> <field name="NUM">50</field> </block> </value> <next> <block type="debug" id="|U
PtzOWWdK8oNO}bV">
<field name="Severity">warn</field>
<value name="TEXT">
<shadow type="text" id=",Wvv4:=-.3G9x3WO_jyc">
<field name="TEXT">Fenster im Schlafzimmer seit 20 Minuten offen!</field>
</shadow>
</value>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</statement>
<value name="IF1">
<block type="logic_compare" id="3$BvB0P{t$fx%Go!?1m">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="[]-]885FcW#]F9Kt,GL"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.22.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="yh}/Nv@BdI:jlo9klbyo"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <statement name="DO1"> <block type="timeouts_cleartimeout" id="KuXZkqf@$[jJ#}C?f;$
">
<field name="NAME">timeout3</field>
</block>
</statement>
<next>
<block type="controls_if" id="y~jIL$1FDyX:N49v:Nn]">
<mutation elseif="1"></mutation>
<value name="IF0">
<block type="logic_operation" id="tR@v!HW=Z1pbh)A#)IU" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="J!wR{7s2NH
J9U1u9Z(e">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="Iwsw^5/_mep=9!|epz6l">
<field name="ATTR">val</field>
<field name="OID">deconz.0.Sensors.22.open</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="H{x.MCPGJkaykV4Zy.!-">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="time_compare_ex" id="U^[soenIWmLt,pl@d8s6">
<mutation end_time="true" actual_time="true"></mutation>
<field name="USE_ACTUAL_TIME">TRUE</field>
<field name="OPTION">between</field>
<value name="START_TIME">
<shadow type="text" id="q=JMoKP^qpDr7{SZ/}Lj">
<field name="TEXT">09:00</field>
</shadow>
</value>
<value name="END_TIME">
<shadow type="text" id="~%)[h,H2o4m=1NV2[A9">
<field name="TEXT">22:00</field>
</shadow>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="comment" id="jUXGk4rNYN]}u1KVlR!">
<field name="COMMENT">Meldung nach 60 Minuten</field>
<next>
<block type="timeouts_cleartimeout" id="hjUJg?U;G{;JzidKKq8:">
<field name="NAME">timeout4</field>
<next>
<block type="timeouts_settimeout" id="89.sT~{Dx3kfSwo$nJ%"> <field name="NAME">timeout4</field> <field name="DELAY">60</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="controls_if" id="j9kmFa7C?6C(BkX^k(O%"> <value name="IF0"> <block type="logic_operation" id="XG@;%xALELTzpoF*:HP2"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="{BxXMEwJav
@YrRe+vK">
<field name="OP">LT</field>
<value name="A">
<block type="get_value" id="O5EutH]G#;JDU@O(gxa?">
<field name="ATTR">val</field>
<field name="OID">viessmannapi.0.heating.sensors.temperature.outside.value</field>
</block>
</value>
<value name="B">
<block type="math_number" id="L#RDxg0~87eG/$aa"> <field name="NUM">15</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="%)e~10EKXQ]i4ehu
S#~">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="XIo3iT0yOY3*i+aHR.fQ">
<field name="ATTR">val</field>
<field name="OID">deconz.0.Sensors.22.open</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="oXKYL}@MR}nC7^0vg+v"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="64e_F}BWHt*k4sFXL|oA"> <mutation delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G090U50984811V0M.Commands.speak-volume</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="{=t!$Owhz.pZxlnM-;-W"> <field name="NUM">60</field> </block> </value> <next> <block type="control" id="VCA[*2:s-*o)N^7B[!^]"> <mutation delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G090U50984811V0M.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text_join" id="eoWCj~k3S;j!/wFwRuY1"> <mutation items="5"></mutation> <value name="ADD0"> <block type="text" id="cd{d~)UJW{3~:SifoLMJ"> <field name="TEXT">Das Fenster im Schlafzimmer ist jetzt seit einer Stunde offen!</field> </block> </value> <value name="ADD1"> <block type="text" id="y)*aUuwQ#Rc6m(xey
Qz">
<field name="TEXT">Draußen sind es</field>
</block>
</value>
<value name="ADD2">
<block type="math_round" id="=Gb)V4Y6PfaA9_+KElHs">
<field name="OP">ROUND</field>
<value name="NUM">
<shadow type="math_number" id="Yvcz#0gTJE2d{w/zCScG">
<field name="NUM">3.1</field>
</shadow>
<block type="get_value" id="S1T+^Vc=6/C+Jd6YAvuj">
<field name="ATTR">val</field>
<field name="OID">viessmannapi.0.heating.sensors.temperature.outside.value</field>
</block>
</value>
</block>
</value>
<value name="ADD3">
<block type="text" id="pp^[7yv
G^LQcMJ{5D@">
<field name="TEXT">Grad</field>
</block>
</value>
<value name="ADD4">
<block type="text" id="V[CH.)7a,19Ss|scm|(a">
<field name="TEXT">Es wird dringend empfohlen, das Fenster zu schließen</field>
</block>
</value>
</block>
</value>
<next>
<block type="control" id="Sqe2LuJ0tUl?zg6xd0jZ">
<mutation delay_input="false"></mutation>
<field name="OID">alexa2.0.Echo-Devices.G090U50984811V0M.Commands.speak-volume</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_number" id="50t7W03us6I,QyxHa6Jq">
<field name="NUM">50</field>
</block>
</value>
<next>
<block type="debug" id="H;^9:1]]3UkcY7aw1:o"> <field name="Severity">warn</field> <value name="TEXT"> <shadow type="text" id=")M-W@T31|(WqKn0Xvx+F"> <field name="TEXT">Fenster im Schlafzimmers seit einer Stunde offen!</field> </shadow> </value> </block> </next> </block> </next> </block> </next> </block> </statement> <next> <block type="pushover" id="Z[#aVz@xDCYr4O-/;U*n"> <field name="INSTANCE">.0</field> <field name="SOUND">siren</field> <field name="PRIORITY">1</field> <field name="LOG">warn</field> <value name="MESSAGE"> <shadow type="text" id="#yA;xQt.S^dDQ=2X*Xf~"> <field name="TEXT">ACHTUNG! Fenster im Schlafzimmer seit 1 Stunde offen!!!</field> </shadow> </value> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </statement> <value name="IF1"> <block type="logic_compare" id="}Bi.Tb%45,|OLa~OoB,^"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="i$Zjn.hDkpBq?Nr@WY4z"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.22.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="b!%2|i4NXdNibNIYnmbV"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <statement name="DO1"> <block type="timeouts_cleartimeout" id="!A_}~lr
NVR/vB^L6Ox8">
<field name="NAME">timeout4</field>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</xml>