NEWS
Salamiofen Steuerung mit Blockly
-
Vorschlag, mit dem man alles in einem Blockly packen könnte.
Benötigt wird ein Datenpunkt "SalamiOfenAN".
Wenn über Script angelegt, dann unter Objekte auf Typ "Logikwert" ändern und auf "false" setzten.
Wird "SalamiOfenAN" auf "wahr" gesetzt und die Geräte geschaltet.
Es ist egal wann "SalamiOfenAN" auf "wahr" gesetzt wird.
Ein Tageswechsel erfolgt immer nach 1440 Minuten (=1 Tag)
(Die Ausschnitte die jetzt kommen sind alle in einem Blockly!)
Die Werte werden in Listen gespeichert.
Die "Initialisierung" wird bei Scriptstart durchgeführt.
Bei Tageswechsel werden die entsprechenden Werte übernommen.
Wird der 31.Tag erreicht ist die Salami fertig.
Die Hauptlogik sieht momentan so aus.
!!!!Die Timer habe ich noch nicht berücksichtig!!!!!
!!!! Nur schalten wenn notwendig –-- Da müssen noch die Datenpunkte eingesetzt werden --- Die habe ich nicht.!!!!
Export:
! ````
<xml xmlns="http://www.w3.org/1999/xhtml"><block type="create" id="@=44(]myfYsVsqWTAV~c" x="13" y="13"><field name="NAME">SalamiOfenAN</field></block>
<block type="procedures_callnoreturn" id="hdEkua@ql4qk5g#Ff[K" x="13" y="113"><mutation name="Initialisierung"></mutation>
<next><block type="schedule" id="_{3/VQm.N(J1W92L#xH"><field name="SCHEDULE">* * * * *</field> <statement name="STATEMENT"><block type="controls_if" id="PCgDRUbDc~2O}1s*!]GN"><value name="IF0"><block type="logic_compare" id="Z+Q;pTycgzWM~*R|CqYr"><field name="OP">EQ</field> <value name="A"><block type="get_value" id="EA+Z=Y3rh8]/KscB,N]?"><field name="ATTR">val</field> <field name="OID">javascript.0.SalamiOfenAN</field></block></value> <value name="B"><block type="logic_boolean" id="t6ydv~-nNt3Ah_G,N/x/"><field name="BOOL">TRUE</field></block></value></block></value> <statement name="DO0"><block type="variables_set" id="G:vySWGzso:j.d3O#E[W"><field name="VAR">TagesMinuten</field> <value name="VALUE"><block type="math_arithmetic" id="gO.JU{8[?IWZ~,+o6/+w"><field name="OP">ADD</field> <value name="A"><shadow type="math_number" id="+ptbn0l]fkLEu56}0oO@"><field name="NUM">1</field></shadow> <block type="variables_get" id="SCUyvlE!ZA%W,twHW_F2"><field name="VAR">TagesMinuten</field></block></value> <value name="B"><shadow type="math_number" id="^QdIcqzzTp7+Mi.%VK72"><field name="NUM">1</field></shadow></value></block></value> <next><block type="controls_if" id="!cOwa7vo1Q*52~nb*
Fg"><mutation else="1"></mutation>
<value name="IF0"><block type="logic_compare" id="l8B7IE=X3]hnD}ioW=Zb"><field name="OP">EQ</field>
<value name="A"><block type="variables_get" id="_zJtXt^|oqZ1gQl4e[}i"><field name="VAR">TagesMinuten</field></block></value>
<value name="B"><block type="math_number" id="}_h7,VMnobOX@g)vH|"><field name="NUM">1440</field></block></value></block></value>
<statement name="DO0"><block type="comment" id="Yg+y,j0E0LR!vp(aM~;?"><field name="COMMENT">Neuer Tag</field>
<next><block type="variables_set" id=",7s=GEt^}sIHzs-+_[#"><field name="VAR">TagesMinuten</field> <value name="VALUE"><block type="math_number" id="~N4[[3TIou4hAKyiEyUr"><field name="NUM">1</field></block></value> <next><block type="variables_set" id="LB?42l03NPN(pVmjj
qb"><field name="VAR">CountTage</field>
<value name="VALUE"><block type="math_arithmetic" id="vEYV9Ky6#7|%*ddBO]p"><field name="OP">ADD</field> <value name="A"><shadow type="math_number" id="L;KV9?X8OA|Hg/pY*b35"><field name="NUM">1</field></shadow> <block type="variables_get" id="-
YYG,84Xpuf7@RS~@,"><field name="VAR">CountTage</field></block></value> <value name="B"><shadow type="math_number" id="ohp~Ok),lUyd8#64g?%Q"><field name="NUM">1</field></shadow></value></block></value> <next><block type="controls_if" id="b%
o(or?R?yf-T~
%Rw"><mutation else="1"></mutation>
<value name="IF0"><block type="logic_compare" id="hHcre!*q:QY)RN30tRv"><field name="OP">EQ</field> <value name="A"><block type="variables_get" id="Bb,OUiJJrR^*raMX+3yR"><field name="VAR">CountTage</field></block></value> <value name="B"><block type="math_number" id="*}HEHgmTK(!GT.Fuac%P"><field name="NUM">31</field></block></value></block></value> <statement name="DO0"><block type="procedures_callnoreturn" id="Ye,k3%Ea52O?;#Y#,Su%"><mutation name="SalamiFertig"></mutation></block></statement> <statement name="ELSE"><block type="procedures_callnoreturn" id="RV8_JIs=*1ZX|y:[*qjI"><mutation name="getTageswerte"></mutation></block></statement></block></next></block></next></block></next></block></statement> <statement name="ELSE"><block type="controls_if" id="RqH~_}O[/H,q_SUhHL!a"><value name="IF0"><block type="logic_compare" id="wSY*Bxb7.%bDP9GW1J8G"><field name="OP">NEQ</field> <value name="A"><block type="variables_get" id="eV1we!(W;|HnCxr+N8=w"><field name="VAR">LF</field></block></value> <value name="B"><block type="math_number" id="@R#Au{Mopp9{,GII4{#9"><field name="NUM">0</field></block></value></block></value> <statement name="DO0"><block type="comment" id="G6JHg[,cw)|3#4iMf.4e"><field name="COMMENT">Luftfeuchtigkeit</field> <next><block type="comment" id="0GsLZKAOM%%eQZURbvP("><field name="COMMENT">erste Tag ungeregelt</field> <next><block type="controls_if" id="^k]+nWN~~s@x!b(kdA[x"><mutation elseif="1"></mutation> <value name="IF0"><block type="logic_compare" id="[,2_]h%dN)kv5sr{Dh3M"><field name="OP">LTE</field> <value name="A"><block type="get_value" id="Hcw:[d~:K:s~@I3BA~%["><field name="ATTR">val</field> <field name="OID">hm-rpc.0.MEQ1574232.1.HUMIDITY</field></block></value> <value name="B"><block type="variables_get" id="{_oauf3TIsV[DF+}xQ@^"><field name="VAR">LF</field></block></value></block></value> <statement name="DO0"><block type="comment" id="#,G,lGYgp[m,Tw
.41=W"><field name="COMMENT">NUR schalten wenn notwendig</field>
<next><block type="controls_if" id="yoJHh_qkr]pG=m+0Ks8"><value name="IF0"><block type="logic_compare" id="?@D.gbDkwbb0f,:R[lry"><field name="OP">EQ</field>
<value name="A"><block type="get_value" id="i:hi~J*#6f]n.PcrYw9"><field name="ATTR">val</field> <field name="OID">ID auswählen</field></block></value> <value name="B"><block type="logic_boolean" id=";/hBM7
5eh=7rp!~+:h6"><field name="BOOL">FALSE</field></block></value></block></value>
<statement name="DO0"><block type="control" id="MkznoPf,lI%|ZTxZZ:;"><mutation delay_input="false"></mutation>
<field name="OID">hm-rpc.2.CUX9001001.1.STATE</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE"><block type="logic_boolean" id="KaXF]/SJYU9!EMtKC;hC"><field name="BOOL">TRUE</field></block></value></block></statement></block></next></block></statement>
<value name="IF1"><block type="logic_compare" id="b/3Yy8Rt~S})|w)y6Ci"><field name="OP">GTE</field> <value name="A"><block type="get_value" id="SQSH*N=fEW=XPQAV0^f)"><field name="ATTR">val</field> <field name="OID">hm-rpc.0.MEQ1574232.1.HUMIDITY</field></block></value> <value name="B"><block type="variables_get" id="_@1,1{~5}
X?velnya1x"><field name="VAR">LF</field></block></value></block></value>
<statement name="DO1"><block type="controls_if" id="r,dD.%!u[S4)cb}=WiPp"><value name="IF0"><block type="logic_compare" id="BvJC+6Qy:R:4w4@]sA"><field name="OP">EQ</field>
<value name="A"><block type="get_value" id="1L(=x@hM:ckCF,1+._X"><field name="ATTR">val</field>
<field name="OID">ID auswählen</field></block></value>
<value name="B"><block type="logic_boolean" id="Ql0A%KLZn_lmB5+#~lKZ"><field name="BOOL">TRUE</field></block></value></block></value>
<statement name="DO0"><block type="control" id="c6B}Xitp@#mz;QcX20"><mutation delay_input="false"></mutation> <field name="OID">hm-rpc.2.CUX9001001.1.STATE</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"><block type="logic_boolean" id="|}fxgY-AyPKpnosj/WP_"><field name="BOOL">FALSE</field></block></value></block></statement></block></statement></block></next></block></next></block></statement> <next><block type="comment" id="bwu!pdV2oPSBF7Om4Y)B"><field name="COMMENT">Temperatur</field> <next><block type="controls_if" id="vkN3sS_;kqw(oUDfy)
q"><mutation elseif="1"></mutation>
<value name="IF0"><block type="logic_compare" id="FyB}a/R6P8jX!R;XhK~"><field name="OP">LTE</field>
<value name="A"><block type="get_value" id="u^:ZzTfjai0HmB*.o8dW"><field name="ATTR">val</field>
<field name="OID">hm-rpc.0.MEQ1574232.1.TEMPERATURE</field></block></value>
<value name="B"><block type="variables_get" id=",67O`Ttu,pbVYEhFG!8k"><field name="VAR">TempNiedrig</field></block></value></block></value>
<statement name="DO0"><block type="controls_if" id="Dp=|iiz?4UX+6#KYDJ_F"><value name="IF0"><block type="logic_compare" id="k_E[o.JNXnfWnmEL8!z;"><field name="OP">EQ</field>
<value name="A"><block type="get_value" id="ucawyJIaP0PDG;~@at{;"><field name="ATTR">val</field>
<field name="OID">ID auswählen</field></block></value>
<value name="B"><block type="logic_boolean" id="pA@dazEJn|zV*TRBX4Ww"><field name="BOOL">FALSE</field></block></value></block></value>
<statement name="DO0"><block type="control" id="lNE;htd0ndnDx=.(M-SB"><mutation delay_input="false"></mutation>
<field name="OID">hm-rpc.2.CUX9001002.1.STATE</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE"><block type="logic_boolean" id="x=sm1F]CrEB)xR}Ax%KE"><field name="BOOL">TRUE</field></block></value></block></statement></block></statement>
<value name="IF1"><block type="logic_compare" id="K;A~x,S)ZMm?YnN078-"><field name="OP">GTE</field>
<value name="A"><block type="get_value" id="cy=tOBwC.0?W@F~~.-RB"><field name="ATTR">val</field>
<field name="OID">hm-rpc.0.MEQ1574232.1.TEMPERATURE</field></block></value>
<value name="B"><block type="variables_get" id="G?=~yOF**l!s](!rv,*Z"><field name="VAR">TempHoch</field></block></value></block></value>
<statement name="DO1"><block type="controls_if" id="Sa~{uK2|%_62TOs9x,?"><value name="IF0"><block type="logic_compare" id="zkvrn7|ZI}COPA9~~qtT"><field name="OP">EQ</field>
<value name="A"><block type="get_value" id="B~k7~5oOvl;;XQ^9i5Ni"><field name="ATTR">val</field>
<field name="OID">ID auswählen</field></block></value>
<value name="B"><block type="logic_boolean" id="Bd_iP]6W.MFC=QlVP.fZ"><field name="BOOL">TRUE</field></block></value></block></value>
<statement name="DO0"><block type="control" id="F?z|7j.*WR;~n#OAlT7}"><mutation delay_input="false"></mutation>
<field name="OID">hm-rpc.2.CUX9001002.1.STATE</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE"><block type="logic_boolean" id="I)/mo]kn^3gbjzZ0(rz5"><field name="BOOL">FALSE</field></block></value></block></statement></block></statement></block></next></block></next></block></statement></block></next></block></statement></block></statement></block></next></block>
<block type="comment" id="D8NS#9hgL9Noawl)-F/!" x="13" y="1263"><field name="COMMENT">Ofen wird gestartet</field>
<next><block type="on" id="HL.VbbbN9(qLvLWab.M0"><field name="OID">javascript.0.SalamiOfenAN</field>
<field name="CONDITION">true</field><statement name="STATEMENT"><block type="variables_set" id="_FhfwXeD.6G,zzQ^Te+8"><field name="VAR">TagesMinuten</field> <value name="VALUE"><block type="math_number" id="kA.HsU-xLD!5VEX^(}#V"><field name="NUM">0</field></block></value> <next><block type="variables_set" id="Mr3;JL]pGkt=g`UyA.S1"><field name="VAR">CountTage</field> <value name="VALUE"><block type="math_number" id="T_r2h13ZPqyNms1%t;b."><field name="NUM">1</field></block></value></block></next></block></statement></block></next></block>
<block type="procedures_defnoreturn" id="[bL.B,Kb9^E#8uUj#qjQ" x="13" y="1488"><field name="NAME">Initialisierung</field>
<comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
<statement name="STACK"><block type="comment" id="lz*{/S5I^g(SJ.+tbe0r"><field name="COMMENT">kleinste, größte Temperatur, Luftfeuchtigkeit</field>
<next><block type="variables_set" id="KhfMB^F%05A8wk#DB+n?"><field name="VAR">Tag_01</field>
<value name="VALUE"><block type="lists_create_with" id="tf;R^mqH[;ngl/P/4/g" inline="true"><mutation items="3"></mutation> <value name="ADD0"><block type="math_number" id="73?wcW{;Gfmm3hB*3+#("><field name="NUM">18</field></block></value> <value name="ADD1"><block type="math_number" id=",4na7N%xCbgFkXrJAG_z"><field name="NUM">20</field></block></value> <value name="ADD2"><block type="math_number" id="aMx!PZ3~Ocg;w+|^]BT("><field name="NUM">0</field></block></value></block></value> <next><block type="variables_set" id="857AuTLUEfk?yo2UIsGN"><field name="VAR">Tag_02</field> <value name="VALUE"><block type="lists_create_with" id="nJ?j9,%oT.+!=|R4KOuu" inline="true"><mutation items="3"></mutation> <value name="ADD0"><block type="math_number" id="|*D(KZ!|oL%QxJRZOGSQ"><field name="NUM">21</field></block></value> <value name="ADD1"><block type="math_number" id="*Voc^hNSMo:g/2*UO%a*"><field name="NUM">21</field></block></value> <value name="ADD2"><block type="math_number" id="+)L2kOQ]?}ni7Fe!HPjz"><field name="NUM">93</field></block></value></block></value> <next><block type="variables_set" id="8B[gew?n4.J6#Jn[;5;h"><field name="VAR">Tag_03</field> <value name="VALUE"><block type="lists_create_with" id="Z+U#_@49_
d@cElNFa," inline="true"><mutation items="3"></mutation>
<value name="ADD0"><block type="math_number" id="YGfA7h}:].Z%:y3%xk."><field name="NUM">19</field></block></value> <value name="ADD1"><block type="math_number" id="^Z@*:aEN?0TZ:R].99:q"><field name="NUM">19</field></block></value> <value name="ADD2"><block type="math_number" id="1+qoK]iz!E*-(kXs0t!i"><field name="NUM">93</field></block></value></block></value> <next><block type="variables_set" id="w4v|s[AY^d2*SN9L]!Uc"><field name="VAR">Tag_04_05</field> <value name="VALUE"><block type="lists_create_with" id="p#PS3+PMmRWCsTgxL/
S" inline="true"><mutation items="3"></mutation>
<value name="ADD0"><block type="math_number" id="+U]P!GURQ+)u=9Ix:~;"><field name="NUM">19</field></block></value> <value name="ADD1"><block type="math_number" id="p%qbyFb}gVJRfELmJWk9"><field name="NUM">19</field></block></value> <value name="ADD2"><block type="math_number" id="R%YG
LsUC.1Sm#SSk)tu"><field name="NUM">92</field></block></value></block></value></block></next></block></next></block></next></block></next></block></statement></block>
<block type="procedures_defnoreturn" id="R#@)?+EYZ}IKI(IxGk{" x="13" y="1738"><field name="NAME">SalamiFertig</field> <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment> <statement name="STACK"><block type="control" id="wmDyyE6j[*d0HhBk%eqM"><mutation delay_input="false"></mutation> <field name="OID">javascript.0.SalamiOfenAN</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"><block type="logic_boolean" id=":4:El12oO)AS[tCCmI~~"><field name="BOOL">FALSE</field></block></value> <next><block type="comment" id="xs?9c.K{dRMdh}p{g{P7"><field name="COMMENT">Timer und Geräte ausschalten</field> <next><block type="comment" id="LtBKf^6)!}CDKu,+?9v?"><field name="COMMENT">Nachricht senden</field></block></next></block></next></block></statement></block> <block type="procedures_defnoreturn" id="eKAR5v+3d+s~R#NJX2#L" x="13" y="1888"><field name="NAME">getTageswerte</field> <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment> <statement name="STACK"><block type="controls_if" id="[RUd~shyr*o:KG1K+;s9"><value name="IF0"><block type="logic_compare" id="W~ZwIZ5^g^y~Lx2,9,z0"><field name="OP">EQ</field> <value name="A"><block type="variables_get" id="wgIEG!E/=I,.ww_=P#7R"><field name="VAR">CountTage</field></block></value> <value name="B"><block type="math_number" id="|y5cSrRFlVj^gr
@4/,a"><field name="NUM">1</field></block></value></block></value>
<statement name="DO0"><block type="variables_set" id="UV-r+-nX:2Fr9u1leVaZ"><field name="VAR">TempNiedrig</field>
<value name="VALUE"><block type="lists_getIndex" id="9~7.|1RDRfP^yf:XPh!5"><mutation statement="false" at="true"></mutation>
<field name="MODE">GET</field>
<field name="WHERE">FROM_START</field>
<value name="VALUE"><block type="variables_get" id="ZU2T:~%:M3Nt710@yN@^"><field name="VAR">Tag_01</field></block></value>
<value name="AT"><block type="math_number" id="RzT3@[+olGVJ~gL6Ur|v"><field name="NUM">1</field></block></value></block></value>
<next><block type="variables_set" id="n^A@|SOg/)V[?/W{:MI"><field name="VAR">TempHoch</field>
<value name="VALUE"><block type="lists_getIndex" id="[P;D@.|#}#k7EAT-%fz"><mutation statement="false" at="true"></mutation>
<field name="MODE">GET</field>
<field name="WHERE">FROM_START</field>
<value name="VALUE"><block type="variables_get" id="?.^B3aN*8:~F.XsocpYA"><field name="VAR">Tag_01</field></block></value>
<value name="AT"><block type="math_number" id="vUI[.{Rw{iY).69Eko5"><field name="NUM">2</field></block></value></block></value> <next><block type="variables_set" id="VtKW,@LH%fO.yN)h_rnC"><field name="VAR">LF</field> <value name="VALUE"><block type="lists_getIndex" id="r*ORBpV48p
I4nl%U{@A"><mutation statement="false" at="true"></mutation>
<field name="MODE">GET</field>
<field name="WHERE">FROM_START</field>
<value name="VALUE"><block type="variables_get" id="9(DXrMA+1~aB%t4NFq."><field name="VAR">Tag_01</field></block></value> <value name="AT"><block type="math_number" id="+?z#mVgv9=M[3*Cj*3v9"><field name="NUM">3</field></block></value></block></value></block></next></block></next></block></statement> <next><block type="controls_if" id="d_2b0O9@=tn?Nt#0Bqnd"><value name="IF0"><block type="logic_compare" id=":8qi+Ar-W^JU(vvIQTA,"><field name="OP">EQ</field> <value name="A"><block type="variables_get" id="9BFgq(uCzAe?eHTz)dG9"><field name="VAR">CountTage</field></block></value> <value name="B"><block type="math_number" id="!6E^e!wo
}pNTL#*U)4j"><field name="NUM">2</field></block></value></block></value>
<statement name="DO0"><block type="variables_set" id=";):!DnXCn)O30aQLfAx"><field name="VAR">TempNiedrig</field>
<value name="VALUE"><block type="lists_getIndex" id="(@}V(9?v[7TZHt.Z5VlI"><mutation statement="false" at="true"></mutation>
<field name="MODE">GET</field>
<field name="WHERE">FROM_START</field>
<value name="VALUE"><block type="variables_get" id="G1myYa;uv|(|,~q%e+6G"><field name="VAR">Tag_02</field></block></value>
<value name="AT"><block type="math_number" id="|D=u;cL/u(?(z6Pg#Va"><field name="NUM">1</field></block></value></block></value> <next><block type="variables_set" id="4Ak!2:QQNuaKmEo9dmgj"><field name="VAR">TempHoch</field> <value name="VALUE"><block type="lists_getIndex" id="+GOUGKQ4w%9=WgiU6fb+"><mutation statement="false" at="true"></mutation> <field name="MODE">GET</field> <field name="WHERE">FROM_START</field> <value name="VALUE"><block type="variables_get" id="*b)D8zoQukOTfDt|-Izt"><field name="VAR">Tag_02</field></block></value> <value name="AT"><block type="math_number" id="Xj[xSIh4%Bh9OnMWAxWL"><field name="NUM">2</field></block></value></block></value> <next><block type="variables_set" id="@1hDb,=pC]/V,B8U5NQ8"><field name="VAR">LF</field> <value name="VALUE"><block type="lists_getIndex" id="w!Hi65wifLs0HNqA3]07"><mutation statement="false" at="true"></mutation> <field name="MODE">GET</field> <field name="WHERE">FROM_START</field> <value name="VALUE"><block type="variables_get" id="aQbfA^M~IeM5MXd3)t^Y"><field name="VAR">Tag_02</field></block></value> <value name="AT"><block type="math_number" id="fH21THyRlfY8~8gSC:3t"><field name="NUM">3</field></block></value></block></value></block></next></block></next></block></statement> <next><block type="controls_if" id="5cE8^f/SkY3]#!Y+sx3D"><value name="IF0"><block type="logic_compare" id="r!u1EmI?uYk}ca1-:J)T"><field name="OP">EQ</field> <value name="A"><block type="variables_get" id="/C{Z26sBG{ZWB/rI0U0J"><field name="VAR">CountTage</field></block></value> <value name="B"><block type="math_number" id="wb,nV:%6Jix5PT8hkbL]"><field name="NUM">3</field></block></value></block></value> <statement name="DO0"><block type="variables_set" id="F/6kSNxZ+
OsyV1dGkUg"><field name="VAR">TempNiedrig</field>
<value name="VALUE"><block type="lists_getIndex" id="dA=KWhl+3S,rRA}LT/8"><mutation statement="false" at="true"></mutation> <field name="MODE">GET</field> <field name="WHERE">FROM_START</field> <value name="VALUE"><block type="variables_get" id="zi6^cEC=P)ss-PU;IhKX"><field name="VAR">Tag_03</field></block></value> <value name="AT"><block type="math_number" id="h?P7MnwWDAd=SfIhVL67"><field name="NUM">1</field></block></value></block></value> <next><block type="variables_set" id="uHeE(h,x|aLGORXnXinb"><field name="VAR">TempHoch</field> <value name="VALUE"><block type="lists_getIndex" id="vauB7sBCS8Ie8N/:SxQe"><mutation statement="false" at="true"></mutation> <field name="MODE">GET</field> <field name="WHERE">FROM_START</field> <value name="VALUE"><block type="variables_get" id="sqEA0Q[o
QZPv@FXV2sB"><field name="VAR">Tag_03</field></block></value>
<value name="AT"><block type="math_number" id="qT0pv+2?#lw?e7aKhd!n"><field name="NUM">2</field></block></value></block></value>
<next><block type="variables_set" id="]AJRlSmG9WJ+Uqr.Xwt2"><field name="VAR">LF</field>
<value name="VALUE"><block type="lists_getIndex" id="xf}Rv2aH}qwd}HKOOFX]"><mutation statement="false" at="true"></mutation>
<field name="MODE">GET</field>
<field name="WHERE">FROM_START</field>
<value name="VALUE"><block type="variables_get" id="Wo/o;b9oz~NYW:arRSO"><field name="VAR">Tag_03</field></block></value>
<value name="AT"><block type="math_number" id="=:q-bi9Br8h1z)Bo|CGY"><field name="NUM">3</field></block></value></block></value></block></next></block></next></block></statement>
<next><block type="controls_if" id="QZy?6YfE/03O~i].Nrbk"><value name="IF0"><block type="logic_operation" id="x9k3R@Y:@!kDYKAr7aC"><field name="OP">OR</field>
<value name="A"><block type="logic_compare" id="8~w3aGT5t3Ca)strBDGW"><field name="OP">EQ</field>
<value name="A"><block type="variables_get" id="je?,4^U}]/9Cl1;Uf11J"><field name="VAR">CountTage</field></block></value>
<value name="B"><block type="math_number" id="qZaJc5c;]ua!v@Z~!Z?-"><field name="NUM">4</field></block></value></block></value>
<value name="B"><block type="logic_compare" id="~)0Yw,m8COYE|iTwxV{"><field name="OP">EQ</field>
<value name="A"><block type="variables_get" id="N@C6)w{DwxAjk|daXPB^"><field name="VAR">CountTage</field></block></value>
<value name="B"><block type="math_number" id="{m{Zk/ZRKq8mt.Xvme1U"><field name="NUM">5</field></block></value></block></value></block></value>
<statement name="DO0"><block type="variables_set" id="MXM2hk_``U?qld,sAe;B"><field name="VAR">TempNiedrig</field>
<value name="VALUE"><block type="lists_getIndex" id=":}yUj26q[Zj6T]LZnp[u"><mutation statement="false" at="true"></mutation>
<field name="MODE">GET</field>
<field name="WHERE">FROM_START</field>
<value name="VALUE"><block type="variables_get" id="w)Ztp;UljT8S~JXr7ARr"><field name="VAR">Tag_04_05</field></block></value>
<value name="AT"><block type="math_number" id="a+3wbIZ=wMKh0YS/(T/1"><field name="NUM">1</field></block></value></block></value>
<next><block type="variables_set" id="QfEl5#m~JNz1yZx(e@wO"><field name="VAR">TempHoch</field>
<value name="VALUE"><block type="lists_getIndex" id="iqwXKb]bkYae9Ag?d3HO"><mutation statement="false" at="true"></mutation>
<field name="MODE">GET</field>
<field name="WHERE">FROM_START</field>
<value name="VALUE"><block type="variables_get" id="?SiTzlK|zywJ5iCP|Y~y"><field name="VAR">Tag_04_05</field></block></value>
<value name="AT"><block type="math_number" id="gI%}n5pQHmE,3HF6P5bR"><field name="NUM">2</field></block></value></block></value>
<next><block type="variables_set" id=":iw^6V)sR_Dq9zesD.Gd"><field name="VAR">LF</field>
<value name="VALUE"><block type="lists_getIndex" id="lw71y~;f4sk1(IN^mfB"><mutation statement="false" at="true"></mutation>
<field name="MODE">GET</field>
<field name="WHERE">FROM_START</field>
<value name="VALUE"><block type="variables_get" id="BAN/e_v[^.?rvnWCF9l2"><field name="VAR">Tag_04_05</field></block></value>
<value name="AT"><block type="math_number" id="M/azAmJZKjL[4J1`]1u%"><field name="NUM">3</field></block></value></block></value></block></next></block></next></block></statement></block></next></block></next></block></next></block></statement></block></xml>! ````
Bei Fragen fragen.
Grüße
-
ok danke werde mich mal rann setzen
-
Könntest Du auch mal die anderen Blöcke exportieren der alte Mann kommt ins Schwitzen Danke nochmal
-
Da müssten alle drin sein. Mal nach unten scrolen.
-
Ok war blind aber bleiben die da jetzt alle dadrin
-
<block 1999/xmlns="<URL url=" http:/www.w3.org/xhtml"="">http://www.w3.org/1999/xhtml" id="9]iE?mg^o/CGIEnFdg06" type="timeouts_setinterval" x="-2187" y="-662">
<field name="NAME">Intervall</field>
<field name="INTERVAL">360</field>
<field name="UNIT">min</field>
<statement name="STATEMENT"><block id="bOYqf!hbva}#fCwbe6~#" type="timeouts_settimeout"><field name="NAME">timeout</field>
<field name="DELAY">15</field>
<field name="UNIT">min</field>
<statement name="STATEMENT"><block id="j|A)%1aY-F6!Y=t*s89u" type="control"><mutation delay_input="false"></mutation>
<field name="OID">hm-rpc.2.CUX9001005.1.STATE</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE"><block id="vRyhs(HGdZP|=QIc:lqD" type="logic_boolean"><field name="BOOL">TRUE</field></block></value></block></statement></block></statement></block>
-
das brauche ich auch für jeden tag wie füge ich es ein oder besser wo
-
wie mache ich das jetzt von tag 16 bis tag 22
-
Ok war blind aber bleiben die da jetzt alle dadrin `
Welchen willst Du denn weg haben?das brauche ich auch für jeden tag wie füge ich es ein oder besser wo `
Hatte ich doch geschrieben. Habe ich noch nicht eingesetzt.Ist ja erstmal ein Vorschlag. Vielleicht hat noch jemand einen Anderen.
Die Timer kommen noch.
Hast Du den Grundablauf verstanden?
Scheue Dich nicht zu Fragen.
Grüße
-
Das Prinzip wie das jetzt ab läuft ich sage mal ja aber wie Du das jetzt zusammen gesetzt hast nein
-
Ach so und weg wollte ich nichts haben wollte nur wissen ob da alle Blockly drinnen bleiben ich dachte für jeden Blockly ein Script anlegen
-
wie mache ich das jetzt von tag 16 bis tag 22 `
Du warst ja schon fleißig.Ich kann Deine ScreenShots schlecht lesen, bzw. schlecht vergrößern.
Kannst Du die nur mit dem Opera Snap machen?
Du kannst auch Deinen Blockly hier wieder exportieren.
Spart mir etwas Arbeit.
Im Beitrag erst "spoiler" UND dann "Code" Butten klicken.
Zwischen den beiden Tags den Export packen.
Du kannst vor dem Senden immer den Butten "Vorschau" anklicken, um zu sehen ob Du es richtig gemacht hast.
Grüße
-
Ach so und weg wollte ich nichts haben wollte nur wissen ob da alle Blockly drinnen bleiben ich dachte für jeden Blockly ein Script anlegen `
Ziel ist doch alles in EINEM Blockly-Script zu erledigen
-
habe das jetzt mal so gemacht wie du es gesagt hast kommt jetzt ein fehler , Dein Beitrag besteht aus 125998 Zeichen.
Es sind maximal 100000 Zeichen erlaubt. was nun
-
hmmm.
Speicher den Export in eine TXT Datei und hänge sie dem Beitrag an.
-
Export in eine TXT Datei wie geht das
-
! ````
<block xmlns="http://www.w3.org/1999/xhtml" id="wt98!c{)0[EZgQ@A5/" type="controls_if" x="-137.743" y="2512.69"><value name="IF0"><block id="0.yK)l#MIICze4x?eyLL" type="logic_operation"><field name="OP">OR</field>
<value name="A"><block id=",mNccc/RCbxq5j=WVbg2" type="logic_compare"><field name="OP">EQ</field>
<value name="A"><block id="udPlwYM[ove.TGrFRuh" type="variables_get"><field name="VAR">CountTage</field></block></value>
<value name="B"><block id="[z%VP~F6M{kEf(oSm^#B" type="math_number"><field name="NUM">16</field></block></value></block></value>
<value name="B"><block id="#bJV!}zY.k;St^?8ZxD%" type="logic_compare"><field name="OP">EQ</field>
<value name="A"><block id="]WB+)i1/lB@?8+;|4wJW" type="variables_get"><field name="VAR">CountTage</field></block></value>
<value name="B"><block id="jX9E#5b3b,(:t]R5W_5i" type="math_number"><field name="NUM">22</field></block></value></block></value></block></value>
<statement name="DO0"><block id="sELv[sy-MWir:6G|gswX" type="variables_set"><field name="VAR">TempNiedrig</field>
<value name="VALUE"><block id="R#A2)xen2/k,qO+.ZXv:" type="lists_getIndex"><mutation at="true" statement="false"></mutation>
<field name="MODE">GET</field>
<field name="WHERE">FROM_START</field>
<value name="VALUE"><block id="eSqK0I9k2E%kR~J_D6g" type="variables_get"><field name="VAR">Tag_16_17_18_19_20_21_22</field></block></value> <value name="AT"><block id=")t,:|UYcel!,cc6;j2Z(" type="math_number"><field name="NUM">1</field></block></value></block></value> <next><block id=",[i}aLnwT}JzN%l^.p8Z" type="variables_set"><field name="VAR">TempHoch</field> <value name="VALUE"><block id="8)tH[lRN4c^~:Cdk?M!o" type="lists_getIndex"><mutation at="true" statement="false"></mutation> <field name="MODE">GET</field> <field name="WHERE">FROM_START</field> <value name="VALUE"><block id="R/*S6Ao
ZJA%tZ-3_FJb" type="variables_get"><field name="VAR">Tag_16_17_18_19_20_21_22</field></block></value>
<value name="AT"><block id="?YpMP0IU(u8WM:CWPm9" type="math_number"><field name="NUM">2</field></block></value></block></value>
<next><block id="Mqwh]VbY8blTD7ifaz}" type="variables_set"><field name="VAR">LF</field>
<value name="VALUE"><block id=",@MC.{#ftYm4vJ{#K#;P" type="lists_getIndex"><mutation at="true" statement="false"></mutation>
<field name="MODE">GET</field>
<field name="WHERE">FROM_START</field>
<value name="VALUE"><block id="s_-XE0dIFI?94{!DBrx6" type="variables_get"><field name="VAR">Tag_16_17_18_19_20_21_22</field></block></value>
<value name="AT"><block id="_iI|.@;bVlpapdLAwPd" type="math_number"><field name="NUM">3</field></block></value></block></value></block></next></block></next></block></statement></block>wie kann ich jetzt das oder in bis ändern
-
wie kann ich jetzt das oder in bis ändern `
Falls ">= 16" UND "<=22"
Bei Deinem ersten Export muss etwas schiefgegangen sein.
Mein Export hat etwas mehr als 46000 Zeichen.
Da können Deine Änderungen nicht mehr als 100000 Zeichen sein.
-
! ````
<xml xmlns="http://www.w3.org/1999/xhtml"><block id="wt98!c{)0[EZgQ@A5/" type="controls_if" y="2337" x="-163"><value name="IF0"><block id="0.yK)l#MIICze4x?eyLL" type="logic_operation"><field name="OP">AND</field>
<value name="A"><block id=",mNccc/RCbxq5j=WVbg2" type="logic_compare"><field name="OP">GTE</field>
<value name="A"><block id="udPlwYM[ove.TGrFRuh" type="variables_get"><field name="VAR">CountTage</field></block></value>
<value name="B"><block id="[z%VP~F6M{kEf(oSm^#B" type="math_number"><field name="NUM">16</field></block></value></block></value>
<value name="B"><block id="#bJV!}zY.k;St^?8ZxD%" type="logic_compare"><field name="OP">LTE</field>
<value name="A"><block id="]WB+)i1/lB@?8+;|4wJW" type="variables_get"><field name="VAR">CountTage</field></block></value>
<value name="B"><block id="jX9E#5b3b,(:t]R5W_5i" type="math_number"><field name="NUM">22</field></block></value></block></value></block></value>
<statement name="DO0"><block id="sELv[sy-MWir:6G|gswX" type="variables_set"><field name="VAR">TempNiedrig</field>
<value name="VALUE"><block id="R#A2)xen2/k,qO+.ZXv:" type="lists_getIndex"><mutation statement="false" at="true"></mutation>
<field name="MODE">GET</field>
<field name="WHERE">FROM_START</field>
<value name="VALUE"><block id="eSqK0I9k2E%kR~J_D6g" type="variables_get"><field name="VAR">Tag_16_17_18_19_20_21_22</field></block></value> <value name="AT"><block id=")t,:|UYcel!,cc6;j2Z(" type="math_number"><field name="NUM">1</field></block></value></block></value> <next><block id=",[i}aLnwT}JzN%l^.p8Z" type="variables_set"><field name="VAR">TempHoch</field> <value name="VALUE"><block id="8)tH[lRN4c^~:Cdk?M!o" type="lists_getIndex"><mutation statement="false" at="true"></mutation> <field name="MODE">GET</field> <field name="WHERE">FROM_START</field> <value name="VALUE"><block id="R/*S6Ao
ZJA%tZ-3_FJb" type="variables_get"><field name="VAR">Tag_16_17_18_19_20_21_22</field></block></value>
<value name="AT"><block id="?YpMP0IU(u8WM:CWPm9" type="math_number"><field name="NUM">2</field></block></value></block></value>
<next><block id="Mqwh]VbY8blTD7ifaz}" type="variables_set"><field name="VAR">LF</field>
<value name="VALUE"><block id=",@MC.{#ftYm4vJ{#K#;P" type="lists_getIndex"><mutation statement="false" at="true"></mutation>
<field name="MODE">GET</field>
<field name="WHERE">FROM_START</field>
<value name="VALUE"><block id="s_-XE0dIFI?94{!DBrx6" type="variables_get"><field name="VAR">Tag_16_17_18_19_20_21_22</field></block></value>
<value name="AT"><block id="_iI|.@;bVlpapdLAwPd" type="math_number"><field name="NUM">3</field></block></value></block></value></block></next></block></next></block></statement></block></xml>ist das jetzt richtig so
-
Jepp, richtig.
Jetzt wäre es schön, wenn ich Deine Version als Export bekommen könnte.
Dann könnte ich dort mit den Timeouts weiter machen.
Möchtest Du eine Benachrichtigung erhalten, wenn der Vorgang fertig ist?
Wenn Ja, was für einen Adapter hat Du installiert? (Mail, Telegramm….)