Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Timeout variabel in Blockly [gelöst]

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Timeout variabel in Blockly [gelöst]

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

      ****Hallo Leute ich bin neu hier.

      Ich versuche nun schon seit einigen Tagen im Blockly ein variable aus schalt Zeit zu kreieren.

      Da ich vorher nichts mit Skripte zu tun hatte, fällt es mir schwer.

      Ich bin nun mal nur ein Straßenbauer.

      Wie kann ich das im Blockly realisieren.

      Hier mein Versuch.****

      8529_image_1.png

       <xml xmlns="http://www.w3.org/1999/xhtml"><block type="schedule" id="wkfpcj2YY*#A:Sb_|IQi" x="-388" y="-337"><field name="SCHEDULE">* * * * *</field>
          <statement name="STATEMENT"><block type="control" id="A2g#B!1wGbnUe=+T{cf8"><mutation delay_input="false"></mutation>
              <field name="OID">sonoff.0.Basic.POWER</field>
              <field name="WITH_DELAY">FALSE</field>
              <value name="VALUE"><block type="logic_boolean" id="j+uo):s{Y!Ln9Yf6i@=C"><field name="BOOL">TRUE</field></block></value> 
              <next><block type="variables_set" id="j7N@0n,gP+3!EKfn;yyR"><field name="VAR">variable Zeit</field>
                  <value name="VALUE"><block type="convert_from_date" id="PXq5lf8-hb*Kk+-JGfH:"><mutation format="false" language="false"></mutation>
                      <field name="OPTION">s</field>
                      <value name="VALUE"><block type="math_number" id="2JE%^J%Ev/M]saWd-jdh"><field name="NUM">20</field></block></value></block></value> 
                  <next><block type="timeouts_cleartimeout" id="KNrcqz^xo*q{5.Ai^Xj:"><field name="NAME">timeout</field>
                      <next><block type="timeouts_settimeout" id="?c,|u`G0no@)j%+[h^_q"><field name="NAME">timeout</field>
                          <field name="DELAY">variable Zeit</field>
                          <field name="UNIT">sec</field>
                          <statement name="STATEMENT"><block type="control" id="d,@@*k)?8sxJR*:ub-e4"><mutation delay_input="false"></mutation>
                              <field name="OID">sonoff.0.Basic.POWER</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE"><block type="logic_boolean" id="xQ`C2M;e)q@xnVjKINrr"><field name="BOOL">FALSE</field></block></value></block></statement></block></next></block></next></block></next></block></statement></block></xml> 
      
      1 Reply Last reply Reply Quote 0
      • paul53
        paul53 last edited by

        https://forum.iobroker.net/viewtopic.php?f=21&t=15505&p=162929#p162929 lässt sich nicht nur auf Tage anwenden.

        A 1 Reply Last reply Reply Quote 0
        • T
          Turbomuemmel last edited by

          ****Danke das war es.

          Hast mir sehr gut weiter geholfen. Da wäre ich so nicht drauf gekommen.

          Danke,Danke :lol:****

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

            @Turbomuemmel:

            das war es. `
            Dann markiere bitte das Thema im Betreff des ersten Beitrags als [gelöst].

            1 Reply Last reply Reply Quote 0
            • A
              aleks-83 @paul53 last edited by

              @paul53
              Das Thema kann nicht mehr gefunden werden.
              Kann mir noch jemand den Thread nennen?
              Oder die Lösung?

              paul53 1 Reply Last reply Reply Quote 0
              • paul53
                paul53 @aleks-83 last edited by paul53

                @aleks-83 sagte:

                Das Thema kann nicht mehr gefunden werden.

                Link oder Variante mit Count down:

                Blockly_temp.JPG

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

                Support us

                ioBroker
                Community Adapters
                Donate

                528
                Online

                31.8k
                Users

                79.9k
                Topics

                1.3m
                Posts

                3
                6
                2698
                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