Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Zeitschleife, was ist falsch?

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Zeitschleife, was ist falsch?

    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      exmerci @Dutchman last edited by

      @Dutchman

      Ok. Habe ich gemacht und es scheint zu funktionieren. Ich hatte das vorher auch schon probiert, aber mit dem falschen Textbaustein. Da war ein Gedankenfehler drin. Danke.

      Dutchman 1 Reply Last reply Reply Quote 1
      • Dutchman
        Dutchman Developer Most Active Administrators @exmerci last edited by

        @exmerci sagte in Zeitschleife, was ist falsch?:

        @Dutchman

        Ok. Habe ich gemacht und es scheint zu funktionieren. Ich hatte das vorher auch schon probiert, aber mit dem falschen Textbaustein. Da war ein Gedankenfehler drin. Danke.

        dafuer sind wir ja da 🙂
        Koenntst du dein Resultat bitte auch posten fuer die Nachwelt ?

        PS : Was @Homoran meinte ist noch wichtig, deine jetzige falls wird nur bei script start ausgeführt denke mal das du das noch Ländern möchtest 🙂

        E 1 Reply Last reply Reply Quote 0
        • E
          exmerci @Dutchman last edited by

          @Dutchman

          Ah, das war mir so gar nicht bewustt. Danke @Homoran .

          Wie kann ich das ändern? So?

          f66a171c-a6a4-460d-97eb-c835b4d9b487-image.png

          Dutchman 1 Reply Last reply Reply Quote 0
          • Dutchman
            Dutchman Developer Most Active Administrators @exmerci last edited by

            @exmerci sagte in Zeitschleife, was ist falsch?:

            @Dutchman

            Ah, das war mir so gar nicht bewustt. Danke @Homoran .

            Wie kann ich das ändern? So?

            f66a171c-a6a4-460d-97eb-c835b4d9b487-image.png

            richtig ! 👍 👍 👍 👍

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

              @Dutchman sagte in Zeitschleife, was ist falsch?:

              richtig !

              naja, der sonstfalls Blockk sollte natürlich nicht deaktiviert sein und eine sinnvolle Bedingung enthalten

              E 1 Reply Last reply Reply Quote 0
              • E
                exmerci @Homoran last edited by

                @Homoran

                Also so?

                d8f53a8c-5256-41fe-af47-059785b0b017-image.png

                Obwohl ich mich gerade frage, brauche ich den sonstfalls überhaupt, oder würde es auch ohne gehen?

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

                  @exmerci sagte:

                  würde es auch ohne gehen?

                  Ja, mit stop Intervall nur vor dem falls-Block.

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

                    @paul53

                    Meinst du so:

                    7e439e1a-2924-4a2d-b22d-a5d94e9994c7-image.png

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

                      @exmerci sagte:

                      Meinst du so:

                      Nein, so:

                      Blockly_temp.JPG

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

                        @exmerci sagte in Zeitschleife, was ist falsch?:

                        Meinst du so:

                        nein!

                        @paul53 sagte in Zeitschleife, was ist falsch?:

                        Ja, mit stop Intervall nur vor dem falls-Block.

                        nur und nicht dahinter

                        E 1 Reply Last reply Reply Quote 0
                        • E
                          exmerci @Homoran last edited by

                          @Homoran

                          Also wie @paul53 schon gepostet hat. So:

                          685760be-23b9-4af6-96a9-d2a7825e93ac-image.png

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

                            @exmerci sagte in Zeitschleife, was ist falsch?:

                            Also wie @paul53 schon gepostet hat. So:

                            Hatt sich überschnitten - Ja, so!

                            E 1 Reply Last reply Reply Quote 0
                            • E
                              exmerci @Homoran last edited by

                              Ich danke Euch. Lernen kann auch Spaß machen 🙂

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

                                @exmerci sagte in Zeitschleife, was ist falsch?:

                                Lernen kann auch Spaß machen

                                soll es ja auch!
                                und Erfolg ist der beste Ansporn!

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

                                  @exmerci sagte:

                                  Lernen kann auch Spaß machen

                                  Dann zu meiner Version mit Wert (aus "Trigger") ohne Vergleich: Die implizite Typ-Wandlung von Javascript liefert bei einem Leerstring false und bei jedem anderen String true.

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

                                    @paul53

                                    meinst du das?

                                    366e3ba3-853b-40e8-bb52-f5bd548ad2e1-image.png

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

                                      @exmerci nein, sondern seinen letzten Post mit Bild.
                                      Da hat er den roten Block "WERT" statt den blauen "Wert von...." genommen

                                      E 1 Reply Last reply Reply Quote 0
                                      • E
                                        exmerci @Homoran last edited by exmerci

                                        @Homoran

                                        Ok. Das werde ich bei Gelegenheit auch mal ausprobieren.
                                        Das Problem ist, weshalb ich es auch erst ohne den Trigger gemacht hatte, das wenn es tatsächlich eine Unwetterwarnung gibt, das Feld nur einmal geändert wird und danach Stunden später dann erst wieder. Deshalb ist das mit dem geändert Trigger nicht so schnell zu testen.

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

                                          @exmerci nicht dass wir aneinander vorbeireden.
                                          Es geht nicht um den Trigger, sondern den Baustein "WERT" hinter "falls", den Paul hier
                                          Bild Text
                                          im falls anstelle deines "Wert von......" konstruktes:
                                          Bild Text

                                          genommen hatte

                                          E 1 Reply Last reply Reply Quote 0
                                          • E
                                            exmerci @Homoran last edited by exmerci

                                            @Homoran

                                            Verstehe ich das richtig, das der Baustein WERT dann guckt, ob das Feld gefüllt ist und wenn ja, den Intervall auslöst?

                                            Homoran paul53 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            709
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            50
                                            2544
                                            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