Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. JavaScript
    5. Umdrehung pro Minute berechnen

    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

    Umdrehung pro Minute berechnen

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

      Hallo,

      Ich brauche eure Hilfe.

      Ich habe einen reedkontakt welcher mir pro umdrehung ein Signal liefert. Nun möchte ich mir gerne die Umdrehungen pro Minute berechnen. Und im Vis anzeigen lassen. Wie kann ich das am besten im Blockly lösen? Vielen Dank für eure hilfe.

      Gruss Thomas

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

        @thomasSC sagte:

        Umdrehungen pro Minute berechnen.

        Blockly_temp.JPG

        1 Reply Last reply Reply Quote 0
        • T
          thomasSC last edited by

          danke ich werde es ausprobieren. das "last" ist ein Datenpunkt den ich erst generieren muss oder?

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

            @thomasSC sagte in Umdrehung pro Minute berechnen:

            das "last" ist ein Datenpunkt den ich erst generieren muss oder?

            last ist eine Variable, die erst erstellt werden muss. Wert und letzte Änderung sind Eigenschaften des Trigger-Datenpunktes.

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

              @paul53 danke das hat super funktioniert. Kann man. Noch eine Zeit eingeben falls mal kein signalumschlag kommt dass die drehzahl auf 0 geht? Aktuell steht immer die letzte drehzahl da.

              Danke und Gruss

              Thomas

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

                @thomasSC sagte:

                Noch eine Zeit eingeben falls mal kein signalumschlag kommt dass die drehzahl auf 0 geht?

                Blockly_temp.JPG

                1 Reply Last reply Reply Quote 0
                • T
                  thomasSC last edited by

                  Danke das klappt auch. Kann mann über blockly auch Eingänge verzögern? Also das Eingang eins für 5 sek. Wahr sein soll und dann erst was geschaltet wird? Und wenn nur 4 sek wahr ist dann nicht schaltet? Danke

                  Gruss Thomas

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

                    @thomasSC sagte:

                    Also das Eingang eins für 5 sek. Wahr sein soll und dann erst was geschaltet wird?

                    Blockly_temp.JPG

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

                      @paul53 du bist der hammer. Danke. Wo mach ich die Einstellung für Eingang wahr oder falsch?

                      paul53 1 Reply Last reply Reply Quote -1
                      • paul53
                        paul53 @thomasSC last edited by paul53

                        @thomasSC sagte:

                        Wo mach ich die Einstellung für Eingang wahr oder falsch?

                        Die ist bereits enthalten: falls Wert prüft den Wert des Trigger-Datenpunktes auf wahr, der sonst-Zweig wird bei falsch ausgeführt.

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

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        567
                        Online

                        31.9k
                        Users

                        80.2k
                        Topics

                        1.3m
                        Posts

                        javascript
                        2
                        10
                        657
                        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