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] "BI-Stabiles" Blockly-Skript

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    [gelöst] "BI-Stabiles" Blockly-Skript

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

      Ich stehe gerade auf dem Schlauch.

      Ich benötige ein kleines Blockly-Skript, das einen Datenpunkt (für eine Pumpensteuerung) bei dem erstenTastendruck (Kommt per mqtt) von 0 auf 1 und bei dem zweiten wieder von 1 auf 0 ändert.

      Grüße

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

        @beowolf sagte: Tastendruck (Kommt per mqtt) von 0 auf 1 und bei dem zweiten wieder von 1 auf 0 ändert.

        Taste liefert true bei Betätigung?

        Blockly_temp.JPG

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

          @paul53 sagte in suche "BI-Stabiles" Blockly-Skript:

          Taste liefert true bei Betätigung?

          Nee, nur 0 oder 1.

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

            @beowolf sagte: nur 0 oder 1.

            Wechselt bei Betätigung von 0 auf 1? Dann

            Blockly_temp.JPG

            B 1 Reply Last reply Reply Quote 0
            • B
              Beowolf last edited by

              Also zum Ablauf nochmal.

              Das was von mqtt kommt ist folgendes.

              Der Taster ist ein Sensor-Taster der von 0 auf 1 wechselt, solange der Finger im Sensorbereich ist. Nehme ich den Finger wieder weg, wechselt er wieder auf 0.

              Was passieren soll: Wechsel von 0 auf 1 - Pumpe ein. Bei dem nächsten wechsel von 0 auf 1 - Pumpe wieder aus.

              Grüße

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

                @beowolf sagte: Was passieren soll: Wechsel von 0 auf 1 - Pumpe ein. Bei dem nächsten wechsel von 0 auf 1 - Pumpe wieder aus.

                Genau das macht mein Vorschlag.

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

                  @paul53

                  Jepp, geht jetzt.

                  Vielen Dank für die Hilfe.

                  PS:
                  Hatte ich nur noch einmal zur Verdeutlichung geschrieben.

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

                  Support us

                  ioBroker
                  Community Adapters
                  Donate

                  853
                  Online

                  32.1k
                  Users

                  80.7k
                  Topics

                  1.3m
                  Posts

                  2
                  7
                  149
                  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