NEWS
Fenster & Heizung aus/an,Meldung Alexa und Telegramm
-
Hallo,
habe mir ein Script gebaut,
wenn ich das Fenster öffne und die Aussentemp. unter 25° ist soll das Thermostat auf aus (1) gehen, wenn geschlossen wieder Auto (0) machen. Wenn die Temperatur aber über 25° ist soll das Thermostat ausbleiben (1).
Dann würde ich noch gerne eine Meldung nach 30 min. bekommen, wenn die Aussentemp. unter 25° ist per Telegramm und Alex das das Fenster offen ist und mich so lange erinnern bis ich es wieder schließe.Das mit dem Fenster auf Heizung aus geht aber die Benachrichtigung geht nicht richtig.
Hoffe das mir einer helfen kann
Schon mal Danke
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="^!B1k9_a}ps!pKZeIM$=">sommer</variable> <variable id="Dn2JjE=-*_`GQ)k%@0KM">fenster1</variable> <variable id="OJi?FaW7hq;e}]0FR+#i">mode</variable> <variable id="/MR!S$wPIIxp{?Ic/TaC">fenster2</variable> <variable type="interval" id="Intervall2">Intervall2</variable> </variables> <block type="variables_set" id="G|1FlV6{twkpr3}wSEVs" x="-113" y="-62"> <field name="VAR" id="^!B1k9_a}ps!pKZeIM$=">sommer</field> <value name="VALUE"> <block type="logic_compare" id="Wn1xglmWxw0a1w`71)m0"> <field name="OP">GT</field> <value name="A"> <block type="get_value" id="$ApkewrtOJZ[2[9^7fjO"> <field name="ATTR">val</field> <field name="OID">accuweather.0.Current.Temperature</field> </block> </value> <value name="B"> <block type="math_number" id="kp{3bk7Wz{`}P;h4$nmP"> <field name="NUM">25</field> </block> </value> </block> </value> <next> <block type="variables_set" id="lu~iFE.{a,B|GZ]h+EjP"> <field name="VAR" id="Dn2JjE=-*_`GQ)k%@0KM">fenster1</field> <value name="VALUE"> <block type="get_value" id="[sN^$hzd:uu!_Xd^Hj**"> <field name="ATTR">val</field> <field name="OID">mihome.0.devices.magnet_158d0002495612.state</field> </block> </value> <next> <block type="variables_set" id="a0mxvU%FkSafZ1D(o6*9"> <field name="VAR" id="/MR!S$wPIIxp{?Ic/TaC">fenster2</field> <value name="VALUE"> <block type="get_value" id="cd087r8c_g_J6J+tq;nU"> <field name="ATTR">val</field> <field name="OID">mihome.0.devices.magnet_158d000478e45b.state</field> </block> </value> <next> <block type="procedures_callnoreturn" id="^rp?E]S{JQVC3cJ2T:=!"> <mutation name="setMode"></mutation> <next> <block type="on_ext" id="z)5!ilg1~+e}AGl$tn0g"> <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="{tM3l#{13:D/m9s8B3AV"> <field name="oid">mihome.0.devices.magnet_158d0002495612.state</field> </shadow> </value> <statement name="STATEMENT"> <block type="variables_set" id="Nf`.YZD-V~/`FRr%_9;D"> <field name="VAR" id="Dn2JjE=-*_`GQ)k%@0KM">fenster1</field> <value name="VALUE"> <block type="on_source" id="$`O,SiTx$aq^{P_.uqn^"> <field name="ATTR">state.val</field> </block> </value> <next> <block type="procedures_callnoreturn" id="o=?ACa6#Q:D5po6b]AAa"> <mutation name="setMode"></mutation> </block> </next> </block> </statement> <next> <block type="on_ext" id="=t9#VIUrNJ,g;[bW)h,="> <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="k,(~F%7=Cch/HN]Sb/Pm"> <field name="oid">mihome.0.devices.magnet_158d000478e45b.state</field> </shadow> </value> <statement name="STATEMENT"> <block type="variables_set" id="]/E(k.JgP6Ruxz7?onfC"> <field name="VAR" id="/MR!S$wPIIxp{?Ic/TaC">fenster2</field> <value name="VALUE"> <block type="on_source" id="/q8g-!RXdF9v:nea.O85"> <field name="ATTR">state.val</field> </block> </value> <next> <block type="procedures_callnoreturn" id="RM`Xq0$f^p+_[@T,l{%)"> <mutation name="setMode"></mutation> </block> </next> </block> </statement> <next> <block type="on_ext" id="8eO)}J8R[%m/MY+bmlkN"> <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="[lQAGcl.rf-2?D3T!Un}"> <field name="oid">accuweather.0.Current.Temperature</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="iXNY|`hHA,,F-di!CWv0"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_operation" id="Fe^yjASX|Jrn,#fSf0J*"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id=":in{xX;L=`dAD]@0(t3="> <field name="OP">GT</field> <value name="A"> <block type="on_source" id="?OsyEqposVx`iN??@h%|"> <field name="ATTR">state.val</field> </block> </value> <value name="B"> <block type="math_number" id="!0)XcEb)zKH5dndy^FzZ"> <field name="NUM">25</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="aQ@P84.u)=@u3%34K}5x"> <field name="OP">LTE</field> <value name="A"> <block type="on_source" id="7G4yp^9A*zz$2H@Oj5@d"> <field name="ATTR">oldState.val</field> </block> </value> <value name="B"> <block type="math_number" id="W=DjF?/rF!(whzM)#,@E"> <field name="NUM">25</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id=":NSMlI$`/6],0=nV$[07"> <field name="VAR" id="^!B1k9_a}ps!pKZeIM$=">sommer</field> <value name="VALUE"> <block type="logic_boolean" id="@wikjj,|@w|_r4V_}I26"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="procedures_callnoreturn" id=".fv!F6!01whVBYpjV8?S"> <mutation name="setMode"></mutation> </block> </next> </block> </statement> <value name="IF1"> <block type="logic_operation" id="LZ{#w%!tm)%5/p[jt@F|"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="z:gW9kOQ7A;DH]r:$Gs%"> <field name="OP">LT</field> <value name="A"> <block type="on_source" id="=a,=k)aHSDYa;([O8LeG"> <field name="ATTR">state.val</field> </block> </value> <value name="B"> <block type="math_number" id="!OUC;6H6F*AEq|j)R)GF"> <field name="NUM">24</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="=l$=IeV~OU84OTRfV4H/"> <field name="OP">GTE</field> <value name="A"> <block type="on_source" id="t.$=_m:5GO^yXK;ARkpV"> <field name="ATTR">oldState.val</field> </block> </value> <value name="B"> <block type="math_number" id="rX_jEDf6?EXvS]Vkp{or"> <field name="NUM">24</field> </block> </value> </block> </value> </block> </value> <statement name="DO1"> <block type="variables_set" id="bOcC)(V]4ND!@gHVIUNQ"> <field name="VAR" id="^!B1k9_a}ps!pKZeIM$=">sommer</field> <value name="VALUE"> <block type="logic_boolean" id="{YJQAV^zx.h0B`7Klq.}"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="procedures_callnoreturn" id="!YX.okix%cOM$DAbJC~N"> <mutation name="setMode"></mutation> </block> </next> </block> </statement> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> <block type="procedures_defnoreturn" id="On5Q@D5=L:x?A:WF3zeT" x="238" y="37"> <field name="NAME">setMode</field> <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment> <statement name="STACK"> <block type="controls_if" id="iNZJorCzGy2#N+(8,EH~"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_operation" id="O8JlTXc7aG:o`M,K.,@u" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_operation" id="qShXNh~oMTS12LYP4:t@" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="variables_get" id=")66^fTS*qJG1A*2B4U,t"> <field name="VAR" id="Dn2JjE=-*_`GQ)k%@0KM">fenster1</field> </block> </value> <value name="B"> <block type="variables_get" id="UThP9JvKjqb-E7(W2s0t"> <field name="VAR" id="/MR!S$wPIIxp{?Ic/TaC">fenster2</field> </block> </value> </block> </value> <value name="B"> <block type="variables_get" id="7:Sc*+z%Cw!}{$!pls1{"> <field name="VAR" id="^!B1k9_a}ps!pKZeIM$=">sommer</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="5#LG[3z5jXq64QXt0L_F"> <field name="VAR" id="OJi?FaW7hq;e}]0FR+#i">mode</field> <value name="VALUE"> <block type="math_number" id="{;{r[kz]CAKA}u2jMOTc"> <field name="NUM">1</field> </block> </value> </block> </statement> <statement name="ELSE"> <block type="variables_set" id="!okMuMZ2RfxN%JKgRf{h"> <field name="VAR" id="OJi?FaW7hq;e}]0FR+#i">mode</field> <value name="VALUE"> <block type="math_number" id="BaV-DfiNq1e0Kt3-l7-B"> <field name="NUM">0</field> </block> </value> </block> </statement> <next> <block type="control" id="sCoZAfSj6bpE?~T;}orv"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">fritzdect.0.Hgroup_grp5372F3-3AD63C53B.mode</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="oe7@MopF3~)mB4b$HRg$"> <field name="VAR" id="OJi?FaW7hq;e}]0FR+#i">mode</field> </block> </value> </block> </next> </block> </statement> </block> <block type="on_ext" id="Pd9.^CfrfAP8c9g|g:2a" x="612" y="287"> <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="3_@PT(jila{9yI*o1bxe"> <field name="oid">mihome.0.devices.magnet_158d000478e45b.state</field> </shadow> </value> <statement name="STATEMENT"> <block type="timeouts_clearinterval" id="=t^Z%i9o?SbLv0T{,)~A"> <field name="NAME">fenster1</field> <next> <block type="controls_if" id="!=aZ|;.zt}K:Y;SHGeaT"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_operation" id="dHKRvp0CUt{jT9IAVwSy" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="iv9LIrXvt:Gp_!Iaz,D*"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="8_mR@swKR]Bs?*@n#b35"> <field name="ATTR">val</field> <field name="OID">mihome.0.devices.magnet_158d000478e45b.state</field> </block> </value> <value name="B"> <block type="logic_boolean" id="$*56(sm1d0NNGRW[MD01"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="=$FjBOE,6}^HCzb2wqkP"> <field name="OP">LT</field> <value name="A"> <block type="get_value" id="1QS#=cRV3.`+I$iRThx+"> <field name="ATTR">val</field> <field name="OID">accuweather.0.Current.Temperature</field> </block> </value> <value name="B"> <block type="math_number" id="a:KZz9:8d#mtX^D8AHt("> <field name="NUM">25</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="timeouts_setinterval" id="hn?D`Z:1Ky|Jiy,/wG@7"> <field name="NAME">Intervall2</field> <field name="INTERVAL">30</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="comment" id="2@OF4(E*CJ)AVtnx/55P"> <field name="COMMENT">Wohnzimmer</field> <next> <block type="control" id="X+uf3Fj(oi.q{fw$DXsc"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G090XG089427141W.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="_y9K3lqmET(|30hl):r4"> <field name="TEXT">60;Großes Fenster im Wohnzimmer ist noch offen</field> </block> </value> <next> <block type="telegram" id="7p_O{@7SG9|JFsjm3O[6"> <field name="INSTANCE">.0</field> <field name="LOG"></field> <field name="SILENT">FALSE</field> <field name="PARSEMODE">default</field> <value name="MESSAGE"> <shadow type="text" id="I?i|.!VVh1,b`Dh@uWNV"> <field name="TEXT">Großes Fenster im Wohnzimmer ist noch offen</field> </shadow> </value> <value name="USERNAME"> <block type="text" id="#9Bcb;RSE;0h{u.~e_j#"> <field name="TEXT">BULLHEAD76,Tanja</field> </block> </value> <next> <block type="variables_set" id="LN8f.mWeBLOm[R/Gf^!I"> <field name="VAR" id="^!B1k9_a}ps!pKZeIM$=">sommer</field> <value name="VALUE"> <block type="logic_boolean" id="vUEX:S0h1Ac2y3e!WqO+"> <field name="BOOL">TRUE</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </statement> <value name="IF1"> <block type="variables_get" id="Ek6K2r+-1ZjcOSWbIYrX"> <field name="VAR" id="^!B1k9_a}ps!pKZeIM$=">sommer</field> </block> </value> <statement name="DO1"> <block type="variables_set" id="KHkYk?BwKJ|5Akrg%FMQ"> <field name="VAR" id="^!B1k9_a}ps!pKZeIM$=">sommer</field> <value name="VALUE"> <block type="logic_boolean" id="QI*kkJ/Kvn|Az6_A?Se6"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="comment" id="c8HvBE+]}TfyHJSkNoqb"> <field name="COMMENT">Wohnzimmer</field> <next> <block type="control" id="q#_m8+BFqkFo77^tRI9n"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G090XG089427141W.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="G,y?EUYO-}myq?iyIon-"> <field name="TEXT">60;Danke dass du das Große Wohnzimmerfenster geschlossen hast</field> </block> </value> <next> <block type="telegram" id=")vJp+cXKyq#fJK~c.#9A"> <field name="INSTANCE">.0</field> <field name="LOG"></field> <field name="SILENT">FALSE</field> <field name="PARSEMODE">default</field> <value name="MESSAGE"> <shadow type="text" id="I6M::.W8@UD14DRJFz+4"> <field name="TEXT">Großes Fenster im Wohnzimmer ist geschlossen</field> </shadow> </value> <value name="USERNAME"> <block type="text" id="0{xvF.WUE|^?C(7uE_/U"> <field name="TEXT">BULLHEAD76,Tanja</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </statement> </block> </xml> -
Hallo,
habe mir ein Script gebaut,
wenn ich das Fenster öffne und die Aussentemp. unter 25° ist soll das Thermostat auf aus (1) gehen, wenn geschlossen wieder Auto (0) machen. Wenn die Temperatur aber über 25° ist soll das Thermostat ausbleiben (1).
Dann würde ich noch gerne eine Meldung nach 30 min. bekommen, wenn die Aussentemp. unter 25° ist per Telegramm und Alex das das Fenster offen ist und mich so lange erinnern bis ich es wieder schließe.Das mit dem Fenster auf Heizung aus geht aber die Benachrichtigung geht nicht richtig.
Hoffe das mir einer helfen kann
Schon mal Danke
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="^!B1k9_a}ps!pKZeIM$=">sommer</variable> <variable id="Dn2JjE=-*_`GQ)k%@0KM">fenster1</variable> <variable id="OJi?FaW7hq;e}]0FR+#i">mode</variable> <variable id="/MR!S$wPIIxp{?Ic/TaC">fenster2</variable> <variable type="interval" id="Intervall2">Intervall2</variable> </variables> <block type="variables_set" id="G|1FlV6{twkpr3}wSEVs" x="-113" y="-62"> <field name="VAR" id="^!B1k9_a}ps!pKZeIM$=">sommer</field> <value name="VALUE"> <block type="logic_compare" id="Wn1xglmWxw0a1w`71)m0"> <field name="OP">GT</field> <value name="A"> <block type="get_value" id="$ApkewrtOJZ[2[9^7fjO"> <field name="ATTR">val</field> <field name="OID">accuweather.0.Current.Temperature</field> </block> </value> <value name="B"> <block type="math_number" id="kp{3bk7Wz{`}P;h4$nmP"> <field name="NUM">25</field> </block> </value> </block> </value> <next> <block type="variables_set" id="lu~iFE.{a,B|GZ]h+EjP"> <field name="VAR" id="Dn2JjE=-*_`GQ)k%@0KM">fenster1</field> <value name="VALUE"> <block type="get_value" id="[sN^$hzd:uu!_Xd^Hj**"> <field name="ATTR">val</field> <field name="OID">mihome.0.devices.magnet_158d0002495612.state</field> </block> </value> <next> <block type="variables_set" id="a0mxvU%FkSafZ1D(o6*9"> <field name="VAR" id="/MR!S$wPIIxp{?Ic/TaC">fenster2</field> <value name="VALUE"> <block type="get_value" id="cd087r8c_g_J6J+tq;nU"> <field name="ATTR">val</field> <field name="OID">mihome.0.devices.magnet_158d000478e45b.state</field> </block> </value> <next> <block type="procedures_callnoreturn" id="^rp?E]S{JQVC3cJ2T:=!"> <mutation name="setMode"></mutation> <next> <block type="on_ext" id="z)5!ilg1~+e}AGl$tn0g"> <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="{tM3l#{13:D/m9s8B3AV"> <field name="oid">mihome.0.devices.magnet_158d0002495612.state</field> </shadow> </value> <statement name="STATEMENT"> <block type="variables_set" id="Nf`.YZD-V~/`FRr%_9;D"> <field name="VAR" id="Dn2JjE=-*_`GQ)k%@0KM">fenster1</field> <value name="VALUE"> <block type="on_source" id="$`O,SiTx$aq^{P_.uqn^"> <field name="ATTR">state.val</field> </block> </value> <next> <block type="procedures_callnoreturn" id="o=?ACa6#Q:D5po6b]AAa"> <mutation name="setMode"></mutation> </block> </next> </block> </statement> <next> <block type="on_ext" id="=t9#VIUrNJ,g;[bW)h,="> <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="k,(~F%7=Cch/HN]Sb/Pm"> <field name="oid">mihome.0.devices.magnet_158d000478e45b.state</field> </shadow> </value> <statement name="STATEMENT"> <block type="variables_set" id="]/E(k.JgP6Ruxz7?onfC"> <field name="VAR" id="/MR!S$wPIIxp{?Ic/TaC">fenster2</field> <value name="VALUE"> <block type="on_source" id="/q8g-!RXdF9v:nea.O85"> <field name="ATTR">state.val</field> </block> </value> <next> <block type="procedures_callnoreturn" id="RM`Xq0$f^p+_[@T,l{%)"> <mutation name="setMode"></mutation> </block> </next> </block> </statement> <next> <block type="on_ext" id="8eO)}J8R[%m/MY+bmlkN"> <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="[lQAGcl.rf-2?D3T!Un}"> <field name="oid">accuweather.0.Current.Temperature</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="iXNY|`hHA,,F-di!CWv0"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_operation" id="Fe^yjASX|Jrn,#fSf0J*"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id=":in{xX;L=`dAD]@0(t3="> <field name="OP">GT</field> <value name="A"> <block type="on_source" id="?OsyEqposVx`iN??@h%|"> <field name="ATTR">state.val</field> </block> </value> <value name="B"> <block type="math_number" id="!0)XcEb)zKH5dndy^FzZ"> <field name="NUM">25</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="aQ@P84.u)=@u3%34K}5x"> <field name="OP">LTE</field> <value name="A"> <block type="on_source" id="7G4yp^9A*zz$2H@Oj5@d"> <field name="ATTR">oldState.val</field> </block> </value> <value name="B"> <block type="math_number" id="W=DjF?/rF!(whzM)#,@E"> <field name="NUM">25</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id=":NSMlI$`/6],0=nV$[07"> <field name="VAR" id="^!B1k9_a}ps!pKZeIM$=">sommer</field> <value name="VALUE"> <block type="logic_boolean" id="@wikjj,|@w|_r4V_}I26"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="procedures_callnoreturn" id=".fv!F6!01whVBYpjV8?S"> <mutation name="setMode"></mutation> </block> </next> </block> </statement> <value name="IF1"> <block type="logic_operation" id="LZ{#w%!tm)%5/p[jt@F|"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="z:gW9kOQ7A;DH]r:$Gs%"> <field name="OP">LT</field> <value name="A"> <block type="on_source" id="=a,=k)aHSDYa;([O8LeG"> <field name="ATTR">state.val</field> </block> </value> <value name="B"> <block type="math_number" id="!OUC;6H6F*AEq|j)R)GF"> <field name="NUM">24</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="=l$=IeV~OU84OTRfV4H/"> <field name="OP">GTE</field> <value name="A"> <block type="on_source" id="t.$=_m:5GO^yXK;ARkpV"> <field name="ATTR">oldState.val</field> </block> </value> <value name="B"> <block type="math_number" id="rX_jEDf6?EXvS]Vkp{or"> <field name="NUM">24</field> </block> </value> </block> </value> </block> </value> <statement name="DO1"> <block type="variables_set" id="bOcC)(V]4ND!@gHVIUNQ"> <field name="VAR" id="^!B1k9_a}ps!pKZeIM$=">sommer</field> <value name="VALUE"> <block type="logic_boolean" id="{YJQAV^zx.h0B`7Klq.}"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="procedures_callnoreturn" id="!YX.okix%cOM$DAbJC~N"> <mutation name="setMode"></mutation> </block> </next> </block> </statement> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> <block type="procedures_defnoreturn" id="On5Q@D5=L:x?A:WF3zeT" x="238" y="37"> <field name="NAME">setMode</field> <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment> <statement name="STACK"> <block type="controls_if" id="iNZJorCzGy2#N+(8,EH~"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_operation" id="O8JlTXc7aG:o`M,K.,@u" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_operation" id="qShXNh~oMTS12LYP4:t@" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="variables_get" id=")66^fTS*qJG1A*2B4U,t"> <field name="VAR" id="Dn2JjE=-*_`GQ)k%@0KM">fenster1</field> </block> </value> <value name="B"> <block type="variables_get" id="UThP9JvKjqb-E7(W2s0t"> <field name="VAR" id="/MR!S$wPIIxp{?Ic/TaC">fenster2</field> </block> </value> </block> </value> <value name="B"> <block type="variables_get" id="7:Sc*+z%Cw!}{$!pls1{"> <field name="VAR" id="^!B1k9_a}ps!pKZeIM$=">sommer</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="5#LG[3z5jXq64QXt0L_F"> <field name="VAR" id="OJi?FaW7hq;e}]0FR+#i">mode</field> <value name="VALUE"> <block type="math_number" id="{;{r[kz]CAKA}u2jMOTc"> <field name="NUM">1</field> </block> </value> </block> </statement> <statement name="ELSE"> <block type="variables_set" id="!okMuMZ2RfxN%JKgRf{h"> <field name="VAR" id="OJi?FaW7hq;e}]0FR+#i">mode</field> <value name="VALUE"> <block type="math_number" id="BaV-DfiNq1e0Kt3-l7-B"> <field name="NUM">0</field> </block> </value> </block> </statement> <next> <block type="control" id="sCoZAfSj6bpE?~T;}orv"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">fritzdect.0.Hgroup_grp5372F3-3AD63C53B.mode</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="oe7@MopF3~)mB4b$HRg$"> <field name="VAR" id="OJi?FaW7hq;e}]0FR+#i">mode</field> </block> </value> </block> </next> </block> </statement> </block> <block type="on_ext" id="Pd9.^CfrfAP8c9g|g:2a" x="612" y="287"> <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="3_@PT(jila{9yI*o1bxe"> <field name="oid">mihome.0.devices.magnet_158d000478e45b.state</field> </shadow> </value> <statement name="STATEMENT"> <block type="timeouts_clearinterval" id="=t^Z%i9o?SbLv0T{,)~A"> <field name="NAME">fenster1</field> <next> <block type="controls_if" id="!=aZ|;.zt}K:Y;SHGeaT"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_operation" id="dHKRvp0CUt{jT9IAVwSy" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="iv9LIrXvt:Gp_!Iaz,D*"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="8_mR@swKR]Bs?*@n#b35"> <field name="ATTR">val</field> <field name="OID">mihome.0.devices.magnet_158d000478e45b.state</field> </block> </value> <value name="B"> <block type="logic_boolean" id="$*56(sm1d0NNGRW[MD01"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="=$FjBOE,6}^HCzb2wqkP"> <field name="OP">LT</field> <value name="A"> <block type="get_value" id="1QS#=cRV3.`+I$iRThx+"> <field name="ATTR">val</field> <field name="OID">accuweather.0.Current.Temperature</field> </block> </value> <value name="B"> <block type="math_number" id="a:KZz9:8d#mtX^D8AHt("> <field name="NUM">25</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="timeouts_setinterval" id="hn?D`Z:1Ky|Jiy,/wG@7"> <field name="NAME">Intervall2</field> <field name="INTERVAL">30</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="comment" id="2@OF4(E*CJ)AVtnx/55P"> <field name="COMMENT">Wohnzimmer</field> <next> <block type="control" id="X+uf3Fj(oi.q{fw$DXsc"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G090XG089427141W.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="_y9K3lqmET(|30hl):r4"> <field name="TEXT">60;Großes Fenster im Wohnzimmer ist noch offen</field> </block> </value> <next> <block type="telegram" id="7p_O{@7SG9|JFsjm3O[6"> <field name="INSTANCE">.0</field> <field name="LOG"></field> <field name="SILENT">FALSE</field> <field name="PARSEMODE">default</field> <value name="MESSAGE"> <shadow type="text" id="I?i|.!VVh1,b`Dh@uWNV"> <field name="TEXT">Großes Fenster im Wohnzimmer ist noch offen</field> </shadow> </value> <value name="USERNAME"> <block type="text" id="#9Bcb;RSE;0h{u.~e_j#"> <field name="TEXT">BULLHEAD76,Tanja</field> </block> </value> <next> <block type="variables_set" id="LN8f.mWeBLOm[R/Gf^!I"> <field name="VAR" id="^!B1k9_a}ps!pKZeIM$=">sommer</field> <value name="VALUE"> <block type="logic_boolean" id="vUEX:S0h1Ac2y3e!WqO+"> <field name="BOOL">TRUE</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </statement> <value name="IF1"> <block type="variables_get" id="Ek6K2r+-1ZjcOSWbIYrX"> <field name="VAR" id="^!B1k9_a}ps!pKZeIM$=">sommer</field> </block> </value> <statement name="DO1"> <block type="variables_set" id="KHkYk?BwKJ|5Akrg%FMQ"> <field name="VAR" id="^!B1k9_a}ps!pKZeIM$=">sommer</field> <value name="VALUE"> <block type="logic_boolean" id="QI*kkJ/Kvn|Az6_A?Se6"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="comment" id="c8HvBE+]}TfyHJSkNoqb"> <field name="COMMENT">Wohnzimmer</field> <next> <block type="control" id="q#_m8+BFqkFo77^tRI9n"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G090XG089427141W.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="G,y?EUYO-}myq?iyIon-"> <field name="TEXT">60;Danke dass du das Große Wohnzimmerfenster geschlossen hast</field> </block> </value> <next> <block type="telegram" id=")vJp+cXKyq#fJK~c.#9A"> <field name="INSTANCE">.0</field> <field name="LOG"></field> <field name="SILENT">FALSE</field> <field name="PARSEMODE">default</field> <value name="MESSAGE"> <shadow type="text" id="I6M::.W8@UD14DRJFz+4"> <field name="TEXT">Großes Fenster im Wohnzimmer ist geschlossen</field> </shadow> </value> <value name="USERNAME"> <block type="text" id="0{xvF.WUE|^?C(7uE_/U"> <field name="TEXT">BULLHEAD76,Tanja</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </statement> </block> </xml>
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden
