NEWS
[Blockly] Weihnachtsbeleuchtung nach Datum
-
Kann mir jemand helfen und sagen, was in meinem Script verkehrt läuft?
Es schaltet sich nicht ein.<xml xmlns="http://www.w3.org/1999/xhtml"> <variables> <variable type="undefined" id="schedule">schedule</variable> </variables> <block type="comment" id=".J]XiV-_kWVahw=OB|dn" x="-787" y="-562"> <field name="COMMENT">https://forum.iobroker.net/topic/20633/blockly-script-jedes-jahr-zu-einer-bestimmten-zeit-ausf%C3%BChren/6</field> <next> <block type="schedule_create" id="Z6Hwd@yMMk@t/-??iff?"> <field name="NAME">schedule</field> <value name="SCHEDULE"> <shadow type="field_cron" id="$@Rt?s)VzsN-+)--M,K1"> <field name="CRON">* * * * *</field> </shadow> <block type="cron_builder" id="+nm3R/+m1R9WR#k8h^r)"> <mutation seconds="false" as_line="false"></mutation> <field name="LINE">FALSE</field> <field name="WITH_SECONDS">FALSE</field> <value name="DOW"> <shadow type="text" id="|7=w+5HiA|e=t?#5E@{M"> <field name="TEXT">*</field> </shadow> </value> <value name="MONTHS"> <shadow type="text" id="_TUa#=Ln6Xz1yC?(|mw-"> <field name="TEXT">11</field> </shadow> </value> <value name="DAYS"> <shadow type="text" id="|vzAfDCHz~0I={H.8wGt"> <field name="TEXT">17</field> </shadow> </value> <value name="HOURS"> <shadow type="text" id="M7ojTDy*x:#-W~IKcV)v"> <field name="TEXT">*</field> </shadow> </value> <value name="MINUTES"> <shadow type="text" id="OT+sDPg4gJ!Lgwi0twA*"> <field name="TEXT">*</field> </shadow> </value> </block> </value> <statement name="STATEMENT"> <block type="controls_if" id="sh5dCo1p.5v_xi,-j78J"> <value name="IF0"> <block type="logic_operation" id="Pn]=QtU6K{4Q?4ps=9lz" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="#`P4i-^Iz.T#ky6@5N9D"> <field name="OP">GTE</field> <value name="A"> <block type="time_get" id="0n]5XeG46W?GBukNSv/0"> <mutation format="false" language="false"></mutation> <field name="OPTION">MM/DD</field> </block> </value> <value name="B"> <block type="text" id="44Qi1L.DOF2!~XaO/hD`"> <field name="TEXT">11/17</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="a$CaG}o|46Wusz97$+V*"> <field name="OP">LTE</field> <value name="A"> <block type="time_get" id=")I2@?eo7JVep{}D$nfL^"> <mutation format="false" language="false"></mutation> <field name="OPTION">MM/DD</field> </block> </value> <value name="B"> <block type="text" id="azgRgrk6cR$JNN^Zh.2E"> <field name="TEXT">01/10</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="comment" id="]3P/6nt+cLbI`KR046%Q"> <field name="COMMENT">Schaltet die Beleuchtung Abends automatisch ein, wenn jamand nach Hause kommt.</field> <next> <block type="astro" id="^qf9c8@:NCX%*^{v;EVt"> <field name="TYPE">sunset</field> <field name="OFFSET">0</field> <statement name="STATEMENT"> <block type="debug" id="QFwD?x]@IRF[UT_IIO!j"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="hE@{srGz1[X[lCM5Uwn^"> <field name="TEXT">Nun wird Licht eingeschaltet!</field> </shadow> </value> <next> <block type="control" id="?Ep6k)Zw,3IoI|rSGW{n"> <mutation delay_input="true"></mutation> <field name="OID">hm-rpc.0.NEQ1316057.4.STATE</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="logic_boolean" id="fV,#X`Q:u1NCS^_dZHo["> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id="qdUX9U@OGi)SXdcG1H1N"> <mutation delay_input="true"></mutation> <field name="OID">sonoff.0.Terrasse1.POWER1</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">2000</field> <field name="UNIT">ms</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="!o5BpH7*BvYlvM11@:el"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="telegram" id="LemUQ,sM{zL+2f50CC?y"> <field name="INSTANCE">.0</field> <field name="LOG">log</field> <field name="SILENT">FALSE</field> <field name="PARSEMODE">default</field> <value name="MESSAGE"> <shadow type="text" id="q:!H|av]Uy6YK{H)mg~B"> <field name="TEXT">Weihnachtsbeleuchtung an</field> </shadow> </value> </block> </next> </block> </next> </block> </next> </block> </statement> <next> <block type="schedule" id="#ZqPV4t5+dTCDVPZ}xAT"> <field name="SCHEDULE">0 23 * * *</field> <statement name="STATEMENT"> <block type="control" id="c:m=e;w1]3~c3*)(7#k0"> <mutation delay_input="true"></mutation> <field name="OID">hm-rpc.0.NEQ1316057.4.STATE</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="logic_boolean" id="[-,:l#uZAQtu+xWDu(dR"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="control" id="pjQ}~{W%My!|c_GLCQ0k"> <mutation delay_input="true"></mutation> <field name="OID">sonoff.0.Terrasse1.POWER1</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">2000</field> <field name="UNIT">ms</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="/^~W=a2~AE8#P,o_c(C*"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="telegram" id="5P:F4p+~G{nLJ`=t/G#,"> <field name="INSTANCE">.0</field> <field name="LOG">log</field> <field name="SILENT">FALSE</field> <field name="PARSEMODE">default</field> <value name="MESSAGE"> <shadow type="text" id="jx+0:r/2yP@=c0oc}E}y"> <field name="TEXT">Weihnachtsbeleuchtung aus</field> </shadow> </value> </block> </next> </block> </next> </block> </statement> <next> <block type="schedule" id="`r7+,^(;Jo.cXRoh_K^/"> <field name="SCHEDULE">0 5 * * *</field> <statement name="STATEMENT"> <block type="debug" id="l7N?aM[_raaqn~@D*CZ;"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="TH2[w,30Hg~kAvq#~KMG"> <field name="TEXT">Nun wird Licht eingeschaltet!</field> </shadow> </value> <next> <block type="control" id="OiSNz(2hu.A!3%q:E[EP"> <mutation delay_input="true"></mutation> <field name="OID">hm-rpc.0.NEQ1316057.4.STATE</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="logic_boolean" id="^OY#mr(U;+ptn5-RFMey"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id="v959i}shE9F~p(Q4e.?]"> <mutation delay_input="true"></mutation> <field name="OID">sonoff.0.Terrasse1.POWER1</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">2000</field> <field name="UNIT">ms</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="wf@k`q{RrBIO4mp(vP7S"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="telegram" id="Z{njMV5xMvVjQ,:ddqiy"> <field name="INSTANCE">.0</field> <field name="LOG">log</field> <field name="SILENT">FALSE</field> <field name="PARSEMODE">default</field> <value name="MESSAGE"> <shadow type="text" id="keG;a#gn+QGk,@fUQXJm"> <field name="TEXT">Weihnachtsbeleuchtung an</field> </shadow> </value> </block> </next> </block> </next> </block> </next> </block> </statement> <next> <block type="schedule" id="aY[sUVWTrOP0uujSBDct"> <field name="SCHEDULE">15 7 * * *</field> <statement name="STATEMENT"> <block type="control" id=",@=JxMRZJTRO1/BHE*|q"> <mutation delay_input="true"></mutation> <field name="OID">hm-rpc.0.NEQ1316057.4.STATE</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="logic_boolean" id="8SJwasB{tF}~CFy;}~X}"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="control" id="D%NwBs`gwcx6dS{R`XiN"> <mutation delay_input="true"></mutation> <field name="OID">sonoff.0.Terrasse1.POWER1</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">2000</field> <field name="UNIT">ms</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="52p46zCQxlg9X)*)m9VE"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="telegram" id="pi;np|-}:E@]V@i7;Qtu"> <field name="INSTANCE">.0</field> <field name="LOG">log</field> <field name="SILENT">FALSE</field> <field name="PARSEMODE">default</field> <value name="MESSAGE"> <shadow type="text" id="?fL`g%B~1u58M#00V!Uf"> <field name="TEXT">Weihnachtsbeleuchtung aus</field> </shadow> </value> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </statement> </block> </next> </block> </xml>

-
Kann mir jemand helfen und sagen, was in meinem Script verkehrt läuft?
Es schaltet sich nicht ein.<xml xmlns="http://www.w3.org/1999/xhtml"> <variables> <variable type="undefined" id="schedule">schedule</variable> </variables> <block type="comment" id=".J]XiV-_kWVahw=OB|dn" x="-787" y="-562"> <field name="COMMENT">https://forum.iobroker.net/topic/20633/blockly-script-jedes-jahr-zu-einer-bestimmten-zeit-ausf%C3%BChren/6</field> <next> <block type="schedule_create" id="Z6Hwd@yMMk@t/-??iff?"> <field name="NAME">schedule</field> <value name="SCHEDULE"> <shadow type="field_cron" id="$@Rt?s)VzsN-+)--M,K1"> <field name="CRON">* * * * *</field> </shadow> <block type="cron_builder" id="+nm3R/+m1R9WR#k8h^r)"> <mutation seconds="false" as_line="false"></mutation> <field name="LINE">FALSE</field> <field name="WITH_SECONDS">FALSE</field> <value name="DOW"> <shadow type="text" id="|7=w+5HiA|e=t?#5E@{M"> <field name="TEXT">*</field> </shadow> </value> <value name="MONTHS"> <shadow type="text" id="_TUa#=Ln6Xz1yC?(|mw-"> <field name="TEXT">11</field> </shadow> </value> <value name="DAYS"> <shadow type="text" id="|vzAfDCHz~0I={H.8wGt"> <field name="TEXT">17</field> </shadow> </value> <value name="HOURS"> <shadow type="text" id="M7ojTDy*x:#-W~IKcV)v"> <field name="TEXT">*</field> </shadow> </value> <value name="MINUTES"> <shadow type="text" id="OT+sDPg4gJ!Lgwi0twA*"> <field name="TEXT">*</field> </shadow> </value> </block> </value> <statement name="STATEMENT"> <block type="controls_if" id="sh5dCo1p.5v_xi,-j78J"> <value name="IF0"> <block type="logic_operation" id="Pn]=QtU6K{4Q?4ps=9lz" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="#`P4i-^Iz.T#ky6@5N9D"> <field name="OP">GTE</field> <value name="A"> <block type="time_get" id="0n]5XeG46W?GBukNSv/0"> <mutation format="false" language="false"></mutation> <field name="OPTION">MM/DD</field> </block> </value> <value name="B"> <block type="text" id="44Qi1L.DOF2!~XaO/hD`"> <field name="TEXT">11/17</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="a$CaG}o|46Wusz97$+V*"> <field name="OP">LTE</field> <value name="A"> <block type="time_get" id=")I2@?eo7JVep{}D$nfL^"> <mutation format="false" language="false"></mutation> <field name="OPTION">MM/DD</field> </block> </value> <value name="B"> <block type="text" id="azgRgrk6cR$JNN^Zh.2E"> <field name="TEXT">01/10</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="comment" id="]3P/6nt+cLbI`KR046%Q"> <field name="COMMENT">Schaltet die Beleuchtung Abends automatisch ein, wenn jamand nach Hause kommt.</field> <next> <block type="astro" id="^qf9c8@:NCX%*^{v;EVt"> <field name="TYPE">sunset</field> <field name="OFFSET">0</field> <statement name="STATEMENT"> <block type="debug" id="QFwD?x]@IRF[UT_IIO!j"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="hE@{srGz1[X[lCM5Uwn^"> <field name="TEXT">Nun wird Licht eingeschaltet!</field> </shadow> </value> <next> <block type="control" id="?Ep6k)Zw,3IoI|rSGW{n"> <mutation delay_input="true"></mutation> <field name="OID">hm-rpc.0.NEQ1316057.4.STATE</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="logic_boolean" id="fV,#X`Q:u1NCS^_dZHo["> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id="qdUX9U@OGi)SXdcG1H1N"> <mutation delay_input="true"></mutation> <field name="OID">sonoff.0.Terrasse1.POWER1</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">2000</field> <field name="UNIT">ms</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="!o5BpH7*BvYlvM11@:el"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="telegram" id="LemUQ,sM{zL+2f50CC?y"> <field name="INSTANCE">.0</field> <field name="LOG">log</field> <field name="SILENT">FALSE</field> <field name="PARSEMODE">default</field> <value name="MESSAGE"> <shadow type="text" id="q:!H|av]Uy6YK{H)mg~B"> <field name="TEXT">Weihnachtsbeleuchtung an</field> </shadow> </value> </block> </next> </block> </next> </block> </next> </block> </statement> <next> <block type="schedule" id="#ZqPV4t5+dTCDVPZ}xAT"> <field name="SCHEDULE">0 23 * * *</field> <statement name="STATEMENT"> <block type="control" id="c:m=e;w1]3~c3*)(7#k0"> <mutation delay_input="true"></mutation> <field name="OID">hm-rpc.0.NEQ1316057.4.STATE</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="logic_boolean" id="[-,:l#uZAQtu+xWDu(dR"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="control" id="pjQ}~{W%My!|c_GLCQ0k"> <mutation delay_input="true"></mutation> <field name="OID">sonoff.0.Terrasse1.POWER1</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">2000</field> <field name="UNIT">ms</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="/^~W=a2~AE8#P,o_c(C*"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="telegram" id="5P:F4p+~G{nLJ`=t/G#,"> <field name="INSTANCE">.0</field> <field name="LOG">log</field> <field name="SILENT">FALSE</field> <field name="PARSEMODE">default</field> <value name="MESSAGE"> <shadow type="text" id="jx+0:r/2yP@=c0oc}E}y"> <field name="TEXT">Weihnachtsbeleuchtung aus</field> </shadow> </value> </block> </next> </block> </next> </block> </statement> <next> <block type="schedule" id="`r7+,^(;Jo.cXRoh_K^/"> <field name="SCHEDULE">0 5 * * *</field> <statement name="STATEMENT"> <block type="debug" id="l7N?aM[_raaqn~@D*CZ;"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="TH2[w,30Hg~kAvq#~KMG"> <field name="TEXT">Nun wird Licht eingeschaltet!</field> </shadow> </value> <next> <block type="control" id="OiSNz(2hu.A!3%q:E[EP"> <mutation delay_input="true"></mutation> <field name="OID">hm-rpc.0.NEQ1316057.4.STATE</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="logic_boolean" id="^OY#mr(U;+ptn5-RFMey"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id="v959i}shE9F~p(Q4e.?]"> <mutation delay_input="true"></mutation> <field name="OID">sonoff.0.Terrasse1.POWER1</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">2000</field> <field name="UNIT">ms</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="wf@k`q{RrBIO4mp(vP7S"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="telegram" id="Z{njMV5xMvVjQ,:ddqiy"> <field name="INSTANCE">.0</field> <field name="LOG">log</field> <field name="SILENT">FALSE</field> <field name="PARSEMODE">default</field> <value name="MESSAGE"> <shadow type="text" id="keG;a#gn+QGk,@fUQXJm"> <field name="TEXT">Weihnachtsbeleuchtung an</field> </shadow> </value> </block> </next> </block> </next> </block> </next> </block> </statement> <next> <block type="schedule" id="aY[sUVWTrOP0uujSBDct"> <field name="SCHEDULE">15 7 * * *</field> <statement name="STATEMENT"> <block type="control" id=",@=JxMRZJTRO1/BHE*|q"> <mutation delay_input="true"></mutation> <field name="OID">hm-rpc.0.NEQ1316057.4.STATE</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="logic_boolean" id="8SJwasB{tF}~CFy;}~X}"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="control" id="D%NwBs`gwcx6dS{R`XiN"> <mutation delay_input="true"></mutation> <field name="OID">sonoff.0.Terrasse1.POWER1</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">2000</field> <field name="UNIT">ms</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="52p46zCQxlg9X)*)m9VE"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="telegram" id="pi;np|-}:E@]V@i7;Qtu"> <field name="INSTANCE">.0</field> <field name="LOG">log</field> <field name="SILENT">FALSE</field> <field name="PARSEMODE">default</field> <value name="MESSAGE"> <shadow type="text" id="?fL`g%B~1u58M#00V!Uf"> <field name="TEXT">Weihnachtsbeleuchtung aus</field> </shadow> </value> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </statement> </block> </next> </block> </xml>

-
Hab ich gemacht.
Schaltet jetzt wahrscheinlich nicht weil Sonnenuntergang ja schon vorbei ist.
Probier ich dann mal morgen aus.Nochmals vielen Dank!
-
@Superdad schalte doch den/die Datenpunkte manuell ein, dann solltest Du zumindest schon mal den Ausschaltzeitpunkt testen können ...der muss eigentlich ohne wenn und aber funktionieren

-
Habe heute das Phänomen, dass die Weihnachtsbeleuchtung nicht eingeschalten hat.
Kann das mit dem Datum zusammen hängen?
Heute ist ja der 01.12. -
Sorry, aber das versteh ich nicht ganz.
Wieso nur der 1. -16. Dezember?
Was ist nach dem 16. Dezember?@Superdad nach meinem Verständnis ergibt das bisherige Script ein "true"-Datum in den Monaten 11 und 12 jeweils ab dem 17. .... nicht wie erhofft ab dem 17.11. und den ganzen Dezember . Es fehlt somit der 01. - 16. Dezember
Im neuen Script haben wir nun den November ab dem 17, oder den ganzen Dezember, oder den Januar bis zum 10.
-
Hallo, @BBTown ,
würdest Du Dir mal dieses Blockly anschauen. Habe das heute geändert, meines hat nicht funktioniert.
<block xmlns="http://www.w3.org/1999/xhtml" id="Maqx,i1%viWIsix{-_ui" type="schedule" y="-187" x="-1687"> <field name="SCHEDULE">0 8,18 * * *</field> <statement name="STATEMENT"> <block id="-V[zgWaB+Ux=T(4pvBXQ" type="controls_if"> <value name="IF0"> <block id="IW1%E_qYGt-;,Sr,-+y-" type="logic_operation" inline="false"> <field name="OP">AND</field> <value name="A"> <block id="7t`/0PVniOj^btX}l#D_" type="logic_operation" inline="false"> <field name="OP">OR</field> <value name="A"> <block id="nIt];269_l@)?e^TrQ$J" type="logic_operation" inline="false"> <field name="OP">AND</field> <value name="A"> <block id="3=|^nIV4b`TK7B(%rqHY" type="logic_compare"> <field name="OP">GT</field> <value name="A"> <block id="$,1I0-~6DZ$ZkkREuuDN" type="time_get"> <mutation language="false" format="false"></mutation> <field name="OPTION">wd</field> </block> </value> <value name="B"> <block id="K7?TyeS4Kf=[t+@5UK[*" type="math_number"> <field name="NUM">5</field> </block> </value> </block> </value> <value name="B"> <block id="cWSJ~;Hmr).*l5e!Lu$=" type="logic_operation" inline="false"> <field name="OP">AND</field> <value name="A"> <block id=",t|P%rkN?xU9Z[SRe]57" type="time_compare_ex"> <mutation actual_time="true" end_time="true"></mutation> <field name="USE_ACTUAL_TIME">TRUE</field> <field name="OPTION">between</field> <value name="START_TIME"> <shadow id="G$`(Pcq/+iGaXEPF^M{A" type="text"> <field name="TEXT">08:00</field> </shadow> </value> <value name="END_TIME"> <shadow id="`idhm:N+md?vE{!G}sZZ" type="text"> <field name="TEXT">22:00</field> </shadow> </value> </block> </value> <value name="B"> <block id="@eQ^+e=KQgeLK8is$%L(" type="logic_operation" inline="false"> <field name="OP">AND</field> <value name="A"> <block id="yqb?=i@isdZ`(tw5*U)Y" type="logic_compare"> <field name="OP">GTE</field> <value name="A"> <block id="$Tw!0Minp4x(h|f?w%~n" type="time_get"> <mutation language="false" format="false"></mutation> <field name="OPTION">d</field> </block> </value> <value name="B"> <block id="e(RLV,[N/$,Gq^I9?`#6" type="math_number"> <field name="NUM">25</field> </block> </value> </block> </value> <value name="B"> <block id="kA3B9RSE)lu)SWh_i)Zz" type="logic_compare"> <field name="OP">GT</field> <value name="A"> <block id="M-e*kYt)=G/%9y;T:l5%" type="time_get"> <mutation language="false" format="false"></mutation> <field name="OPTION">M</field> </block> </value> <value name="B"> <block id="hcznVI6p^VCGA;Il[8!F" type="math_number"> <field name="NUM">10</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> <value name="B"> <block id="/j2ZfO=5Y_R/D*)32H%N" type="logic_operation" inline="false"> <field name="OP">AND</field> <value name="A"> <block id="nESG?B#xXk2:6^9uYxdi" type="logic_compare"> <field name="OP">LT</field> <value name="A"> <block id="3t~J6Y|?v`;rJf(ZP[`N" type="time_get"> <mutation language="false" format="false"></mutation> <field name="OPTION">wd</field> </block> </value> <value name="B"> <block id="ccR+#irzQVJ@6K,1u}4+" type="math_number"> <field name="NUM">6</field> </block> </value> </block> </value> <value name="B"> <block id="-s$l4rw-VJ2K=JZv3,GO" type="logic_operation" inline="false"> <field name="OP">AND</field> <value name="A"> <block id="gB{O9S@EP5gNk7~|Z.p0" type="time_compare_ex"> <mutation actual_time="true" end_time="true"></mutation> <field name="USE_ACTUAL_TIME">TRUE</field> <field name="OPTION">between</field> <value name="START_TIME"> <shadow id="LLI`@Rw=[1$F$df5c7)%" type="text"> <field name="TEXT">1800</field> </shadow> </value> <value name="END_TIME"> <shadow id="#Bh+jseb??yNd}}H=VGd" type="text"> <field name="TEXT">22:00</field> </shadow> </value> </block> </value> <value name="B"> <block id="Im;4A3S*M$+:d)j=(Cu#" type="logic_operation" inline="false"> <field name="OP">AND</field> <value name="A"> <block id="i1h?:6Apln-2[2n;k9Gz" type="logic_compare"> <field name="OP">GTE</field> <value name="A"> <block id="X;B]ZPErVC=.Rt=Pgmak" type="time_get"> <mutation language="false" format="false"></mutation> <field name="OPTION">d</field> </block> </value> <value name="B"> <block id="vtt7NvDc92sd`i|99Sc," type="math_number"> <field name="NUM">25</field> </block> </value> </block> </value> <value name="B"> <block id="hJkY!p^~*M~0(mp-N2hD" type="logic_compare"> <field name="OP">GT</field> <value name="A"> <block id="%Mc02Uq?q.*ypIUjl#EM" type="time_get"> <mutation language="false" format="false"></mutation> <field name="OPTION">M</field> </block> </value> <value name="B"> <block id="~hsjX#dEI}GJ:k2Qs$S@" type="math_number"> <field name="NUM">10</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> <value name="B"> <block id="|P2~Aw4!7Dqe%~,FF_y{" type="logic_operation" inline="false"> <field name="OP">OR</field> <value name="A"> <block id="-5FEg.sRZ1|wsG]vyx=U" type="logic_operation" inline="false"> <field name="OP">AND</field> <value name="A"> <block id="uF9b0=|/on8w:3?lVt_V" type="logic_compare"> <field name="OP">GT</field> <value name="A"> <block id="`R*W#8f5CMbT6LyIyXD0" type="time_get"> <mutation language="false" format="false"></mutation> <field name="OPTION">wd</field> </block> </value> <value name="B"> <block id="KDNOO:-IL!VnV%:_3lcJ" type="math_number"> <field name="NUM">5</field> </block> </value> </block> </value> <value name="B"> <block id="huHGSD`Z:8_/.!sF5PvS" type="logic_operation" inline="false"> <field name="OP">AND</field> <value name="A"> <block id="?`q+sHUyk({#GmRZke{0" type="time_compare_ex"> <mutation actual_time="true" end_time="true"></mutation> <field name="USE_ACTUAL_TIME">TRUE</field> <field name="OPTION">between</field> <value name="START_TIME"> <shadow id="2+:_:W63s[?5QI^2{Ymp" type="text"> <field name="TEXT">08:00</field> </shadow> </value> <value name="END_TIME"> <shadow id="o0dea}0[Tw[bS7ER@#]2" type="text"> <field name="TEXT">22:00</field> </shadow> </value> </block> </value> <value name="B"> <block id="ZUT*s$H!Tk=:2$LPNpB/" type="logic_operation" inline="false"> <field name="OP">AND</field> <value name="A"> <block id="2V7BImOFp@6Kp`Gc]b+n" type="logic_compare"> <field name="OP">LTE</field> <value name="A"> <block id="T~cZ2)6VTO.NKxY(WqDf" type="time_get"> <mutation language="false" format="false"></mutation> <field name="OPTION">d</field> </block> </value> <value name="B"> <block id="MBXR#y,aX.|fMBaH5uRv" type="math_number"> <field name="NUM">10</field> </block> </value> </block> </value> <value name="B"> <block id="/ug;u072!?zC$OOC[bbp" type="logic_compare"> <field name="OP">LT</field> <value name="A"> <block id=":p](V:I_tE+)69,b}e)v" type="time_get"> <mutation language="false" format="false"></mutation> <field name="OPTION">M</field> </block> </value> <value name="B"> <block id="e%+Y2[w6],0*I/M5%@kH" type="math_number"> <field name="NUM">2</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> <value name="B"> <block id=".My=T2qR$!6m-@5aas35" type="logic_operation" inline="false"> <field name="OP">AND</field> <value name="A"> <block id="%u?bHCkku{jvwjNWENw8" type="logic_compare"> <field name="OP">LT</field> <value name="A"> <block id="N)z!UHds[b3!89a8Cvga" type="time_get"> <mutation language="false" format="false"></mutation> <field name="OPTION">wd</field> </block> </value> <value name="B"> <block id="z!QT^WFY[(PV~sBV}Vs)" type="math_number"> <field name="NUM">6</field> </block> </value> </block> </value> <value name="B"> <block id="rh,[/M?UJBoS6ifnp+*U" type="logic_operation" inline="false"> <field name="OP">AND</field> <value name="A"> <block id="mA%luupV!~V/(~|;]0X_" type="time_compare_ex"> <mutation actual_time="true" end_time="true"></mutation> <field name="USE_ACTUAL_TIME">TRUE</field> <field name="OPTION">between</field> <value name="START_TIME"> <shadow id="`wEapmZ9twAYkL@N:K4w" type="text"> <field name="TEXT">1800</field> </shadow> </value> <value name="END_TIME"> <shadow id="9F6n|Oa,dSV]dC/j`wZC" type="text"> <field name="TEXT">22:00</field> </shadow> </value> </block> </value> <value name="B"> <block id="gHle31CmSKV98MgYp`W_" type="logic_operation" inline="false"> <field name="OP">AND</field> <value name="A"> <block id="1$HLehU!K8L-wEN{~z:e" type="logic_compare"> <field name="OP">LTE</field> <value name="A"> <block id="0ZV4/AZH,w[eUQ*]*UGd" type="time_get"> <mutation language="false" format="false"></mutation> <field name="OPTION">d</field> </block> </value> <value name="B"> <block id="(=U2d_3%mF2|tbJ.fEb1" type="math_number"> <field name="NUM">10</field> </block> </value> </block> </value> <value name="B"> <block id="{tU6t(|HJTC#tY=*`$,b" type="logic_compare"> <field name="OP">LT</field> <value name="A"> <block id="?Q%1XN8E9+B%^QZSAEci" type="time_get"> <mutation language="false" format="false"></mutation> <field name="OPTION">M</field> </block> </value> <value name="B"> <block id="xHX%#SAJMU!)RLM!J,6[" type="math_number"> <field name="NUM">2</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block id="A:/8ME2UchfO$ZK-J/=." type="controls_if"> <mutation else="1"></mutation> <value name="IF0"> <block id="f3P5Y@:Zr;z(D1t:PGc~" type="logic_compare"> <field name="OP">EQ</field> <value name="A"> <block id="dk)XiD:{GBA3uFB{bTn9" type="get_value"> <field name="ATTR">val</field> <field name="OID">admin.0.Anwesenheit</field> </block> </value> <value name="B"> <block id="@oB1@pJ4PH@Y$/|d|O;n" type="logic_boolean"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO0"> <block id="l}m3h0T66oHez{WA-8Nd" type="control"> <mutation delay_input="false"></mutation> <field name="OID">hm-rega.0.32710.ProgramExecute</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block id="$4%EJp5K9*L{QYWz$EE2" type="logic_boolean"> <field name="BOOL">TRUE</field> </block> </value> <next> <block id="raVSaEfKJQeC6FP~s)#Y" type="control"> <mutation delay_input="true"></mutation> <field name="OID">hm-rega.0.32710.ProgramExecute</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">10000</field> <field name="UNIT">ms</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block id=".0GQ/f+njr01wnVr=|/+" type="logic_boolean"> <field name="BOOL">FALSE</field> </block> </value> </block> </next> </block> </statement> <statement name="ELSE"> <block id="@~$=QH~0/R.rLJVlw,n]" type="control"> <mutation delay_input="false"></mutation> <field name="OID">hm-rega.0.32739.ProgramExecute</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block id="Jx1cmB85;f(X`,y(/6UV" type="logic_boolean"> <field name="BOOL">TRUE</field> </block> </value> <next> <block id="1ET#yT=rV_zMHL0cBa^~" type="control"> <mutation delay_input="true"></mutation> <field name="OID">hm-rega.0.32739.ProgramExecute</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">10000</field> <field name="UNIT">ms</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block id="7t(Krj!DVue=[9aYD?r(" type="logic_boolean"> <field name="BOOL">FALSE</field> </block> </value> </block> </next> </block> </statement> </block> </statement> </block> </statement> </block>Ich möchte gern, dass zwischen dem 25.11. und dem 10.01. das Blockly am Wochentag um 18:00 und am Wochenende um 08.00 die Weihnachtsbeleuchtung einschaltet. Dabei soll die Beleuchtung nur eingeschaltet werden, wenn die Anwesenheit auf wahr steht. Bisher schaltet das Script nur um 08:00 Uhr. Egal ob Wochentag oder Wochenende.
Edit: Sorry, gerade noch einmal neu eingefügt.
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


