Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. 15 Minuten Timer ohne Funktion...

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    15 Minuten Timer ohne Funktion...

    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      Dragon @DJMarc75 last edited by

      @djmarc75 Jap!

      1 Reply Last reply Reply Quote 0
      • D
        Dragon last edited by

        Leider weiterhin keine Lösung in Sicht.

        DJMarc75 1 Reply Last reply Reply Quote 0
        • DJMarc75
          DJMarc75 @Dragon last edited by DJMarc75

          @dragon

          Mal ein neues Skript erstellen, importieren, Datenpunkte anpassen und das "alte" ausschalten:

          <xml xmlns="https://developers.google.com/blockly/xml">
           <variables>
             <variable id="p266Yw/wiuv}`n4IAI@w">Luefter_GaesteWC</variable>
             <variable type="interval" id="LuefterGast">LuefterGast</variable>
           </variables>
           <block type="on_ext" id="kJsA#^t?i(cUO:[X)7j|" x="37" y="438">
             <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
             <field name="CONDITION">ne</field>
             <field name="ACK_CONDITION"></field>
             <value name="OID0">
               <shadow type="field_oid" id="5no8j(G1eYIzjY4baUP.">
                 <field name="oid">default</field>
               </shadow>
             </value>
             <statement name="STATEMENT">
               <block type="controls_if" id="6pq[QkbmHPVeVb;AiHb?">
                 <mutation else="1"></mutation>
                 <value name="IF0">
                   <block type="on_source" id="9|A0fsw!3Wg@W/Fd+{Bb">
                     <field name="ATTR">state.val</field>
                   </block>
                 </value>
                 <statement name="DO0">
                   <block type="variables_set" id="#GLJ,^*,X2dXLH[oWjgr">
                     <field name="VAR" id="p266Yw/wiuv}`n4IAI@w">Luefter_GaesteWC</field>
                     <value name="VALUE">
                       <block type="get_value" id="Hcdrs]ckEU8^8d%L:X~j">
                         <field name="ATTR">val</field>
                         <field name="OID">ID auswählen</field>
                       </block>
                     </value>
                     <next>
                       <block type="update" id="SAjv,/2/;i[DW/[fE5WD">
                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                         <field name="OID">Object ID</field>
                         <field name="WITH_DELAY">FALSE</field>
                         <value name="VALUE">
                           <block type="variables_get" id="D1E-!k?}^yP4*Y+U@`cY">
                             <field name="VAR" id="p266Yw/wiuv}`n4IAI@w">Luefter_GaesteWC</field>
                           </block>
                         </value>
                         <next>
                           <block type="timeouts_setinterval" id="=XRGPjY)tfh{@lc3F*,g">
                             <field name="NAME">LuefterGast</field>
                             <field name="INTERVAL">5</field>
                             <field name="UNIT">sec</field>
                             <statement name="STATEMENT">
                               <block type="math_change" id="(DduzWz:KD]#0Bp[i5Eg">
                                 <field name="VAR" id="p266Yw/wiuv}`n4IAI@w">Luefter_GaesteWC</field>
                                 <value name="DELTA">
                                   <shadow type="math_number" id="5v_i#;D3c)VvY5fRNl66">
                                     <field name="NUM">-1</field>
                                   </shadow>
                                 </value>
                                 <next>
                                   <block type="controls_if" id="SsRd5GL1J1.Nvvl:oCJy">
                                     <value name="IF0">
                                       <block type="logic_compare" id="eEXF]vyCL#!#]C/Ch45e">
                                         <field name="OP">LTE</field>
                                         <value name="A">
                                           <block type="variables_get" id="J5G[GL?|3h;b(dA(D[t=">
                                             <field name="VAR" id="p266Yw/wiuv}`n4IAI@w">Luefter_GaesteWC</field>
                                           </block>
                                         </value>
                                         <value name="B">
                                           <block type="math_number" id="b!F-G#WO-+|Z?zd[s^rI">
                                             <field name="NUM">0</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <statement name="DO0">
                                       <block type="control" id="_K%l!.]RK]xZmk]I~FW4">
                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                         <field name="OID">Object ID</field>
                                         <field name="WITH_DELAY">FALSE</field>
                                         <value name="VALUE">
                                           <block type="logic_boolean" id="#cOcl)PSmULKD%;?`v4w">
                                             <field name="BOOL">FALSE</field>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="timeouts_clearinterval" id="pIC_B;muNiEoMh0jfiBs">
                                             <field name="NAME">LuefterGast</field>
                                           </block>
                                         </next>
                                       </block>
                                     </statement>
                                     <next>
                                       <block type="update" id="D#Oc!kdASe6PKAv`}uvv">
                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                         <field name="OID">Object ID</field>
                                         <field name="WITH_DELAY">FALSE</field>
                                         <value name="VALUE">
                                           <block type="variables_get" id="=7Axkk{;s`}P4#[8kp[N">
                                             <field name="VAR" id="p266Yw/wiuv}`n4IAI@w">Luefter_GaesteWC</field>
                                           </block>
                                         </value>
                                       </block>
                                     </next>
                                   </block>
                                 </next>
                               </block>
                             </statement>
                           </block>
                         </next>
                       </block>
                     </next>
                   </block>
                 </statement>
                 <statement name="ELSE">
                   <block type="timeouts_clearinterval" id="wkTiVAFR6S`-:_xvb)rW">
                     <field name="NAME">LuefterGast</field>
                     <next>
                       <block type="update" id="fJ8yHIoG}Y/a7!?#F]-(">
                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                         <field name="OID">Object ID</field>
                         <field name="WITH_DELAY">FALSE</field>
                         <value name="VALUE">
                           <block type="math_number" id="{_E:{a.6#GOE?7p1I!21">
                             <field name="NUM">0</field>
                           </block>
                         </value>
                       </block>
                     </next>
                   </block>
                 </statement>
               </block>
             </statement>
           </block>
          </xml>
          

          D 1 Reply Last reply Reply Quote 0
          • D
            Dragon @DJMarc75 last edited by

            @djmarc75
            Ich sehe beim besten willen keinen Unterschied. Was hast du anders gemacht?

            DJMarc75 1 Reply Last reply Reply Quote 0
            • DJMarc75
              DJMarc75 @Dragon last edited by

              @dragon sagte in 15 Minuten Timer ohne Funktion...:

              Ich sehe beim besten willen keinen Unterschied.

              in Bezug zu welchem Deiner Versuche?

              @dragon sagte in 15 Minuten Timer ohne Funktion...:

              Was hast du anders gemacht?

              k.A.
              Funktioniert es jetzt ?

              D 1 Reply Last reply Reply Quote 0
              • D
                Dragon @DJMarc75 last edited by

                @djmarc75 Ja es funktioniert jetzt. ABer iwenn ich vergleiche nutzt du exakt die gleichen Blöcke...

                DJMarc75 1 Reply Last reply Reply Quote 0
                • DJMarc75
                  DJMarc75 @Dragon last edited by

                  @dragon Wo hast Du denn "Dein" Skript abgelegt? Hoffentlich nicht unter "global"

                  D 1 Reply Last reply Reply Quote 0
                  • D
                    Dragon @DJMarc75 last edited by

                    @djmarc75 Der Skriptadapter hat eine Ordnerstruktur

                    Homoran DJMarc75 2 Replies Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators @Dragon last edited by

                      @dragon sagte in 15 Minuten Timer ohne Funktion...:

                      @djmarc75 Der Skriptadapter hat eine Ordnerstruktur

                      ??? ja!

                      und wo in drr Struktur liegt das Skript?

                      @djmarc75 sagte in 15 Minuten Timer ohne Funktion...:

                      Hoffentlich nicht unter "global"

                      D 1 Reply Last reply Reply Quote 0
                      • DJMarc75
                        DJMarc75 @Dragon last edited by

                        @dragon sagte in 15 Minuten Timer ohne Funktion...:

                        Der Skriptadapter hat eine Ordnerstruktur

                        Screenshot 2023-10-07 114704.png

                        richtig wäre alle Skripte unter common abzulegen.
                        nicht so richtig wäre etwas unter global abzulegen, wobei man den Ordner nur sieht wenn man den Expertenmodus anktiviert

                        Screenshot 2023-10-07 114740.png

                        Aber wie der Name "Expertenmodus" schon sagt sollte man wissen was man tut ! 😉

                        1 Reply Last reply Reply Quote 0
                        • D
                          Dragon @Homoran last edited by

                          @homoran
                          Screenshot 2023-10-07 11.49.53.png

                          DJMarc75 1 Reply Last reply Reply Quote 0
                          • DJMarc75
                            DJMarc75 @Dragon last edited by

                            @dragon alles richtig ! 👍

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

                            Support us

                            ioBroker
                            Community Adapters
                            Donate

                            869
                            Online

                            32.0k
                            Users

                            80.5k
                            Topics

                            1.3m
                            Posts

                            3
                            36
                            1437
                            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