Ja super jetzt läuft es.
Code
<xml xmlns="https://developers.google.com/blockly/xml">
<variables>
<variable type="cron" id="Morgen">Morgen</variable>
<variable id="Tf;brwZFK6=-L`C3z=3t">Morgen</variable>
<variable type="cron" id="Mittag">Mittag</variable>
<variable id="JAph.lx];)G91TW1k(!X">Mittag</variable>
<variable type="cron" id="Nacht">Nacht</variable>
<variable id="W,*(q5DO5rla~M*{Z[vV">Nacht</variable>
</variables>
<block type="schedule_create" id="Z;T,^=10w54U%j7Smx3Q" x="62" y="-937">
<field name="NAME">Morgen</field>
<value name="SCHEDULE">
<shadow type="field_cron" id="Q[cY3mMPc*G=vd?3Ewfq">
<field name="CRON">{"time":{"start":"08:00","end":"11:00","mode":"minutes","interval":5},"period":{"days":1}}</field>
</shadow>
<block type="field_cron" id="I-@w0yu/wpijJ8Qr|qKF">
<field name="CRON">*/5 * 8-11 * * *</field>
</block>
</value>
<statement name="STATEMENT">
<block type="variables_set" id="i$B@mo~I3@:t8DzzEC/H">
<field name="VAR" id="Tf;brwZFK6=-L`C3z=3t">Morgen</field>
<value name="VALUE">
<block type="logic_boolean" id="R1Cy9`jdT_y~+diFnUTf">
<field name="BOOL">TRUE</field>
</block>
</value>
<next>
<block type="variables_set" id="VDyBfjnNyKvEVe|+^{mg">
<field name="VAR" id="JAph.lx];)G91TW1k(!X">Mittag</field>
<value name="VALUE">
<block type="logic_boolean" id="b}Bz(b=x@!lA-$-#5%N*">
<field name="BOOL">FALSE</field>
</block>
</value>
<next>
<block type="variables_set" id="#,x{*WZ$pX1`y^*f*$)M">
<field name="VAR" id="W,*(q5DO5rla~M*{Z[vV">Nacht</field>
<value name="VALUE">
<block type="logic_boolean" id="Z]`F=:jo^,R2fqDso^a-">
<field name="BOOL">FALSE</field>
</block>
</value>
<next>
<block type="procedures_callnoreturn" id="mXD=[~4eRuqG|b$xCFzE">
<mutation name="temperaturSteuerung"></mutation>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
<next>
<block type="schedule_create" id="]uJC{Hnd6t:YJ:8aZmZG">
<field name="NAME">Mittag</field>
<value name="SCHEDULE">
<shadow type="field_cron">
<field name="CRON">{"time":{"start":"08:00","end":"11:00","mode":"minutes","interval":5},"period":{"days":1}}</field>
</shadow>
<block type="field_cron" id="7yL]bTtAg)cuMXE7Il0F">
<field name="CRON">*/5 * 11-21 * * *</field>
</block>
</value>
<statement name="STATEMENT">
<block type="variables_set" id="Q$56.[J1E-)sSW#luAUO">
<field name="VAR" id="Tf;brwZFK6=-L`C3z=3t">Morgen</field>
<value name="VALUE">
<block type="logic_boolean" id="9rrv#G2UV`-*O(?;9vx#">
<field name="BOOL">FALSE</field>
</block>
</value>
<next>
<block type="variables_set" id="snNeP-3`n*DBUI]0S`~R">
<field name="VAR" id="JAph.lx];)G91TW1k(!X">Mittag</field>
<value name="VALUE">
<block type="logic_boolean" id="lQmW9j|e11De3us-:EF.">
<field name="BOOL">TRUE</field>
</block>
</value>
<next>
<block type="variables_set" id="g=Vkva/1V=lnU8*KkZx-">
<field name="VAR" id="W,*(q5DO5rla~M*{Z[vV">Nacht</field>
<value name="VALUE">
<block type="logic_boolean" id="W`rw7sdxu/xnMg8]H?/i">
<field name="BOOL">FALSE</field>
</block>
</value>
<next>
<block type="procedures_callnoreturn" id="e3)$gLR7@kf~q?MO8z-%">
<mutation name="temperaturSteuerung"></mutation>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
<next>
<block type="schedule_create" id=",$`+`#9htmgC(iivOeea">
<field name="NAME">Nacht</field>
<value name="SCHEDULE">
<shadow type="field_cron">
<field name="CRON">{"time":{"start":"08:00","end":"11:00","mode":"minutes","interval":5},"period":{"days":1}}</field>
</shadow>
<block type="field_cron" id="IYMU):8BXrZ$FSyha9Y%">
<field name="CRON">* * 0-7,22,23 * * *</field>
</block>
</value>
<statement name="STATEMENT">
<block type="variables_set" id="w;apGp6*LM1FJ9)r`^g2">
<field name="VAR" id="Tf;brwZFK6=-L`C3z=3t">Morgen</field>
<value name="VALUE">
<block type="logic_boolean" id="=(G[LmurmF0w(wJzJc7_">
<field name="BOOL">FALSE</field>
</block>
</value>
<next>
<block type="variables_set" id="HFk29H(Fk`(eWoq7QxJ-">
<field name="VAR" id="JAph.lx];)G91TW1k(!X">Mittag</field>
<value name="VALUE">
<block type="logic_boolean" id="QtIQN~9B3G?H3^}OABoZ">
<field name="BOOL">FALSE</field>
</block>
</value>
<next>
<block type="variables_set" id="{:8#{*VbXB3vxg!y~}ch">
<field name="VAR" id="W,*(q5DO5rla~M*{Z[vV">Nacht</field>
<value name="VALUE">
<block type="logic_boolean" id="l#2t9DFkkH4#|SLKf(Mm">
<field name="BOOL">TRUE</field>
</block>
</value>
<next>
<block type="procedures_callnoreturn" id="GsYZ[kkf_PI8mpdk4J%$">
<mutation name="temperaturSteuerung"></mutation>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
<next>
<block type="on_ext" id="j9Y7hYIug=N6%a!NX;Kt">
<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="KR~axIn2hRAyiTE|+,q:">
<field name="oid">deconz.0.Sensors.7.open</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="on_ext" id="C,7%1owy7Sa](Nr[4}{2">
<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="$GibA7Bpju8KRQFW7^cL">
<field name="oid">0_userdata.0.Datenpunkt.Schlafzimmer.DP_Schalter_Automatik_Zahl.ManuelleSollTemperatur_Zahl</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="procedures_callnoreturn" id="A2}9}WE],v/AYjOUk]`Q">
<mutation name="temperaturSteuerung"></mutation>
</block>
</statement>
<next>
<block type="on_ext" id=",[8-FBdgLvQ9hzq2-ydp">
<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="pvT/DkeC;Bxo)r+gpS@8">
<field name="oid">0_userdata.0.Datenpunkt.Schlafzimmer.DP_Schalter_Automatik_Zahl.ManuelleSollTemperaturGueltig_Logikwert</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="procedures_callnoreturn" id="me1jAQb$Smw1D(p5vTDb">
<mutation name="temperaturSteuerung"></mutation>
</block>
</statement>
<next>
<block type="procedures_callnoreturn" id="p+x1#K4-Sz%gc^DF/$8i">
<mutation name="temperaturSteuerung"></mutation>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
<block type="procedures_defnoreturn" id="8l/unR5O:MKqnMkKUMPz" x="63" y="13">
<field name="NAME">temperaturSteuerung</field>
<comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
<statement name="STACK">
<block type="controls_if" id="C0zj{Nk3~3Ssk?xtp4]?">
<mutation else="1"></mutation>
<value name="IF0">
<block type="logic_compare" id="xy/M5sb5nem[yfF/PS9p">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="Odtoa3ApV$ct,$WPR`(a">
<field name="ATTR">val</field>
<field name="OID">deconz.0.Sensors.7.open</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="pHlQZW5l^B,dB1v^~.I|">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="0^jg7szSJ%SYD$9zPn8x">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
<field name="OID">fritzdect.0.Comet_133560197568.targettemp</field>
<field name="WITH_DELAY">TRUE</field>
<field name="DELAY_MS">1000</field>
<field name="UNIT">ms</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="VALUE">
<block type="math_number" id="QsCPc~BOQt%SF4*z}0/l">
<field name="NUM">16</field>
</block>
</value>
</block>
</statement>
<statement name="ELSE">
<block type="controls_if" id="B;{;l0YPL}rwg4^NR-10">
<mutation else="1"></mutation>
<value name="IF0">
<block type="logic_compare" id=".sC9o=,Lg]br8Kwplg)k">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="go(O/KN:Wnhlbj{?lAeJ">
<field name="ATTR">val</field>
<field name="OID">0_userdata.0.Datenpunkt.Schlafzimmer.DP_Schalter_Automatik_Zahl.ManuelleSollTemperaturGueltig_Logikwert</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="uY.fp0y:hVD!lh;hPzJF">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="Ap[OuGN?l+k!A{A8JAUA">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
<field name="OID">fritzdect.0.Comet_133560197568.targettemp</field>
<field name="WITH_DELAY">TRUE</field>
<field name="DELAY_MS">1000</field>
<field name="UNIT">ms</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="VALUE">
<block type="get_value" id="~2+n)McvTv}uMuZk5vSY">
<field name="ATTR">val</field>
<field name="OID">0_userdata.0.Datenpunkt.Schlafzimmer.DP_Schalter_Automatik_Zahl.ManuelleSollTemperatur_Zahl</field>
</block>
</value>
</block>
</statement>
<statement name="ELSE">
<block type="controls_if" id="SYm_D$?9qMP6)*%U*M[=">
<mutation elseif="2"></mutation>
<value name="IF0">
<block type="variables_get" id="?FF~~Ew@N]v:1L/#j99B">
<field name="VAR" id="Morgen" variabletype="cron">Morgen</field>
</block>
</value>
<statement name="DO0">
<block type="control" id="T=c[Ks/OKk/2$Z8iOkH:">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
<field name="OID">fritzdect.0.Comet_133560197568.targettemp</field>
<field name="WITH_DELAY">TRUE</field>
<field name="DELAY_MS">1000</field>
<field name="UNIT">ms</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="VALUE">
<block type="math_number" id="lO+V]5Ry+lJ2S#DDh38N">
<field name="NUM">27</field>
</block>
</value>
</block>
</statement>
<value name="IF1">
<block type="variables_get" id="3TX;0T01Osw_[YVfht4/">
<field name="VAR" id="Mittag" variabletype="cron">Mittag</field>
</block>
</value>
<statement name="DO1">
<block type="control" id="R@=RWQzdvox%d/Sy=cTW">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
<field name="OID">fritzdect.0.Comet_133560197568.targettemp</field>
<field name="WITH_DELAY">TRUE</field>
<field name="DELAY_MS">1000</field>
<field name="UNIT">ms</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="VALUE">
<block type="math_number" id="a:v/FeFL6U%NIfH7~LOb">
<field name="NUM">17</field>
</block>
</value>
</block>
</statement>
<value name="IF2">
<block type="variables_get" id=".P]D}x5x+F.?}$A#pKFG">
<field name="VAR" id="Nacht" variabletype="cron">Nacht</field>
</block>
</value>
<statement name="DO2">
<block type="control" id="^.2=,8!k7d4|rF1-4ULO">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
<field name="OID">fritzdect.0.Comet_133560197568.targettemp</field>
<field name="WITH_DELAY">TRUE</field>
<field name="DELAY_MS">1000</field>
<field name="UNIT">ms</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="VALUE">
<block type="math_number" id="w`r``%AM]/T*Z9H!)FRo">
<field name="NUM">20</field>
</block>
</value>
</block>
</statement>
</block>
</statement>
</block>
</statement>
</block>
</statement>
</block>
</xml>
Alles anzeigen
Hast du auch noch eine Idee wie man es anstellen könnte das wenn ich über Vis auf Manuell schalte das ich über Vis auswählen könnte wie lange der Manuelle Modus läuft, 1 oder 2 oder 3 Stunden bevor es dann automtisch wieder auf Automatik Betrieb schaltet?