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] Schaltzustand Verzögern

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    [gelöst] Schaltzustand Verzögern

    This topic has been deleted. Only users with topic management privileges can see it.
    • Aphofis
      Aphofis @paul53 last edited by Aphofis

      @paul53
      Wie soll ich denn dann Telegram einfügen oder was verstehen !? JavaScript ist nix für mich !
      Stimmen im JS denn die Datenpunkte !?

      1 Reply Last reply Reply Quote 0
      • Aphofis
        Aphofis last edited by

        Icch würde das JS ja gerne selbst zu einem Blockly machen aber das ist mir noch zu unverständlich aus dem Text die Bausteine zu machen.

        1 Reply Last reply Reply Quote 0
        • Aphofis
          Aphofis last edited by Aphofis

          gibt es nihct einen Compiler oder Converter der aus JS Blockly Code erstellt den man in Blockly importieren kann !?
          Anhang:
          Osmose dosiert und wenn der Schwimmer false ist stoppt das Magnetventil sofort.
          So wie es soll!
          Nur in Blockly wäre es mir lieber !

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

            @Aphofis sagte:

            gibt es nihct einen Compiler oder Converter der aus JS Blockly Code erstellt den man in Blockly importieren kann !?

            Ist mir nicht bekannt.

            @Aphofis sagte in Schaltzustand Verzögern:

            Nur in Blockly wäre es mir lieber !

            Ist mir aber zu umständlich.

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

              @paul53
              Das habe ich mir schon gedacht!
              wenn ich wüsste was alle blöcke sind, wäre es mir auch einfach alles abzuleiten.
              zb const wäre dann eine Variable aber das muss ich dann erstmal lernen was was ist.

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

                @paul53 sagte in Schaltzustand Verzögern:

                @Aphofis sagte:

                gibt es nihct einen Compiler oder Converter der aus JS Blockly Code erstellt den man in Blockly importieren kann !?

                Ist mir nicht bekannt.

                @Aphofis sagte in Schaltzustand Verzögern:

                Nur in Blockly wäre es mir lieber !

                Ist mir aber zu umständlich.

                Schade

                1 Reply Last reply Reply Quote 0
                • Aphofis
                  Aphofis last edited by Aphofis

                  Mein Beruf, erlaubt es mir auch leider nicht mehr Zeit zu haben um das ein oder andere zu lernen.
                  Ich komme ja nicht mal mit Ableton Live weiter zu lernen.
                  Es laufen einfach zu viele Projekte nebenbei!
                  Zeit ist leider knapp bemessen und verfügbar!
                  Deshalb erfreue ich mich ja wenn mir hier im Forum geholfen wird und du hast mir da nicht nur unter die Arme gegriffen sondern einen kompletten Satz krücken gebaut!!!! Was ich dir an Zeitaufwand auch sehr hoch anrechne. Klar kannst du dir nix dafür kaufen! Doch vllt dran erfreuen wenn eine Steuerung funktioniert.

                  1 Reply Last reply Reply Quote 0
                  • Aphofis
                    Aphofis last edited by

                    @paul53
                    Wenn Filter Max Schwimmer tatsächlich mal true sein sollte, gibt es dann eine telegram nachricht das Osmose und Skimmer abgeschaltet wurden !?

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

                      @Aphofis sagte:

                      gibt es dann eine telegram nachricht

                      Ja, das ist der unterste Teil im Skript (Zeilen 69 - 77).

                      on({id: 'sonoff.0.Aqua_Power.POWER3', change: "ne"}, function (obj) {
                        var txt;  
                        if (obj.state.val) txt = text_ein;   
                        else txt = text_aus;   
                        sendTo("telegram.0", "send", {
                          text: txt
                        });
                        log(txt);
                      });
                      
                      Aphofis 1 Reply Last reply Reply Quote 0
                      • Aphofis
                        Aphofis @paul53 last edited by

                        @paul53
                        OK und nach einem Pi Neustart bleibt die restzeit verfügbar was am Tag dosiert werden darf !?

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

                          @Aphofis sagte:

                          nach einem Pi Neustart bleibt die restzeit verfügbar was am Tag dosiert werden darf !?

                          Ja, dafür sorgen die Zeilen 16 und 29.

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

                            @paul53
                            OK
                            Die Steuerung läuft jetzt! Ich werde dann berichten ob alles tadellos läuft und auch keine zu viel dosierungen mehr vorkommen.
                            Zumindest hoffe ich es! Wenn Osmose Schwimmer false ist sollte zumindet nix mehr laufen.
                            Als ich das JS gestartet hatte, ist die Osmose auch los gelaufen da ca. 2 Liter fehlten.
                            Hatte Heute gegen Mittag die Osmose Steuerung per VPN deaktiviert da ich nicht wieder eine Überrasschung haben wollte.
                            Osmose hat mit der JS Steuerung 3 mal dosiert jetzt ist momentan Ruhe und Schwimmer ist false und Magnet Ventil auch also alles wie es soll.
                            Wenn Filter Max von True in false wechselt wann wird der Skimmer wieder eingeschaltet ?

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

                              @Aphofis sagte:

                              Wenn Filter Max von True in false wechselt wann wird der Skimmer wieder eingeschaltet ?

                              Ja, mit 10 s Verzögerung gegenüber Magnetventil: Zeile 60.
                              Also insgesamt 20 s Verzögerung, nachdem Filter Max von true in false wechselt.

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

                                @paul53 OK Prima!
                                Dafür das bei mir ein JS jetzt die Osmose und Filter MAx übernommen hat, muss ich dir nun Löcher in Bauch fragen!!! Ich hoffe das ist OK

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

                                  @Aphofis sagte:

                                  Ich hoffe das ist OK

                                  Ja, besser als ein Blockly, bei dem Du dann noch die richtigen Datenpunkt-IDs zuordnen müsstest.

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

                                    @paul53 Punkt für Dich !!! 😊

                                    1 Reply Last reply Reply Quote 0
                                    • Aphofis
                                      Aphofis last edited by

                                      @paul53
                                      Jetzt gerade wurde wieder zu viel dosiert
                                      Wie kommt sowas ?

                                      E453A3D9-DE9F-458D-B9C2-B1CB26221496.jpeg

                                      1 Reply Last reply Reply Quote 0
                                      • Aphofis
                                        Aphofis last edited by

                                        Osmose Schwimmer ist false und Magnet Ventil läuft einfach weiter zumindest in Objekte in ioBroker ist der datenpunkt Osmose Niveau Schwimmer false und in der Web Oberfläche vom tasmota gerät

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

                                          @Aphofis sagte:

                                          Osmose Schwimmer ist false und Magnet Ventil läuft einfach weiter

                                          Laufen die Wellen-Skripte, so dass der Computer vielleicht überlastet ist ?

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

                                            @paul53
                                            Nein die sind aus!
                                            16% RAM sind frei

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            600
                                            Online

                                            32.0k
                                            Users

                                            80.4k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            262
                                            16354
                                            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