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.
    • paul53
      paul53 @Aphofis last edited by paul53

      @Aphofis sagte:

      Wie kann denn jetzt sowas kommen !?

      Noch irgend etwas anderes an der Hardware geändert ? 3,3 V liegen am Schwimmer-Kontakt an und der Eingangspegel (D8) ändert sich zwischen 0 V und 3,3 V bei Schwimmerbetätigung ?

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

        @paul53

        Dazu muss ich Iobroker runterfahren und den Controller raus holen aus dem Schrank.
        Meine vorgabe Schaltung bezieht sich ja auf einen Schwimmer anschluß von 5 Volt mit einem 10 kOhm Widerstand.
        Kann es sein das dass Signal zu schwach ist wenn 3,3 Volt mit 10 kOhm gedrosselt werden als Steuerstrom !?
        Das mache ich morgen mal wie viel Volt anliegen. In den Schrank krabbeln, kann man sich ja vorstellen das es etwas eng ist um da überhaupt etwas zu veranstalten.

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

          @paul53 sagte in Schaltzustand Verzögern:

          @Aphofis sagte:

          Wie kann denn jetzt sowas kommen !?

          Noch irgend etwas anderes an der Hardware geändert ? 3,3 V liegen am Schwimmer-Kontakt an und der Eingangspegel (D8) ändert sich zwischen 0 V und 3,3 V bei Schwimmerbetätigung ?

          Nein an der Hardware habe ich nichts geändert und an den Tasmota Einstellungen habe ich auch nix geändert.
          Das ist ja das merkwürdige.

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

            Damit auch alle was davon haben:
            Bildschirmfoto 2019-10-07 um 00.18.30.png
            Aqua Control und Aqua Float vor dem Stecker Buchsen Umbau
            IMG_5721.jpeg
            IMG_5720.jpeg
            IMG_5723.jpeg
            IMG_5722.jpeg

            Stecker Umbau auf Mikrofon Stecker Buchsen Neue Acryl Bauteile habe ich mir mal erspart.
            IMG_5170.jpeg
            IMG_5169.jpeg
            Mikrofon Stecker im Betrieb
            IMG_5915.jpeg
            IMG_5912.jpeg
            IMG_5173.jpeg
            IMG_5172.jpeg

            Glasfaser 1 Reply Last reply Reply Quote 1
            • Glasfaser
              Glasfaser @Aphofis last edited by

              @Aphofis

              Da fehlen mir die Worte …... 👍

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

                @Glasfaser Das doch nur einer der drei Controller
                Aber Danke

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

                  @Aphofis

                  Ich kann es leider nicht auf deinen Bildern erkennen .bzw. im Schaltplan ist es auch nicht
                  daher …...:

                  Ich würde die 4 Schuko-Steckdosen einzeln mit Feinsicherungen absichern , da du sonst bei einem Fehlerfall die gesamte Steuerung still legst !

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

                    @Glasfaser
                    Ja das hatte ich mir auch schon überlegt!
                    Nur sind die 240 Volt Steckdosen vom Aqua Control nicht in benutzung.
                    Doch beim Aqua Power Kasten sollte ich unabdingbar Sicherungen einbauen.
                    Ist ja alles noch im Aufbau!
                    Es fehlen ja noch Leitwert, Ph Wert und TDS ppm Sonden.
                    PH Wert und TDS Sonden mit Boaards habe ich schon nur leider schwanken die Werte so extrem am ADS1115 das ich die so nihct benutzen kann.
                    Bin aber dran den ADS 11115 am ESP8266 zu betreiben. Dann wird der Aqua Control ein wenig erweitert.

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

                      @Aphofis sagte in Schaltzustand Verzögern:

                      Ist ja alles noch im Aufbau!

                      Deshalb ja , Sicherheit geht vor , bevor sich deine Schaltungen in Rauch auflösen 😉

                      Aphofis 1 Reply Last reply Reply Quote 1
                      • Aphofis
                        Aphofis @Glasfaser last edited by Aphofis

                        @Glasfaser
                        Das werde ich demnächst auch vornehmen.
                        Sowas kann man sicherlich nehmen und mit 15 Ampere je Stechdosen Verbindung absichern
                        Bildschirmfoto 2019-10-07 um 00.27.07.png
                        Aber ein sehr sehr guter Einwand !!!

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

                          @Aphofis

                          Neee ……. nicht mit Autosicherungen , nimm Feinsicherungen !!!

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

                            @Glasfaser
                            Naja Glas Sicherungen sind auch besser denke ich auch
                            Sicherungsautomaten geht sicherlich am besten bei so engem Raum.
                            Bildschirmfoto 2019-10-07 um 00.33.58.png

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

                              @Glasfaser
                              Ich denke mal ich sichere jedes Relais mit je 10 Ampere ab da auch jedes Relais bis 10 Ampere hat.

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

                                @paul53
                                Also die Freilaufdiode scheint ihren Dienst zu tun!
                                seid 2 tagen kein ml zu viel gepumpt.
                                Trotz dessen baue ich Schwimmer Magnetventil um.
                                27kOhm widerstände sind auch schon angekommen.
                                Verstehe ich es richtig, 12 Volt strom über den Schwimmer somit wird das Magnetventil mechanisch getrennt und über die Steuerung und dem Relais wird es Software technisch verbunden oder getrennt !?

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

                                  @Aphofis sagte:

                                  Verstehe ich es richtig, 12 Volt strom über den Schwimmer somit wird das Magnetventil mechanisch getrennt und über die Steuerung und dem Relais wird es Software technisch verbunden oder getrennt !?

                                  Ja, der Schwimmer trennt das Magnetventil elektrisch von 12 V und das Relais zusätzlich per Software. Über den Spannungsteiler 27/10 kOhm an D8 erfährt die Software den Zustand des Schwimmers.

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

                                    @paul53
                                    Das klingt echt Spitze! Ich mache mich am Wochenende dabei und bau das um.

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

                                      @paul53
                                      So ich ahbe jetzt den Osmose Schwimmer und das Magnetventil neu verkabelt.
                                      Muss ja eigentlich nichts mehr geändert werden an der Steuerung.
                                      Doch ist es nach wie vor möglich das du mir aus dem Javascript ein Blockly zaubern kannst !?
                                      Bis jetzt kann ich sagen, hatte es gestern umgebaut da lief nix also den Haupt Steuerkasten ausgebaut und stehen gelassen.
                                      Dann hab ich heute für die Osmose eine eigene kleine Platine gebaut und neue widerstände genommen.
                                      Drei Schwimmer seigten den falschen Zustand also fix die Körper umgedreht und dann war alles Top.
                                      Dann alles wieder eingebaut und siehe da, die Osmose pumpt fröhlich los bis Osmose Schwimmer false war. sprich kein Strom und auch relais technisch getrennt wurde. da Tasmota dann false anzeigte und gemessen am Buchsen anschluß vom Magnet Ventil und am Relais liegen keine 12 volt mehr an.
                                      Ich bin sehr zufrieden! nur eine Steuerung als Blockly wäre sehr toll!!!
                                      Vielen Dank für deine Hilfe @paul53

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

                                        @Aphofis sagte:

                                        aus dem Javascript ein Blockly zaubern kannst !?

                                        Ich hoffe, dass ich keine Fehler eingebaut habe. An 3 Stellen muss noch die bereits bestehende Datenpunkt-ID für die Restzeit zugewiesen werden.

                                        <xml xmlns="http://www.w3.org/1999/xhtml">
                                         <variables>
                                           <variable type="" id="|)!c^,7[X`?ynw|;17Zk">Osmosefreigabe</variable>
                                           <variable type="" id="cpJX%}Vx_s[k6j$!LIP@">Schwimmer</variable>
                                           <variable type="" id="FuUwnl6AyzTl8Jb7{h:(">Restzeit</variable>
                                           <variable type="undefined" id="Magnetventil_Kontrolle">Magnetventil_Kontrolle</variable>
                                           <variable type="undefined" id="timeout_aus">timeout_aus</variable>
                                           <variable type="undefined" id="timeout_ein">timeout_ein</variable>
                                           <variable type="" id="_gaX3prdQJcF[P3IpJs1">txt</variable>
                                         </variables>
                                         <block type="variables_set" id="T,TD,uS]YF:_+z`th:,8" x="38" y="-12">
                                           <field name="VAR" id="|)!c^,7[X`?ynw|;17Zk" variabletype="">Osmosefreigabe</field>
                                           <value name="VALUE">
                                             <block type="logic_negate" id="LaD35tJ+xzy.xsCy=*~f">
                                               <value name="BOOL">
                                                 <block type="get_value_var" id="l|ju{O}z3#+0)5~U{;x5">
                                                   <field name="ATTR">val</field>
                                                   <value name="OID">
                                                     <shadow type="text" id="aYE1nf3CK$7,N#vaCEig">
                                                       <field name="TEXT">sonoff.0.Aqua_Float.POWER4</field>
                                                     </shadow>
                                                   </value>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                           <next>
                                             <block type="variables_set" id="?]gq?736Zw/}5S$#sO{S">
                                               <field name="VAR" id="cpJX%}Vx_s[k6j$!LIP@" variabletype="">Schwimmer</field>
                                               <value name="VALUE">
                                                 <block type="get_value_var" id="E@J~Bi`J@4):s(+`5MH@">
                                                   <field name="ATTR">val</field>
                                                   <value name="OID">
                                                     <shadow type="text" id="nlJf%R[usv0.A!LEjn8K">
                                                       <field name="TEXT">sonoff.0.Aqua_Float.POWER1</field>
                                                     </shadow>
                                                   </value>
                                                 </block>
                                               </value>
                                               <next>
                                                 <block type="variables_set" id="#[3ERz73?FhKq96=^|+a">
                                                   <field name="VAR" id="FuUwnl6AyzTl8Jb7{h:(" variabletype="">Restzeit</field>
                                                   <value name="VALUE">
                                                     <block type="math_arithmetic" id="@jS^)bBYfX#1dH:D1kdH">
                                                       <field name="OP">DIVIDE</field>
                                                       <value name="A">
                                                         <shadow type="math_number" id="q!^ViYZx3LnzVq1kp_Za">
                                                           <field name="NUM">1</field>
                                                         </shadow>
                                                         <block type="get_value" id="3rMNzt~=n7h?^U|p9$|V">
                                                           <field name="ATTR">val</field>
                                                           <field name="OID">ID auswählen</field>
                                                         </block>
                                                       </value>
                                                       <value name="B">
                                                         <shadow type="math_number" id="S7Sc+~JrKqP70}B!6YdK">
                                                           <field name="NUM">2</field>
                                                         </shadow>
                                                       </value>
                                                     </block>
                                                   </value>
                                                   <next>
                                                     <block type="controls_if" id="_f-Vsl8#ynS`Fik*J{2m">
                                                       <mutation else="1"></mutation>
                                                       <value name="IF0">
                                                         <block type="logic_operation" id="l6zyYi33=~e]~o3pZjEk">
                                                           <field name="OP">AND</field>
                                                           <value name="A">
                                                             <block type="variables_get" id="*@6,/{sJsZ_O%U{AP+CK">
                                                               <field name="VAR" id="cpJX%}Vx_s[k6j$!LIP@" variabletype="">Schwimmer</field>
                                                             </block>
                                                           </value>
                                                           <value name="B">
                                                             <block type="variables_get" id=")+,=Oye#G14$VHNQ}280">
                                                               <field name="VAR" id="|)!c^,7[X`?ynw|;17Zk" variabletype="">Osmosefreigabe</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                       <statement name="DO0">
                                                         <block type="procedures_callnoreturn" id="5YwW-.lKBl--l?q{4t1J">
                                                           <mutation name="Magnetventil_Ein"></mutation>
                                                         </block>
                                                       </statement>
                                                       <statement name="ELSE">
                                                         <block type="control_ex" id="R7?ysq?|_5WZ%he$~fM}">
                                                           <field name="TYPE">false</field>
                                                           <field name="CLEAR_RUNNING">FALSE</field>
                                                           <value name="OID">
                                                             <shadow type="field_oid" id="WUkpQ**faI@Z4%JZHC,w">
                                                               <field name="oid">Object ID</field>
                                                             </shadow>
                                                             <block type="text" id="vas0Q,R8``U1z^jH^Iq_">
                                                               <field name="TEXT">sonoff.0.Aqua_Control.POWER1</field>
                                                             </block>
                                                           </value>
                                                           <value name="VALUE">
                                                             <shadow type="logic_boolean" id="c-z%CN2j*mUN;?0TZka]">
                                                               <field name="BOOL">FALSE</field>
                                                             </shadow>
                                                           </value>
                                                           <value name="DELAY_MS">
                                                             <shadow type="math_number" id="L@y#/K^|aWT+]K*)rb/w">
                                                               <field name="NUM">0</field>
                                                             </shadow>
                                                           </value>
                                                         </block>
                                                       </statement>
                                                       <next>
                                                         <block type="on_ext" id="[J6k5|(P+59Uj?1?LIP)">
                                                           <mutation items="1"></mutation>
                                                           <field name="CONDITION">ne</field>
                                                           <field name="ACK_CONDITION"></field>
                                                           <value name="OID0">
                                                             <shadow type="field_oid" id="_0ZGQU)a3FQV;-H,1cSg">
                                                               <field name="oid">default</field>
                                                             </shadow>
                                                             <block type="text" id="U;8[G}oR7WHwpr1KOu7u">
                                                               <field name="TEXT">sonoff.0.Aqua_Float.POWER1</field>
                                                             </block>
                                                           </value>
                                                           <statement name="STATEMENT">
                                                             <block type="variables_set" id="poL5|G`w`07tv$TJnHTL">
                                                               <field name="VAR" id="cpJX%}Vx_s[k6j$!LIP@" variabletype="">Schwimmer</field>
                                                               <value name="VALUE">
                                                                 <block type="on_source" id=",{s2PL$Z~XF-K.@K$(cZ">
                                                                   <field name="ATTR">state.val</field>
                                                                 </block>
                                                               </value>
                                                               <next>
                                                                 <block type="controls_if" id="H%UVLm)Rt%]quWQqMvWA">
                                                                   <mutation else="1"></mutation>
                                                                   <value name="IF0">
                                                                     <block type="variables_get" id="yC`v828KWhNwgeCleQ-*">
                                                                       <field name="VAR" id="cpJX%}Vx_s[k6j$!LIP@" variabletype="">Schwimmer</field>
                                                                     </block>
                                                                   </value>
                                                                   <statement name="DO0">
                                                                     <block type="procedures_callnoreturn" id="78+=kjp^Bb$W[x4R0mJ?">
                                                                       <mutation name="Magnetventil_Ein"></mutation>
                                                                     </block>
                                                                   </statement>
                                                                   <statement name="ELSE">
                                                                     <block type="control_ex" id="c*B!H:=8)@Q?9PQqZewx">
                                                                       <field name="TYPE">false</field>
                                                                       <field name="CLEAR_RUNNING">FALSE</field>
                                                                       <value name="OID">
                                                                         <shadow type="field_oid" id="MFc!(wX]Kezq12=UD^(o">
                                                                           <field name="oid">Object ID</field>
                                                                         </shadow>
                                                                         <block type="text" id="!ysAYoE!tChWd0AUZHI_">
                                                                           <field name="TEXT">sonoff.0.Aqua_Control.POWER1</field>
                                                                         </block>
                                                                       </value>
                                                                       <value name="VALUE">
                                                                         <shadow type="logic_boolean" id="K3o=Mz%aU[/reur}h/cC">
                                                                           <field name="BOOL">FALSE</field>
                                                                         </shadow>
                                                                       </value>
                                                                       <value name="DELAY_MS">
                                                                         <shadow type="math_number" id="eK|D21}|u5k9gyIcsP}0">
                                                                           <field name="NUM">0</field>
                                                                         </shadow>
                                                                       </value>
                                                                     </block>
                                                                   </statement>
                                                                 </block>
                                                               </next>
                                                             </block>
                                                           </statement>
                                                           <next>
                                                             <block type="schedule" id="Cf5z,i4+BPx|mC.s[7sV">
                                                               <field name="SCHEDULE">0 0 * * *</field>
                                                               <statement name="STATEMENT">
                                                                 <block type="variables_set" id="/wsd{Zb9=#M^sFr0lq(Y">
                                                                   <field name="VAR" id="FuUwnl6AyzTl8Jb7{h:(" variabletype="">Restzeit</field>
                                                                   <value name="VALUE">
                                                                     <block type="math_number" id="-Hi0vG@x!xaB;%z!O=-(">
                                                                       <field name="NUM">150</field>
                                                                     </block>
                                                                   </value>
                                                                   <next>
                                                                     <block type="update" id="+PCSBc.pL9xd[p@AbF8J">
                                                                       <mutation delay_input="false"></mutation>
                                                                       <field name="OID">Object ID</field>
                                                                       <field name="WITH_DELAY">FALSE</field>
                                                                       <value name="VALUE">
                                                                         <block type="math_number" id="Kbi(va6W}D5^8Ta1O-*O">
                                                                           <field name="NUM">300</field>
                                                                         </block>
                                                                       </value>
                                                                       <next>
                                                                         <block type="controls_if" id="@*6`m281q7NQH,k(jr|0">
                                                                           <value name="IF0">
                                                                             <block type="variables_get" id="JCANc=bPArkFDUEAnp1n">
                                                                               <field name="VAR" id="cpJX%}Vx_s[k6j$!LIP@" variabletype="">Schwimmer</field>
                                                                             </block>
                                                                           </value>
                                                                           <statement name="DO0">
                                                                             <block type="procedures_callnoreturn" id="+!TEwr9*p)cZ(yo]Tr(q">
                                                                               <mutation name="Magnetventil_Ein"></mutation>
                                                                             </block>
                                                                           </statement>
                                                                         </block>
                                                                       </next>
                                                                     </block>
                                                                   </next>
                                                                 </block>
                                                               </statement>
                                                               <next>
                                                                 <block type="on_ext" id="cicl].4B85_)1|{Y~XG1">
                                                                   <mutation items="1"></mutation>
                                                                   <field name="CONDITION">ne</field>
                                                                   <field name="ACK_CONDITION"></field>
                                                                   <value name="OID0">
                                                                     <shadow type="field_oid" id="R?CY58jIPOBvFp6,8]Fb">
                                                                       <field name="oid">default</field>
                                                                     </shadow>
                                                                     <block type="text" id="Xb:%-uKTD@n:E2/=UF23">
                                                                       <field name="TEXT">sonoff.0.Aqua_Float.POWER4</field>
                                                                     </block>
                                                                   </value>
                                                                   <statement name="STATEMENT">
                                                                     <block type="controls_if" id="1cSGJ,Y+AFozV^1tsBa~">
                                                                       <mutation else="1"></mutation>
                                                                       <value name="IF0">
                                                                         <block type="on_source" id="E0]Pg75?gS_z@e=9KLeV">
                                                                           <field name="ATTR">state.val</field>
                                                                         </block>
                                                                       </value>
                                                                       <statement name="DO0">
                                                                         <block type="timeouts_settimeout" id="w-iN~D2`G8?S%$;Ek.j8">
                                                                           <field name="NAME">timeout_aus</field>
                                                                           <field name="DELAY">5</field>
                                                                           <field name="UNIT">sec</field>
                                                                           <statement name="STATEMENT">
                                                                             <block type="variables_set" id="^^xI_3f,D{$a/No:X]X/">
                                                                               <field name="VAR" id="|)!c^,7[X`?ynw|;17Zk" variabletype="">Osmosefreigabe</field>
                                                                               <value name="VALUE">
                                                                                 <block type="logic_boolean" id="FvH0$Y:Ks;z8?F1=mB|l">
                                                                                   <field name="BOOL">FALSE</field>
                                                                                 </block>
                                                                               </value>
                                                                               <next>
                                                                                 <block type="control_ex" id="Qcc0UGB%.5!uDPk}*[_=">
                                                                                   <field name="TYPE">false</field>
                                                                                   <field name="CLEAR_RUNNING">FALSE</field>
                                                                                   <value name="OID">
                                                                                     <shadow type="field_oid" id="H#YjrkYifVaza*|zrw=S">
                                                                                       <field name="oid">Object ID</field>
                                                                                     </shadow>
                                                                                     <block type="text" id="0.|xZaRp30(0A21cI(y%">
                                                                                       <field name="TEXT">sonoff.0.Aqua_Power.POWER3</field>
                                                                                     </block>
                                                                                   </value>
                                                                                   <value name="VALUE">
                                                                                     <shadow type="logic_boolean" id="D;*5-ku%,C9*7Pv?_U}F">
                                                                                       <field name="BOOL">FALSE</field>
                                                                                     </shadow>
                                                                                   </value>
                                                                                   <value name="DELAY_MS">
                                                                                     <shadow type="math_number" id="88Wh(hn/|Gl}$|p$2Tob">
                                                                                       <field name="NUM">0</field>
                                                                                     </shadow>
                                                                                   </value>
                                                                                   <next>
                                                                                     <block type="control_ex" id="2fI1oPf]PGh/!gux`%F(">
                                                                                       <field name="TYPE">false</field>
                                                                                       <field name="CLEAR_RUNNING">FALSE</field>
                                                                                       <value name="OID">
                                                                                         <shadow type="field_oid" id="h1ltC,oMVMT24[^XtrXQ">
                                                                                           <field name="oid">Object ID</field>
                                                                                         </shadow>
                                                                                         <block type="text" id="^uY68tVUgcYi#BPOU3Xt">
                                                                                           <field name="TEXT">sonoff.0.Aqua_Control.POWER1</field>
                                                                                         </block>
                                                                                       </value>
                                                                                       <value name="VALUE">
                                                                                         <shadow type="logic_boolean" id="1~Vg#$:66n;g_$Cx0A_4">
                                                                                           <field name="BOOL">FALSE</field>
                                                                                         </shadow>
                                                                                       </value>
                                                                                       <value name="DELAY_MS">
                                                                                         <shadow type="math_number" id="$$,y!D6xZ=SlN_pz;@Sz">
                                                                                           <field name="NUM">0</field>
                                                                                         </shadow>
                                                                                       </value>
                                                                                     </block>
                                                                                   </next>
                                                                                 </block>
                                                                               </next>
                                                                             </block>
                                                                           </statement>
                                                                           <next>
                                                                             <block type="timeouts_cleartimeout" id="uUw}ROiMHH}TL7XsFEo2">
                                                                               <field name="NAME">timeout_ein</field>
                                                                             </block>
                                                                           </next>
                                                                         </block>
                                                                       </statement>
                                                                       <statement name="ELSE">
                                                                         <block type="timeouts_settimeout" id="Wv`XqOIBTJjv=RK`$fTV">
                                                                           <field name="NAME">timeout_ein</field>
                                                                           <field name="DELAY">10</field>
                                                                           <field name="UNIT">sec</field>
                                                                           <statement name="STATEMENT">
                                                                             <block type="variables_set" id="C^yA5lHW@:*CJUxIh6U8">
                                                                               <field name="VAR" id="|)!c^,7[X`?ynw|;17Zk" variabletype="">Osmosefreigabe</field>
                                                                               <value name="VALUE">
                                                                                 <block type="logic_boolean" id="lf*c8q[IS)|DkiPzRlgg">
                                                                                   <field name="BOOL">TRUE</field>
                                                                                 </block>
                                                                               </value>
                                                                               <next>
                                                                                 <block type="controls_if" id="!T1lr?SEI~@tXU3Pf3i8">
                                                                                   <value name="IF0">
                                                                                     <block type="variables_get" id="GQ:u.71z=cZ:;,.uJlkG">
                                                                                       <field name="VAR" id="cpJX%}Vx_s[k6j$!LIP@" variabletype="">Schwimmer</field>
                                                                                     </block>
                                                                                   </value>
                                                                                   <statement name="DO0">
                                                                                     <block type="procedures_callnoreturn" id="l4=CWIXw!+CtA)Mr;*ek">
                                                                                       <mutation name="Magnetventil_Ein"></mutation>
                                                                                     </block>
                                                                                   </statement>
                                                                                   <next>
                                                                                     <block type="control_ex" id="m~(,PfKpeh,0A{$lYwAz">
                                                                                       <field name="TYPE">false</field>
                                                                                       <field name="CLEAR_RUNNING">FALSE</field>
                                                                                       <value name="OID">
                                                                                         <shadow type="field_oid" id="])8i1)X;%#^~SmQ%]^]3">
                                                                                           <field name="oid">Object ID</field>
                                                                                         </shadow>
                                                                                         <block type="text" id="!Uw!%qX[-yXi1V==`7E.">
                                                                                           <field name="TEXT">sonoff.0.Aqua_Power.POWER3</field>
                                                                                         </block>
                                                                                       </value>
                                                                                       <value name="VALUE">
                                                                                         <shadow type="logic_boolean" id=",qZw^g^?n1XgirmeYsir">
                                                                                           <field name="BOOL">TRUE</field>
                                                                                         </shadow>
                                                                                       </value>
                                                                                       <value name="DELAY_MS">
                                                                                         <shadow type="math_number" id="!Tk;1bN0n91hzd=;GjGb">
                                                                                           <field name="NUM">10000</field>
                                                                                         </shadow>
                                                                                       </value>
                                                                                     </block>
                                                                                   </next>
                                                                                 </block>
                                                                               </next>
                                                                             </block>
                                                                           </statement>
                                                                           <next>
                                                                             <block type="timeouts_cleartimeout" id="Z;L`@8!JS.;yDf{_ztqc">
                                                                               <field name="NAME">timeout_aus</field>
                                                                             </block>
                                                                           </next>
                                                                         </block>
                                                                       </statement>
                                                                     </block>
                                                                   </statement>
                                                                   <next>
                                                                     <block type="on_ext" id="9+]yS$0HT8w=wL_OpMo%">
                                                                       <mutation items="1"></mutation>
                                                                       <field name="CONDITION">ne</field>
                                                                       <field name="ACK_CONDITION"></field>
                                                                       <value name="OID0">
                                                                         <shadow type="field_oid" id="TML+y_Ykpgt*q$y[!Ba~">
                                                                           <field name="oid">default</field>
                                                                         </shadow>
                                                                         <block type="text" id="rFMs6uSHstXD{;Xrx9Tj">
                                                                           <field name="TEXT">sonoff.0.Aqua_Power.POWER3</field>
                                                                         </block>
                                                                       </value>
                                                                       <statement name="STATEMENT">
                                                                         <block type="controls_if" id="a}mIj[@w#oUW*#0+?G[Y">
                                                                           <mutation else="1"></mutation>
                                                                           <value name="IF0">
                                                                             <block type="on_source" id="9u,i?3Gw(FuGM.UNGpOu">
                                                                               <field name="ATTR">state.val</field>
                                                                             </block>
                                                                           </value>
                                                                           <statement name="DO0">
                                                                             <block type="variables_set" id="*Zpg{Uh)XRNlS_j==#t:">
                                                                               <field name="VAR" id="_gaX3prdQJcF[P3IpJs1" variabletype="">txt</field>
                                                                               <value name="VALUE">
                                                                                 <block type="text_join" id="(72R.m3;?U7N=HH#y+Vs">
                                                                                   <mutation items="3"></mutation>
                                                                                   <value name="ADD0">
                                                                                     <block type="text" id="cSj{hxj9a$0[Mx0TLHk=">
                                                                                       <field name="TEXT">Filter Max unterschritten, Skimmer &amp; Osmose</field>
                                                                                     </block>
                                                                                   </value>
                                                                                   <value name="ADD1">
                                                                                     <block type="text_newline" id=";qpXqc!96-9r6+1D-a%T">
                                                                                       <field name="Type">\n</field>
                                                                                     </block>
                                                                                   </value>
                                                                                   <value name="ADD2">
                                                                                     <block type="text" id="+AC9g`J)S[+IN`3Wsh_#">
                                                                                       <field name="TEXT">wurden wieder eingeschaltet</field>
                                                                                     </block>
                                                                                   </value>
                                                                                 </block>
                                                                               </value>
                                                                             </block>
                                                                           </statement>
                                                                           <statement name="ELSE">
                                                                             <block type="variables_set" id="p%)r[d{_,M4ZuxRcYAOw">
                                                                               <field name="VAR" id="_gaX3prdQJcF[P3IpJs1" variabletype="">txt</field>
                                                                               <value name="VALUE">
                                                                                 <block type="text_join" id="~WooRsW9aL*UdOIvor9B">
                                                                                   <mutation items="3"></mutation>
                                                                                   <value name="ADD0">
                                                                                     <block type="text" id="-PhSz(?O{G0Tgu;@UkqJ">
                                                                                       <field name="TEXT">Filter Max erreicht, Skimmer &amp; Osmose</field>
                                                                                     </block>
                                                                                   </value>
                                                                                   <value name="ADD1">
                                                                                     <block type="text_newline" id="kCM86cYqa.uas$lX60bd">
                                                                                       <field name="Type">\n</field>
                                                                                     </block>
                                                                                   </value>
                                                                                   <value name="ADD2">
                                                                                     <block type="text" id="Uh[A#:Sz7#@NT6-0wJ:U">
                                                                                       <field name="TEXT">wurden abgeschaltet</field>
                                                                                     </block>
                                                                                   </value>
                                                                                 </block>
                                                                               </value>
                                                                             </block>
                                                                           </statement>
                                                                           <next>
                                                                             <block type="telegram" id="z:XWz`s.nn{nq6-3+:O8">
                                                                               <field name="INSTANCE">.0</field>
                                                                               <field name="LOG"></field>
                                                                               <field name="SILENT">FALSE</field>
                                                                               <field name="PARSEMODE">default</field>
                                                                               <value name="MESSAGE">
                                                                                 <shadow type="text" id="71tr9gx@t9ka@88_Nd7u">
                                                                                   <field name="TEXT">text</field>
                                                                                 </shadow>
                                                                                 <block type="variables_get" id="B-5;;}Lb9,+ncNl[^We-">
                                                                                   <field name="VAR" id="_gaX3prdQJcF[P3IpJs1" variabletype="">txt</field>
                                                                                 </block>
                                                                               </value>
                                                                               <next>
                                                                                 <block type="debug" id="5Eu3/]x0|Bbt3r3yDm+.">
                                                                                   <field name="Severity">log</field>
                                                                                   <value name="TEXT">
                                                                                     <shadow type="text" id="E=I0g~uNJbq:i_{Ray6z">
                                                                                       <field name="TEXT">test</field>
                                                                                     </shadow>
                                                                                     <block type="variables_get" id="C?(|OQ2A|v~*HqE7~UzL">
                                                                                       <field name="VAR" id="_gaX3prdQJcF[P3IpJs1" variabletype="">txt</field>
                                                                                     </block>
                                                                                   </value>
                                                                                 </block>
                                                                               </next>
                                                                             </block>
                                                                           </next>
                                                                         </block>
                                                                       </statement>
                                                                     </block>
                                                                   </next>
                                                                 </block>
                                                               </next>
                                                             </block>
                                                           </next>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </next>
                                             </block>
                                           </next>
                                         </block>
                                         <block type="procedures_defnoreturn" id="%q|m@_5qAIV$;!vi-~*{" x="587" y="213">
                                           <field name="NAME">Magnetventil_Ein</field>
                                           <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                           <statement name="STACK">
                                             <block type="controls_if" id="[`.=yq(-H[`R%Go-_5|Y">
                                               <value name="IF0">
                                                 <block type="logic_operation" id="$C_lAX-#/bYvy527DKVz" inline="false">
                                                   <field name="OP">AND</field>
                                                   <value name="A">
                                                     <block type="logic_operation" id="Ssh_#4Osua+?O;uKd~;5" inline="false">
                                                       <field name="OP">AND</field>
                                                       <value name="A">
                                                         <block type="logic_negate" id="Nd]dHgzs*aDAX3/ua%Gy">
                                                           <value name="BOOL">
                                                             <block type="variables_get" id="4+P`O]*Jh0]P|)k?*U`s">
                                                               <field name="VAR" id="Magnetventil_Kontrolle" variabletype="undefined">Magnetventil_Kontrolle</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                       <value name="B">
                                                         <block type="variables_get" id="jU@C?Sm^j?u]n}{f}.;~">
                                                           <field name="VAR" id="|)!c^,7[X`?ynw|;17Zk" variabletype="">Osmosefreigabe</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                   <value name="B">
                                                     <block type="logic_compare" id="PU{0pz+}~TQ^Bk{5TVFD">
                                                       <field name="OP">GT</field>
                                                       <value name="A">
                                                         <block type="variables_get" id="}NNP4*?eD5b^X(doI-yg">
                                                           <field name="VAR" id="FuUwnl6AyzTl8Jb7{h:(" variabletype="">Restzeit</field>
                                                         </block>
                                                       </value>
                                                       <value name="B">
                                                         <block type="math_number" id="aW4o4H0QL+D}@5~FA9=]">
                                                           <field name="NUM">0</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                               <statement name="DO0">
                                                 <block type="timeouts_setinterval" id=".:joX7Hs/Yg%)ioCnA3y">
                                                   <field name="NAME">Magnetventil_Kontrolle</field>
                                                   <field name="INTERVAL">2</field>
                                                   <field name="UNIT">sec</field>
                                                   <statement name="STATEMENT">
                                                     <block type="controls_if" id="CZvG`LH0KoNb^^Zn3fQ%">
                                                       <mutation else="1"></mutation>
                                                       <value name="IF0">
                                                         <block type="logic_operation" id="%@LNqiW5dkU]]Fk!|u]X" inline="false">
                                                           <field name="OP">AND</field>
                                                           <value name="A">
                                                             <block type="logic_compare" id="(pXW^RozIrli*.W#}XF9">
                                                               <field name="OP">GT</field>
                                                               <value name="A">
                                                                 <block type="variables_get" id="4.tGJKJI:Kw7B6RK[yy]">
                                                                   <field name="VAR" id="FuUwnl6AyzTl8Jb7{h:(" variabletype="">Restzeit</field>
                                                                 </block>
                                                               </value>
                                                               <value name="B">
                                                                 <block type="math_number" id="gf!AK%^H1js~Q*(u2X~G">
                                                                   <field name="NUM">0</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                           <value name="B">
                                                             <block type="logic_operation" id="8E.-/%WoTQ#BQ]E9z#!r" inline="false">
                                                               <field name="OP">AND</field>
                                                               <value name="A">
                                                                 <block type="variables_get" id="tI:Z_+@.BY$r!!YWX(Kt">
                                                                   <field name="VAR" id="cpJX%}Vx_s[k6j$!LIP@" variabletype="">Schwimmer</field>
                                                                 </block>
                                                               </value>
                                                               <value name="B">
                                                                 <block type="variables_get" id="#XV4*QKxBL.]}Ry.Y}jw">
                                                                   <field name="VAR" id="|)!c^,7[X`?ynw|;17Zk" variabletype="">Osmosefreigabe</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                       <statement name="DO0">
                                                         <block type="math_change" id="i[WC!UQqBv)=$x0TuWKB">
                                                           <field name="VAR" id="FuUwnl6AyzTl8Jb7{h:(" variabletype="">Restzeit</field>
                                                           <value name="DELTA">
                                                             <shadow type="math_number" id="Re+ZjC.Gx`x6]wP/R-kZ">
                                                               <field name="NUM">-1</field>
                                                             </shadow>
                                                           </value>
                                                           <next>
                                                             <block type="update" id="e?4*zw6JeufCUI_A$tWA">
                                                               <mutation delay_input="false"></mutation>
                                                               <field name="OID">Object ID</field>
                                                               <field name="WITH_DELAY">FALSE</field>
                                                               <value name="VALUE">
                                                                 <block type="math_arithmetic" id="?(V0m_KR;zq]8QN4Nnt}">
                                                                   <field name="OP">MULTIPLY</field>
                                                                   <value name="A">
                                                                     <shadow type="math_number" id="e-o]eN1KmMjXLGYbB5*-">
                                                                       <field name="NUM">2</field>
                                                                     </shadow>
                                                                   </value>
                                                                   <value name="B">
                                                                     <shadow type="math_number" id="Jab%cXU;kqAhB|kiv+HG">
                                                                       <field name="NUM">1</field>
                                                                     </shadow>
                                                                     <block type="variables_get" id="x3#fOwJi8qvpU_aB}+Qo">
                                                                       <field name="VAR" id="FuUwnl6AyzTl8Jb7{h:(" variabletype="">Restzeit</field>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </next>
                                                         </block>
                                                       </statement>
                                                       <statement name="ELSE">
                                                         <block type="control_ex" id="W=WqEw%q._O*jWFt/*Ba">
                                                           <field name="TYPE">false</field>
                                                           <field name="CLEAR_RUNNING">FALSE</field>
                                                           <value name="OID">
                                                             <shadow type="field_oid" id="$qTf:YhCL`U4@^;df!/`">
                                                               <field name="oid">Object ID</field>
                                                             </shadow>
                                                             <block type="text" id="A~!QL)X=4rqdVB,XTgO;">
                                                               <field name="TEXT">sonoff.0.Aqua_Control.POWER1</field>
                                                             </block>
                                                           </value>
                                                           <value name="VALUE">
                                                             <shadow type="logic_boolean" id="wPpwhyYs!N5;kYcx:?3M">
                                                               <field name="BOOL">FALSE</field>
                                                             </shadow>
                                                           </value>
                                                           <value name="DELAY_MS">
                                                             <shadow type="math_number" id="@wc+?E9P.=!IMXGa$Bk5">
                                                               <field name="NUM">0</field>
                                                             </shadow>
                                                           </value>
                                                           <next>
                                                             <block type="timeouts_clearinterval" id="=r$/C]6}D1I@w5Z9YKsM">
                                                               <field name="NAME">Magnetventil_Kontrolle</field>
                                                             </block>
                                                           </next>
                                                         </block>
                                                       </statement>
                                                     </block>
                                                   </statement>
                                                 </block>
                                               </statement>
                                             </block>
                                           </statement>
                                         </block>
                                        </xml>
                                        

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

                                          @paul53
                                          Zwei datenpunkte habe ich gefunden!
                                          Einmal wo der Osmose Restzeit gesetzt wird und im Datums reset trigger wo ist denn der dritte? Und kann ich die Text datenpunkte ersetzen mit richtigem Wert von Objekt ID !? Oder müssen die Text Bausteine zu den datenpunkten so bleiben ???

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

                                            @Aphofis sagte:

                                            kann ich die Text datenpunkte ersetzen mit richtigem Wert von Objekt ID !?

                                            Du kannst, aber welchen Vorteil hat es, außer dass man den Namen sieht ?

                                            @Aphofis sagte in Schaltzustand Verzögern:

                                            wo ist denn der dritte?

                                            1. Drittes Kommando von oben: setze Restzeit mit Wert von ID / 2
                                            2. Setzen des Datenpunktes in der Funktion nach Erhöhung um -1
                                            3. Setzen des Datenpunktes um Mitternacht
                                            Aphofis 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            706
                                            Online

                                            32.0k
                                            Users

                                            80.4k
                                            Topics

                                            1.3m
                                            Posts

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