NEWS
Zeitplan löst nicht aus
-
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable type="cron" id="schedule1">schedule1</variable> <variable type="cron" id="schedule2">schedule2</variable> </variables> <block type="comment" id="+b;o$$PA4kQ|=OI)1!HB" x="87" y="88"> <field name="COMMENT">Blumen gießen "grün"</field> <next> <block type="schedule_create" id="l4-Ova`NDEBSh#.?uq(`"> <field name="NAME">schedule1</field> <value name="SCHEDULE"> <shadow type="field_cron" id="#m4#Jf|77_Qm/mu,A=F~"> <field name="CRON">* * * * *</field> </shadow> <block type="field_cron" id="D?f8Q7^Y)O:3MwQo7Cy_"> <field name="CRON">1 0 * * *</field> </block> </value> <statement name="STATEMENT"> <block type="toggle" id="-zPgABLZI8~dmWDlBPw5"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">javascript.0.Eigene_Datenpunkte.jeder_zweite_Tag</field> <field name="WITH_DELAY">FALSE</field> </block> </statement> <next> <block type="on" id="~!O!N7pRu$%Jy;*YMGF,"> <field name="OID">javascript.0.Eigene_Datenpunkte.jeder_zweite_Tag</field> <field name="CONDITION">true</field> <field name="ACK_CONDITION"></field> <statement name="STATEMENT"> <block type="schedule_create" id="ZpcNVql6=:Pp,{@lasQ4"> <field name="NAME">schedule2</field> <value name="SCHEDULE"> <shadow type="field_cron" id="n?)qnD~3lFB/eGP.c7)["> <field name="CRON">* * * * *</field> </shadow> <block type="cron_builder" id="eg1?t~eWJ;r,s1mzR8,P"> <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="g6CemM7@[VFKY=sgk.6x"> <field name="TEXT">*</field> </shadow> </value> <value name="MONTHS"> <shadow type="text" id="orv5UA?ReH$DK86hK})l"> <field name="TEXT">*</field> </shadow> </value> <value name="DAYS"> <shadow type="text" id="GdTE4W+Nc:Kad%W.e(rW"> <field name="TEXT">*</field> </shadow> </value> <value name="HOURS"> <shadow type="text" id="au9o?Jgt7_)#QhgdKO1-"> <field name="TEXT"></field> </shadow> <block type="text" id="|1Q4*AK):|.2te.k;b;G"> <field name="TEXT">17</field> </block> </value> <value name="MINUTES"> <shadow type="text" id="Wk9_QhEk%,4`j5t6^n.W"> <field name="TEXT">*</field> </shadow> <block type="text" id="AQd81@)x#,+9`oSpR/F`"> <field name="TEXT">00</field> </block> </value> </block> </value> <statement name="STATEMENT"> <block type="control" id="IoW*or]ne}S0bH!a0phi"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">hue.0.Info-Leuchte.command</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="bUK#^q*_[;(P6_!=yB*`"> <field name="TEXT">{"on":true,"level":100,"r":0,"g":255,"b":0,"transitiontime":1}</field> </block> </value> <next> <block type="control" id="^yUy}MyeWZ?*7a[lp,Mq"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">alexa2.0.Echo-Devices.G2A1B5031146019T.Commands.speak</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">2</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="text" id="kLk/_2#2*q.(cb3FATig"> <field name="TEXT">Heute müssen die Blumen gegossen werden, das grüne Licht erinnert dich daran!</field> </block> </value> <next> <block type="control" id="%cpfkcgZKTm559LH54f$"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">whatsapp-cmb.0.sendMessage</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">3</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="text" id="^-_Ap4cO-[D,6{]OGV!{"> <field name="TEXT">Heute Blumen gießen :)</field> </block> </value> <next> <block type="control" id="nK4:Yw6eP4{HeQNiX{os"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">whatsapp-cmb.1.sendMessage</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">4</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="text" id="D}%Z,R!g6avFfJ~[04js"> <field name="TEXT">Heute Blumen gießen :)</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </statement> </block> </next> </block> </next> </block> </xml>
-
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable type="cron" id="schedule1">schedule1</variable> <variable type="cron" id="schedule2">schedule2</variable> </variables> <block type="comment" id="+b;o$$PA4kQ|=OI)1!HB" x="87" y="88"> <field name="COMMENT">Blumen gießen "grün"</field> <next> <block type="schedule_create" id="l4-Ova`NDEBSh#.?uq(`"> <field name="NAME">schedule1</field> <value name="SCHEDULE"> <shadow type="field_cron" id="#m4#Jf|77_Qm/mu,A=F~"> <field name="CRON">* * * * *</field> </shadow> <block type="field_cron" id="D?f8Q7^Y)O:3MwQo7Cy_"> <field name="CRON">1 0 * * *</field> </block> </value> <statement name="STATEMENT"> <block type="toggle" id="-zPgABLZI8~dmWDlBPw5"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">javascript.0.Eigene_Datenpunkte.jeder_zweite_Tag</field> <field name="WITH_DELAY">FALSE</field> </block> </statement> <next> <block type="on" id="~!O!N7pRu$%Jy;*YMGF,"> <field name="OID">javascript.0.Eigene_Datenpunkte.jeder_zweite_Tag</field> <field name="CONDITION">true</field> <field name="ACK_CONDITION"></field> <statement name="STATEMENT"> <block type="schedule_create" id="ZpcNVql6=:Pp,{@lasQ4"> <field name="NAME">schedule2</field> <value name="SCHEDULE"> <shadow type="field_cron" id="n?)qnD~3lFB/eGP.c7)["> <field name="CRON">* * * * *</field> </shadow> <block type="cron_builder" id="eg1?t~eWJ;r,s1mzR8,P"> <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="g6CemM7@[VFKY=sgk.6x"> <field name="TEXT">*</field> </shadow> </value> <value name="MONTHS"> <shadow type="text" id="orv5UA?ReH$DK86hK})l"> <field name="TEXT">*</field> </shadow> </value> <value name="DAYS"> <shadow type="text" id="GdTE4W+Nc:Kad%W.e(rW"> <field name="TEXT">*</field> </shadow> </value> <value name="HOURS"> <shadow type="text" id="au9o?Jgt7_)#QhgdKO1-"> <field name="TEXT"></field> </shadow> <block type="text" id="|1Q4*AK):|.2te.k;b;G"> <field name="TEXT">17</field> </block> </value> <value name="MINUTES"> <shadow type="text" id="Wk9_QhEk%,4`j5t6^n.W"> <field name="TEXT">*</field> </shadow> <block type="text" id="AQd81@)x#,+9`oSpR/F`"> <field name="TEXT">00</field> </block> </value> </block> </value> <statement name="STATEMENT"> <block type="control" id="IoW*or]ne}S0bH!a0phi"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">hue.0.Info-Leuchte.command</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="bUK#^q*_[;(P6_!=yB*`"> <field name="TEXT">{"on":true,"level":100,"r":0,"g":255,"b":0,"transitiontime":1}</field> </block> </value> <next> <block type="control" id="^yUy}MyeWZ?*7a[lp,Mq"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">alexa2.0.Echo-Devices.G2A1B5031146019T.Commands.speak</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">2</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="text" id="kLk/_2#2*q.(cb3FATig"> <field name="TEXT">Heute müssen die Blumen gegossen werden, das grüne Licht erinnert dich daran!</field> </block> </value> <next> <block type="control" id="%cpfkcgZKTm559LH54f$"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">whatsapp-cmb.0.sendMessage</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">3</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="text" id="^-_Ap4cO-[D,6{]OGV!{"> <field name="TEXT">Heute Blumen gießen :)</field> </block> </value> <next> <block type="control" id="nK4:Yw6eP4{HeQNiX{os"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">whatsapp-cmb.1.sendMessage</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">4</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="text" id="D}%Z,R!g6avFfJ~[04js"> <field name="TEXT">Heute Blumen gießen :)</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </statement> </block> </next> </block> </next> </block> </xml>
-
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable type="cron" id="schedule1">schedule1</variable> <variable type="cron" id="schedule2">schedule2</variable> </variables> <block type="comment" id="+b;o$$PA4kQ|=OI)1!HB" x="87" y="88"> <field name="COMMENT">Blumen gießen "grün"</field> <next> <block type="schedule_create" id="l4-Ova`NDEBSh#.?uq(`"> <field name="NAME">schedule1</field> <value name="SCHEDULE"> <shadow type="field_cron" id="#m4#Jf|77_Qm/mu,A=F~"> <field name="CRON">* * * * *</field> </shadow> <block type="field_cron" id="D?f8Q7^Y)O:3MwQo7Cy_"> <field name="CRON">1 0 * * *</field> </block> </value> <statement name="STATEMENT"> <block type="toggle" id="-zPgABLZI8~dmWDlBPw5"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">javascript.0.Eigene_Datenpunkte.jeder_zweite_Tag</field> <field name="WITH_DELAY">FALSE</field> </block> </statement> <next> <block type="on" id="~!O!N7pRu$%Jy;*YMGF,"> <field name="OID">javascript.0.Eigene_Datenpunkte.jeder_zweite_Tag</field> <field name="CONDITION">true</field> <field name="ACK_CONDITION"></field> <statement name="STATEMENT"> <block type="schedule_create" id="ZpcNVql6=:Pp,{@lasQ4"> <field name="NAME">schedule2</field> <value name="SCHEDULE"> <shadow type="field_cron" id="n?)qnD~3lFB/eGP.c7)["> <field name="CRON">* * * * *</field> </shadow> <block type="cron_builder" id="eg1?t~eWJ;r,s1mzR8,P"> <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="g6CemM7@[VFKY=sgk.6x"> <field name="TEXT">*</field> </shadow> </value> <value name="MONTHS"> <shadow type="text" id="orv5UA?ReH$DK86hK})l"> <field name="TEXT">*</field> </shadow> </value> <value name="DAYS"> <shadow type="text" id="GdTE4W+Nc:Kad%W.e(rW"> <field name="TEXT">*</field> </shadow> </value> <value name="HOURS"> <shadow type="text" id="au9o?Jgt7_)#QhgdKO1-"> <field name="TEXT"></field> </shadow> <block type="text" id="|1Q4*AK):|.2te.k;b;G"> <field name="TEXT">17</field> </block> </value> <value name="MINUTES"> <shadow type="text" id="Wk9_QhEk%,4`j5t6^n.W"> <field name="TEXT">*</field> </shadow> <block type="text" id="AQd81@)x#,+9`oSpR/F`"> <field name="TEXT">00</field> </block> </value> </block> </value> <statement name="STATEMENT"> <block type="control" id="IoW*or]ne}S0bH!a0phi"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">hue.0.Info-Leuchte.command</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="bUK#^q*_[;(P6_!=yB*`"> <field name="TEXT">{"on":true,"level":100,"r":0,"g":255,"b":0,"transitiontime":1}</field> </block> </value> <next> <block type="control" id="^yUy}MyeWZ?*7a[lp,Mq"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">alexa2.0.Echo-Devices.G2A1B5031146019T.Commands.speak</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">2</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="text" id="kLk/_2#2*q.(cb3FATig"> <field name="TEXT">Heute müssen die Blumen gegossen werden, das grüne Licht erinnert dich daran!</field> </block> </value> <next> <block type="control" id="%cpfkcgZKTm559LH54f$"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">whatsapp-cmb.0.sendMessage</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">3</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="text" id="^-_Ap4cO-[D,6{]OGV!{"> <field name="TEXT">Heute Blumen gießen :)</field> </block> </value> <next> <block type="control" id="nK4:Yw6eP4{HeQNiX{os"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">whatsapp-cmb.1.sendMessage</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">4</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="text" id="D}%Z,R!g6avFfJ~[04js"> <field name="TEXT">Heute Blumen gießen :)</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </statement> </block> </next> </block> </next> </block> </xml>
-
-
@paul53 super vielen Dank, es funktioniert.
ich würde gerne daraus lernen... was macht denn ""Wert" von ObjektID "...Datenpunkt...""? -
@lukas8519 sagte: was macht denn ""Wert" von ObjektID "...Datenpunkt...""?
Liest den Wert aus dem Datenpunkt. Wenn der Wert wahr ist, wird der mache-Zweig ausgeführt.
Einfachere Version mit nur einem Zeitplan:
-
@paul53 also ist das das gleiche wie:
aber "wert" wartet immer auf "wahr"?
-
@lukas8519 sagte: ist das das gleiche wie:
Ja, das Ergebnis eines Vergleiches ist falsch oder wahr. Da der Datenpunkt es schon so liefert ...
-
@paul53 ich danke dir!
-
@paul53 sagte in Zeitplan löst nicht aus:
@lukas8519 sagte: ist das das gleiche wie:
Ja, das Ergebnis eines Vergleiches ist falsch oder wahr. Da der Datenpunkt es schon so liefert ...
aber in diesem Fall: würde er dann trotzdem nur bei "wahr" auslösen, oder auch bei "falsch"?
-
@lukas8519 sagte: würde er dann trotzdem nur bei "wahr" auslösen
Der mache-Zweig wird nur ausgeführt, wenn falls wahr übergeben bekommt.
-
@paul53 okay, nochmals danke!