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] Timeout handling

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    [gelöst] Timeout handling

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators @jan_xx last edited by

      @jan_xx sagte in Timeout handling:

      wäre der Aufbau von timeout so okay?

      nöö!
      der timeout kann mehrfach gestartet werden.
      Danach kann er nicht mehr gestoppt werdrn

      J 1 Reply Last reply Reply Quote 0
      • J
        jan_xx @Homoran last edited by

        @homoran
        dank dir für die Rückmeldung, aber der Timeout wird doch nur gestartet wenn o.g. Bedingungen erfüllt sind, ansonsten geht er doch dich in die Stop Schleife?

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

          @jan_xx sagte: der Timeout wird doch nur gestartet wenn o.g. Bedingungen erfüllt sind

          Ja, und die Bedingungen können während der gesamten 2 Minuten mehrmals erfüllt sein.

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

            @paul53
            okay, und wie bekomme ich dann die Kuh vom Eis?🙄

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

              @jan_xx sagte in Timeout handling:

              @paul53
              okay, und wie bekomme ich dann die Kuh vom Eis?🙄

              indem du im falls eine weitere und-verknöpfung mit `nicht Baduntenein' einbindest, damit der timeout nur gestartet wird, wenn kein alter timeout noch läuft

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

                @jan_xx sagte: wie bekomme ich dann die Kuh vom Eis?

                Z.B. so:

                Blockly_temp.JPG

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

                  @paul53
                  okay danke ich hatte jetzt noch ein und eingefügt geht das auch?
                  Bild 06.05.23 um 20.02.jpeg

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

                    @jan_xx sagte: geht das auch?

                    Nein, dann wird beim nächsten Trigger nach Timer-Start wieder gestoppt, der Ablauf des Timers also nicht erreicht.

                    1 Reply Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators @jan_xx last edited by

                      @jan_xx du hattest doch vorher ein stop drin.

                      J 1 Reply Last reply Reply Quote 0
                      • J
                        jan_xx @Homoran last edited by

                        @homoran
                        also geht nur Paul seine Variante?

                        J 1 Reply Last reply Reply Quote 0
                        • J
                          jan_xx @jan_xx last edited by

                          so?Bild 06.05.23 um 20.50.jpeg

                          J 1 Reply Last reply Reply Quote 0
                          • J
                            jan_xx @jan_xx last edited by

                            @Homoran und @paul53
                            Danke an die Experten, hat funktioniert, das muss man halt erst wissen das die Nicht Bedingung als erstes stehen muss...

                            Grüße

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

                              @jan_xx sagte: die Nicht Bedingung als erstes stehen muss.

                              Das muss sie nicht. Man darf nur keine weiteren Bedingungen per UND verknüpfen und muss stattdessen eine weiteren falls-Block verwenden. Es ist so nur eleganter, denn man spart den zusätzlichen falls-Block.

                              Wo wird die Variable Temp zurück gesetzt?

                              EDIT: So funktioniert es auch:

                              Blockly_temp.JPG

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

                                @paul53
                                Temp habe ich nur verwendet damit die Meldung nur einmal per Telegramm gesendet wird, ich habe noch einen Zweig zum ausschalten der Last, dort wird dann Temp zurückgesetzt.

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

                                Support us

                                ioBroker
                                Community Adapters
                                Donate

                                752
                                Online

                                32.0k
                                Users

                                80.5k
                                Topics

                                1.3m
                                Posts

                                3
                                15
                                437
                                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