Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Zeitplan löst nicht aus

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Zeitplan löst nicht aus

    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      lukas8519 last edited by

      Hallo zusammen,
      ich versuche mich gerade in Blockly einzuarbeiten und habe ein Problem:
      blumen giessen.JPG

      -jeden Tag um 00:01 wird der Datenpunkt "jeden zweiten Tag" zwischen wahr und false umgeschaltet

      -Wenn der Datenpunkt "wahr" ist sollen um 17.00Uhr die Aktionen ausgeführt werden

      ich habe den Datenpunt auf "wahr" stehen, doch die Aktionen wurden nicht ausgeführt. Die Aktionen für sich funktionieren, aber sie werden halt nicht um 17 Uhr jeden zweiten Tag ausgeführt.

      kann mir jemand helfen?

      Gruß Lukas

      J sigi234 2 Replies Last reply Reply Quote 0
      • J
        Jan1 @lukas8519 last edited by

        @lukas8519
        Alter Fehler, Trigger im Trigger läuft eben nicht 😉

        L 1 Reply Last reply Reply Quote 0
        • L
          lukas8519 @Jan1 last edited by

          @jan1 okay danke für die Info! Wie könnte man es denn anders lösen?

          1 Reply Last reply Reply Quote 0
          • sigi234
            sigi234 Forum Testing Most Active @lukas8519 last edited by

            @lukas8519

            Stell das Blockly rein dann kann man es schnell umbauen.

            L 1 Reply Last reply Reply Quote 0
            • L
              lukas8519 @sigi234 last edited by Homoran

              @sigi234

              <xml xmlns="https://developers.google.com/blockly/xml">
               <variables>
                 <variable type="cron" id="schedule1">schedule1</variable>
                 <variable type="cron" id="schedule2">schedule2</variable>
               </variables>
               <block type="comment" id="+b;o$$PA4kQ|=OI)1!HB" x="87" y="88">
                 <field name="COMMENT">Blumen gießen "grün"</field>
                 <next>
                   <block type="schedule_create" id="l4-Ova`NDEBSh#.?uq(`">
                     <field name="NAME">schedule1</field>
                     <value name="SCHEDULE">
                       <shadow type="field_cron" id="#m4#Jf|77_Qm/mu,A=F~">
                         <field name="CRON">* * * * *</field>
                       </shadow>
                       <block type="field_cron" id="D?f8Q7^Y)O:3MwQo7Cy_">
                         <field name="CRON">1 0 * * *</field>
                       </block>
                     </value>
                     <statement name="STATEMENT">
                       <block type="toggle" id="-zPgABLZI8~dmWDlBPw5">
                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                         <field name="OID">javascript.0.Eigene_Datenpunkte.jeder_zweite_Tag</field>
                         <field name="WITH_DELAY">FALSE</field>
                       </block>
                     </statement>
                     <next>
                       <block type="on" id="~!O!N7pRu$%Jy;*YMGF,">
                         <field name="OID">javascript.0.Eigene_Datenpunkte.jeder_zweite_Tag</field>
                         <field name="CONDITION">true</field>
                         <field name="ACK_CONDITION"></field>
                         <statement name="STATEMENT">
                           <block type="schedule_create" id="ZpcNVql6=:Pp,{@lasQ4">
                             <field name="NAME">schedule2</field>
                             <value name="SCHEDULE">
                               <shadow type="field_cron" id="n?)qnD~3lFB/eGP.c7)[">
                                 <field name="CRON">* * * * *</field>
                               </shadow>
                               <block type="cron_builder" id="eg1?t~eWJ;r,s1mzR8,P">
                                 <mutation xmlns="http://www.w3.org/1999/xhtml" seconds="false" as_line="false"></mutation>
                                 <field name="LINE">FALSE</field>
                                 <field name="WITH_SECONDS">FALSE</field>
                                 <value name="DOW">
                                   <shadow type="text" id="g6CemM7@[VFKY=sgk.6x">
                                     <field name="TEXT">*</field>
                                   </shadow>
                                 </value>
                                 <value name="MONTHS">
                                   <shadow type="text" id="orv5UA?ReH$DK86hK})l">
                                     <field name="TEXT">*</field>
                                   </shadow>
                                 </value>
                                 <value name="DAYS">
                                   <shadow type="text" id="GdTE4W+Nc:Kad%W.e(rW">
                                     <field name="TEXT">*</field>
                                   </shadow>
                                 </value>
                                 <value name="HOURS">
                                   <shadow type="text" id="au9o?Jgt7_)#QhgdKO1-">
                                     <field name="TEXT"></field>
                                   </shadow>
                                   <block type="text" id="|1Q4*AK):|.2te.k;b;G">
                                     <field name="TEXT">17</field>
                                   </block>
                                 </value>
                                 <value name="MINUTES">
                                   <shadow type="text" id="Wk9_QhEk%,4`j5t6^n.W">
                                     <field name="TEXT">*</field>
                                   </shadow>
                                   <block type="text" id="AQd81@)x#,+9`oSpR/F`">
                                     <field name="TEXT">00</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <statement name="STATEMENT">
                               <block type="control" id="IoW*or]ne}S0bH!a0phi">
                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                 <field name="OID">hue.0.Info-Leuchte.command</field>
                                 <field name="WITH_DELAY">FALSE</field>
                                 <value name="VALUE">
                                   <block type="text" id="bUK#^q*_[;(P6_!=yB*`">
                                     <field name="TEXT">{"on":true,"level":100,"r":0,"g":255,"b":0,"transitiontime":1}</field>
                                   </block>
                                 </value>
                                 <next>
                                   <block type="control" id="^yUy}MyeWZ?*7a[lp,Mq">
                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                     <field name="OID">alexa2.0.Echo-Devices.G2A1B5031146019T.Commands.speak</field>
                                     <field name="WITH_DELAY">TRUE</field>
                                     <field name="DELAY_MS">2</field>
                                     <field name="UNIT">sec</field>
                                     <field name="CLEAR_RUNNING">FALSE</field>
                                     <value name="VALUE">
                                       <block type="text" id="kLk/_2#2*q.(cb3FATig">
                                         <field name="TEXT">Heute müssen die Blumen gegossen werden, das grüne Licht erinnert dich daran!</field>
                                       </block>
                                     </value>
                                     <next>
                                       <block type="control" id="%cpfkcgZKTm559LH54f$">
                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                         <field name="OID">whatsapp-cmb.0.sendMessage</field>
                                         <field name="WITH_DELAY">TRUE</field>
                                         <field name="DELAY_MS">3</field>
                                         <field name="UNIT">sec</field>
                                         <field name="CLEAR_RUNNING">FALSE</field>
                                         <value name="VALUE">
                                           <block type="text" id="^-_Ap4cO-[D,6{]OGV!{">
                                             <field name="TEXT">Heute Blumen gießen :)</field>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="control" id="nK4:Yw6eP4{HeQNiX{os">
                                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                             <field name="OID">whatsapp-cmb.1.sendMessage</field>
                                             <field name="WITH_DELAY">TRUE</field>
                                             <field name="DELAY_MS">4</field>
                                             <field name="UNIT">sec</field>
                                             <field name="CLEAR_RUNNING">FALSE</field>
                                             <value name="VALUE">
                                               <block type="text" id="D}%Z,R!g6avFfJ~[04js">
                                                 <field name="TEXT">Heute Blumen gießen :)</field>
                                               </block>
                                             </value>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </next>
                               </block>
                             </statement>
                           </block>
                         </statement>
                       </block>
                     </next>
                   </block>
                 </next>
               </block>
              </xml>
              
              1 Reply Last reply Reply Quote 0
              • L
                lukas8519 last edited by

                <xml xmlns="https://developers.google.com/blockly/xml">
                  <variables>
                    <variable type="cron" id="schedule1">schedule1</variable>
                    <variable type="cron" id="schedule2">schedule2</variable>
                  </variables>
                  <block type="comment" id="+b;o$$PA4kQ|=OI)1!HB" x="87" y="88">
                    <field name="COMMENT">Blumen gießen "grün"</field>
                    <next>
                      <block type="schedule_create" id="l4-Ova`NDEBSh#.?uq(`">
                        <field name="NAME">schedule1</field>
                        <value name="SCHEDULE">
                          <shadow type="field_cron" id="#m4#Jf|77_Qm/mu,A=F~">
                            <field name="CRON">* * * * *</field>
                          </shadow>
                          <block type="field_cron" id="D?f8Q7^Y)O:3MwQo7Cy_">
                            <field name="CRON">1 0 * * *</field>
                          </block>
                        </value>
                        <statement name="STATEMENT">
                          <block type="toggle" id="-zPgABLZI8~dmWDlBPw5">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">javascript.0.Eigene_Datenpunkte.jeder_zweite_Tag</field>
                            <field name="WITH_DELAY">FALSE</field>
                          </block>
                        </statement>
                        <next>
                          <block type="on" id="~!O!N7pRu$%Jy;*YMGF,">
                            <field name="OID">javascript.0.Eigene_Datenpunkte.jeder_zweite_Tag</field>
                            <field name="CONDITION">true</field>
                            <field name="ACK_CONDITION"></field>
                            <statement name="STATEMENT">
                              <block type="schedule_create" id="ZpcNVql6=:Pp,{@lasQ4">
                                <field name="NAME">schedule2</field>
                                <value name="SCHEDULE">
                                  <shadow type="field_cron" id="n?)qnD~3lFB/eGP.c7)[">
                                    <field name="CRON">* * * * *</field>
                                  </shadow>
                                  <block type="cron_builder" id="eg1?t~eWJ;r,s1mzR8,P">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" seconds="false" as_line="false"></mutation>
                                    <field name="LINE">FALSE</field>
                                    <field name="WITH_SECONDS">FALSE</field>
                                    <value name="DOW">
                                      <shadow type="text" id="g6CemM7@[VFKY=sgk.6x">
                                        <field name="TEXT">*</field>
                                      </shadow>
                                    </value>
                                    <value name="MONTHS">
                                      <shadow type="text" id="orv5UA?ReH$DK86hK})l">
                                        <field name="TEXT">*</field>
                                      </shadow>
                                    </value>
                                    <value name="DAYS">
                                      <shadow type="text" id="GdTE4W+Nc:Kad%W.e(rW">
                                        <field name="TEXT">*</field>
                                      </shadow>
                                    </value>
                                    <value name="HOURS">
                                      <shadow type="text" id="au9o?Jgt7_)#QhgdKO1-">
                                        <field name="TEXT"></field>
                                      </shadow>
                                      <block type="text" id="|1Q4*AK):|.2te.k;b;G">
                                        <field name="TEXT">17</field>
                                      </block>
                                    </value>
                                    <value name="MINUTES">
                                      <shadow type="text" id="Wk9_QhEk%,4`j5t6^n.W">
                                        <field name="TEXT">*</field>
                                      </shadow>
                                      <block type="text" id="AQd81@)x#,+9`oSpR/F`">
                                        <field name="TEXT">00</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="STATEMENT">
                                  <block type="control" id="IoW*or]ne}S0bH!a0phi">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">hue.0.Info-Leuchte.command</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="text" id="bUK#^q*_[;(P6_!=yB*`">
                                        <field name="TEXT">{"on":true,"level":100,"r":0,"g":255,"b":0,"transitiontime":1}</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="control" id="^yUy}MyeWZ?*7a[lp,Mq">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                        <field name="OID">alexa2.0.Echo-Devices.G2A1B5031146019T.Commands.speak</field>
                                        <field name="WITH_DELAY">TRUE</field>
                                        <field name="DELAY_MS">2</field>
                                        <field name="UNIT">sec</field>
                                        <field name="CLEAR_RUNNING">FALSE</field>
                                        <value name="VALUE">
                                          <block type="text" id="kLk/_2#2*q.(cb3FATig">
                                            <field name="TEXT">Heute müssen die Blumen gegossen werden, das grüne Licht erinnert dich daran!</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="control" id="%cpfkcgZKTm559LH54f$">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                            <field name="OID">whatsapp-cmb.0.sendMessage</field>
                                            <field name="WITH_DELAY">TRUE</field>
                                            <field name="DELAY_MS">3</field>
                                            <field name="UNIT">sec</field>
                                            <field name="CLEAR_RUNNING">FALSE</field>
                                            <value name="VALUE">
                                              <block type="text" id="^-_Ap4cO-[D,6{]OGV!{">
                                                <field name="TEXT">Heute Blumen gießen :)</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="control" id="nK4:Yw6eP4{HeQNiX{os">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                <field name="OID">whatsapp-cmb.1.sendMessage</field>
                                                <field name="WITH_DELAY">TRUE</field>
                                                <field name="DELAY_MS">4</field>
                                                <field name="UNIT">sec</field>
                                                <field name="CLEAR_RUNNING">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="text" id="D}%Z,R!g6avFfJ~[04js">
                                                    <field name="TEXT">Heute Blumen gießen :)</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                              </block>
                            </statement>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </xml>
                
                1 Reply Last reply Reply Quote 0
                • L
                  lukas8519 last edited by

                  @Jan1 @sigi234

                  <xml xmlns="https://developers.google.com/blockly/xml">
                    <variables>
                      <variable type="cron" id="schedule1">schedule1</variable>
                      <variable type="cron" id="schedule2">schedule2</variable>
                    </variables>
                    <block type="comment" id="+b;o$$PA4kQ|=OI)1!HB" x="87" y="88">
                      <field name="COMMENT">Blumen gießen "grün"</field>
                      <next>
                        <block type="schedule_create" id="l4-Ova`NDEBSh#.?uq(`">
                          <field name="NAME">schedule1</field>
                          <value name="SCHEDULE">
                            <shadow type="field_cron" id="#m4#Jf|77_Qm/mu,A=F~">
                              <field name="CRON">* * * * *</field>
                            </shadow>
                            <block type="field_cron" id="D?f8Q7^Y)O:3MwQo7Cy_">
                              <field name="CRON">1 0 * * *</field>
                            </block>
                          </value>
                          <statement name="STATEMENT">
                            <block type="toggle" id="-zPgABLZI8~dmWDlBPw5">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">javascript.0.Eigene_Datenpunkte.jeder_zweite_Tag</field>
                              <field name="WITH_DELAY">FALSE</field>
                            </block>
                          </statement>
                          <next>
                            <block type="on" id="~!O!N7pRu$%Jy;*YMGF,">
                              <field name="OID">javascript.0.Eigene_Datenpunkte.jeder_zweite_Tag</field>
                              <field name="CONDITION">true</field>
                              <field name="ACK_CONDITION"></field>
                              <statement name="STATEMENT">
                                <block type="schedule_create" id="ZpcNVql6=:Pp,{@lasQ4">
                                  <field name="NAME">schedule2</field>
                                  <value name="SCHEDULE">
                                    <shadow type="field_cron" id="n?)qnD~3lFB/eGP.c7)[">
                                      <field name="CRON">* * * * *</field>
                                    </shadow>
                                    <block type="cron_builder" id="eg1?t~eWJ;r,s1mzR8,P">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" seconds="false" as_line="false"></mutation>
                                      <field name="LINE">FALSE</field>
                                      <field name="WITH_SECONDS">FALSE</field>
                                      <value name="DOW">
                                        <shadow type="text" id="g6CemM7@[VFKY=sgk.6x">
                                          <field name="TEXT">*</field>
                                        </shadow>
                                      </value>
                                      <value name="MONTHS">
                                        <shadow type="text" id="orv5UA?ReH$DK86hK})l">
                                          <field name="TEXT">*</field>
                                        </shadow>
                                      </value>
                                      <value name="DAYS">
                                        <shadow type="text" id="GdTE4W+Nc:Kad%W.e(rW">
                                          <field name="TEXT">*</field>
                                        </shadow>
                                      </value>
                                      <value name="HOURS">
                                        <shadow type="text" id="au9o?Jgt7_)#QhgdKO1-">
                                          <field name="TEXT"></field>
                                        </shadow>
                                        <block type="text" id="|1Q4*AK):|.2te.k;b;G">
                                          <field name="TEXT">17</field>
                                        </block>
                                      </value>
                                      <value name="MINUTES">
                                        <shadow type="text" id="Wk9_QhEk%,4`j5t6^n.W">
                                          <field name="TEXT">*</field>
                                        </shadow>
                                        <block type="text" id="AQd81@)x#,+9`oSpR/F`">
                                          <field name="TEXT">00</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <statement name="STATEMENT">
                                    <block type="control" id="IoW*or]ne}S0bH!a0phi">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                      <field name="OID">hue.0.Info-Leuchte.command</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="text" id="bUK#^q*_[;(P6_!=yB*`">
                                          <field name="TEXT">{"on":true,"level":100,"r":0,"g":255,"b":0,"transitiontime":1}</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="control" id="^yUy}MyeWZ?*7a[lp,Mq">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                          <field name="OID">alexa2.0.Echo-Devices.G2A1B5031146019T.Commands.speak</field>
                                          <field name="WITH_DELAY">TRUE</field>
                                          <field name="DELAY_MS">2</field>
                                          <field name="UNIT">sec</field>
                                          <field name="CLEAR_RUNNING">FALSE</field>
                                          <value name="VALUE">
                                            <block type="text" id="kLk/_2#2*q.(cb3FATig">
                                              <field name="TEXT">Heute müssen die Blumen gegossen werden, das grüne Licht erinnert dich daran!</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="control" id="%cpfkcgZKTm559LH54f$">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                              <field name="OID">whatsapp-cmb.0.sendMessage</field>
                                              <field name="WITH_DELAY">TRUE</field>
                                              <field name="DELAY_MS">3</field>
                                              <field name="UNIT">sec</field>
                                              <field name="CLEAR_RUNNING">FALSE</field>
                                              <value name="VALUE">
                                                <block type="text" id="^-_Ap4cO-[D,6{]OGV!{">
                                                  <field name="TEXT">Heute Blumen gießen :)</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="control" id="nK4:Yw6eP4{HeQNiX{os">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                  <field name="OID">whatsapp-cmb.1.sendMessage</field>
                                                  <field name="WITH_DELAY">TRUE</field>
                                                  <field name="DELAY_MS">4</field>
                                                  <field name="UNIT">sec</field>
                                                  <field name="CLEAR_RUNNING">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="text" id="D}%Z,R!g6avFfJ~[04js">
                                                      <field name="TEXT">Heute Blumen gießen :)</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </statement>
                                </block>
                              </statement>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </xml>
                  
                  paul53 1 Reply Last reply Reply Quote 0
                  • paul53
                    paul53 @lukas8519 last edited by paul53

                    @lukas8519

                    <xml xmlns="https://developers.google.com/blockly/xml">
                     <variables>
                       <variable type="cron" id="schedule1">schedule1</variable>
                       <variable type="cron" id="schedule2">schedule2</variable>
                     </variables>
                     <block type="comment" id="+b;o$$PA4kQ|=OI)1!HB" x="87" y="88">
                       <field name="COMMENT">Blumen gießen "grün"</field>
                       <next>
                         <block type="schedule_create" id="l4-Ova`NDEBSh#.?uq(`">
                           <field name="NAME">schedule1</field>
                           <value name="SCHEDULE">
                             <shadow type="field_cron" id="#m4#Jf|77_Qm/mu,A=F~">
                               <field name="CRON">* * * * *</field>
                             </shadow>
                             <block type="field_cron" id="D?f8Q7^Y)O:3MwQo7Cy_">
                               <field name="CRON">1 0 * * *</field>
                             </block>
                           </value>
                           <statement name="STATEMENT">
                             <block type="toggle" id="-zPgABLZI8~dmWDlBPw5">
                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                               <field name="OID">javascript.0.Eigene_Datenpunkte.jeder_zweite_Tag</field>
                               <field name="WITH_DELAY">FALSE</field>
                             </block>
                           </statement>
                           <next>
                             <block type="schedule_create" id="ZpcNVql6=:Pp,{@lasQ4">
                               <field name="NAME">schedule2</field>
                               <value name="SCHEDULE">
                                 <shadow type="field_cron" id="n?)qnD~3lFB/eGP.c7)[">
                                   <field name="CRON">* * * * *</field>
                                 </shadow>
                                 <block type="cron_builder" id="eg1?t~eWJ;r,s1mzR8,P">
                                   <mutation xmlns="http://www.w3.org/1999/xhtml" seconds="false" as_line="false"></mutation>
                                   <field name="LINE">FALSE</field>
                                   <field name="WITH_SECONDS">FALSE</field>
                                   <value name="DOW">
                                     <shadow type="text" id="g6CemM7@[VFKY=sgk.6x">
                                       <field name="TEXT">*</field>
                                     </shadow>
                                   </value>
                                   <value name="MONTHS">
                                     <shadow type="text" id="orv5UA?ReH$DK86hK})l">
                                       <field name="TEXT">*</field>
                                     </shadow>
                                   </value>
                                   <value name="DAYS">
                                     <shadow type="text" id="GdTE4W+Nc:Kad%W.e(rW">
                                       <field name="TEXT">*</field>
                                     </shadow>
                                   </value>
                                   <value name="HOURS">
                                     <shadow type="text" id="au9o?Jgt7_)#QhgdKO1-">
                                       <field name="TEXT"></field>
                                     </shadow>
                                     <block type="text" id="|1Q4*AK):|.2te.k;b;G">
                                       <field name="TEXT">17</field>
                                     </block>
                                   </value>
                                   <value name="MINUTES">
                                     <shadow type="text" id="Wk9_QhEk%,4`j5t6^n.W">
                                       <field name="TEXT">*</field>
                                     </shadow>
                                     <block type="text" id="AQd81@)x#,+9`oSpR/F`">
                                       <field name="TEXT">00</field>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <statement name="STATEMENT">
                                 <block type="controls_if" id=",OJ?+R*5i.?6K(+UcYqg">
                                   <value name="IF0">
                                     <block type="get_value_var" id="b[6uoy{hL]s]8(^q=jZ,">
                                       <field name="ATTR">val</field>
                                       <value name="OID">
                                         <shadow type="text" id="1b*8Ul=T^w.c#8/P#Wn5">
                                           <field name="TEXT">javascript.0.Eigene_Datenpunkte.jeder_zweite_Tag</field>
                                         </shadow>
                                       </value>
                                     </block>
                                   </value>
                                   <statement name="DO0">
                                     <block type="control" id="IoW*or]ne}S0bH!a0phi">
                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                       <field name="OID">hue.0.Info-Leuchte.command</field>
                                       <field name="WITH_DELAY">FALSE</field>
                                       <value name="VALUE">
                                         <block type="text" id="bUK#^q*_[;(P6_!=yB*`">
                                           <field name="TEXT">{"on":true,"level":100,"r":0,"g":255,"b":0,"transitiontime":1}</field>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="control" id="^yUy}MyeWZ?*7a[lp,Mq">
                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                           <field name="OID">alexa2.0.Echo-Devices.G2A1B5031146019T.Commands.speak</field>
                                           <field name="WITH_DELAY">TRUE</field>
                                           <field name="DELAY_MS">2</field>
                                           <field name="UNIT">sec</field>
                                           <field name="CLEAR_RUNNING">FALSE</field>
                                           <value name="VALUE">
                                             <block type="text" id="kLk/_2#2*q.(cb3FATig">
                                               <field name="TEXT">Heute müssen die Blumen gegossen werden, das grüne Licht erinnert dich daran!</field>
                                             </block>
                                           </value>
                                           <next>
                                             <block type="control" id="%cpfkcgZKTm559LH54f$">
                                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                               <field name="OID">whatsapp-cmb.0.sendMessage</field>
                                               <field name="WITH_DELAY">TRUE</field>
                                               <field name="DELAY_MS">3</field>
                                               <field name="UNIT">sec</field>
                                               <field name="CLEAR_RUNNING">FALSE</field>
                                               <value name="VALUE">
                                                 <block type="text" id="^-_Ap4cO-[D,6{]OGV!{">
                                                   <field name="TEXT">Heute Blumen gießen :)</field>
                                                 </block>
                                               </value>
                                               <next>
                                                 <block type="control" id="nK4:Yw6eP4{HeQNiX{os">
                                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                   <field name="OID">whatsapp-cmb.1.sendMessage</field>
                                                   <field name="WITH_DELAY">TRUE</field>
                                                   <field name="DELAY_MS">4</field>
                                                   <field name="UNIT">sec</field>
                                                   <field name="CLEAR_RUNNING">FALSE</field>
                                                   <value name="VALUE">
                                                     <block type="text" id="D}%Z,R!g6avFfJ~[04js">
                                                       <field name="TEXT">Heute Blumen gießen :)</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </next>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </statement>
                                 </block>
                               </statement>
                             </block>
                           </next>
                         </block>
                       </next>
                     </block>
                    </xml>
                    

                    Bild_2021-08-22_180924.png

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

                      @paul53 super vielen Dank, es funktioniert.
                      ich würde gerne daraus lernen... was macht denn ""Wert" von ObjektID "...Datenpunkt...""?

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

                        @lukas8519 sagte: was macht denn ""Wert" von ObjektID "...Datenpunkt...""?

                        Liest den Wert aus dem Datenpunkt. Wenn der Wert wahr ist, wird der mache-Zweig ausgeführt.

                        Einfachere Version mit nur einem Zeitplan:

                        Bild_2021-08-22_182105.png

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

                          @paul53 also ist das das gleiche wie:
                          ddd.JPG

                          aber "wert" wartet immer auf "wahr"?

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

                            @lukas8519 sagte: ist das das gleiche wie:

                            Ja, das Ergebnis eines Vergleiches ist falsch oder wahr. Da der Datenpunkt es schon so liefert ...

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

                              @paul53 ich danke dir!

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

                                @paul53 sagte in Zeitplan löst nicht aus:

                                @lukas8519 sagte: ist das das gleiche wie:

                                Ja, das Ergebnis eines Vergleiches ist falsch oder wahr. Da der Datenpunkt es schon so liefert ...

                                aber in diesem Fall: würde er dann trotzdem nur bei "wahr" auslösen, oder auch bei "falsch"?

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

                                  @lukas8519 sagte: würde er dann trotzdem nur bei "wahr" auslösen

                                  Der mache-Zweig wird nur ausgeführt, wenn falls wahr übergeben bekommt.

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

                                    @paul53 okay, nochmals danke!😊 😊

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

                                    Support us

                                    ioBroker
                                    Community Adapters
                                    Donate

                                    756
                                    Online

                                    32.0k
                                    Users

                                    80.5k
                                    Topics

                                    1.3m
                                    Posts

                                    4
                                    16
                                    557
                                    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