@Mento sagte:
Könntest du mir den code zur Verfügung stellen?
Spoiler
<xml xmlns="http://www.w3.org/1999/xhtml">
<variables>
<variable type="" id="E`qm`o|L-sO)k*04AxaC">ed</variable>
</variables>
<block type="on_ext" id="wNNWp~Y_FZe|v#%-dVwx" x="-162" y="-513">
<mutation items="2"></mutation>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="~?t}50$cE*vhNwt/9d{k">
<field name="oid">sonoff.0.creationx-1023.DS18B20_Temperature</field>
</shadow>
</value>
<value name="OID1">
<shadow type="field_oid" id="Hpa0]B73T)Sl=V{evgz2">
<field name="oid">fritzdect.0.DECT200_087610178347.temp</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="RtbEZklb).NV+Z98Gef:">
<value name="IF0">
<block type="time_compare" id="hH9U#G+TH0pk@~BgyC^A">
<mutation end_time="true"></mutation>
<field name="OPTION">between</field>
<field name="START_TIME">11:45</field>
<field name="END_TIME">18:15</field>
</block>
</value>
<statement name="DO0">
<block type="controls_if" id="f`]_ZnrJPO+/s2gj8/sr">
<mutation elseif="1"></mutation>
<value name="IF0">
<block type="logic_operation" id="Ay:;6+j:q;d8n/9*)VQC" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="uLfZ.8ij68Im%Zp4D[K^">
<field name="OP">GT</field>
<value name="A">
<block type="get_value" id="0MF^84cfN$rvZt-sMm7V">
<field name="ATTR">val</field>
<field name="OID">sonoff.0.creationx-1023.DS18B20_Temperature</field>
</block>
</value>
<value name="B">
<block type="math_arithmetic" id="kO*{.nQyNy]#0AQMs^@E">
<field name="OP">ADD</field>
<value name="A">
<shadow type="math_number" id="S-?[ltaJSwGg=L^bp!Mh">
<field name="NUM">1</field>
</shadow>
<block type="get_value" id="fUzf0{W!S.r?tCW2os-8">
<field name="ATTR">val</field>
<field name="OID">fritzdect.0.DECT200_087610178347.temp</field>
</block>
</value>
<value name="B">
<shadow type="math_number" id="MuGm=)+OJsJ.%A.7J70)">
<field name="NUM">1</field>
</shadow>
<block type="math_number" id="u9EWK?-EMe(imqdeoX54">
<field name="NUM">4</field>
</block>
</value>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id=":bVQVcrIL(YDY32VCsAp">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="Qq4-:mE3r.sA9^D{Luee">
<field name="ATTR">val</field>
<field name="OID">fritzdect.0.DECT200_087610178347.state</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="%C|:bx-oZCzz_A7vqcWK">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="/-2XhHkBmKey*R%[!n?d">
<mutation delay_input="false"></mutation>
<field name="OID">fritzdect.0.DECT200_087610178347.state</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="q7t)HORVod)v9]3W}jo2">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</statement>
<value name="IF1">
<block type="logic_operation" id="Yy~I1gw@#1s|eb*^QU]s" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="gJ(-S([ECw`S;(0i=r+M">
<field name="OP">LT</field>
<value name="A">
<block type="get_value" id=":;OaqB@6DgEvHKMx[Z/=">
<field name="ATTR">val</field>
<field name="OID">sonoff.0.creationx-1023.DS18B20_Temperature</field>
</block>
</value>
<value name="B">
<block type="math_arithmetic" id="!,vG%j$6J{Ikzg:x~x?U">
<field name="OP">ADD</field>
<value name="A">
<shadow type="math_number" id="S-?[ltaJSwGg=L^bp!Mh">
<field name="NUM">1</field>
</shadow>
<block type="get_value" id="C-xfh:R`9N#Rsvj7?gaz">
<field name="ATTR">val</field>
<field name="OID">fritzdect.0.DECT200_087610178347.temp</field>
</block>
</value>
<value name="B">
<shadow type="math_number" id="MuGm=)+OJsJ.%A.7J70)">
<field name="NUM">1</field>
</shadow>
<block type="math_number" id="B5/nTLNzT9]2HGKj)k=M">
<field name="NUM">4</field>
</block>
</value>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="fsEVLCKjDeTnXQO4viQs">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="G2%KCoV,9q)w;P-cWe8F">
<field name="ATTR">val</field>
<field name="OID">fritzdect.0.DECT200_087610178347.state</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="T#4?AUYpx3)^tR)foJe(">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO1">
<block type="control" id="gG{^EIio~OS*1nMq(CEu">
<mutation delay_input="true"></mutation>
<field name="OID">fritzdect.0.DECT200_087610178347.state</field>
<field name="WITH_DELAY">TRUE</field>
<field name="DELAY_MS">50</field>
<field name="UNIT">sec</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="C_xtJ}B3Z+oFPE:v?=+w">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</statement>
</block>
</statement>
<next>
<block type="controls_if" id="-%l-D?i;KD83Qi8{S#u0">
<value name="IF0">
<block type="logic_operation" id="Y56yfZwbe-u2O0CTTO,-" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="time_compare_ex" id="1i9lU97W+J-eLC`CGBNw">
<mutation end_time="false" actual_time="true"></mutation>
<field name="USE_ACTUAL_TIME">TRUE</field>
<field name="OPTION">></field>
<value name="START_TIME">
<shadow type="text" id="Eq9Cu/~/=7d(jR!4`3Pm">
<field name="TEXT">18:20</field>
</shadow>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="dnF}Dk^~5RI+e)g:O1oN">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="-zW/+Lp3:})J^MF;sIMQ">
<field name="ATTR">val</field>
<field name="OID">fritzdect.0.DECT200_087610178347.state</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="^d[x-)l*1:/VIr3=kVyi">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="Jm3z*dMhXRRf!Our3?ne">
<mutation delay_input="true"></mutation>
<field name="OID">fritzdect.0.DECT200_087610178347.state</field>
<field name="WITH_DELAY">TRUE</field>
<field name="DELAY_MS">20</field>
<field name="UNIT">sec</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="iraX-caBHny?Py:,|Xe{">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</statement>
</block>
</next>
</block>
</statement>
<next>
<block type="on_ext" id="(;}k#gj(B8O%:y(8J{,Q">
<mutation items="1"></mutation>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="`5[f^5v.jLycf`Os(xgo">
<field name="oid">default</field>
</shadow>
<block type="text" id="OU}@/_}#NA1MbjgW;?WI">
<field name="TEXT">fritzdect.0.DECT200_087610178347.state</field>
</block>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="uUk?IXEtvd9ElEd.$0SH">
<value name="IF0">
<block type="logic_negate" id="k;:UHp9Z.mOi;izEzD+;">
<value name="BOOL">
<block type="on_source" id="UoXrzFXQ+Sr`_uYi6hY/">
<field name="ATTR">state.val</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="math_change" id="9J3]oUsMBpmy:5SfkMw7">
<field name="VAR" id="E`qm`o|L-sO)k*04AxaC" variabletype="">ed</field>
<value name="DELTA">
<shadow type="math_number" id="X6Z{c![3aM!ITT0Avf{C">
<field name="NUM">1</field>
</shadow>
<block type="math_arithmetic" id="xAfgjF{W$2Zp@.qr`0d)" inline="false">
<field name="OP">DIVIDE</field>
<value name="A">
<shadow type="math_number" id="NqW1c)DE0+{w#SXlc~Fx">
<field name="NUM">1</field>
</shadow>
<block type="math_arithmetic" id="Qo)5)#AinD,NK__B?KkO" inline="false">
<field name="OP">MINUS</field>
<value name="A">
<shadow type="math_number" id="2p!3#Py6}f]gNQ!:)Qbs">
<field name="NUM">1</field>
</shadow>
<block type="on_source" id="u(]b1pUwq=|#K1CPsVkT">
<field name="ATTR">state.lc</field>
</block>
</value>
<value name="B">
<shadow type="math_number" id="+E[ka_P9UbE;!;Ok5PSr">
<field name="NUM">1</field>
</shadow>
<block type="on_source" id="Hi=n~,8B+M|TF[O[--$j">
<field name="ATTR">oldState.lc</field>
</block>
</value>
</block>
</value>
<value name="B">
<shadow type="math_number" id="G`#C*jQB4@M-%w,1f*{p">
<field name="NUM">1</field>
</shadow>
<block type="math_number" id="T|.d0,3qdrH8boq[-?Z`">
<field name="NUM">60000</field>
</block>
</value>
</block>
</value>
</block>
</statement>
</block>
</statement>
<next>
<block type="schedule" id="XN~GXwqSPWyk}H~l~K)Z">
<field name="SCHEDULE">15 18 * * *</field>
<statement name="STATEMENT">
<block type="controls_if" id="$6jH0BuAb(6@ztv)`f=+">
<value name="IF0">
<block type="get_value_var" id=".8go/3x}.@2hhCX}WSa|">
<field name="ATTR">val</field>
<value name="OID">
<shadow type="text" id="zW.J?}rJ;*,d0X(H!!AX">
<field name="TEXT">fritzdect.0.DECT200_087610178347.state</field>
</shadow>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="EZn@l+8n~g73=sP-6yMz">
<mutation delay_input="false"></mutation>
<field name="OID">Object ID</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="k7,uN26l^YJk*x3mLWo]">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</statement>
</block>
</statement>
<next>
<block type="schedule" id="Kob;^Bz=rn6.aWoG=`([">
<field name="SCHEDULE">45 11 * * *</field>
<statement name="STATEMENT">
<block type="variables_set" id="Z#Q6h3XIg/#s!q9J5T?O">
<field name="VAR" id="E`qm`o|L-sO)k*04AxaC" variabletype="">ed</field>
<value name="VALUE">
<block type="math_number" id="ULCi/5qJtJ=cV_EM^yK=">
<field name="NUM">0</field>
</block>
</value>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</xml>