NEWS
Blockly Zähler reset spinnt
-
Hiho ich habe eine Steuerung! Finde sie nur gerade nicht wieder hier im Forum.
Die Steuerung zählt den Kanister Inhalt einer Lösung zurück von 5000ml auf null und ab 100 ml meldet die Steuerung per telegram das die Lösung nachgefüllt werden muss. Doch gibt die Steuerung diesen Wert über 20 mal aus.

Ich vermute das ein timeout nicht geschlossen ist.
Heute Abend poste ich die Steuerung. -
@paul53 hey ho
Magst du mal über unsere Steuerung gucken warum diese so viele Meldungen ausgibt !? -
@Aphofis sagte:
über unsere Steuerung gucken warum diese so viele Meldungen ausgibt !?
Welche Steuerung ? Es gab mehrere.
@paul53
Sorry so schnell war ich nun nicht!<xml xmlns="https://developers.google.com/blockly/xml"> <block type="on" id="Kql_jD{YI^5mrLu1Hv;{" x="-1812" y="-787"> <field name="OID">Aqua_Control.0.Triton.Lösung_1.Verbrauch.Triton_Lösung_1_Füllstand</field> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <statement name="STATEMENT"> <block type="controls_if" id="DaR,)=s,A|^ULPy2%[FM"> <value name="IF0"> <block type="logic_compare" id="!KF(P?x#H^c,1~Sodh}H"> <field name="OP">LTE</field> <value name="A"> <block type="convert_tonumber" id="{LZSoa`$c~#Y-a77;77."> <value name="VALUE"> <block type="get_value" id="+zp$KC,B6*YG)Yw?o}bn"> <field name="ATTR">val</field> <field name="OID">Aqua_Control.0.Triton.Lösung_1.Verbrauch.Triton_Lösung_1_Füllstand</field> </block> </value> </block> </value> <value name="B"> <block type="math_number" id="boYhq.a(y,y#[Jscz!o^"> <field name="NUM">100</field> </block> </value> </block> </value> <statement name="DO0"> <block type="schedule" id="!Q:B-2DfSDOqG1?!iq$^"> <field name="SCHEDULE">0 18 * * *</field> <statement name="STATEMENT"> <block type="control" id="OrdL/cPS%7MR_)L6m^`#"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G090LV0371040175.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text_join" id="ig:Yh+)?@/Za8yd6F(8g"> <mutation items="1"></mutation> <value name="ADD0"> <block type="text" id=")Q39z2#sCyy~Zl(BGtwJ"> <field name="TEXT">Triton Lösung 1,, hat 100 Milliliter erreicht,, Die Lösung muss nachgefüllt werden</field> </block> </value> </block> </value> <next> <block type="telegram" id="EOKFW$rxUI+r?bsg{PKg"> <field name="INSTANCE">.0</field> <field name="LOG"></field> <field name="SILENT">FALSE</field> <field name="PARSEMODE">default</field> <value name="MESSAGE"> <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="}fYL_L*}V:~I89QakQf["> <field name="TEXT">text</field> </shadow> <block type="text_join" id="-(YNO(+?uMLqgop(2Q31"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="%uh`JSHE6EYIJO?,nyt!"> <field name="TEXT">Triton Lösung 1 hat 100 Milliliter erreicht</field> </block> </value> <value name="ADD1"> <block type="text_newline" id="]OtqJ!Tr7m@Or_!{KCp4"> <field name="Type">\n</field> </block> </value> <value name="ADD2"> <block type="text" id="Y61B)zXh|99rd,d_#AMa"> <field name="TEXT">Die Lösung muss nachgefüllt werden</field> </block> </value> </block> </value> </block> </next> </block> </statement> </block> </statement> </block> </statement> </block> </xml>
-
@paul53
Sorry so schnell war ich nun nicht!<xml xmlns="https://developers.google.com/blockly/xml"> <block type="on" id="Kql_jD{YI^5mrLu1Hv;{" x="-1812" y="-787"> <field name="OID">Aqua_Control.0.Triton.Lösung_1.Verbrauch.Triton_Lösung_1_Füllstand</field> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <statement name="STATEMENT"> <block type="controls_if" id="DaR,)=s,A|^ULPy2%[FM"> <value name="IF0"> <block type="logic_compare" id="!KF(P?x#H^c,1~Sodh}H"> <field name="OP">LTE</field> <value name="A"> <block type="convert_tonumber" id="{LZSoa`$c~#Y-a77;77."> <value name="VALUE"> <block type="get_value" id="+zp$KC,B6*YG)Yw?o}bn"> <field name="ATTR">val</field> <field name="OID">Aqua_Control.0.Triton.Lösung_1.Verbrauch.Triton_Lösung_1_Füllstand</field> </block> </value> </block> </value> <value name="B"> <block type="math_number" id="boYhq.a(y,y#[Jscz!o^"> <field name="NUM">100</field> </block> </value> </block> </value> <statement name="DO0"> <block type="schedule" id="!Q:B-2DfSDOqG1?!iq$^"> <field name="SCHEDULE">0 18 * * *</field> <statement name="STATEMENT"> <block type="control" id="OrdL/cPS%7MR_)L6m^`#"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G090LV0371040175.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text_join" id="ig:Yh+)?@/Za8yd6F(8g"> <mutation items="1"></mutation> <value name="ADD0"> <block type="text" id=")Q39z2#sCyy~Zl(BGtwJ"> <field name="TEXT">Triton Lösung 1,, hat 100 Milliliter erreicht,, Die Lösung muss nachgefüllt werden</field> </block> </value> </block> </value> <next> <block type="telegram" id="EOKFW$rxUI+r?bsg{PKg"> <field name="INSTANCE">.0</field> <field name="LOG"></field> <field name="SILENT">FALSE</field> <field name="PARSEMODE">default</field> <value name="MESSAGE"> <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="}fYL_L*}V:~I89QakQf["> <field name="TEXT">text</field> </shadow> <block type="text_join" id="-(YNO(+?uMLqgop(2Q31"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="%uh`JSHE6EYIJO?,nyt!"> <field name="TEXT">Triton Lösung 1 hat 100 Milliliter erreicht</field> </block> </value> <value name="ADD1"> <block type="text_newline" id="]OtqJ!Tr7m@Or_!{KCp4"> <field name="Type">\n</field> </block> </value> <value name="ADD2"> <block type="text" id="Y61B)zXh|99rd,d_#AMa"> <field name="TEXT">Die Lösung muss nachgefüllt werden</field> </block> </value> </block> </value> </block> </next> </block> </statement> </block> </statement> </block> </statement> </block> </xml>
-
@paul53 ^So nun muss ich leider paar Tage warten, hatte gerade resettet also den Kanister neu befüllt aber eine andere Lösung müsste in den nächsten Tagen eine Meldung ausgeben.
Ist es möglich ab der ersten Meldung das Datum mit im text zu senden damit ich weiß wie viele Tage ich drüber bin wenn ich es durch die arbeit abends nicht mehr schaffe ?! Da ja jeden abend dann ab 100 ml jeder Lösung eine Meldung ausgegeben wird nur soll dann das Datum ab den ersten 100 ml mit rein! geht sowas ? -
@paul53 ^So nun muss ich leider paar Tage warten, hatte gerade resettet also den Kanister neu befüllt aber eine andere Lösung müsste in den nächsten Tagen eine Meldung ausgeben.
Ist es möglich ab der ersten Meldung das Datum mit im text zu senden damit ich weiß wie viele Tage ich drüber bin wenn ich es durch die arbeit abends nicht mehr schaffe ?! Da ja jeden abend dann ab 100 ml jeder Lösung eine Meldung ausgegeben wird nur soll dann das Datum ab den ersten 100 ml mit rein! geht sowas ? -
@Aphofis sagte:
und das nimmt dann immer das Datum von dem ersten Tag wo 100 ml erreicht sind!?
Ja, wenn das Script nicht zwischendurch neu gestartet wird. Das Telegramm wird nur am ersten Tag mit dem Datum gesendet, die Speak-Ausgabe erfolgt täglich bis nachgefüllt wird. Oder soll das Telegramm täglich gesendet werden mit dem Datum vom ersten Tag ? Dann so:

-
@Aphofis sagte:
und das nimmt dann immer das Datum von dem ersten Tag wo 100 ml erreicht sind!?
Ja, wenn das Script nicht zwischendurch neu gestartet wird. Das Telegramm wird nur am ersten Tag mit dem Datum gesendet, die Speak-Ausgabe erfolgt täglich bis nachgefüllt wird. Oder soll das Telegramm täglich gesendet werden mit dem Datum vom ersten Tag ? Dann so:

@paul53 ja soll mit dem Datum vom ersten Tag gesendet werden.
Damit ich weiß wann die 100 ml erreicht sind. da 100 ml ca 10 Tage noch reichen wieß ich dann wann es kritisch wird!
Nein das Script wird nihct neu gestartet, nur Der Raspberry sprich iobroker starten nachts um 5 jede nacht neu. Ich habe auch noch nicht herausgefunden was dafür verantwortlich ist.
Trotzdem schon mal Vielen Dank!!! -
@paul53
ist es möglich die Datums Angabe auch hier zu integrieren???<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="K.oz,4#UMgx/|!4vK/!}">Start Datum</variable> </variables> <block type="schedule" id="[H5qz$AU(jK-g*ohRGew" x="37" y="588"> <field name="SCHEDULE">0 18 * * *</field> <statement name="STATEMENT"> <block type="variables_set" id="t:07|=Y]Z5[Y{dE)b=Wr"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> <value name="VALUE"> <block type="lists_split" id="p|s;MB5#-TA#_9w0Cc6A"> <mutation mode="SPLIT"></mutation> <field name="MODE">SPLIT</field> <value name="INPUT"> <block type="get_value" id="`[ncv(,}hRD8H=@Gbbal"> <field name="ATTR">val</field> <field name="OID">Aqua_Control.0.System.Reaktoren_Datum</field> </block> </value> <value name="DELIM"> <shadow type="text" id=":E?qi1Qh:_V-7F:wfz)N"> <field name="TEXT">.</field> </shadow> </value> </block> </value> <next> <block type="variables_set" id="D_?.J%U)+DwN;%w?,H+D"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> <value name="VALUE"> <block type="text_join" id="bKmk8!W6Qfif--ETUyf;"> <mutation items="5"></mutation> <value name="ADD0"> <block type="lists_getIndex" id="EW9`4zy[fngnWwTTrz[f"> <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="8%36kyqEKIkba3QjoXFu"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> </block> </value> <value name="AT"> <block type="math_number" id="G!UqN.${lfbX?9?fC(]7"> <field name="NUM">3</field> </block> </value> </block> </value> <value name="ADD1"> <block type="text" id="175Fww}yzf/:Li=:7EFZ"> <field name="TEXT">-</field> </block> </value> <value name="ADD2"> <block type="lists_getIndex" id="7=%sMFe1TfVXiENyv])X"> <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%zI(=|@mQ$E!;xWQ53/"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> </block> </value> <value name="AT"> <block type="math_number" id="L?@Yy0.FrC|HpAD,19.:"> <field name="NUM">2</field> </block> </value> </block> </value> <value name="ADD3"> <block type="text" id=";eW0_/sun%t5@K5bJ2Nf"> <field name="TEXT">-</field> </block> </value> <value name="ADD4"> <block type="lists_getIndex" id="(khUT%*jN`U6hCz;|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="y-r;mKOl[yuUNAI9S%cx"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> </block> </value> <value name="AT"> <block type="math_number" id="^CoREjH=BLQx+w[+VBvn"> <field name="NUM">1</field> </block> </value> </block> </value> </block> </value> <next> <block type="variables_set" id="l$Ya))eB-9)DbmW`$8f]"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> <value name="VALUE"> <block type="convert_from_date" id=";sg/oP`v/X{GBst#`iwE"> <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation> <field name="OPTION">object</field> <value name="VALUE"> <block type="variables_get" id="|G[Nx#SHgEXX9z@KaO)I"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> </block> </value> </block> </value> <next> <block type="controls_if" id="(`^{GKOFHmiu=!*~V}3C"> <value name="IF0"> <block type="logic_compare" id="ICTqO:*ALjLX2g@Mo`U~"> <field name="OP">GTE</field> <value name="A"> <block type="time_get" id="v9.z:sj3U1CgjlI[pOff"> <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation> <field name="OPTION">object</field> </block> </value> <value name="B"> <block type="math_arithmetic" id=":/*YP!I6tE30OrDM_{$Y"> <field name="OP">ADD</field> <value name="A"> <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="iaLFl0tm+gwBmIB;^Fa@"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="@v*2#Igz]tqz4ae~_$Ni"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> </block> </value> <value name="B"> <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id=";@a8$1DnJrvd5G`#eIrh"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="vf6KSTN}bXy.4ntVdSfI"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="xw[OCp^B6+7i^ggq232o"> <field name="NUM">720</field> </shadow> </value> <value name="B"> <shadow type="math_number" id="JF?T)=jlgQTMcXF7V0hP"> <field name="NUM">3600000</field> </shadow> </value> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="telegram" id="?2YC.60?J)M%@bPzt_qe"> <field name="INSTANCE">.0</field> <field name="LOG"></field> <field name="SILENT">FALSE</field> <field name="PARSEMODE">default</field> <value name="MESSAGE"> <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="Ae-*h@qEA(|^L^IU-o-J"> <field name="TEXT">text</field> </shadow> <block type="text_join" id="p/`G_kh+j|GClHdd8-(,"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="JZGB0zZ;([-oQZBUb]rL"> <field name="TEXT">Reaktoren Absorber Wechsel steht an</field> </block> </value> <value name="ADD1"> <block type="text_newline" id="6__.:CFUXypx8vvV~C9,"> <field name="Type">\n</field> </block> </value> <value name="ADD2"> <block type="text" id="0T$YX467PDa]rSz$=7z!"> <field name="TEXT">Reaktoren müßen neu bestückt werden</field> </block> </value> </block> </value> <next> <block type="control" id="{)KwDaVN%@R)p;1oue!R"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G090LV0371040175.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text_join" id="DFgL?D_|.Lx#djY;*0^z"> <mutation items="1"></mutation> <value name="ADD0"> <block type="text" id="!ADXURU^temtR1(UjD5w"> <field name="TEXT">Reaktoren Absorber Wechsel steht an, Du musst,, Deine Reaktoren neu bestücken</field> </block> </value> </block> </value> <next> <block type="control" id="bztvKmxJ_0x-M8s`LVt@"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">Aqua_Control.0.VIS.Meldungen.Info</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text_join" id="yLx@~$=p(^7;}8A4;}|7"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="AYR_#o]I(3]hgGWD])^="> <field name="TEXT">Reaktoren Absorber Wechsel steht an</field> </block> </value> <value name="ADD1"> <block type="text_newline" id="iAz.I4F*nHr_Qa_dmB;]"> <field name="Type">\n</field> </block> </value> <value name="ADD2"> <block type="text" id="3k/#fXZzf#S^/MlM;`S1"> <field name="TEXT">Reaktoren müßen neu bestückt werden</field> </block> </value> </block> </value> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </xml>
-
@paul53
ist es möglich die Datums Angabe auch hier zu integrieren???<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="K.oz,4#UMgx/|!4vK/!}">Start Datum</variable> </variables> <block type="schedule" id="[H5qz$AU(jK-g*ohRGew" x="37" y="588"> <field name="SCHEDULE">0 18 * * *</field> <statement name="STATEMENT"> <block type="variables_set" id="t:07|=Y]Z5[Y{dE)b=Wr"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> <value name="VALUE"> <block type="lists_split" id="p|s;MB5#-TA#_9w0Cc6A"> <mutation mode="SPLIT"></mutation> <field name="MODE">SPLIT</field> <value name="INPUT"> <block type="get_value" id="`[ncv(,}hRD8H=@Gbbal"> <field name="ATTR">val</field> <field name="OID">Aqua_Control.0.System.Reaktoren_Datum</field> </block> </value> <value name="DELIM"> <shadow type="text" id=":E?qi1Qh:_V-7F:wfz)N"> <field name="TEXT">.</field> </shadow> </value> </block> </value> <next> <block type="variables_set" id="D_?.J%U)+DwN;%w?,H+D"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> <value name="VALUE"> <block type="text_join" id="bKmk8!W6Qfif--ETUyf;"> <mutation items="5"></mutation> <value name="ADD0"> <block type="lists_getIndex" id="EW9`4zy[fngnWwTTrz[f"> <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="8%36kyqEKIkba3QjoXFu"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> </block> </value> <value name="AT"> <block type="math_number" id="G!UqN.${lfbX?9?fC(]7"> <field name="NUM">3</field> </block> </value> </block> </value> <value name="ADD1"> <block type="text" id="175Fww}yzf/:Li=:7EFZ"> <field name="TEXT">-</field> </block> </value> <value name="ADD2"> <block type="lists_getIndex" id="7=%sMFe1TfVXiENyv])X"> <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%zI(=|@mQ$E!;xWQ53/"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> </block> </value> <value name="AT"> <block type="math_number" id="L?@Yy0.FrC|HpAD,19.:"> <field name="NUM">2</field> </block> </value> </block> </value> <value name="ADD3"> <block type="text" id=";eW0_/sun%t5@K5bJ2Nf"> <field name="TEXT">-</field> </block> </value> <value name="ADD4"> <block type="lists_getIndex" id="(khUT%*jN`U6hCz;|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="y-r;mKOl[yuUNAI9S%cx"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> </block> </value> <value name="AT"> <block type="math_number" id="^CoREjH=BLQx+w[+VBvn"> <field name="NUM">1</field> </block> </value> </block> </value> </block> </value> <next> <block type="variables_set" id="l$Ya))eB-9)DbmW`$8f]"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> <value name="VALUE"> <block type="convert_from_date" id=";sg/oP`v/X{GBst#`iwE"> <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation> <field name="OPTION">object</field> <value name="VALUE"> <block type="variables_get" id="|G[Nx#SHgEXX9z@KaO)I"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> </block> </value> </block> </value> <next> <block type="controls_if" id="(`^{GKOFHmiu=!*~V}3C"> <value name="IF0"> <block type="logic_compare" id="ICTqO:*ALjLX2g@Mo`U~"> <field name="OP">GTE</field> <value name="A"> <block type="time_get" id="v9.z:sj3U1CgjlI[pOff"> <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation> <field name="OPTION">object</field> </block> </value> <value name="B"> <block type="math_arithmetic" id=":/*YP!I6tE30OrDM_{$Y"> <field name="OP">ADD</field> <value name="A"> <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="iaLFl0tm+gwBmIB;^Fa@"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="@v*2#Igz]tqz4ae~_$Ni"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> </block> </value> <value name="B"> <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id=";@a8$1DnJrvd5G`#eIrh"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="vf6KSTN}bXy.4ntVdSfI"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="xw[OCp^B6+7i^ggq232o"> <field name="NUM">720</field> </shadow> </value> <value name="B"> <shadow type="math_number" id="JF?T)=jlgQTMcXF7V0hP"> <field name="NUM">3600000</field> </shadow> </value> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="telegram" id="?2YC.60?J)M%@bPzt_qe"> <field name="INSTANCE">.0</field> <field name="LOG"></field> <field name="SILENT">FALSE</field> <field name="PARSEMODE">default</field> <value name="MESSAGE"> <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="Ae-*h@qEA(|^L^IU-o-J"> <field name="TEXT">text</field> </shadow> <block type="text_join" id="p/`G_kh+j|GClHdd8-(,"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="JZGB0zZ;([-oQZBUb]rL"> <field name="TEXT">Reaktoren Absorber Wechsel steht an</field> </block> </value> <value name="ADD1"> <block type="text_newline" id="6__.:CFUXypx8vvV~C9,"> <field name="Type">\n</field> </block> </value> <value name="ADD2"> <block type="text" id="0T$YX467PDa]rSz$=7z!"> <field name="TEXT">Reaktoren müßen neu bestückt werden</field> </block> </value> </block> </value> <next> <block type="control" id="{)KwDaVN%@R)p;1oue!R"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G090LV0371040175.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text_join" id="DFgL?D_|.Lx#djY;*0^z"> <mutation items="1"></mutation> <value name="ADD0"> <block type="text" id="!ADXURU^temtR1(UjD5w"> <field name="TEXT">Reaktoren Absorber Wechsel steht an, Du musst,, Deine Reaktoren neu bestücken</field> </block> </value> </block> </value> <next> <block type="control" id="bztvKmxJ_0x-M8s`LVt@"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">Aqua_Control.0.VIS.Meldungen.Info</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text_join" id="yLx@~$=p(^7;}8A4;}|7"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="AYR_#o]I(3]hgGWD])^="> <field name="TEXT">Reaktoren Absorber Wechsel steht an</field> </block> </value> <value name="ADD1"> <block type="text_newline" id="iAz.I4F*nHr_Qa_dmB;]"> <field name="Type">\n</field> </block> </value> <value name="ADD2"> <block type="text" id="3k/#fXZzf#S^/MlM;`S1"> <field name="TEXT">Reaktoren müßen neu bestückt werden</field> </block> </value> </block> </value> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </xml>
-
@paul53
also so:<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="K.oz,4#UMgx/|!4vK/!}">Start Datum</variable> <variable id="=hdidY4}B|L;6..|G=D_">erster Tag</variable> <variable id="+G_CFrCr9TLsYxNuK2Kc">Datum</variable> </variables> <block type="schedule" id="[H5qz$AU(jK-g*ohRGew" x="37" y="588"> <field name="SCHEDULE">0 18 * * *</field> <statement name="STATEMENT"> <block type="variables_set" id="t:07|=Y]Z5[Y{dE)b=Wr"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> <value name="VALUE"> <block type="lists_split" id="p|s;MB5#-TA#_9w0Cc6A"> <mutation mode="SPLIT"></mutation> <field name="MODE">SPLIT</field> <value name="INPUT"> <block type="get_value" id="`[ncv(,}hRD8H=@Gbbal"> <field name="ATTR">val</field> <field name="OID">Aqua_Control.0.System.Reaktoren_Datum</field> </block> </value> <value name="DELIM"> <shadow type="text" id=":E?qi1Qh:_V-7F:wfz)N"> <field name="TEXT">.</field> </shadow> </value> </block> </value> <next> <block type="variables_set" id="D_?.J%U)+DwN;%w?,H+D"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> <value name="VALUE"> <block type="text_join" id="bKmk8!W6Qfif--ETUyf;"> <mutation items="5"></mutation> <value name="ADD0"> <block type="lists_getIndex" id="EW9`4zy[fngnWwTTrz[f"> <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="8%36kyqEKIkba3QjoXFu"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> </block> </value> <value name="AT"> <block type="math_number" id="G!UqN.${lfbX?9?fC(]7"> <field name="NUM">3</field> </block> </value> </block> </value> <value name="ADD1"> <block type="text" id="175Fww}yzf/:Li=:7EFZ"> <field name="TEXT">-</field> </block> </value> <value name="ADD2"> <block type="lists_getIndex" id="7=%sMFe1TfVXiENyv])X"> <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%zI(=|@mQ$E!;xWQ53/"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> </block> </value> <value name="AT"> <block type="math_number" id="L?@Yy0.FrC|HpAD,19.:"> <field name="NUM">2</field> </block> </value> </block> </value> <value name="ADD3"> <block type="text" id=";eW0_/sun%t5@K5bJ2Nf"> <field name="TEXT">-</field> </block> </value> <value name="ADD4"> <block type="lists_getIndex" id="(khUT%*jN`U6hCz;|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="y-r;mKOl[yuUNAI9S%cx"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> </block> </value> <value name="AT"> <block type="math_number" id="^CoREjH=BLQx+w[+VBvn"> <field name="NUM">1</field> </block> </value> </block> </value> </block> </value> <next> <block type="variables_set" id="l$Ya))eB-9)DbmW`$8f]"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> <value name="VALUE"> <block type="convert_from_date" id=";sg/oP`v/X{GBst#`iwE"> <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation> <field name="OPTION">object</field> <value name="VALUE"> <block type="variables_get" id="|G[Nx#SHgEXX9z@KaO)I"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> </block> </value> </block> </value> <next> <block type="controls_if" id="(`^{GKOFHmiu=!*~V}3C"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="ICTqO:*ALjLX2g@Mo`U~"> <field name="OP">GTE</field> <value name="A"> <block type="time_get" id="v9.z:sj3U1CgjlI[pOff"> <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation> <field name="OPTION">object</field> </block> </value> <value name="B"> <block type="math_arithmetic" id=":/*YP!I6tE30OrDM_{$Y"> <field name="OP">ADD</field> <value name="A"> <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="iaLFl0tm+gwBmIB;^Fa@"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="@v*2#Igz]tqz4ae~_$Ni"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> </block> </value> <value name="B"> <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id=";@a8$1DnJrvd5G`#eIrh"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="vf6KSTN}bXy.4ntVdSfI"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="xw[OCp^B6+7i^ggq232o"> <field name="NUM">720</field> </shadow> </value> <value name="B"> <shadow type="math_number" id="JF?T)=jlgQTMcXF7V0hP"> <field name="NUM">3600000</field> </shadow> </value> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="{)KwDaVN%@R)p;1oue!R"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G090LV0371040175.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text_join" id="DFgL?D_|.Lx#djY;*0^z"> <mutation items="1"></mutation> <value name="ADD0"> <block type="text" id="!ADXURU^temtR1(UjD5w"> <field name="TEXT">Reaktoren Absorber Wechsel steht an, Du musst,, Deine Reaktoren neu bestücken</field> </block> </value> </block> </value> <next> <block type="control" id="bztvKmxJ_0x-M8s`LVt@"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">Aqua_Control.0.VIS.Meldungen.Info</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text_join" id="yLx@~$=p(^7;}8A4;}|7"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="AYR_#o]I(3]hgGWD])^="> <field name="TEXT">Reaktoren Absorber Wechsel steht an</field> </block> </value> <value name="ADD1"> <block type="text_newline" id="iAz.I4F*nHr_Qa_dmB;]"> <field name="Type">\n</field> </block> </value> <value name="ADD2"> <block type="text" id="3k/#fXZzf#S^/MlM;`S1"> <field name="TEXT">Reaktoren müßen neu bestückt werden</field> </block> </value> </block> </value> <next> <block type="controls_if" id="/(OQbd.ZC`Lhn`/r[n!m"> <value name="IF0"> <block type="logic_negate" id="e@rn3Zf(2;@lSZnOl)Of"> <value name="BOOL"> <block type="variables_get" id="uJ$K~j9pi1foBShY?CES"> <field name="VAR" id="=hdidY4}B|L;6..|G=D_">erster Tag</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="Y#29kGTW*rsQRU42Evyc"> <field name="VAR" id="+G_CFrCr9TLsYxNuK2Kc">Datum</field> <value name="VALUE"> <block type="time_get" id="jM1q.*:.:O~0rlB,Y#MJ"> <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation> <field name="OPTION">DD.MM.</field> </block> </value> <next> <block type="variables_set" id="1=ZTTn@Uog~Xssww(7Us"> <field name="VAR" id="=hdidY4}B|L;6..|G=D_">erster Tag</field> <value name="VALUE"> <block type="logic_boolean" id="V`lxG5fb#+%5T4lp9hYE"> <field name="BOOL">TRUE</field> </block> </value> </block> </next> </block> </statement> <next> <block type="telegram" id="?2YC.60?J)M%@bPzt_qe"> <field name="INSTANCE">.0</field> <field name="LOG"></field> <field name="SILENT">FALSE</field> <field name="PARSEMODE">default</field> <value name="MESSAGE"> <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="Ae-*h@qEA(|^L^IU-o-J"> <field name="TEXT">text</field> </shadow> <block type="text_join" id="p/`G_kh+j|GClHdd8-(,"> <mutation items="6"></mutation> <value name="ADD0"> <block type="text" id="JZGB0zZ;([-oQZBUb]rL"> <field name="TEXT">Reaktoren Absorber Wechsel steht an</field> </block> </value> <value name="ADD1"> <block type="text_newline" id="6__.:CFUXypx8vvV~C9,"> <field name="Type">\n</field> </block> </value> <value name="ADD2"> <block type="text" id="_%u7ANuZ^]KYvO4dkQ`s"> <field name="TEXT">Wechsel steht seid dem: </field> </block> </value> <value name="ADD3"> <block type="variables_get" id="lU/G,/@iO?~s]rvkYJ^V"> <field name="VAR" id="+G_CFrCr9TLsYxNuK2Kc">Datum</field> </block> </value> <value name="ADD4"> <block type="text" id="3doJLLAR1#4K[AebE[.O"> <field name="TEXT"> an</field> </block> </value> <value name="ADD5"> <block type="text" id="0T$YX467PDa]rSz$=7z!"> <field name="TEXT">Reaktoren müßen neu bestückt werden</field> </block> </value> </block> </value> </block> </next> </block> </next> </block> </next> </block> </statement> <statement name="ELSE"> <block type="variables_set" id="Nm/JI$blRQ#]EgIsmMl7"> <field name="VAR" id="=hdidY4}B|L;6..|G=D_">erster Tag</field> <value name="VALUE"> <block type="logic_boolean" id="NqGA;/7*k%!AtTj|6w@w"> <field name="BOOL">FALSE</field> </block> </value> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </xml> -
@paul53
also so:<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="K.oz,4#UMgx/|!4vK/!}">Start Datum</variable> <variable id="=hdidY4}B|L;6..|G=D_">erster Tag</variable> <variable id="+G_CFrCr9TLsYxNuK2Kc">Datum</variable> </variables> <block type="schedule" id="[H5qz$AU(jK-g*ohRGew" x="37" y="588"> <field name="SCHEDULE">0 18 * * *</field> <statement name="STATEMENT"> <block type="variables_set" id="t:07|=Y]Z5[Y{dE)b=Wr"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> <value name="VALUE"> <block type="lists_split" id="p|s;MB5#-TA#_9w0Cc6A"> <mutation mode="SPLIT"></mutation> <field name="MODE">SPLIT</field> <value name="INPUT"> <block type="get_value" id="`[ncv(,}hRD8H=@Gbbal"> <field name="ATTR">val</field> <field name="OID">Aqua_Control.0.System.Reaktoren_Datum</field> </block> </value> <value name="DELIM"> <shadow type="text" id=":E?qi1Qh:_V-7F:wfz)N"> <field name="TEXT">.</field> </shadow> </value> </block> </value> <next> <block type="variables_set" id="D_?.J%U)+DwN;%w?,H+D"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> <value name="VALUE"> <block type="text_join" id="bKmk8!W6Qfif--ETUyf;"> <mutation items="5"></mutation> <value name="ADD0"> <block type="lists_getIndex" id="EW9`4zy[fngnWwTTrz[f"> <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="8%36kyqEKIkba3QjoXFu"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> </block> </value> <value name="AT"> <block type="math_number" id="G!UqN.${lfbX?9?fC(]7"> <field name="NUM">3</field> </block> </value> </block> </value> <value name="ADD1"> <block type="text" id="175Fww}yzf/:Li=:7EFZ"> <field name="TEXT">-</field> </block> </value> <value name="ADD2"> <block type="lists_getIndex" id="7=%sMFe1TfVXiENyv])X"> <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%zI(=|@mQ$E!;xWQ53/"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> </block> </value> <value name="AT"> <block type="math_number" id="L?@Yy0.FrC|HpAD,19.:"> <field name="NUM">2</field> </block> </value> </block> </value> <value name="ADD3"> <block type="text" id=";eW0_/sun%t5@K5bJ2Nf"> <field name="TEXT">-</field> </block> </value> <value name="ADD4"> <block type="lists_getIndex" id="(khUT%*jN`U6hCz;|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="y-r;mKOl[yuUNAI9S%cx"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> </block> </value> <value name="AT"> <block type="math_number" id="^CoREjH=BLQx+w[+VBvn"> <field name="NUM">1</field> </block> </value> </block> </value> </block> </value> <next> <block type="variables_set" id="l$Ya))eB-9)DbmW`$8f]"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> <value name="VALUE"> <block type="convert_from_date" id=";sg/oP`v/X{GBst#`iwE"> <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation> <field name="OPTION">object</field> <value name="VALUE"> <block type="variables_get" id="|G[Nx#SHgEXX9z@KaO)I"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> </block> </value> </block> </value> <next> <block type="controls_if" id="(`^{GKOFHmiu=!*~V}3C"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="ICTqO:*ALjLX2g@Mo`U~"> <field name="OP">GTE</field> <value name="A"> <block type="time_get" id="v9.z:sj3U1CgjlI[pOff"> <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation> <field name="OPTION">object</field> </block> </value> <value name="B"> <block type="math_arithmetic" id=":/*YP!I6tE30OrDM_{$Y"> <field name="OP">ADD</field> <value name="A"> <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="iaLFl0tm+gwBmIB;^Fa@"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="@v*2#Igz]tqz4ae~_$Ni"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> </block> </value> <value name="B"> <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id=";@a8$1DnJrvd5G`#eIrh"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="vf6KSTN}bXy.4ntVdSfI"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="xw[OCp^B6+7i^ggq232o"> <field name="NUM">720</field> </shadow> </value> <value name="B"> <shadow type="math_number" id="JF?T)=jlgQTMcXF7V0hP"> <field name="NUM">3600000</field> </shadow> </value> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="{)KwDaVN%@R)p;1oue!R"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G090LV0371040175.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text_join" id="DFgL?D_|.Lx#djY;*0^z"> <mutation items="1"></mutation> <value name="ADD0"> <block type="text" id="!ADXURU^temtR1(UjD5w"> <field name="TEXT">Reaktoren Absorber Wechsel steht an, Du musst,, Deine Reaktoren neu bestücken</field> </block> </value> </block> </value> <next> <block type="control" id="bztvKmxJ_0x-M8s`LVt@"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">Aqua_Control.0.VIS.Meldungen.Info</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text_join" id="yLx@~$=p(^7;}8A4;}|7"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="AYR_#o]I(3]hgGWD])^="> <field name="TEXT">Reaktoren Absorber Wechsel steht an</field> </block> </value> <value name="ADD1"> <block type="text_newline" id="iAz.I4F*nHr_Qa_dmB;]"> <field name="Type">\n</field> </block> </value> <value name="ADD2"> <block type="text" id="3k/#fXZzf#S^/MlM;`S1"> <field name="TEXT">Reaktoren müßen neu bestückt werden</field> </block> </value> </block> </value> <next> <block type="controls_if" id="/(OQbd.ZC`Lhn`/r[n!m"> <value name="IF0"> <block type="logic_negate" id="e@rn3Zf(2;@lSZnOl)Of"> <value name="BOOL"> <block type="variables_get" id="uJ$K~j9pi1foBShY?CES"> <field name="VAR" id="=hdidY4}B|L;6..|G=D_">erster Tag</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="Y#29kGTW*rsQRU42Evyc"> <field name="VAR" id="+G_CFrCr9TLsYxNuK2Kc">Datum</field> <value name="VALUE"> <block type="time_get" id="jM1q.*:.:O~0rlB,Y#MJ"> <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation> <field name="OPTION">DD.MM.</field> </block> </value> <next> <block type="variables_set" id="1=ZTTn@Uog~Xssww(7Us"> <field name="VAR" id="=hdidY4}B|L;6..|G=D_">erster Tag</field> <value name="VALUE"> <block type="logic_boolean" id="V`lxG5fb#+%5T4lp9hYE"> <field name="BOOL">TRUE</field> </block> </value> </block> </next> </block> </statement> <next> <block type="telegram" id="?2YC.60?J)M%@bPzt_qe"> <field name="INSTANCE">.0</field> <field name="LOG"></field> <field name="SILENT">FALSE</field> <field name="PARSEMODE">default</field> <value name="MESSAGE"> <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="Ae-*h@qEA(|^L^IU-o-J"> <field name="TEXT">text</field> </shadow> <block type="text_join" id="p/`G_kh+j|GClHdd8-(,"> <mutation items="6"></mutation> <value name="ADD0"> <block type="text" id="JZGB0zZ;([-oQZBUb]rL"> <field name="TEXT">Reaktoren Absorber Wechsel steht an</field> </block> </value> <value name="ADD1"> <block type="text_newline" id="6__.:CFUXypx8vvV~C9,"> <field name="Type">\n</field> </block> </value> <value name="ADD2"> <block type="text" id="_%u7ANuZ^]KYvO4dkQ`s"> <field name="TEXT">Wechsel steht seid dem: </field> </block> </value> <value name="ADD3"> <block type="variables_get" id="lU/G,/@iO?~s]rvkYJ^V"> <field name="VAR" id="+G_CFrCr9TLsYxNuK2Kc">Datum</field> </block> </value> <value name="ADD4"> <block type="text" id="3doJLLAR1#4K[AebE[.O"> <field name="TEXT"> an</field> </block> </value> <value name="ADD5"> <block type="text" id="0T$YX467PDa]rSz$=7z!"> <field name="TEXT">Reaktoren müßen neu bestückt werden</field> </block> </value> </block> </value> </block> </next> </block> </next> </block> </next> </block> </statement> <statement name="ELSE"> <block type="variables_set" id="Nm/JI$blRQ#]EgIsmMl7"> <field name="VAR" id="=hdidY4}B|L;6..|G=D_">erster Tag</field> <value name="VALUE"> <block type="logic_boolean" id="NqGA;/7*k%!AtTj|6w@w"> <field name="BOOL">FALSE</field> </block> </value> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </xml> -
@paul53
Also Telegram gibt das Datum korrekt aus! nur Alexa sagt das Datum nicht, woran kann das liegen?@Aphofis sagte:
nur Alexa sagt das Datum nicht, woran kann das liegen?
Ich sehe nicht, dass das Datum an Alexa übergeben wird. Wenn die Alexa-Ausgabe so erweitert wird, muss Alexa aufgerufen werden, nachdem das Datum in die Variable datum geschrieben wurde.
-
@Aphofis sagte:
nur Alexa sagt das Datum nicht, woran kann das liegen?
Ich sehe nicht, dass das Datum an Alexa übergeben wird. Wenn die Alexa-Ausgabe so erweitert wird, muss Alexa aufgerufen werden, nachdem das Datum in die Variable datum geschrieben wurde.
@paul53 ups Sorry
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="K.oz,4#UMgx/|!4vK/!}">Start Datum</variable> <variable id="=hdidY4}B|L;6..|G=D_">erster Tag</variable> <variable id="+G_CFrCr9TLsYxNuK2Kc">Datum</variable> </variables> <block type="schedule" id="[H5qz$AU(jK-g*ohRGew" x="37" y="588"> <field name="SCHEDULE">0 18 * * *</field> <statement name="STATEMENT"> <block type="variables_set" id="t:07|=Y]Z5[Y{dE)b=Wr"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> <value name="VALUE"> <block type="lists_split" id="p|s;MB5#-TA#_9w0Cc6A"> <mutation mode="SPLIT"></mutation> <field name="MODE">SPLIT</field> <value name="INPUT"> <block type="get_value" id="`[ncv(,}hRD8H=@Gbbal"> <field name="ATTR">val</field> <field name="OID">Aqua_Control.0.System.Reaktoren_Datum</field> </block> </value> <value name="DELIM"> <shadow type="text" id=":E?qi1Qh:_V-7F:wfz)N"> <field name="TEXT">.</field> </shadow> </value> </block> </value> <next> <block type="variables_set" id="D_?.J%U)+DwN;%w?,H+D"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> <value name="VALUE"> <block type="text_join" id="bKmk8!W6Qfif--ETUyf;"> <mutation items="5"></mutation> <value name="ADD0"> <block type="lists_getIndex" id="EW9`4zy[fngnWwTTrz[f"> <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="8%36kyqEKIkba3QjoXFu"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> </block> </value> <value name="AT"> <block type="math_number" id="G!UqN.${lfbX?9?fC(]7"> <field name="NUM">3</field> </block> </value> </block> </value> <value name="ADD1"> <block type="text" id="175Fww}yzf/:Li=:7EFZ"> <field name="TEXT">-</field> </block> </value> <value name="ADD2"> <block type="lists_getIndex" id="7=%sMFe1TfVXiENyv])X"> <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%zI(=|@mQ$E!;xWQ53/"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> </block> </value> <value name="AT"> <block type="math_number" id="L?@Yy0.FrC|HpAD,19.:"> <field name="NUM">2</field> </block> </value> </block> </value> <value name="ADD3"> <block type="text" id=";eW0_/sun%t5@K5bJ2Nf"> <field name="TEXT">-</field> </block> </value> <value name="ADD4"> <block type="lists_getIndex" id="(khUT%*jN`U6hCz;|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="y-r;mKOl[yuUNAI9S%cx"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> </block> </value> <value name="AT"> <block type="math_number" id="^CoREjH=BLQx+w[+VBvn"> <field name="NUM">1</field> </block> </value> </block> </value> </block> </value> <next> <block type="variables_set" id="l$Ya))eB-9)DbmW`$8f]"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> <value name="VALUE"> <block type="convert_from_date" id=";sg/oP`v/X{GBst#`iwE"> <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation> <field name="OPTION">object</field> <value name="VALUE"> <block type="variables_get" id="|G[Nx#SHgEXX9z@KaO)I"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> </block> </value> </block> </value> <next> <block type="controls_if" id="(`^{GKOFHmiu=!*~V}3C"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="ICTqO:*ALjLX2g@Mo`U~"> <field name="OP">GTE</field> <value name="A"> <block type="time_get" id="v9.z:sj3U1CgjlI[pOff"> <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation> <field name="OPTION">object</field> </block> </value> <value name="B"> <block type="math_arithmetic" id=":/*YP!I6tE30OrDM_{$Y"> <field name="OP">ADD</field> <value name="A"> <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="iaLFl0tm+gwBmIB;^Fa@"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="@v*2#Igz]tqz4ae~_$Ni"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> </block> </value> <value name="B"> <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id=";@a8$1DnJrvd5G`#eIrh"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="vf6KSTN}bXy.4ntVdSfI"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="xw[OCp^B6+7i^ggq232o"> <field name="NUM">720</field> </shadow> </value> <value name="B"> <shadow type="math_number" id="JF?T)=jlgQTMcXF7V0hP"> <field name="NUM">3600000</field> </shadow> </value> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="{)KwDaVN%@R)p;1oue!R"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G090LV0371040175.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text_join" id="DFgL?D_|.Lx#djY;*0^z"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="!ADXURU^temtR1(UjD5w"> <field name="TEXT">Reaktoren Absorber Wechsel steht seid dem,,</field> </block> </value> <value name="ADD1"> <block type="variables_get" id="J=0tV1{ud=lca,7DB6+L"> <field name="VAR" id="+G_CFrCr9TLsYxNuK2Kc">Datum</field> </block> </value> <value name="ADD2"> <block type="text" id="FS#QNqjv.,hMV2kf*YZU"> <field name="TEXT"> an,, Du musst,, Deine Reaktoren neu bestücken</field> </block> </value> </block> </value> <next> <block type="control" id="bztvKmxJ_0x-M8s`LVt@"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">Aqua_Control.0.VIS.Meldungen.Info</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text_join" id="yLx@~$=p(^7;}8A4;}|7"> <mutation items="5"></mutation> <value name="ADD0"> <block type="text" id="AYR_#o]I(3]hgGWD])^="> <field name="TEXT">Reaktoren Absorber Wechsel steht seid dem </field> </block> </value> <value name="ADD1"> <block type="text_newline" id="iAz.I4F*nHr_Qa_dmB;]"> <field name="Type">\n</field> </block> </value> <value name="ADD2"> <block type="variables_get" id="moO?0hiF?607[@F#[Zuk"> <field name="VAR" id="+G_CFrCr9TLsYxNuK2Kc">Datum</field> </block> </value> <value name="ADD3"> <block type="text" id="Z4/g17s5*8l[qDMtw~G7"> <field name="TEXT"> an</field> </block> </value> <value name="ADD4"> <block type="text" id="3k/#fXZzf#S^/MlM;`S1"> <field name="TEXT">Reaktoren müßen neu bestückt werden</field> </block> </value> </block> </value> <next> <block type="controls_if" id="/(OQbd.ZC`Lhn`/r[n!m"> <value name="IF0"> <block type="logic_negate" id="e@rn3Zf(2;@lSZnOl)Of"> <value name="BOOL"> <block type="variables_get" id="uJ$K~j9pi1foBShY?CES"> <field name="VAR" id="=hdidY4}B|L;6..|G=D_">erster Tag</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="Y#29kGTW*rsQRU42Evyc"> <field name="VAR" id="+G_CFrCr9TLsYxNuK2Kc">Datum</field> <value name="VALUE"> <block type="time_get" id="jM1q.*:.:O~0rlB,Y#MJ"> <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation> <field name="OPTION">DD.MM.</field> </block> </value> <next> <block type="variables_set" id="1=ZTTn@Uog~Xssww(7Us"> <field name="VAR" id="=hdidY4}B|L;6..|G=D_">erster Tag</field> <value name="VALUE"> <block type="logic_boolean" id="V`lxG5fb#+%5T4lp9hYE"> <field name="BOOL">TRUE</field> </block> </value> </block> </next> </block> </statement> <next> <block type="telegram" id="?2YC.60?J)M%@bPzt_qe"> <field name="INSTANCE">.0</field> <field name="LOG"></field> <field name="SILENT">FALSE</field> <field name="PARSEMODE">default</field> <value name="MESSAGE"> <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="Ae-*h@qEA(|^L^IU-o-J"> <field name="TEXT">text</field> </shadow> <block type="text_join" id="p/`G_kh+j|GClHdd8-(,"> <mutation items="6"></mutation> <value name="ADD0"> <block type="text" id="JZGB0zZ;([-oQZBUb]rL"> <field name="TEXT">Reaktoren Absorber Wechsel steht seid dem</field> </block> </value> <value name="ADD1"> <block type="text_newline" id="6__.:CFUXypx8vvV~C9,"> <field name="Type">\n</field> </block> </value> <value name="ADD2"> <block type="variables_get" id="lU/G,/@iO?~s]rvkYJ^V"> <field name="VAR" id="+G_CFrCr9TLsYxNuK2Kc">Datum</field> </block> </value> <value name="ADD3"> <block type="text" id="3doJLLAR1#4K[AebE[.O"> <field name="TEXT"> an</field> </block> </value> <value name="ADD4"> <block type="text_newline" id="FExw[XZ@~t^r(mcZUQ]}"> <field name="Type">\n</field> </block> </value> <value name="ADD5"> <block type="text" id="0T$YX467PDa]rSz$=7z!"> <field name="TEXT">Reaktoren müßen neu bestückt werden</field> </block> </value> </block> </value> </block> </next> </block> </next> </block> </next> </block> </statement> <statement name="ELSE"> <block type="variables_set" id="Nm/JI$blRQ#]EgIsmMl7"> <field name="VAR" id="=hdidY4}B|L;6..|G=D_">erster Tag</field> <value name="VALUE"> <block type="logic_boolean" id="NqGA;/7*k%!AtTj|6w@w"> <field name="BOOL">FALSE</field> </block> </value> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </xml> -
@paul53 ups Sorry
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="K.oz,4#UMgx/|!4vK/!}">Start Datum</variable> <variable id="=hdidY4}B|L;6..|G=D_">erster Tag</variable> <variable id="+G_CFrCr9TLsYxNuK2Kc">Datum</variable> </variables> <block type="schedule" id="[H5qz$AU(jK-g*ohRGew" x="37" y="588"> <field name="SCHEDULE">0 18 * * *</field> <statement name="STATEMENT"> <block type="variables_set" id="t:07|=Y]Z5[Y{dE)b=Wr"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> <value name="VALUE"> <block type="lists_split" id="p|s;MB5#-TA#_9w0Cc6A"> <mutation mode="SPLIT"></mutation> <field name="MODE">SPLIT</field> <value name="INPUT"> <block type="get_value" id="`[ncv(,}hRD8H=@Gbbal"> <field name="ATTR">val</field> <field name="OID">Aqua_Control.0.System.Reaktoren_Datum</field> </block> </value> <value name="DELIM"> <shadow type="text" id=":E?qi1Qh:_V-7F:wfz)N"> <field name="TEXT">.</field> </shadow> </value> </block> </value> <next> <block type="variables_set" id="D_?.J%U)+DwN;%w?,H+D"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> <value name="VALUE"> <block type="text_join" id="bKmk8!W6Qfif--ETUyf;"> <mutation items="5"></mutation> <value name="ADD0"> <block type="lists_getIndex" id="EW9`4zy[fngnWwTTrz[f"> <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="8%36kyqEKIkba3QjoXFu"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> </block> </value> <value name="AT"> <block type="math_number" id="G!UqN.${lfbX?9?fC(]7"> <field name="NUM">3</field> </block> </value> </block> </value> <value name="ADD1"> <block type="text" id="175Fww}yzf/:Li=:7EFZ"> <field name="TEXT">-</field> </block> </value> <value name="ADD2"> <block type="lists_getIndex" id="7=%sMFe1TfVXiENyv])X"> <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%zI(=|@mQ$E!;xWQ53/"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> </block> </value> <value name="AT"> <block type="math_number" id="L?@Yy0.FrC|HpAD,19.:"> <field name="NUM">2</field> </block> </value> </block> </value> <value name="ADD3"> <block type="text" id=";eW0_/sun%t5@K5bJ2Nf"> <field name="TEXT">-</field> </block> </value> <value name="ADD4"> <block type="lists_getIndex" id="(khUT%*jN`U6hCz;|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="y-r;mKOl[yuUNAI9S%cx"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> </block> </value> <value name="AT"> <block type="math_number" id="^CoREjH=BLQx+w[+VBvn"> <field name="NUM">1</field> </block> </value> </block> </value> </block> </value> <next> <block type="variables_set" id="l$Ya))eB-9)DbmW`$8f]"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> <value name="VALUE"> <block type="convert_from_date" id=";sg/oP`v/X{GBst#`iwE"> <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation> <field name="OPTION">object</field> <value name="VALUE"> <block type="variables_get" id="|G[Nx#SHgEXX9z@KaO)I"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> </block> </value> </block> </value> <next> <block type="controls_if" id="(`^{GKOFHmiu=!*~V}3C"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="ICTqO:*ALjLX2g@Mo`U~"> <field name="OP">GTE</field> <value name="A"> <block type="time_get" id="v9.z:sj3U1CgjlI[pOff"> <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation> <field name="OPTION">object</field> </block> </value> <value name="B"> <block type="math_arithmetic" id=":/*YP!I6tE30OrDM_{$Y"> <field name="OP">ADD</field> <value name="A"> <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="iaLFl0tm+gwBmIB;^Fa@"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="@v*2#Igz]tqz4ae~_$Ni"> <field name="VAR" id="K.oz,4#UMgx/|!4vK/!}">Start Datum</field> </block> </value> <value name="B"> <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id=";@a8$1DnJrvd5G`#eIrh"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="vf6KSTN}bXy.4ntVdSfI"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="xw[OCp^B6+7i^ggq232o"> <field name="NUM">720</field> </shadow> </value> <value name="B"> <shadow type="math_number" id="JF?T)=jlgQTMcXF7V0hP"> <field name="NUM">3600000</field> </shadow> </value> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="{)KwDaVN%@R)p;1oue!R"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G090LV0371040175.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text_join" id="DFgL?D_|.Lx#djY;*0^z"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="!ADXURU^temtR1(UjD5w"> <field name="TEXT">Reaktoren Absorber Wechsel steht seid dem,,</field> </block> </value> <value name="ADD1"> <block type="variables_get" id="J=0tV1{ud=lca,7DB6+L"> <field name="VAR" id="+G_CFrCr9TLsYxNuK2Kc">Datum</field> </block> </value> <value name="ADD2"> <block type="text" id="FS#QNqjv.,hMV2kf*YZU"> <field name="TEXT"> an,, Du musst,, Deine Reaktoren neu bestücken</field> </block> </value> </block> </value> <next> <block type="control" id="bztvKmxJ_0x-M8s`LVt@"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">Aqua_Control.0.VIS.Meldungen.Info</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text_join" id="yLx@~$=p(^7;}8A4;}|7"> <mutation items="5"></mutation> <value name="ADD0"> <block type="text" id="AYR_#o]I(3]hgGWD])^="> <field name="TEXT">Reaktoren Absorber Wechsel steht seid dem </field> </block> </value> <value name="ADD1"> <block type="text_newline" id="iAz.I4F*nHr_Qa_dmB;]"> <field name="Type">\n</field> </block> </value> <value name="ADD2"> <block type="variables_get" id="moO?0hiF?607[@F#[Zuk"> <field name="VAR" id="+G_CFrCr9TLsYxNuK2Kc">Datum</field> </block> </value> <value name="ADD3"> <block type="text" id="Z4/g17s5*8l[qDMtw~G7"> <field name="TEXT"> an</field> </block> </value> <value name="ADD4"> <block type="text" id="3k/#fXZzf#S^/MlM;`S1"> <field name="TEXT">Reaktoren müßen neu bestückt werden</field> </block> </value> </block> </value> <next> <block type="controls_if" id="/(OQbd.ZC`Lhn`/r[n!m"> <value name="IF0"> <block type="logic_negate" id="e@rn3Zf(2;@lSZnOl)Of"> <value name="BOOL"> <block type="variables_get" id="uJ$K~j9pi1foBShY?CES"> <field name="VAR" id="=hdidY4}B|L;6..|G=D_">erster Tag</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="Y#29kGTW*rsQRU42Evyc"> <field name="VAR" id="+G_CFrCr9TLsYxNuK2Kc">Datum</field> <value name="VALUE"> <block type="time_get" id="jM1q.*:.:O~0rlB,Y#MJ"> <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation> <field name="OPTION">DD.MM.</field> </block> </value> <next> <block type="variables_set" id="1=ZTTn@Uog~Xssww(7Us"> <field name="VAR" id="=hdidY4}B|L;6..|G=D_">erster Tag</field> <value name="VALUE"> <block type="logic_boolean" id="V`lxG5fb#+%5T4lp9hYE"> <field name="BOOL">TRUE</field> </block> </value> </block> </next> </block> </statement> <next> <block type="telegram" id="?2YC.60?J)M%@bPzt_qe"> <field name="INSTANCE">.0</field> <field name="LOG"></field> <field name="SILENT">FALSE</field> <field name="PARSEMODE">default</field> <value name="MESSAGE"> <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="Ae-*h@qEA(|^L^IU-o-J"> <field name="TEXT">text</field> </shadow> <block type="text_join" id="p/`G_kh+j|GClHdd8-(,"> <mutation items="6"></mutation> <value name="ADD0"> <block type="text" id="JZGB0zZ;([-oQZBUb]rL"> <field name="TEXT">Reaktoren Absorber Wechsel steht seid dem</field> </block> </value> <value name="ADD1"> <block type="text_newline" id="6__.:CFUXypx8vvV~C9,"> <field name="Type">\n</field> </block> </value> <value name="ADD2"> <block type="variables_get" id="lU/G,/@iO?~s]rvkYJ^V"> <field name="VAR" id="+G_CFrCr9TLsYxNuK2Kc">Datum</field> </block> </value> <value name="ADD3"> <block type="text" id="3doJLLAR1#4K[AebE[.O"> <field name="TEXT"> an</field> </block> </value> <value name="ADD4"> <block type="text_newline" id="FExw[XZ@~t^r(mcZUQ]}"> <field name="Type">\n</field> </block> </value> <value name="ADD5"> <block type="text" id="0T$YX467PDa]rSz$=7z!"> <field name="TEXT">Reaktoren müßen neu bestückt werden</field> </block> </value> </block> </value> </block> </next> </block> </next> </block> </next> </block> </statement> <statement name="ELSE"> <block type="variables_set" id="Nm/JI$blRQ#]EgIsmMl7"> <field name="VAR" id="=hdidY4}B|L;6..|G=D_">erster Tag</field> <value name="VALUE"> <block type="logic_boolean" id="NqGA;/7*k%!AtTj|6w@w"> <field name="BOOL">FALSE</field> </block> </value> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </xml>


