Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Blockly Zähler reset spinnt

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Blockly Zähler reset spinnt

    This topic has been deleted. Only users with topic management privileges can see it.
    • Aphofis
      Aphofis @paul53 last edited by Aphofis

      @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!!!

      1 Reply Last reply Reply Quote 0
      • Aphofis
        Aphofis last edited by

        @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>
        

        Unbenannt.png

        paul53 1 Reply Last reply Reply Quote 0
        • paul53
          paul53 @Aphofis last edited by

          @Aphofis sagte:

          ist es möglich die Datums Angabe auch hier zu integrieren???

          Ja, auf die gleiche Weise wie hier.

          Aphofis 1 Reply Last reply Reply Quote 0
          • Aphofis
            Aphofis @paul53 last edited by

            @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 1 Reply Last reply Reply Quote 0
            • paul53
              paul53 @Aphofis last edited by

              @Aphofis sagte:

              also so:

              Ja.

              Aphofis 2 Replies Last reply Reply Quote 1
              • Aphofis
                Aphofis @paul53 last edited by

                @paul53 OK dann versuche ich das so!
                Vielen Dank

                1 Reply Last reply Reply Quote 0
                • Aphofis
                  Aphofis @paul53 last edited by

                  @paul53
                  Also Telegram gibt das Datum korrekt aus! nur Alexa sagt das Datum nicht, woran kann das liegen?

                  paul53 1 Reply Last reply Reply Quote 0
                  • paul53
                    paul53 @Aphofis last edited by

                    @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 1 Reply Last reply Reply Quote 0
                    • Aphofis
                      Aphofis @paul53 last edited by

                      @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 1 Reply Last reply Reply Quote 0
                      • paul53
                        paul53 @Aphofis last edited by paul53

                        @Aphofis sagte:

                        ups Sorry

                        Wie schon geschrieben: Erst die Variable Datum setzen, dann ausgeben (steuere).

                        Blockly_temp.JPG

                        Aphofis 2 Replies Last reply Reply Quote 0
                        • Aphofis
                          Aphofis @paul53 last edited by

                          @paul53
                          Ich teste das heute Abend mal!

                          1 Reply Last reply Reply Quote 0
                          • Aphofis
                            Aphofis @paul53 last edited by

                            @paul53
                            funktioniert schon mal so weit nur alexa sagt seid dem 18 komma 0 6 kann alexa kein normales datum ansagen !?

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post

                            Support us

                            ioBroker
                            Community Adapters
                            Donate

                            567
                            Online

                            32.0k
                            Users

                            80.4k
                            Topics

                            1.3m
                            Posts

                            2
                            22
                            1032
                            Loading More Posts
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes
                            Reply
                            • Reply as topic
                            Log in to reply
                            Community
                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                            The ioBroker Community 2014-2023
                            logo