Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. JavaScript
    5. Osmose Dosierung }}} Problem {{{

    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

    Osmose Dosierung }}} Problem {{{

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

      @paul53
      oder ist es ein Problem wie du mal sagtest, das

      const idRestzeit = '0_userdata.0.Aqua_Control.0.Osmose_System.Osmose.Restzeit';
      

      nicht im Javascript ordner liegt !?

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

        @aphofis sagte: ist es ein Problem wie du mal sagtest, das

        const idRestzeit = '0_userdata.0.Aqua_Control.0.Osmose_System.Osmose.Restzeit';
        

        nicht im Javascript ordner liegt !?

        Nein.

        Überwache mal den Magnetventil-Datenpunkt in einem Prüfskript:

        on({id: 'sonoff.0.Aqua_Control.POWER1'}, function(dp) {
           log('Magnetventil: ' + dp.state.val + ', Ack: ' + dp.state.ack + ', Quelle: ' + dp.state.from);
        });
        
        Aphofis 1 Reply Last reply Reply Quote 0
        • Aphofis
          Aphofis @paul53 last edited by Aphofis

          @paul53
          wenn ich den schwimmer ziehe kommt nur das
          Magnetventil.png
          oder soll ich das magnetventil manuel per ESP schalten !?

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

            @aphofis
            Wenn der Schwimmer nach ca. 1 s wieder auf false zurück geht, wird das Magnetventil nicht aktiviert, da erst die Entprellzeit von 2 s vergehen muss.

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

              @paul53
              was heisst das jetzt im klartext!?

              Ich teste morgen mal das magnetventil ob das einen defekt hat.
              Bei Meerwasser weiss man nie! Das Magnet Ventil ist zwar in einem Kunststoff gehäuse eingebaut aber Seeluft mit Salz kommt ja in der Technik in jede Ritze.

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

                @aphofis
                Laut Log pendelt der Schwimmer in ca. 1-Sekunden-Abstand zwischen false und true. Das ist sicherlich nicht das gewünschte Verhalten, da der Schwimmer ja das Magnetventil steuern soll?

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

                  @paul53
                  Ich denke das pendeln war ich ich hatte den Schwimmer ja nur mehrmals gezogen
                  Ich teste morgen das Magnetventil! Ich habe noch ersatz liegen.
                  Ich sage morgen bescheid was mit dem Ventil los ist wenn das mechanisch funktioniert muss es an etwas anderem liegen.
                  Aber schon mal toll das ich mit der Steuerung nicht alleine bin und du bei Seite stehst wenn Not am Mann ist!!!

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

                    @aphofis sagte: ich ich hatte den Schwimmer ja nur mehrmals gezogen

                    In so kurzem Abstand? Das ist zum Testen der Funktion ungeeignet.

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

                      @paul53
                      I'm sorry

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

                        @aphofis
                        Damit das Magnetventil schneller auf den Schwimmer reagiert, ändere mal die Entprellung:

                        var entprell = null;
                        on({id: 'sonoff.0.Aqua_Float.POWER1', change: "ne"}, function (obj) {
                          log('Schwimmer: ' + obj.state.val)
                          if(!entprell) {
                            entprell = setTimeout(function() {
                                entprell = null;
                            }, 2000); // 2 s  
                            Schwimmer = obj.state.val;
                            if(Schwimmer) Magnetventil_Ein();
                            else setState("sonoff.0.Aqua_Control.POWER1"/*Osmose_Magnetventil*/, false);
                          }  
                        });
                        
                        Aphofis 1 Reply Last reply Reply Quote 0
                        • Aphofis
                          Aphofis @paul53 last edited by

                          @paul53
                          Das kam eben ohne mein zutun
                          Magnetventil.png

                          hab die entprell zeit jetzt auf 1000 gestellt wenn das richtig ist

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

                            @aphofis sagte: Das kam eben ohne mein zutun

                            Das sieht doch gut aus, wenn das Magnetventil auch betätigt bleibt. Was passierte danach?

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

                              @paul53
                              nichts es pumpt nur kurz das wars
                              ich vermute das ventil hat ne meise
                              ich checke das morgen

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

                              Support us

                              ioBroker
                              Community Adapters
                              Donate

                              808
                              Online

                              31.9k
                              Users

                              80.1k
                              Topics

                              1.3m
                              Posts

                              blockly javascript
                              2
                              28
                              856
                              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