Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. [Gelöst] Brauche Hilfe bei Script zwecks Abbruch

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [Gelöst] Brauche Hilfe bei Script zwecks Abbruch

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

      In jedem Timeout das vorherige Timeout nochmals stoppen?
      Also in TimeOut2 TimeOut stoppen?
      Und in TimeOut3 Timeout2 stoppen?

      So?
      c5652a9d-3c9f-4f39-888c-a722dd0cf88c-image.png

      Codierknecht paul53 2 Replies Last reply Reply Quote 0
      • Codierknecht
        Codierknecht Developer Most Active @Superdad last edited by Codierknecht

        @superdad
        Ich vermute, @Asgothian meint hier den "Sonst"-Teil.
        Hier zuerst die timeouts beenden und dann die states setzen.
        Also einfach die Reihenfolge ändern.

        Die anderen Stopps dürften aber auch nicht schaden.

        S 1 Reply Last reply Reply Quote 0
        • S
          Superdad @Codierknecht last edited by

          @codierknecht
          OK!
          Vielen Dank für eure Hilfe!

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

            @superdad sagte: In jedem Timeout das vorherige Timeout nochmals stoppen?

            Nein, das ist unnötig.

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

              @superdad sagte: Ich habe es jetzt so gelöst:

              Ich würde ein Minuten-Intervall mit einer Zählvariablen verwenden.

              Blockly_temp.JPG

              EDIT: Zusätzlich mit Ansagen (wie im ersten Beitrag):

              Blockly_temp.JPG

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

                @paul53 sagte in Brauche Hilfe bei Script zwecks Abbruch:

                @superdad sagte: Ich habe es jetzt so gelöst:

                Ich würde ein Minuten-Intervall mit einer Zählvariablen verwenden.

                Blockly_temp.JPG

                Warum einen 1-Minütigen Heartbeat wenn die 3 verschachtelten Timeouts sauber laufen ? Das erschliesst sich mir nicht.

                @codierknecht sagte in Brauche Hilfe bei Script zwecks Abbruch:

                Ich vermute, @Asgothian meint hier den "Sonst"-Teil.

                Korrekt. Das nur im Sonst-Teil\

                A.

                paul53 1 Reply Last reply Reply Quote 1
                • paul53
                  paul53 @Asgothian last edited by

                  @asgothian sagte: Warum einen 1-Minütigen Heartbeat wenn die 3 verschachtelten Timeouts sauber laufen ?

                  Ich finde es übersichtlicher.

                  Codierknecht 1 Reply Last reply Reply Quote 1
                  • Codierknecht
                    Codierknecht Developer Most Active @paul53 last edited by

                    @paul53 sagte in Brauche Hilfe bei Script zwecks Abbruch:

                    Ich finde es übersichtlicher.

                    Ich nicht 😉

                    1 Reply Last reply Reply Quote 0
                    • S
                      Superdad last edited by

                      Hoffentlich habe ich jetzt hier keinen Glaubenskrieg ausgelöst?

                      Nochmals vielen Dank!

                      Asgothian 1 Reply Last reply Reply Quote 0
                      • Asgothian
                        Asgothian Developer @Superdad last edited by

                        @superdad sagte in Brauche Hilfe bei Script zwecks Abbruch:

                        Hoffentlich habe ich jetzt hier keinen Glaubenskrieg ausgelöst?

                        Nicht bei mir. Ich war nur neugierig.

                        Viel Spass mit der Lösung.

                        A.

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

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        872
                        Online

                        31.6k
                        Users

                        79.6k
                        Topics

                        1.3m
                        Posts

                        4
                        20
                        777
                        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