NEWS
Blocklysteuerung durch Dropdown
-
Hallo,
nachdem ich meine Heizungssteuerung weitestgehend im Vis fertig habe, soll diese nun über Blockly in Funktion gebracht werden. Fertig bin ich und Blockly zeigt keinen Fehler.
Hier stelle ich ein, was wann aktiviert werden soll:
Startzeit schreibt in ein DP Stunde und Minute.15:45
Die Startzeit soll als Startimpuls im Blockly verwendet werden:
Der Wochentag wird aus der Aktion Heizen herausgenommen (erste Ziffer - 7 für Sonntag)
Datenpunkt Aktion:7:Hei
(das Hei soll für Heizen stehen / es gibt noch Kühlen und Aus)
Stunde und Minute kommt vom DP Startzeit:
15:45
Falls das Blockly zum Verständnis nötig sein sollte:
<block xmlns="https://developers.google.com/blockly/xml" type="comment" id="?@y)e2-{3=!w-zZv~:b(" x="-262.5555419921875" y="-137.77780151367188"> <field name="COMMENT">1. Abschnitt</field> <next> <block type="comment" id="]2W{1+xIGryQ5HsvL35+"> <field name="COMMENT">Montag</field> <next> <block type="schedule_create" id="$s!JE7be1S5it`4x#U%L"> <field name="NAME">schedule1</field> <value name="SCHEDULE"> <shadow type="field_cron" id="wH8?O_W*2B2fB9!w.OFS"> <field name="CRON">* * * * *</field> </shadow> <block type="cron_builder" id="Mqa]zCGUg,[P:j|#U%Ua"> <mutation xmlns="http://www.w3.org/1999/xhtml" seconds="false" as_line="false"></mutation> <field name="LINE">FALSE</field> <field name="WITH_SECONDS">FALSE</field> <value name="DOW"> <shadow type="text" id=";kWM[|H(R^[ze)~sCF!e"> <field name="TEXT">*</field> </shadow> <block type="text_charAt" id="%C6v[)+}cyXx_BvtP{qu"> <mutation at="false"></mutation> <field name="WHERE">FIRST</field> <value name="VALUE"> <block type="get_value" id="-3a*3qt-%c:Se]t+BETH"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Klima_Zeitsteuerung.OG_WZ.Timerbereich_1.Mo.1_Abschnitt.Aktion</field> </block> </value> </block> </value> <value name="MONTHS"> <shadow type="text" id="1M!X[?k)[O0|;ZP~S=]/"> <field name="TEXT">*</field> </shadow> </value> <value name="DAYS"> <shadow type="text" id="H}x~WwuKv~jUEhN;%i{k"> <field name="TEXT">*</field> </shadow> </value> <value name="HOURS"> <shadow type="text" id="atq@AxM_.`Q=;}4OY0k7"> <field name="TEXT">*</field> </shadow> <block type="text_getSubstring" id="=sC*@!])j1l}Ujg2(GSg"> <mutation at1="false" at2="true"></mutation> <field name="WHERE1">FIRST</field> <field name="WHERE2">FROM_END</field> <value name="STRING"> <block type="get_value" id="Fa@=I4949EnC4r}0SE)G"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Klima_Zeitsteuerung.OG_WZ.Timerbereich_1.Mo.1_Abschnitt.Startzeit</field> </block> </value> <value name="AT2"> <block type="math_number" id="@%EYfsax/p;A)q`)hC.4"> <field name="NUM">4</field> </block> </value> </block> </value> <value name="MINUTES"> <shadow type="text" id=".p{d:/}-L/=|B=-4l}AU"> <field name="TEXT">*</field> </shadow> <block type="text_getSubstring" id="]#e3|Hp3+cw!WD]-Xc(W"> <mutation at1="true" at2="true"></mutation> <field name="WHERE1">FROM_END</field> <field name="WHERE2">FROM_END</field> <value name="STRING"> <block type="get_value" id="!]XNr@K=51ku7+3a*DsO"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Klima_Zeitsteuerung.OG_WZ.Timerbereich_1.Mo.1_Abschnitt.Startzeit</field> </block> </value> <value name="AT1"> <block type="math_number" id="KiUd%}}~yH^%ID[Z-2(~"> <field name="NUM">2</field> </block> </value> <value name="AT2"> <block type="math_number" id="j$gbYJcrz)!QV58{oUxw"> <field name="NUM">0</field> </block> </value> </block> </value> </block> </value> <statement name="STATEMENT"> <block type="comment" id="f*4RkI,piDEMCHWnqiy5"> <field name="COMMENT">falls Timer 1</field> <next> <block type="controls_if" id="q%C)Swpb3/t26hnsN`o."> <value name="IF0"> <block type="logic_compare" id="MCW4uK77ks~Lb?Pb0}5}"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="Im;D@@S7ccaY-4C()O.5"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Klima_Zeitsteuerung.OG_WZ.Timerbereich_1.Timer</field> </block> </value> <value name="B"> <block type="logic_boolean" id="p)*zZa{{tsdkMrk=AjAb"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="INiLF^6u+)?FO%z.dxk}"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">daikin-cloud.0.63899b12-5ad9-448a-8976-20425a81de32.climateControl.onOffMode</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">1</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="get_value" id="Z`GPL;wvyv%K,+CuPa0["> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Klima_Zeitsteuerung.OG_WZ.Timerbereich_1.Mo.1_Abschnitt.DaikinOnOffMode</field> </block> </value> <next> <block type="timeouts_wait" id="(zHS@OC-Y*xEACuThXk-"> <field name="DELAY">500</field> <field name="UNIT">ms</field> <next> <block type="control" id="03fwJHznsSSfYR^nku-a"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">daikin-cloud.0.63899b12-5ad9-448a-8976-20425a81de32.climateControl.operationMode</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">1</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="get_value" id="$~F5PX]-0yc6#Q5I$XE3"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Klima_Zeitsteuerung.OG_WZ.Timerbereich_1.Mo.1_Abschnitt.DaikinOperationMode</field> </block> </value> <next> <block type="comment" id="sDsLkRZ3QD=h=YUE9im!"> <field name="COMMENT">Welcher Raumtemp, welche Aktion</field> <next> <block type="comment" id="r~gOHO4hKzsHmJFjZWY+"> <field name="COMMENT">Erst Heizen (1) dann Kühlen (2)</field> <next> <block type="controls_if" id="$OdJ!~2|q.LJT?vow/7@"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_compare" id="s.g91feHl5{Gjn`Li(.w"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id=")=Mx+mP1igo9+;D5X+X$"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Klima_Zeitsteuerung.OG_WZ.Timerbereich_1.Mo.1_Abschnitt.DaikinOperationMode</field> </block> </value> <value name="B"> <block type="math_number" id="-Z/E1YF8m|8if{zZ-|-@"> <field name="NUM">1</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="/sZ/Q*K[%fx-$GhAy9J{"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">daikin-cloud.0.63899b12-5ad9-448a-8976-20425a81de32.climateControl.temperatureControl.operationModes.heating.setpoints.roomTemperature</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">1</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="get_value" id="R^9Y||7hIgv)acN#O%4h"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Klima_Zeitsteuerung.OG_WZ.Timerbereich_1.Mo.1_Abschnitt.Temperatur</field> </block> </value> </block> </statement> <value name="IF1"> <block type="logic_compare" id="tZh7II5sqC/agk~1,btK"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="rxhJf_PzT-$L)NhGX~Xk"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Klima_Zeitsteuerung.OG_WZ.Timerbereich_1.Mo.1_Abschnitt.DaikinOperationMode</field> </block> </value> <value name="B"> <block type="math_number" id="g~G8_p)=+)3meUg9[6q="> <field name="NUM">2</field> </block> </value> </block> </value> <statement name="DO1"> <block type="control" id="`Utqr#j[79H*OY`N-;:K"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">daikin-cloud.0.63899b12-5ad9-448a-8976-20425a81de32.climateControl.temperatureControl.operationModes.cooling.setpoints.roomTemperature</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">1</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="get_value" id="h[xMWioD+%i(TJm*?IyW"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Klima_Zeitsteuerung.OG_WZ.Timerbereich_1.Mo.1_Abschnitt.Temperatur</field> </block> </value> </block> </statement> <next> <block type="comment" id="_qO}9K*D$IaY)=k$!J0x"> <field name="COMMENT">Welcher Lüftermodus, welche Aktion</field> <next> <block type="controls_if" id="9-Usg@6EGnnh4pXuJ,N2"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_compare" id="=#@.+Wl@~}tK/Iu|je.u"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="Ws:;U,z.kx}dRDoC:P1-"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Klima_Zeitsteuerung.OG_WZ.Timerbereich_1.Mo.1_Abschnitt.DaikinOperationMode</field> </block> </value> <value name="B"> <block type="math_number" id="N;Nlij(SSxDAGfB*vn@`"> <field name="NUM">1</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="{k`zrjD3?_P`sLYUTdP-"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">daikin-cloud.0.63899b12-5ad9-448a-8976-20425a81de32.climateControl.fanControl.operationModes.heating.fanSpeed.currentMode</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">1</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="get_value" id="?=KsAe3LFRE60Qq{]7nJ"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Klima_Zeitsteuerung.OG_WZ.Timerbereich_1.Mo.1_Abschnitt.Lüftermodus</field> </block> </value> </block> </statement> <value name="IF1"> <block type="logic_compare" id="!3XsiX{/5g6}fgD5L9^2"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="TaSoyJO^(63qJi`-xV5D"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Klima_Zeitsteuerung.OG_WZ.Timerbereich_1.Mo.1_Abschnitt.DaikinOperationMode</field> </block> </value> <value name="B"> <block type="math_number" id="3Zn]f/NqMbJx]$W]E3fu"> <field name="NUM">2</field> </block> </value> </block> </value> <statement name="DO1"> <block type="control" id="fo8q]VK=Xv#Yu_,p7Xwb"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">daikin-cloud.0.63899b12-5ad9-448a-8976-20425a81de32.climateControl.fanControl.operationModes.cooling.fanSpeed.currentMode</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">1</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="get_value" id="PN))3b.gT5?!eZgZBl--"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Klima_Zeitsteuerung.OG_WZ.Timerbereich_1.Mo.1_Abschnitt.Lüftermodus</field> </block> </value> </block> </statement> <next> <block type="comment" id="uL/J=?^wF*hywYN-wpeS"> <field name="COMMENT">Welcher Lüfterstufe, welche Aktion</field> <next> <block type="controls_if" id="12@WAN]rIbSF*N]/Fo!H"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_compare" id="34+]08OyIU[EXirv#Yc$"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id=",int1V*n9!}J$d+}O,@."> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Klima_Zeitsteuerung.OG_WZ.Timerbereich_1.Mo.1_Abschnitt.DaikinOperationMode</field> </block> </value> <value name="B"> <block type="math_number" id="RYa:5Z2yj7L9`Rm:-M;W"> <field name="NUM">1</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="oZdq^()1=Wa{!:M2FojH"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">daikin-cloud.0.63899b12-5ad9-448a-8976-20425a81de32.climateControl.fanControl.operationModes.heating.fanSpeed.modes.fixed</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">1</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="get_value" id="pS|BYYBWl]iolviIk7/z"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Klima_Zeitsteuerung.OG_WZ.Timerbereich_1.Mo.1_Abschnitt.Lüfterstufe</field> </block> </value> </block> </statement> <value name="IF1"> <block type="logic_compare" id="bALp*0_X0oPzVB0Vm=%T"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="agS9kBVPxYEwPd?C25`g"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Klima_Zeitsteuerung.OG_WZ.Timerbereich_1.Mo.1_Abschnitt.DaikinOperationMode</field> </block> </value> <value name="B"> <block type="math_number" id="%Js2z+$(b*6h1ghPy.P#"> <field name="NUM">2</field> </block> </value> </block> </value> <statement name="DO1"> <block type="control" id="2EZO+|y*qDR|F[}![%IK"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">daikin-cloud.0.63899b12-5ad9-448a-8976-20425a81de32.climateControl.fanControl.operationModes.cooling.fanSpeed.modes.fixed</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">1</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="get_value" id="K%wjj#HihgcX|7qjXQ)q"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Klima_Zeitsteuerung.OG_WZ.Timerbereich_1.Mo.1_Abschnitt.Lüfterstufe</field> </block> </value> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> <next> <block type="schedule_clear" id="_.+1`]#L5ns),?0=r*F3"> <field name="NAME">schedule1</field> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </next> </block>
Warum startet der Trigger nicht den Ablauf?
-
@mika-0 sagte: Der Wochentag wird aus der Aktion Heizen herausgenommen (erste Ziffer - 7 für Sonntag)
Sonntag ist 0 bei CRON.