Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. Abschäumer Steuerung

NEWS

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    8
    1
    304

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    9
    1
    280

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    919

Abschäumer Steuerung

Geplant Angeheftet Gesperrt Verschoben Blockly
blockly
13 Beiträge 2 Kommentatoren 436 Aufrufe 1 Beobachtet
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • paul53P paul53

    @aphofis sagte: Wenn also der Schwimmer True ist soll das magnetbentil freigeben und die Pumpe einschalten für X Sekunden.

    X Sekunden unabhängig vom Schwimmer? Oder max. solange wie der Schwimmer true ist?

    Version für max. solange der Schwimmer true ist:

    Bild_2021-02-25_152115.png

    Version für X Sekunden unabhängig vom Schwimmer:

    Bild_2021-02-25_152424.png

    AphofisA Offline
    AphofisA Offline
    Aphofis
    schrieb am zuletzt editiert von
    #3

    @paul53
    Bauteile sind unterwegs, ich danke dir vielmals.
    Wenn die Bauteile angekommen und eingebaut sind.
    Melde ich mich noch mal.

    AphofisA 1 Antwort Letzte Antwort
    0
    • AphofisA Aphofis

      @paul53
      Bauteile sind unterwegs, ich danke dir vielmals.
      Wenn die Bauteile angekommen und eingebaut sind.
      Melde ich mich noch mal.

      AphofisA Offline
      AphofisA Offline
      Aphofis
      schrieb am zuletzt editiert von Aphofis
      #4

      Ist es so richtig !?

      <block xmlns="https://developers.google.com/blockly/xml" type="schedule" id="]c2~#0TS6Ned)tR|BxO;" x="713" y="38">
        <field name="SCHEDULE">0 0 * * *</field>
        <statement name="STATEMENT">
          <block type="variables_set" id="%9!AZa,P$kUa(?XyXf;T">
            <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
            <value name="VALUE">
              <block type="math_number" id="nnLq6TJ39,):R912vYb/">
                <field name="NUM">0</field>
              </block>
            </value>
            <next>
              <block type="update" id="Qb!hL~wPGuh[]+l:4C6^">
                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                <field name="OID">Aqua_Control.0.Skimmer_System.Skimmer_Counter</field>
                <field name="WITH_DELAY">FALSE</field>
                <value name="VALUE">
                  <block type="math_number" id="(p?T,$C!K7P:fB+O^L[,">
                    <field name="NUM">0</field>
                  </block>
                </value>
                <next>
                  <block type="control" id="Qb4nC64QJQ0y,Gd9c7x!">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                    <field name="OID">sonoff.0.Aqua_Power.POWER3</field>
                    <field name="WITH_DELAY">FALSE</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id="{G2(nvB{I!%lr;sfIN}0">
                        <field name="BOOL">TRUE</field>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
      </block>
      

      Unbenannt.png

      paul53P 1 Antwort Letzte Antwort
      0
      • AphofisA Aphofis

        Ist es so richtig !?

        <block xmlns="https://developers.google.com/blockly/xml" type="schedule" id="]c2~#0TS6Ned)tR|BxO;" x="713" y="38">
          <field name="SCHEDULE">0 0 * * *</field>
          <statement name="STATEMENT">
            <block type="variables_set" id="%9!AZa,P$kUa(?XyXf;T">
              <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
              <value name="VALUE">
                <block type="math_number" id="nnLq6TJ39,):R912vYb/">
                  <field name="NUM">0</field>
                </block>
              </value>
              <next>
                <block type="update" id="Qb!hL~wPGuh[]+l:4C6^">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                  <field name="OID">Aqua_Control.0.Skimmer_System.Skimmer_Counter</field>
                  <field name="WITH_DELAY">FALSE</field>
                  <value name="VALUE">
                    <block type="math_number" id="(p?T,$C!K7P:fB+O^L[,">
                      <field name="NUM">0</field>
                    </block>
                  </value>
                  <next>
                    <block type="control" id="Qb4nC64QJQ0y,Gd9c7x!">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                      <field name="OID">sonoff.0.Aqua_Power.POWER3</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="logic_boolean" id="{G2(nvB{I!%lr;sfIN}0">
                          <field name="BOOL">TRUE</field>
                        </block>
                      </value>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </statement>
        </block>
        

        Unbenannt.png

        paul53P Offline
        paul53P Offline
        paul53
        schrieb am zuletzt editiert von
        #5

        @aphofis sagte: Ist es so richtig !?

        Es ist stimmig zur ersten Variante.

        Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
        Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

        AphofisA 1 Antwort Letzte Antwort
        0
        • paul53P paul53

          @aphofis sagte: Ist es so richtig !?

          Es ist stimmig zur ersten Variante.

          AphofisA Offline
          AphofisA Offline
          Aphofis
          schrieb am zuletzt editiert von Aphofis
          #6

          @paul53
          OK! es soll ja alles Schwimmer abhängig sein.
          Wie kann ich es bewerkstelligen das wenn dann dreimal ausgelöst wurde das ich dann den Skimmer wieder einschalten kann, brauche ich nur eine kleine Steuerung die dann manuell den datenpunkt Skimmer Counter auf null setzt !?

          paul53P 1 Antwort Letzte Antwort
          0
          • AphofisA Aphofis

            @paul53
            OK! es soll ja alles Schwimmer abhängig sein.
            Wie kann ich es bewerkstelligen das wenn dann dreimal ausgelöst wurde das ich dann den Skimmer wieder einschalten kann, brauche ich nur eine kleine Steuerung die dann manuell den datenpunkt Skimmer Counter auf null setzt !?

            paul53P Offline
            paul53P Offline
            paul53
            schrieb am zuletzt editiert von paul53
            #7

            @aphofis sagte: brauche ich nur eine kleine Steuerung die dann manuell den datenpunkt Skimmer Counter auf null setzt !?

            Die Variable Anzahl muss auf 0 gesetzt werden, also die Steuerung für das manuelle Rücksetzen im gleichen Skript:
            Das was um 0:00 Uhr gemacht wird noch einmal bei einem Datenpunkt-Trigger, der zurück setzt.

            Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
            Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

            1 Antwort Letzte Antwort
            0
            • AphofisA Offline
              AphofisA Offline
              Aphofis
              schrieb am zuletzt editiert von
              #8

              @paul53
              wenn der datenpunkt auf null gesetzt wird geht das nicht ???

              paul53P 1 Antwort Letzte Antwort
              0
              • AphofisA Aphofis

                @paul53
                wenn der datenpunkt auf null gesetzt wird geht das nicht ???

                paul53P Offline
                paul53P Offline
                paul53
                schrieb am zuletzt editiert von paul53
                #9

                @aphofis sagte: wenn der datenpunkt auf null gesetzt wird geht das nicht ???

                Das reicht nicht, denn der Datenpunktwert wird nur bei Skriptstart in die Variable geschrieben. Andernfalls muss dies als erstes bei jedem Trigger-Ereignis passieren.

                Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                AphofisA 2 Antworten Letzte Antwort
                0
                • paul53P paul53

                  @aphofis sagte: wenn der datenpunkt auf null gesetzt wird geht das nicht ???

                  Das reicht nicht, denn der Datenpunktwert wird nur bei Skriptstart in die Variable geschrieben. Andernfalls muss dies als erstes bei jedem Trigger-Ereignis passieren.

                  AphofisA Offline
                  AphofisA Offline
                  Aphofis
                  schrieb am zuletzt editiert von
                  #10

                  @paul53
                  Ist es den möglich die reaktivierung auf einen Datenpunkt zu legen !? Damit ich zb per Telegram die Steuerung resetten kann !?

                  1 Antwort Letzte Antwort
                  0
                  • paul53P paul53

                    @aphofis sagte: wenn der datenpunkt auf null gesetzt wird geht das nicht ???

                    Das reicht nicht, denn der Datenpunktwert wird nur bei Skriptstart in die Variable geschrieben. Andernfalls muss dies als erstes bei jedem Trigger-Ereignis passieren.

                    AphofisA Offline
                    AphofisA Offline
                    Aphofis
                    schrieb am zuletzt editiert von Aphofis
                    #11

                    @paul53

                    @paul53
                    Sag mal, ist es möglich, das die pumpe beim aktivieren durch den schwimmer so lange läuft bis der schwimmer wieder false ist !? und kann man in die Telegram nachricht wenns abgeschaltet wurde, eintragen wie lange gepumpt wurde!?
                    Wäre prima, wenn du mir dabei noch mal helfen könntest.

                    <xml xmlns="https://developers.google.com/blockly/xml">
                      <variables>
                        <variable id="T%C+$EQ@sHF@*TRceSn7">Anzahl</variable>
                        <variable type="timeout" id="timeout">timeout</variable>
                      </variables>
                      <block type="variables_set" id="`go@x%w@yx(xVWAC=wdw" x="38" y="38">
                        <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
                        <value name="VALUE">
                          <block type="get_value" id="/zhg*~V/P}NLzW,@lA:k">
                            <field name="ATTR">val</field>
                            <field name="OID">Aqua_Control.0.Skimmer_System.Skimmer_Counter</field>
                          </block>
                        </value>
                        <next>
                          <block type="on_ext" id="0GKI/lJE#g-~iD9Ksn~g">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                            <field name="CONDITION">ne</field>
                            <field name="ACK_CONDITION"></field>
                            <value name="OID0">
                              <shadow type="field_oid" id="NtQLF`GEENz?b0u#a8.p">
                                <field name="oid">sonoff.0.Aqua_Skimmer.POWER1</field>
                              </shadow>
                            </value>
                            <statement name="STATEMENT">
                              <block type="controls_if" id="IW5Sj.=ts=x|n@-tAP(x">
                                <value name="IF0">
                                  <block type="logic_compare" id="ftej+}Hv$6;~;y)~+IEF">
                                    <field name="OP">LT</field>
                                    <value name="A">
                                      <block type="variables_get" id="whr2qM75.;=$Y~A)1Ix`">
                                        <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="math_number" id="F_VF@SK#7{yLhj3D3@kB">
                                        <field name="NUM">3</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="controls_if" id="gGk01Qy}nHD(NuP0tiY$">
                                    <mutation else="1"></mutation>
                                    <value name="IF0">
                                      <block type="on_source" id="u8b|Kmp`OBtvpv/eRe.A">
                                        <field name="ATTR">state.val</field>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="math_change" id="d%d%Pc@J]*=$KqZourgg">
                                        <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
                                        <value name="DELTA">
                                          <shadow type="math_number" id="[_2KOiXLMMo_6*/,kkHv">
                                            <field name="NUM">1</field>
                                          </shadow>
                                        </value>
                                        <next>
                                          <block type="update" id="f;_)|7O2@rg4*`NfU-hr">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">Aqua_Control.0.Skimmer_System.Skimmer_Counter</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="variables_get" id="Tc39+8)rY0dik5GXN8Wx">
                                                <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="control" id="}Fw+yxkNn[r}}HpV{+0p">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                <field name="OID">sonoff.0.Aqua_Skimmer.POWER3</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="logic_boolean" id="L5Sm]kqO5F[!zE|s-I[H">
                                                    <field name="BOOL">TRUE</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="control" id="Mu2iiCNRCNV{ZKalGZt-">
                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                    <field name="OID">sonoff.0.Aqua_Skimmer.POWER2</field>
                                                    <field name="WITH_DELAY">TRUE</field>
                                                    <field name="DELAY_MS">2</field>
                                                    <field name="UNIT">sec</field>
                                                    <field name="CLEAR_RUNNING">FALSE</field>
                                                    <value name="VALUE">
                                                      <block type="logic_boolean" id=")4/x)}XWW8{X4Kv;zAvv">
                                                        <field name="BOOL">TRUE</field>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="telegram" id="ptxkXv.t%^UIv)VgMU]w">
                                                        <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=".!m#hz/P-n[`6#?W|}NN">
                                                            <field name="TEXT"></field>
                                                          </shadow>
                                                          <block type="text_join" id="xg0qwJ{Icd}@kQcuHg#A">
                                                            <mutation items="3"></mutation>
                                                            <value name="ADD0">
                                                              <block type="text" id="Cp3pFqiDxue0W;/B9:BP">
                                                                <field name="TEXT">Aqua Skimmer Schmutzwasser </field>
                                                              </block>
                                                            </value>
                                                            <value name="ADD1">
                                                              <block type="text_newline" id=";_/:8gKlf+dAZBtC@?z@">
                                                                <field name="Type">\n</field>
                                                              </block>
                                                            </value>
                                                            <value name="ADD2">
                                                              <block type="text" id="E4JnesAHLUL@1j/tWfSz">
                                                                <field name="TEXT">wird abgepumpt</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="timeouts_settimeout" id="jwRzhgvAr:Xi|K{XLCu+">
                                                            <field name="NAME">timeout</field>
                                                            <field name="DELAY">35</field>
                                                            <field name="UNIT">sec</field>
                                                            <statement name="STATEMENT">
                                                              <block type="control" id="lR@Zt[2)}vPom2109XmV">
                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                <field name="OID">sonoff.0.Aqua_Skimmer.POWER2</field>
                                                                <field name="WITH_DELAY">FALSE</field>
                                                                <value name="VALUE">
                                                                  <block type="logic_boolean" id="VTJhET!j3n52=O7cBJ,S">
                                                                    <field name="BOOL">FALSE</field>
                                                                  </block>
                                                                </value>
                                                                <next>
                                                                  <block type="control" id="qT$}Vt)d[F.I%E+B$R-;">
                                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                    <field name="OID">sonoff.0.Aqua_Skimmer.POWER3</field>
                                                                    <field name="WITH_DELAY">TRUE</field>
                                                                    <field name="DELAY_MS">2</field>
                                                                    <field name="UNIT">sec</field>
                                                                    <field name="CLEAR_RUNNING">FALSE</field>
                                                                    <value name="VALUE">
                                                                      <block type="logic_boolean" id="UNH!n|@+Xc/%i8thxR-W">
                                                                        <field name="BOOL">FALSE</field>
                                                                      </block>
                                                                    </value>
                                                                    <next>
                                                                      <block type="controls_if" id="MzVyi$dtFhRyu;cBWJZ1">
                                                                        <value name="IF0">
                                                                          <block type="logic_compare" id="i|sR6Pj@gw%eTZT3vdo}">
                                                                            <field name="OP">GTE</field>
                                                                            <value name="A">
                                                                              <block type="variables_get" id="/L7Y)u_[SPoDrzwIXM0f">
                                                                                <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="B">
                                                                              <block type="math_number" id="Mm]iP]`1Oq4UZN,!X~4b">
                                                                                <field name="NUM">3</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <statement name="DO0">
                                                                          <block type="control" id="^Y!h?j,rFQqvZFZj(4d(">
                                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                            <field name="OID">sonoff.0.Aqua_Power.POWER3</field>
                                                                            <field name="WITH_DELAY">FALSE</field>
                                                                            <value name="VALUE">
                                                                              <block type="logic_boolean" id="{8nZROWOb]n*}c+@,K5a">
                                                                                <field name="BOOL">FALSE</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </statement>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </statement>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                    <statement name="ELSE">
                                      <block type="timeouts_cleartimeout" id="o0=ezUd],KynNzE{WCNk">
                                        <field name="NAME">timeout</field>
                                        <next>
                                          <block type="control" id="?du_TvUb|G#B7_8^/h,T">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">sonoff.0.Aqua_Skimmer.POWER3</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="_BkS6vz{L6pwv-Uawu~R">
                                                <field name="BOOL">FALSE</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="control" id="B.#0loJ};_kou*_za`fn">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                <field name="OID">sonoff.0.Aqua_Skimmer.POWER2</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="logic_boolean" id="crn9Dj)CO!D1!U$MXAz,">
                                                    <field name="BOOL">FALSE</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="telegram" id="+,jVKn/jB6t?`=uOf{40">
                                                    <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">
                                                        <field name="TEXT"></field>
                                                      </shadow>
                                                      <block type="text_join" id=").^pDcRC$HiiSlODB:Oo">
                                                        <mutation items="3"></mutation>
                                                        <value name="ADD0">
                                                          <block type="text" id="IMmsR$j}`Zmj42OXa^gt">
                                                            <field name="TEXT">Aqua Skimmer Schmutzwasser </field>
                                                          </block>
                                                        </value>
                                                        <value name="ADD1">
                                                          <block type="text_newline" id="pGh/HuA_M^61/V%tt0CW">
                                                            <field name="Type">\n</field>
                                                          </block>
                                                        </value>
                                                        <value name="ADD2">
                                                          <block type="text" id="lzfa!I?6jdsAz5t4qat}">
                                                            <field name="TEXT"> abpumpen wurde ausgeschaltet</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="controls_if" id=",;],w{3dqvPk[c?fGg@A">
                                                        <value name="IF0">
                                                          <block type="logic_compare" id="?Fms,`0$(k%hgQa8C~Ri">
                                                            <field name="OP">GTE</field>
                                                            <value name="A">
                                                              <block type="variables_get" id="Vg-:H?q7q}?mR/u+|^sT">
                                                                <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="math_number" id="`6iWJLeAmD7zvw~08/U(">
                                                                <field name="NUM">3</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <statement name="DO0">
                                                          <block type="control" id=",KM(3kROX8mDX5yMy^c+">
                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                            <field name="OID">sonoff.0.Aqua_Power.POWER3</field>
                                                            <field name="WITH_DELAY">FALSE</field>
                                                            <value name="VALUE">
                                                              <block type="logic_boolean" id="N_^C/5uJG.ukYvr.9FU!">
                                                                <field name="BOOL">FALSE</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </statement>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                  </block>
                                </statement>
                              </block>
                            </statement>
                          </block>
                        </next>
                      </block>
                      <block type="schedule" id="]c2~#0TS6Ned)tR|BxO;" x="713" y="38">
                        <field name="SCHEDULE">0 0 * * *</field>
                        <statement name="STATEMENT">
                          <block type="variables_set" id="%9!AZa,P$kUa(?XyXf;T">
                            <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
                            <value name="VALUE">
                              <block type="math_number" id="nnLq6TJ39,):R912vYb/">
                                <field name="NUM">0</field>
                              </block>
                            </value>
                            <next>
                              <block type="update" id="Qb!hL~wPGuh[]+l:4C6^">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">Aqua_Control.0.Skimmer_System.Skimmer_Counter</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="math_number" id="(p?T,$C!K7P:fB+O^L[,">
                                    <field name="NUM">0</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="control" id="Qb4nC64QJQ0y,Gd9c7x!">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">sonoff.0.Aqua_Power.POWER3</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="{G2(nvB{I!%lr;sfIN}0">
                                        <field name="BOOL">TRUE</field>
                                      </block>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </statement>
                      </block>
                    </xml>
                    

                    weil momentan ist die steuerung so das nach timeout die pumpe und magnetventil abgeschaltet wird. Die sollen aber so lange laufen bis der schwimmer wieder false ist ansonsten ist der Schwimmer ja umsonst.

                    paul53P 1 Antwort Letzte Antwort
                    0
                    • AphofisA Aphofis

                      @paul53

                      @paul53
                      Sag mal, ist es möglich, das die pumpe beim aktivieren durch den schwimmer so lange läuft bis der schwimmer wieder false ist !? und kann man in die Telegram nachricht wenns abgeschaltet wurde, eintragen wie lange gepumpt wurde!?
                      Wäre prima, wenn du mir dabei noch mal helfen könntest.

                      <xml xmlns="https://developers.google.com/blockly/xml">
                        <variables>
                          <variable id="T%C+$EQ@sHF@*TRceSn7">Anzahl</variable>
                          <variable type="timeout" id="timeout">timeout</variable>
                        </variables>
                        <block type="variables_set" id="`go@x%w@yx(xVWAC=wdw" x="38" y="38">
                          <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
                          <value name="VALUE">
                            <block type="get_value" id="/zhg*~V/P}NLzW,@lA:k">
                              <field name="ATTR">val</field>
                              <field name="OID">Aqua_Control.0.Skimmer_System.Skimmer_Counter</field>
                            </block>
                          </value>
                          <next>
                            <block type="on_ext" id="0GKI/lJE#g-~iD9Ksn~g">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                              <field name="CONDITION">ne</field>
                              <field name="ACK_CONDITION"></field>
                              <value name="OID0">
                                <shadow type="field_oid" id="NtQLF`GEENz?b0u#a8.p">
                                  <field name="oid">sonoff.0.Aqua_Skimmer.POWER1</field>
                                </shadow>
                              </value>
                              <statement name="STATEMENT">
                                <block type="controls_if" id="IW5Sj.=ts=x|n@-tAP(x">
                                  <value name="IF0">
                                    <block type="logic_compare" id="ftej+}Hv$6;~;y)~+IEF">
                                      <field name="OP">LT</field>
                                      <value name="A">
                                        <block type="variables_get" id="whr2qM75.;=$Y~A)1Ix`">
                                          <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="math_number" id="F_VF@SK#7{yLhj3D3@kB">
                                          <field name="NUM">3</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <statement name="DO0">
                                    <block type="controls_if" id="gGk01Qy}nHD(NuP0tiY$">
                                      <mutation else="1"></mutation>
                                      <value name="IF0">
                                        <block type="on_source" id="u8b|Kmp`OBtvpv/eRe.A">
                                          <field name="ATTR">state.val</field>
                                        </block>
                                      </value>
                                      <statement name="DO0">
                                        <block type="math_change" id="d%d%Pc@J]*=$KqZourgg">
                                          <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
                                          <value name="DELTA">
                                            <shadow type="math_number" id="[_2KOiXLMMo_6*/,kkHv">
                                              <field name="NUM">1</field>
                                            </shadow>
                                          </value>
                                          <next>
                                            <block type="update" id="f;_)|7O2@rg4*`NfU-hr">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">Aqua_Control.0.Skimmer_System.Skimmer_Counter</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="variables_get" id="Tc39+8)rY0dik5GXN8Wx">
                                                  <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="control" id="}Fw+yxkNn[r}}HpV{+0p">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">sonoff.0.Aqua_Skimmer.POWER3</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="logic_boolean" id="L5Sm]kqO5F[!zE|s-I[H">
                                                      <field name="BOOL">TRUE</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="control" id="Mu2iiCNRCNV{ZKalGZt-">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                      <field name="OID">sonoff.0.Aqua_Skimmer.POWER2</field>
                                                      <field name="WITH_DELAY">TRUE</field>
                                                      <field name="DELAY_MS">2</field>
                                                      <field name="UNIT">sec</field>
                                                      <field name="CLEAR_RUNNING">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="logic_boolean" id=")4/x)}XWW8{X4Kv;zAvv">
                                                          <field name="BOOL">TRUE</field>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="telegram" id="ptxkXv.t%^UIv)VgMU]w">
                                                          <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=".!m#hz/P-n[`6#?W|}NN">
                                                              <field name="TEXT"></field>
                                                            </shadow>
                                                            <block type="text_join" id="xg0qwJ{Icd}@kQcuHg#A">
                                                              <mutation items="3"></mutation>
                                                              <value name="ADD0">
                                                                <block type="text" id="Cp3pFqiDxue0W;/B9:BP">
                                                                  <field name="TEXT">Aqua Skimmer Schmutzwasser </field>
                                                                </block>
                                                              </value>
                                                              <value name="ADD1">
                                                                <block type="text_newline" id=";_/:8gKlf+dAZBtC@?z@">
                                                                  <field name="Type">\n</field>
                                                                </block>
                                                              </value>
                                                              <value name="ADD2">
                                                                <block type="text" id="E4JnesAHLUL@1j/tWfSz">
                                                                  <field name="TEXT">wird abgepumpt</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="timeouts_settimeout" id="jwRzhgvAr:Xi|K{XLCu+">
                                                              <field name="NAME">timeout</field>
                                                              <field name="DELAY">35</field>
                                                              <field name="UNIT">sec</field>
                                                              <statement name="STATEMENT">
                                                                <block type="control" id="lR@Zt[2)}vPom2109XmV">
                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                  <field name="OID">sonoff.0.Aqua_Skimmer.POWER2</field>
                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                  <value name="VALUE">
                                                                    <block type="logic_boolean" id="VTJhET!j3n52=O7cBJ,S">
                                                                      <field name="BOOL">FALSE</field>
                                                                    </block>
                                                                  </value>
                                                                  <next>
                                                                    <block type="control" id="qT$}Vt)d[F.I%E+B$R-;">
                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                      <field name="OID">sonoff.0.Aqua_Skimmer.POWER3</field>
                                                                      <field name="WITH_DELAY">TRUE</field>
                                                                      <field name="DELAY_MS">2</field>
                                                                      <field name="UNIT">sec</field>
                                                                      <field name="CLEAR_RUNNING">FALSE</field>
                                                                      <value name="VALUE">
                                                                        <block type="logic_boolean" id="UNH!n|@+Xc/%i8thxR-W">
                                                                          <field name="BOOL">FALSE</field>
                                                                        </block>
                                                                      </value>
                                                                      <next>
                                                                        <block type="controls_if" id="MzVyi$dtFhRyu;cBWJZ1">
                                                                          <value name="IF0">
                                                                            <block type="logic_compare" id="i|sR6Pj@gw%eTZT3vdo}">
                                                                              <field name="OP">GTE</field>
                                                                              <value name="A">
                                                                                <block type="variables_get" id="/L7Y)u_[SPoDrzwIXM0f">
                                                                                  <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="math_number" id="Mm]iP]`1Oq4UZN,!X~4b">
                                                                                  <field name="NUM">3</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <statement name="DO0">
                                                                            <block type="control" id="^Y!h?j,rFQqvZFZj(4d(">
                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                              <field name="OID">sonoff.0.Aqua_Power.POWER3</field>
                                                                              <field name="WITH_DELAY">FALSE</field>
                                                                              <value name="VALUE">
                                                                                <block type="logic_boolean" id="{8nZROWOb]n*}c+@,K5a">
                                                                                  <field name="BOOL">FALSE</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </statement>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </statement>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                      <statement name="ELSE">
                                        <block type="timeouts_cleartimeout" id="o0=ezUd],KynNzE{WCNk">
                                          <field name="NAME">timeout</field>
                                          <next>
                                            <block type="control" id="?du_TvUb|G#B7_8^/h,T">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">sonoff.0.Aqua_Skimmer.POWER3</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="_BkS6vz{L6pwv-Uawu~R">
                                                  <field name="BOOL">FALSE</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="control" id="B.#0loJ};_kou*_za`fn">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">sonoff.0.Aqua_Skimmer.POWER2</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="logic_boolean" id="crn9Dj)CO!D1!U$MXAz,">
                                                      <field name="BOOL">FALSE</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="telegram" id="+,jVKn/jB6t?`=uOf{40">
                                                      <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">
                                                          <field name="TEXT"></field>
                                                        </shadow>
                                                        <block type="text_join" id=").^pDcRC$HiiSlODB:Oo">
                                                          <mutation items="3"></mutation>
                                                          <value name="ADD0">
                                                            <block type="text" id="IMmsR$j}`Zmj42OXa^gt">
                                                              <field name="TEXT">Aqua Skimmer Schmutzwasser </field>
                                                            </block>
                                                          </value>
                                                          <value name="ADD1">
                                                            <block type="text_newline" id="pGh/HuA_M^61/V%tt0CW">
                                                              <field name="Type">\n</field>
                                                            </block>
                                                          </value>
                                                          <value name="ADD2">
                                                            <block type="text" id="lzfa!I?6jdsAz5t4qat}">
                                                              <field name="TEXT"> abpumpen wurde ausgeschaltet</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="controls_if" id=",;],w{3dqvPk[c?fGg@A">
                                                          <value name="IF0">
                                                            <block type="logic_compare" id="?Fms,`0$(k%hgQa8C~Ri">
                                                              <field name="OP">GTE</field>
                                                              <value name="A">
                                                                <block type="variables_get" id="Vg-:H?q7q}?mR/u+|^sT">
                                                                  <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block type="math_number" id="`6iWJLeAmD7zvw~08/U(">
                                                                  <field name="NUM">3</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <statement name="DO0">
                                                            <block type="control" id=",KM(3kROX8mDX5yMy^c+">
                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                              <field name="OID">sonoff.0.Aqua_Power.POWER3</field>
                                                              <field name="WITH_DELAY">FALSE</field>
                                                              <value name="VALUE">
                                                                <block type="logic_boolean" id="N_^C/5uJG.ukYvr.9FU!">
                                                                  <field name="BOOL">FALSE</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </statement>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                    </block>
                                  </statement>
                                </block>
                              </statement>
                            </block>
                          </next>
                        </block>
                        <block type="schedule" id="]c2~#0TS6Ned)tR|BxO;" x="713" y="38">
                          <field name="SCHEDULE">0 0 * * *</field>
                          <statement name="STATEMENT">
                            <block type="variables_set" id="%9!AZa,P$kUa(?XyXf;T">
                              <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
                              <value name="VALUE">
                                <block type="math_number" id="nnLq6TJ39,):R912vYb/">
                                  <field name="NUM">0</field>
                                </block>
                              </value>
                              <next>
                                <block type="update" id="Qb!hL~wPGuh[]+l:4C6^">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                  <field name="OID">Aqua_Control.0.Skimmer_System.Skimmer_Counter</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="math_number" id="(p?T,$C!K7P:fB+O^L[,">
                                      <field name="NUM">0</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="control" id="Qb4nC64QJQ0y,Gd9c7x!">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                      <field name="OID">sonoff.0.Aqua_Power.POWER3</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="logic_boolean" id="{G2(nvB{I!%lr;sfIN}0">
                                          <field name="BOOL">TRUE</field>
                                        </block>
                                      </value>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </statement>
                        </block>
                      </xml>
                      

                      weil momentan ist die steuerung so das nach timeout die pumpe und magnetventil abgeschaltet wird. Die sollen aber so lange laufen bis der schwimmer wieder false ist ansonsten ist der Schwimmer ja umsonst.

                      paul53P Offline
                      paul53P Offline
                      paul53
                      schrieb am zuletzt editiert von paul53
                      #12

                      @aphofis sagte: momentan ist die steuerung so das nach timeout die pumpe und magnetventil abgeschaltet wird.

                      Dann erhöhe die Zeit soweit, dass sie nur noch eine Notabschaltung bewirkt, wenn der Schwimmer mal nicht auf false geht. Die Abschaltung bei Schwimmer = false ist ja bereits enthalten.

                      @aphofis sagte in Abschäumer Steuerung:

                      Telegram nachricht wenns abgeschaltet wurde, eintragen wie lange gepumpt wurde!?

                      Blockly_temp.JPG

                      <xml xmlns="https://developers.google.com/blockly/xml">
                       <variables>
                         <variable id="T%C+$EQ@sHF@*TRceSn7">Anzahl</variable>
                         <variable type="timeout" id="timeout">timeout</variable>
                       </variables>
                       <block type="variables_set" id="`go@x%w@yx(xVWAC=wdw" x="38" y="38">
                         <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
                         <value name="VALUE">
                           <block type="get_value" id="/zhg*~V/P}NLzW,@lA:k">
                             <field name="ATTR">val</field>
                             <field name="OID">Aqua_Control.0.Skimmer_System.Skimmer_Counter</field>
                           </block>
                         </value>
                         <next>
                           <block type="on_ext" id="0GKI/lJE#g-~iD9Ksn~g">
                             <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                             <field name="CONDITION">ne</field>
                             <field name="ACK_CONDITION"></field>
                             <value name="OID0">
                               <shadow type="field_oid" id="NtQLF`GEENz?b0u#a8.p">
                                 <field name="oid">sonoff.0.Aqua_Skimmer.POWER1</field>
                               </shadow>
                             </value>
                             <statement name="STATEMENT">
                               <block type="controls_if" id="IW5Sj.=ts=x|n@-tAP(x">
                                 <value name="IF0">
                                   <block type="logic_compare" id="ftej+}Hv$6;~;y)~+IEF">
                                     <field name="OP">LT</field>
                                     <value name="A">
                                       <block type="variables_get" id="whr2qM75.;=$Y~A)1Ix`">
                                         <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
                                       </block>
                                     </value>
                                     <value name="B">
                                       <block type="math_number" id="F_VF@SK#7{yLhj3D3@kB">
                                         <field name="NUM">3</field>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                                 <statement name="DO0">
                                   <block type="controls_if" id="gGk01Qy}nHD(NuP0tiY$">
                                     <mutation else="1"></mutation>
                                     <value name="IF0">
                                       <block type="on_source" id="u8b|Kmp`OBtvpv/eRe.A">
                                         <field name="ATTR">state.val</field>
                                       </block>
                                     </value>
                                     <statement name="DO0">
                                       <block type="control" id="}Fw+yxkNn[r}}HpV{+0p">
                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                         <field name="OID">sonoff.0.Aqua_Skimmer.POWER3</field>
                                         <field name="WITH_DELAY">FALSE</field>
                                         <value name="VALUE">
                                           <block type="logic_boolean" id="L5Sm]kqO5F[!zE|s-I[H">
                                             <field name="BOOL">TRUE</field>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="control" id="Mu2iiCNRCNV{ZKalGZt-">
                                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                             <field name="OID">sonoff.0.Aqua_Skimmer.POWER2</field>
                                             <field name="WITH_DELAY">TRUE</field>
                                             <field name="DELAY_MS">2</field>
                                             <field name="UNIT">sec</field>
                                             <field name="CLEAR_RUNNING">FALSE</field>
                                             <value name="VALUE">
                                               <block type="logic_boolean" id=")4/x)}XWW8{X4Kv;zAvv">
                                                 <field name="BOOL">TRUE</field>
                                               </block>
                                             </value>
                                             <next>
                                               <block type="telegram" id="ptxkXv.t%^UIv)VgMU]w">
                                                 <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=".!m#hz/P-n[`6#?W|}NN">
                                                     <field name="TEXT"></field>
                                                   </shadow>
                                                   <block type="text_join" id="xg0qwJ{Icd}@kQcuHg#A" inline="true">
                                                     <mutation items="3"></mutation>
                                                     <value name="ADD0">
                                                       <block type="text" id="Cp3pFqiDxue0W;/B9:BP">
                                                         <field name="TEXT">Aqua Skimmer Schmutzwasser </field>
                                                       </block>
                                                     </value>
                                                     <value name="ADD1">
                                                       <block type="text_newline" id=";_/:8gKlf+dAZBtC@?z@">
                                                         <field name="Type">\n</field>
                                                       </block>
                                                     </value>
                                                     <value name="ADD2">
                                                       <block type="text" id="E4JnesAHLUL@1j/tWfSz">
                                                         <field name="TEXT">wird abgepumpt</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <next>
                                                   <block type="timeouts_settimeout" id="jwRzhgvAr:Xi|K{XLCu+">
                                                     <field name="NAME">timeout</field>
                                                     <field name="DELAY">50</field>
                                                     <field name="UNIT">sec</field>
                                                     <statement name="STATEMENT">
                                                       <block type="math_change" id="h=GNvRKTU]SZ3Nlf6k[I">
                                                         <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
                                                         <value name="DELTA">
                                                           <shadow type="math_number" id="z2s#]cZ$Edd`sk=cOq;4">
                                                             <field name="NUM">1</field>
                                                           </shadow>
                                                         </value>
                                                         <next>
                                                           <block type="control" id="lR@Zt[2)}vPom2109XmV">
                                                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                             <field name="OID">sonoff.0.Aqua_Skimmer.POWER2</field>
                                                             <field name="WITH_DELAY">FALSE</field>
                                                             <value name="VALUE">
                                                               <block type="logic_boolean" id="VTJhET!j3n52=O7cBJ,S">
                                                                 <field name="BOOL">FALSE</field>
                                                               </block>
                                                             </value>
                                                             <next>
                                                               <block type="control" id="qT$}Vt)d[F.I%E+B$R-;">
                                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                 <field name="OID">sonoff.0.Aqua_Skimmer.POWER3</field>
                                                                 <field name="WITH_DELAY">TRUE</field>
                                                                 <field name="DELAY_MS">2</field>
                                                                 <field name="UNIT">sec</field>
                                                                 <field name="CLEAR_RUNNING">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="logic_boolean" id="UNH!n|@+Xc/%i8thxR-W">
                                                                     <field name="BOOL">FALSE</field>
                                                                   </block>
                                                                 </value>
                                                                 <next>
                                                                   <block type="controls_if" id="4q[m-QUXEA~*h${@|TUl">
                                                                     <value name="IF0">
                                                                       <block type="logic_compare" id="Fz%M8muiC=6m)I!t?bM8">
                                                                         <field name="OP">GTE</field>
                                                                         <value name="A">
                                                                           <block type="variables_get" id="y~!:a4R5qw6/JfQjz|s!">
                                                                             <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
                                                                           </block>
                                                                         </value>
                                                                         <value name="B">
                                                                           <block type="math_number" id="!$I1u[Jf@}~yl[Z6l1+Z">
                                                                             <field name="NUM">3</field>
                                                                           </block>
                                                                         </value>
                                                                       </block>
                                                                     </value>
                                                                     <statement name="DO0">
                                                                       <block type="control" id="zS@vkB6FMt;ImiRAw5DA">
                                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                         <field name="OID">sonoff.0.Aqua_Power.POWER3</field>
                                                                         <field name="WITH_DELAY">FALSE</field>
                                                                         <value name="VALUE">
                                                                           <block type="logic_boolean" id=",q0VT/$)_)yiYeLnnMV[">
                                                                             <field name="BOOL">FALSE</field>
                                                                           </block>
                                                                         </value>
                                                                       </block>
                                                                     </statement>
                                                                   </block>
                                                                 </next>
                                                               </block>
                                                             </next>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </statement>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </statement>
                                     <statement name="ELSE">
                                       <block type="timeouts_cleartimeout" id="o0=ezUd],KynNzE{WCNk">
                                         <field name="NAME">timeout</field>
                                         <next>
                                           <block type="math_change" id="d%d%Pc@J]*=$KqZourgg">
                                             <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
                                             <value name="DELTA">
                                               <shadow type="math_number" id="[_2KOiXLMMo_6*/,kkHv">
                                                 <field name="NUM">1</field>
                                               </shadow>
                                             </value>
                                             <next>
                                               <block type="update" id="f;_)|7O2@rg4*`NfU-hr">
                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                 <field name="OID">Aqua_Control.0.Skimmer_System.Skimmer_Counter</field>
                                                 <field name="WITH_DELAY">FALSE</field>
                                                 <value name="VALUE">
                                                   <block type="variables_get" id="Tc39+8)rY0dik5GXN8Wx">
                                                     <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
                                                   </block>
                                                 </value>
                                                 <next>
                                                   <block type="control" id="?du_TvUb|G#B7_8^/h,T">
                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                     <field name="OID">sonoff.0.Aqua_Skimmer.POWER3</field>
                                                     <field name="WITH_DELAY">FALSE</field>
                                                     <value name="VALUE">
                                                       <block type="logic_boolean" id="_BkS6vz{L6pwv-Uawu~R">
                                                         <field name="BOOL">FALSE</field>
                                                       </block>
                                                     </value>
                                                     <next>
                                                       <block type="control" id="B.#0loJ};_kou*_za`fn">
                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                         <field name="OID">sonoff.0.Aqua_Skimmer.POWER2</field>
                                                         <field name="WITH_DELAY">FALSE</field>
                                                         <value name="VALUE">
                                                           <block type="logic_boolean" id="crn9Dj)CO!D1!U$MXAz,">
                                                             <field name="BOOL">FALSE</field>
                                                           </block>
                                                         </value>
                                                         <next>
                                                           <block type="telegram" id="+,jVKn/jB6t?`=uOf{40">
                                                             <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">
                                                                 <field name="TEXT"></field>
                                                               </shadow>
                                                               <block type="text_join" id=").^pDcRC$HiiSlODB:Oo">
                                                                 <mutation items="5"></mutation>
                                                                 <value name="ADD0">
                                                                   <block type="text" id="IMmsR$j}`Zmj42OXa^gt">
                                                                     <field name="TEXT">Aqua Skimmer Schmutzwasser </field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="ADD1">
                                                                   <block type="text_newline" id="pGh/HuA_M^61/V%tt0CW">
                                                                     <field name="Type">\n</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="ADD2">
                                                                   <block type="text" id="lzfa!I?6jdsAz5t4qat}">
                                                                     <field name="TEXT"> abpumpen wurde nach </field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="ADD3">
                                                                   <block type="math_round" id="ITkdumtYOat7A-;Tbv3?">
                                                                     <field name="OP">ROUND</field>
                                                                     <value name="NUM">
                                                                       <shadow type="math_number" id="R-,t-dBRGd}S*Y/UWvI9">
                                                                         <field name="NUM">3.1</field>
                                                                       </shadow>
                                                                       <block type="math_arithmetic" id="A1DKfnp}[FM^Ve|U0wRN">
                                                                         <field name="OP">DIVIDE</field>
                                                                         <value name="A">
                                                                           <shadow type="math_number" id="aV6-0d@(}*~1C_n7aB?H">
                                                                             <field name="NUM">1</field>
                                                                           </shadow>
                                                                           <block type="math_arithmetic" id="re5KR)Q9[,0DKjkX}VO_">
                                                                             <field name="OP">MINUS</field>
                                                                             <value name="A">
                                                                               <shadow type="math_number" id="u/B)cM5,q+#$KDC*x](B">
                                                                                 <field name="NUM">1</field>
                                                                               </shadow>
                                                                               <block type="on_source" id="$nydzMwlOH%/^XG1B:Vh">
                                                                                 <field name="ATTR">state.lc</field>
                                                                               </block>
                                                                             </value>
                                                                             <value name="B">
                                                                               <shadow type="math_number" id="gCt5#=kmA7?}PY2JmBFo">
                                                                                 <field name="NUM">1</field>
                                                                               </shadow>
                                                                               <block type="on_source" id=")8`b2[-Lj#NcTHhrgpn5">
                                                                                 <field name="ATTR">oldState.lc</field>
                                                                               </block>
                                                                             </value>
                                                                           </block>
                                                                         </value>
                                                                         <value name="B">
                                                                           <shadow type="math_number" id="1kvj,wxG$94CkFKtzrgl">
                                                                             <field name="NUM">1000</field>
                                                                           </shadow>
                                                                         </value>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </value>
                                                                 <value name="ADD4">
                                                                   <block type="text" id="Mzaoewh)7I3[2y|J]Eu#">
                                                                     <field name="TEXT"> s ausgeschaltet</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <next>
                                                               <block type="controls_if" id="w`8RN@-1.Bk9hHmO~%4K">
                                                                 <value name="IF0">
                                                                   <block type="logic_compare" id="O$]/S|_u1HASkghAVihe">
                                                                     <field name="OP">GTE</field>
                                                                     <value name="A">
                                                                       <block type="variables_get" id="#RMF#fD57i.]wiPXb~g_">
                                                                         <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
                                                                       </block>
                                                                     </value>
                                                                     <value name="B">
                                                                       <block type="math_number" id="]XozY~v6B83_}[Osd~vl">
                                                                         <field name="NUM">3</field>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </value>
                                                                 <statement name="DO0">
                                                                   <block type="control" id=",KM(3kROX8mDX5yMy^c+">
                                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                     <field name="OID">sonoff.0.Aqua_Power.POWER3</field>
                                                                     <field name="WITH_DELAY">FALSE</field>
                                                                     <value name="VALUE">
                                                                       <block type="logic_boolean" id="N_^C/5uJG.ukYvr.9FU!">
                                                                         <field name="BOOL">FALSE</field>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </statement>
                                                               </block>
                                                             </next>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </statement>
                                   </block>
                                 </statement>
                               </block>
                             </statement>
                           </block>
                         </next>
                       </block>
                       <block type="schedule" id="]c2~#0TS6Ned)tR|BxO;" x="713" y="38">
                         <field name="SCHEDULE">0 0 * * *</field>
                         <statement name="STATEMENT">
                           <block type="variables_set" id="%9!AZa,P$kUa(?XyXf;T">
                             <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
                             <value name="VALUE">
                               <block type="math_number" id="nnLq6TJ39,):R912vYb/">
                                 <field name="NUM">0</field>
                               </block>
                             </value>
                             <next>
                               <block type="update" id="Qb!hL~wPGuh[]+l:4C6^">
                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                 <field name="OID">Aqua_Control.0.Skimmer_System.Skimmer_Counter</field>
                                 <field name="WITH_DELAY">FALSE</field>
                                 <value name="VALUE">
                                   <block type="math_number" id="(p?T,$C!K7P:fB+O^L[,">
                                     <field name="NUM">0</field>
                                   </block>
                                 </value>
                                 <next>
                                   <block type="control" id="Qb4nC64QJQ0y,Gd9c7x!">
                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                     <field name="OID">sonoff.0.Aqua_Power.POWER3</field>
                                     <field name="WITH_DELAY">FALSE</field>
                                     <value name="VALUE">
                                       <block type="logic_boolean" id="{G2(nvB{I!%lr;sfIN}0">
                                         <field name="BOOL">TRUE</field>
                                       </block>
                                     </value>
                                   </block>
                                 </next>
                               </block>
                             </next>
                           </block>
                         </statement>
                       </block>
                      </xml>
                      

                      Version mit Funktion ausschalten():

                      <xml xmlns="https://developers.google.com/blockly/xml">
                       <variables>
                         <variable id="T%C+$EQ@sHF@*TRceSn7">Anzahl</variable>
                         <variable id="QJo/jC,W(^D~h1EzI#iW">ed</variable>
                         <variable type="timeout" id="timeout">timeout</variable>
                       </variables>
                       <block type="procedures_defnoreturn" id="o_-q/GZ-T+=h70GQBx]~" x="762" y="-313">
                         <field name="NAME">ausschalten</field>
                         <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                         <statement name="STACK">
                           <block type="control" id="B.#0loJ};_kou*_za`fn">
                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                             <field name="OID">sonoff.0.Aqua_Skimmer.POWER2</field>
                             <field name="WITH_DELAY">FALSE</field>
                             <value name="VALUE">
                               <block type="logic_boolean" id="crn9Dj)CO!D1!U$MXAz,">
                                 <field name="BOOL">FALSE</field>
                               </block>
                             </value>
                             <next>
                               <block type="control" id="?du_TvUb|G#B7_8^/h,T">
                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                 <field name="OID">sonoff.0.Aqua_Skimmer.POWER3</field>
                                 <field name="WITH_DELAY">TRUE</field>
                                 <field name="DELAY_MS">2</field>
                                 <field name="UNIT">sec</field>
                                 <field name="CLEAR_RUNNING">FALSE</field>
                                 <value name="VALUE">
                                   <block type="logic_boolean" id="_BkS6vz{L6pwv-Uawu~R">
                                     <field name="BOOL">FALSE</field>
                                   </block>
                                 </value>
                                 <next>
                                   <block type="math_change" id="d%d%Pc@J]*=$KqZourgg">
                                     <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
                                     <value name="DELTA">
                                       <shadow type="math_number" id="[_2KOiXLMMo_6*/,kkHv">
                                         <field name="NUM">1</field>
                                       </shadow>
                                     </value>
                                     <next>
                                       <block type="update" id="f;_)|7O2@rg4*`NfU-hr">
                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                         <field name="OID">Aqua_Control.0.Skimmer_System.Skimmer_Counter</field>
                                         <field name="WITH_DELAY">FALSE</field>
                                         <value name="VALUE">
                                           <block type="variables_get" id="Tc39+8)rY0dik5GXN8Wx">
                                             <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="controls_if" id="w`8RN@-1.Bk9hHmO~%4K">
                                             <value name="IF0">
                                               <block type="logic_compare" id="O$]/S|_u1HASkghAVihe">
                                                 <field name="OP">GTE</field>
                                                 <value name="A">
                                                   <block type="variables_get" id="#RMF#fD57i.]wiPXb~g_">
                                                     <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
                                                   </block>
                                                 </value>
                                                 <value name="B">
                                                   <block type="math_number" id="]XozY~v6B83_}[Osd~vl">
                                                     <field name="NUM">3</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <statement name="DO0">
                                               <block type="control" id=",KM(3kROX8mDX5yMy^c+">
                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                 <field name="OID">sonoff.0.Aqua_Power.POWER3</field>
                                                 <field name="WITH_DELAY">FALSE</field>
                                                 <value name="VALUE">
                                                   <block type="logic_boolean" id="N_^C/5uJG.ukYvr.9FU!">
                                                     <field name="BOOL">FALSE</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </statement>
                                             <next>
                                               <block type="telegram" id="+,jVKn/jB6t?`=uOf{40">
                                                 <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">
                                                     <field name="TEXT"></field>
                                                   </shadow>
                                                   <block type="text_join" id=").^pDcRC$HiiSlODB:Oo">
                                                     <mutation items="5"></mutation>
                                                     <value name="ADD0">
                                                       <block type="text" id="IMmsR$j}`Zmj42OXa^gt">
                                                         <field name="TEXT">Aqua Skimmer Schmutzwasser </field>
                                                       </block>
                                                     </value>
                                                     <value name="ADD1">
                                                       <block type="text_newline" id="pGh/HuA_M^61/V%tt0CW">
                                                         <field name="Type">\n</field>
                                                       </block>
                                                     </value>
                                                     <value name="ADD2">
                                                       <block type="text" id="lzfa!I?6jdsAz5t4qat}">
                                                         <field name="TEXT"> abpumpen wurde nach </field>
                                                       </block>
                                                     </value>
                                                     <value name="ADD3">
                                                       <block type="variables_get" id="f-X/5J/2276UhFZF;y%b">
                                                         <field name="VAR" id="QJo/jC,W(^D~h1EzI#iW">ed</field>
                                                       </block>
                                                     </value>
                                                     <value name="ADD4">
                                                       <block type="text" id="Mzaoewh)7I3[2y|J]Eu#">
                                                         <field name="TEXT"> s ausgeschaltet</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </next>
                               </block>
                             </next>
                           </block>
                         </statement>
                       </block>
                       <block type="schedule" id="]c2~#0TS6Ned)tR|BxO;" x="38" y="-137">
                         <field name="SCHEDULE">0 0 * * *</field>
                         <statement name="STATEMENT">
                           <block type="variables_set" id="%9!AZa,P$kUa(?XyXf;T">
                             <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
                             <value name="VALUE">
                               <block type="math_number" id="nnLq6TJ39,):R912vYb/">
                                 <field name="NUM">0</field>
                               </block>
                             </value>
                             <next>
                               <block type="update" id="Qb!hL~wPGuh[]+l:4C6^">
                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                 <field name="OID">Aqua_Control.0.Skimmer_System.Skimmer_Counter</field>
                                 <field name="WITH_DELAY">FALSE</field>
                                 <value name="VALUE">
                                   <block type="math_number" id="(p?T,$C!K7P:fB+O^L[,">
                                     <field name="NUM">0</field>
                                   </block>
                                 </value>
                                 <next>
                                   <block type="control" id="Qb4nC64QJQ0y,Gd9c7x!">
                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                     <field name="OID">sonoff.0.Aqua_Power.POWER3</field>
                                     <field name="WITH_DELAY">FALSE</field>
                                     <value name="VALUE">
                                       <block type="logic_boolean" id="{G2(nvB{I!%lr;sfIN}0">
                                         <field name="BOOL">TRUE</field>
                                       </block>
                                     </value>
                                   </block>
                                 </next>
                               </block>
                             </next>
                           </block>
                         </statement>
                         <next>
                           <block type="variables_set" id="`go@x%w@yx(xVWAC=wdw">
                             <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
                             <value name="VALUE">
                               <block type="get_value" id="/zhg*~V/P}NLzW,@lA:k">
                                 <field name="ATTR">val</field>
                                 <field name="OID">Aqua_Control.0.Skimmer_System.Skimmer_Counter</field>
                               </block>
                             </value>
                             <next>
                               <block type="on_ext" id="0GKI/lJE#g-~iD9Ksn~g">
                                 <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                 <field name="CONDITION">ne</field>
                                 <field name="ACK_CONDITION"></field>
                                 <value name="OID0">
                                   <shadow type="field_oid" id="NtQLF`GEENz?b0u#a8.p">
                                     <field name="oid">sonoff.0.Aqua_Skimmer.POWER1</field>
                                   </shadow>
                                 </value>
                                 <statement name="STATEMENT">
                                   <block type="controls_if" id="IW5Sj.=ts=x|n@-tAP(x">
                                     <value name="IF0">
                                       <block type="logic_compare" id="ftej+}Hv$6;~;y)~+IEF">
                                         <field name="OP">LT</field>
                                         <value name="A">
                                           <block type="variables_get" id="whr2qM75.;=$Y~A)1Ix`">
                                             <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
                                           </block>
                                         </value>
                                         <value name="B">
                                           <block type="math_number" id="F_VF@SK#7{yLhj3D3@kB">
                                             <field name="NUM">3</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <statement name="DO0">
                                       <block type="controls_if" id="gGk01Qy}nHD(NuP0tiY$">
                                         <mutation else="1"></mutation>
                                         <value name="IF0">
                                           <block type="on_source" id="u8b|Kmp`OBtvpv/eRe.A">
                                             <field name="ATTR">state.val</field>
                                           </block>
                                         </value>
                                         <statement name="DO0">
                                           <block type="control" id="}Fw+yxkNn[r}}HpV{+0p">
                                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                             <field name="OID">sonoff.0.Aqua_Skimmer.POWER3</field>
                                             <field name="WITH_DELAY">FALSE</field>
                                             <value name="VALUE">
                                               <block type="logic_boolean" id="L5Sm]kqO5F[!zE|s-I[H">
                                                 <field name="BOOL">TRUE</field>
                                               </block>
                                             </value>
                                             <next>
                                               <block type="control" id="Mu2iiCNRCNV{ZKalGZt-">
                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                 <field name="OID">sonoff.0.Aqua_Skimmer.POWER2</field>
                                                 <field name="WITH_DELAY">TRUE</field>
                                                 <field name="DELAY_MS">2</field>
                                                 <field name="UNIT">sec</field>
                                                 <field name="CLEAR_RUNNING">FALSE</field>
                                                 <value name="VALUE">
                                                   <block type="logic_boolean" id=")4/x)}XWW8{X4Kv;zAvv">
                                                     <field name="BOOL">TRUE</field>
                                                   </block>
                                                 </value>
                                                 <next>
                                                   <block type="telegram" id="ptxkXv.t%^UIv)VgMU]w">
                                                     <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=".!m#hz/P-n[`6#?W|}NN">
                                                         <field name="TEXT"></field>
                                                       </shadow>
                                                       <block type="text_join" id="xg0qwJ{Icd}@kQcuHg#A" inline="true">
                                                         <mutation items="3"></mutation>
                                                         <value name="ADD0">
                                                           <block type="text" id="Cp3pFqiDxue0W;/B9:BP">
                                                             <field name="TEXT">Aqua Skimmer Schmutzwasser </field>
                                                           </block>
                                                         </value>
                                                         <value name="ADD1">
                                                           <block type="text_newline" id=";_/:8gKlf+dAZBtC@?z@">
                                                             <field name="Type">\n</field>
                                                           </block>
                                                         </value>
                                                         <value name="ADD2">
                                                           <block type="text" id="E4JnesAHLUL@1j/tWfSz">
                                                             <field name="TEXT">wird abgepumpt</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                     <next>
                                                       <block type="timeouts_settimeout" id="jwRzhgvAr:Xi|K{XLCu+">
                                                         <field name="NAME">timeout</field>
                                                         <field name="DELAY">50</field>
                                                         <field name="UNIT">sec</field>
                                                         <statement name="STATEMENT">
                                                           <block type="variables_set" id="11)sHl#!p)%%w/)nPKei">
                                                             <field name="VAR" id="QJo/jC,W(^D~h1EzI#iW">ed</field>
                                                             <value name="VALUE">
                                                               <block type="math_number" id="7%:?mKY8t3dG$}k]?)m3">
                                                                 <field name="NUM">50</field>
                                                               </block>
                                                             </value>
                                                             <next>
                                                               <block type="procedures_callnoreturn" id="L?KnQ8Xf)LJ`LQTo3/9M">
                                                                 <mutation name="ausschalten"></mutation>
                                                               </block>
                                                             </next>
                                                           </block>
                                                         </statement>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                         </statement>
                                         <statement name="ELSE">
                                           <block type="timeouts_cleartimeout" id="o0=ezUd],KynNzE{WCNk">
                                             <field name="NAME">timeout</field>
                                             <next>
                                               <block type="variables_set" id="}yR~$xiYTA];P0b`Uz`T">
                                                 <field name="VAR" id="QJo/jC,W(^D~h1EzI#iW">ed</field>
                                                 <value name="VALUE">
                                                   <block type="math_round" id="ITkdumtYOat7A-;Tbv3?">
                                                     <field name="OP">ROUND</field>
                                                     <value name="NUM">
                                                       <shadow type="math_number" id="R-,t-dBRGd}S*Y/UWvI9">
                                                         <field name="NUM">3.1</field>
                                                       </shadow>
                                                       <block type="math_arithmetic" id="A1DKfnp}[FM^Ve|U0wRN">
                                                         <field name="OP">DIVIDE</field>
                                                         <value name="A">
                                                           <shadow type="math_number" id="aV6-0d@(}*~1C_n7aB?H">
                                                             <field name="NUM">1</field>
                                                           </shadow>
                                                           <block type="math_arithmetic" id="re5KR)Q9[,0DKjkX}VO_">
                                                             <field name="OP">MINUS</field>
                                                             <value name="A">
                                                               <shadow type="math_number" id="u/B)cM5,q+#$KDC*x](B">
                                                                 <field name="NUM">1</field>
                                                               </shadow>
                                                               <block type="on_source" id="$nydzMwlOH%/^XG1B:Vh">
                                                                 <field name="ATTR">state.lc</field>
                                                               </block>
                                                             </value>
                                                             <value name="B">
                                                               <shadow type="math_number" id="gCt5#=kmA7?}PY2JmBFo">
                                                                 <field name="NUM">1</field>
                                                               </shadow>
                                                               <block type="on_source" id=")8`b2[-Lj#NcTHhrgpn5">
                                                                 <field name="ATTR">oldState.lc</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                         <value name="B">
                                                           <shadow type="math_number" id="1kvj,wxG$94CkFKtzrgl">
                                                             <field name="NUM">1000</field>
                                                           </shadow>
                                                         </value>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <next>
                                                   <block type="procedures_callnoreturn" id="1X9rz8ESv8zBdy,trYGj">
                                                     <mutation name="ausschalten"></mutation>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                         </statement>
                                       </block>
                                     </statement>
                                   </block>
                                 </statement>
                               </block>
                             </next>
                           </block>
                         </next>
                       </block>
                      </xml>
                      

                      Bild_2021-05-31_151043.png

                      Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                      Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                      AphofisA 1 Antwort Letzte Antwort
                      0
                      • paul53P paul53

                        @aphofis sagte: momentan ist die steuerung so das nach timeout die pumpe und magnetventil abgeschaltet wird.

                        Dann erhöhe die Zeit soweit, dass sie nur noch eine Notabschaltung bewirkt, wenn der Schwimmer mal nicht auf false geht. Die Abschaltung bei Schwimmer = false ist ja bereits enthalten.

                        @aphofis sagte in Abschäumer Steuerung:

                        Telegram nachricht wenns abgeschaltet wurde, eintragen wie lange gepumpt wurde!?

                        Blockly_temp.JPG

                        <xml xmlns="https://developers.google.com/blockly/xml">
                         <variables>
                           <variable id="T%C+$EQ@sHF@*TRceSn7">Anzahl</variable>
                           <variable type="timeout" id="timeout">timeout</variable>
                         </variables>
                         <block type="variables_set" id="`go@x%w@yx(xVWAC=wdw" x="38" y="38">
                           <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
                           <value name="VALUE">
                             <block type="get_value" id="/zhg*~V/P}NLzW,@lA:k">
                               <field name="ATTR">val</field>
                               <field name="OID">Aqua_Control.0.Skimmer_System.Skimmer_Counter</field>
                             </block>
                           </value>
                           <next>
                             <block type="on_ext" id="0GKI/lJE#g-~iD9Ksn~g">
                               <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                               <field name="CONDITION">ne</field>
                               <field name="ACK_CONDITION"></field>
                               <value name="OID0">
                                 <shadow type="field_oid" id="NtQLF`GEENz?b0u#a8.p">
                                   <field name="oid">sonoff.0.Aqua_Skimmer.POWER1</field>
                                 </shadow>
                               </value>
                               <statement name="STATEMENT">
                                 <block type="controls_if" id="IW5Sj.=ts=x|n@-tAP(x">
                                   <value name="IF0">
                                     <block type="logic_compare" id="ftej+}Hv$6;~;y)~+IEF">
                                       <field name="OP">LT</field>
                                       <value name="A">
                                         <block type="variables_get" id="whr2qM75.;=$Y~A)1Ix`">
                                           <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
                                         </block>
                                       </value>
                                       <value name="B">
                                         <block type="math_number" id="F_VF@SK#7{yLhj3D3@kB">
                                           <field name="NUM">3</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                   <statement name="DO0">
                                     <block type="controls_if" id="gGk01Qy}nHD(NuP0tiY$">
                                       <mutation else="1"></mutation>
                                       <value name="IF0">
                                         <block type="on_source" id="u8b|Kmp`OBtvpv/eRe.A">
                                           <field name="ATTR">state.val</field>
                                         </block>
                                       </value>
                                       <statement name="DO0">
                                         <block type="control" id="}Fw+yxkNn[r}}HpV{+0p">
                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                           <field name="OID">sonoff.0.Aqua_Skimmer.POWER3</field>
                                           <field name="WITH_DELAY">FALSE</field>
                                           <value name="VALUE">
                                             <block type="logic_boolean" id="L5Sm]kqO5F[!zE|s-I[H">
                                               <field name="BOOL">TRUE</field>
                                             </block>
                                           </value>
                                           <next>
                                             <block type="control" id="Mu2iiCNRCNV{ZKalGZt-">
                                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                               <field name="OID">sonoff.0.Aqua_Skimmer.POWER2</field>
                                               <field name="WITH_DELAY">TRUE</field>
                                               <field name="DELAY_MS">2</field>
                                               <field name="UNIT">sec</field>
                                               <field name="CLEAR_RUNNING">FALSE</field>
                                               <value name="VALUE">
                                                 <block type="logic_boolean" id=")4/x)}XWW8{X4Kv;zAvv">
                                                   <field name="BOOL">TRUE</field>
                                                 </block>
                                               </value>
                                               <next>
                                                 <block type="telegram" id="ptxkXv.t%^UIv)VgMU]w">
                                                   <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=".!m#hz/P-n[`6#?W|}NN">
                                                       <field name="TEXT"></field>
                                                     </shadow>
                                                     <block type="text_join" id="xg0qwJ{Icd}@kQcuHg#A" inline="true">
                                                       <mutation items="3"></mutation>
                                                       <value name="ADD0">
                                                         <block type="text" id="Cp3pFqiDxue0W;/B9:BP">
                                                           <field name="TEXT">Aqua Skimmer Schmutzwasser </field>
                                                         </block>
                                                       </value>
                                                       <value name="ADD1">
                                                         <block type="text_newline" id=";_/:8gKlf+dAZBtC@?z@">
                                                           <field name="Type">\n</field>
                                                         </block>
                                                       </value>
                                                       <value name="ADD2">
                                                         <block type="text" id="E4JnesAHLUL@1j/tWfSz">
                                                           <field name="TEXT">wird abgepumpt</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                   <next>
                                                     <block type="timeouts_settimeout" id="jwRzhgvAr:Xi|K{XLCu+">
                                                       <field name="NAME">timeout</field>
                                                       <field name="DELAY">50</field>
                                                       <field name="UNIT">sec</field>
                                                       <statement name="STATEMENT">
                                                         <block type="math_change" id="h=GNvRKTU]SZ3Nlf6k[I">
                                                           <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
                                                           <value name="DELTA">
                                                             <shadow type="math_number" id="z2s#]cZ$Edd`sk=cOq;4">
                                                               <field name="NUM">1</field>
                                                             </shadow>
                                                           </value>
                                                           <next>
                                                             <block type="control" id="lR@Zt[2)}vPom2109XmV">
                                                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                               <field name="OID">sonoff.0.Aqua_Skimmer.POWER2</field>
                                                               <field name="WITH_DELAY">FALSE</field>
                                                               <value name="VALUE">
                                                                 <block type="logic_boolean" id="VTJhET!j3n52=O7cBJ,S">
                                                                   <field name="BOOL">FALSE</field>
                                                                 </block>
                                                               </value>
                                                               <next>
                                                                 <block type="control" id="qT$}Vt)d[F.I%E+B$R-;">
                                                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                   <field name="OID">sonoff.0.Aqua_Skimmer.POWER3</field>
                                                                   <field name="WITH_DELAY">TRUE</field>
                                                                   <field name="DELAY_MS">2</field>
                                                                   <field name="UNIT">sec</field>
                                                                   <field name="CLEAR_RUNNING">FALSE</field>
                                                                   <value name="VALUE">
                                                                     <block type="logic_boolean" id="UNH!n|@+Xc/%i8thxR-W">
                                                                       <field name="BOOL">FALSE</field>
                                                                     </block>
                                                                   </value>
                                                                   <next>
                                                                     <block type="controls_if" id="4q[m-QUXEA~*h${@|TUl">
                                                                       <value name="IF0">
                                                                         <block type="logic_compare" id="Fz%M8muiC=6m)I!t?bM8">
                                                                           <field name="OP">GTE</field>
                                                                           <value name="A">
                                                                             <block type="variables_get" id="y~!:a4R5qw6/JfQjz|s!">
                                                                               <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
                                                                             </block>
                                                                           </value>
                                                                           <value name="B">
                                                                             <block type="math_number" id="!$I1u[Jf@}~yl[Z6l1+Z">
                                                                               <field name="NUM">3</field>
                                                                             </block>
                                                                           </value>
                                                                         </block>
                                                                       </value>
                                                                       <statement name="DO0">
                                                                         <block type="control" id="zS@vkB6FMt;ImiRAw5DA">
                                                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                           <field name="OID">sonoff.0.Aqua_Power.POWER3</field>
                                                                           <field name="WITH_DELAY">FALSE</field>
                                                                           <value name="VALUE">
                                                                             <block type="logic_boolean" id=",q0VT/$)_)yiYeLnnMV[">
                                                                               <field name="BOOL">FALSE</field>
                                                                             </block>
                                                                           </value>
                                                                         </block>
                                                                       </statement>
                                                                     </block>
                                                                   </next>
                                                                 </block>
                                                               </next>
                                                             </block>
                                                           </next>
                                                         </block>
                                                       </statement>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </next>
                                             </block>
                                           </next>
                                         </block>
                                       </statement>
                                       <statement name="ELSE">
                                         <block type="timeouts_cleartimeout" id="o0=ezUd],KynNzE{WCNk">
                                           <field name="NAME">timeout</field>
                                           <next>
                                             <block type="math_change" id="d%d%Pc@J]*=$KqZourgg">
                                               <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
                                               <value name="DELTA">
                                                 <shadow type="math_number" id="[_2KOiXLMMo_6*/,kkHv">
                                                   <field name="NUM">1</field>
                                                 </shadow>
                                               </value>
                                               <next>
                                                 <block type="update" id="f;_)|7O2@rg4*`NfU-hr">
                                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                   <field name="OID">Aqua_Control.0.Skimmer_System.Skimmer_Counter</field>
                                                   <field name="WITH_DELAY">FALSE</field>
                                                   <value name="VALUE">
                                                     <block type="variables_get" id="Tc39+8)rY0dik5GXN8Wx">
                                                       <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
                                                     </block>
                                                   </value>
                                                   <next>
                                                     <block type="control" id="?du_TvUb|G#B7_8^/h,T">
                                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                       <field name="OID">sonoff.0.Aqua_Skimmer.POWER3</field>
                                                       <field name="WITH_DELAY">FALSE</field>
                                                       <value name="VALUE">
                                                         <block type="logic_boolean" id="_BkS6vz{L6pwv-Uawu~R">
                                                           <field name="BOOL">FALSE</field>
                                                         </block>
                                                       </value>
                                                       <next>
                                                         <block type="control" id="B.#0loJ};_kou*_za`fn">
                                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                           <field name="OID">sonoff.0.Aqua_Skimmer.POWER2</field>
                                                           <field name="WITH_DELAY">FALSE</field>
                                                           <value name="VALUE">
                                                             <block type="logic_boolean" id="crn9Dj)CO!D1!U$MXAz,">
                                                               <field name="BOOL">FALSE</field>
                                                             </block>
                                                           </value>
                                                           <next>
                                                             <block type="telegram" id="+,jVKn/jB6t?`=uOf{40">
                                                               <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">
                                                                   <field name="TEXT"></field>
                                                                 </shadow>
                                                                 <block type="text_join" id=").^pDcRC$HiiSlODB:Oo">
                                                                   <mutation items="5"></mutation>
                                                                   <value name="ADD0">
                                                                     <block type="text" id="IMmsR$j}`Zmj42OXa^gt">
                                                                       <field name="TEXT">Aqua Skimmer Schmutzwasser </field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="ADD1">
                                                                     <block type="text_newline" id="pGh/HuA_M^61/V%tt0CW">
                                                                       <field name="Type">\n</field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="ADD2">
                                                                     <block type="text" id="lzfa!I?6jdsAz5t4qat}">
                                                                       <field name="TEXT"> abpumpen wurde nach </field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="ADD3">
                                                                     <block type="math_round" id="ITkdumtYOat7A-;Tbv3?">
                                                                       <field name="OP">ROUND</field>
                                                                       <value name="NUM">
                                                                         <shadow type="math_number" id="R-,t-dBRGd}S*Y/UWvI9">
                                                                           <field name="NUM">3.1</field>
                                                                         </shadow>
                                                                         <block type="math_arithmetic" id="A1DKfnp}[FM^Ve|U0wRN">
                                                                           <field name="OP">DIVIDE</field>
                                                                           <value name="A">
                                                                             <shadow type="math_number" id="aV6-0d@(}*~1C_n7aB?H">
                                                                               <field name="NUM">1</field>
                                                                             </shadow>
                                                                             <block type="math_arithmetic" id="re5KR)Q9[,0DKjkX}VO_">
                                                                               <field name="OP">MINUS</field>
                                                                               <value name="A">
                                                                                 <shadow type="math_number" id="u/B)cM5,q+#$KDC*x](B">
                                                                                   <field name="NUM">1</field>
                                                                                 </shadow>
                                                                                 <block type="on_source" id="$nydzMwlOH%/^XG1B:Vh">
                                                                                   <field name="ATTR">state.lc</field>
                                                                                 </block>
                                                                               </value>
                                                                               <value name="B">
                                                                                 <shadow type="math_number" id="gCt5#=kmA7?}PY2JmBFo">
                                                                                   <field name="NUM">1</field>
                                                                                 </shadow>
                                                                                 <block type="on_source" id=")8`b2[-Lj#NcTHhrgpn5">
                                                                                   <field name="ATTR">oldState.lc</field>
                                                                                 </block>
                                                                               </value>
                                                                             </block>
                                                                           </value>
                                                                           <value name="B">
                                                                             <shadow type="math_number" id="1kvj,wxG$94CkFKtzrgl">
                                                                               <field name="NUM">1000</field>
                                                                             </shadow>
                                                                           </value>
                                                                         </block>
                                                                       </value>
                                                                     </block>
                                                                   </value>
                                                                   <value name="ADD4">
                                                                     <block type="text" id="Mzaoewh)7I3[2y|J]Eu#">
                                                                       <field name="TEXT"> s ausgeschaltet</field>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </value>
                                                               <next>
                                                                 <block type="controls_if" id="w`8RN@-1.Bk9hHmO~%4K">
                                                                   <value name="IF0">
                                                                     <block type="logic_compare" id="O$]/S|_u1HASkghAVihe">
                                                                       <field name="OP">GTE</field>
                                                                       <value name="A">
                                                                         <block type="variables_get" id="#RMF#fD57i.]wiPXb~g_">
                                                                           <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
                                                                         </block>
                                                                       </value>
                                                                       <value name="B">
                                                                         <block type="math_number" id="]XozY~v6B83_}[Osd~vl">
                                                                           <field name="NUM">3</field>
                                                                         </block>
                                                                       </value>
                                                                     </block>
                                                                   </value>
                                                                   <statement name="DO0">
                                                                     <block type="control" id=",KM(3kROX8mDX5yMy^c+">
                                                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                       <field name="OID">sonoff.0.Aqua_Power.POWER3</field>
                                                                       <field name="WITH_DELAY">FALSE</field>
                                                                       <value name="VALUE">
                                                                         <block type="logic_boolean" id="N_^C/5uJG.ukYvr.9FU!">
                                                                           <field name="BOOL">FALSE</field>
                                                                         </block>
                                                                       </value>
                                                                     </block>
                                                                   </statement>
                                                                 </block>
                                                               </next>
                                                             </block>
                                                           </next>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </next>
                                             </block>
                                           </next>
                                         </block>
                                       </statement>
                                     </block>
                                   </statement>
                                 </block>
                               </statement>
                             </block>
                           </next>
                         </block>
                         <block type="schedule" id="]c2~#0TS6Ned)tR|BxO;" x="713" y="38">
                           <field name="SCHEDULE">0 0 * * *</field>
                           <statement name="STATEMENT">
                             <block type="variables_set" id="%9!AZa,P$kUa(?XyXf;T">
                               <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
                               <value name="VALUE">
                                 <block type="math_number" id="nnLq6TJ39,):R912vYb/">
                                   <field name="NUM">0</field>
                                 </block>
                               </value>
                               <next>
                                 <block type="update" id="Qb!hL~wPGuh[]+l:4C6^">
                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                   <field name="OID">Aqua_Control.0.Skimmer_System.Skimmer_Counter</field>
                                   <field name="WITH_DELAY">FALSE</field>
                                   <value name="VALUE">
                                     <block type="math_number" id="(p?T,$C!K7P:fB+O^L[,">
                                       <field name="NUM">0</field>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="control" id="Qb4nC64QJQ0y,Gd9c7x!">
                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                       <field name="OID">sonoff.0.Aqua_Power.POWER3</field>
                                       <field name="WITH_DELAY">FALSE</field>
                                       <value name="VALUE">
                                         <block type="logic_boolean" id="{G2(nvB{I!%lr;sfIN}0">
                                           <field name="BOOL">TRUE</field>
                                         </block>
                                       </value>
                                     </block>
                                   </next>
                                 </block>
                               </next>
                             </block>
                           </statement>
                         </block>
                        </xml>
                        

                        Version mit Funktion ausschalten():

                        <xml xmlns="https://developers.google.com/blockly/xml">
                         <variables>
                           <variable id="T%C+$EQ@sHF@*TRceSn7">Anzahl</variable>
                           <variable id="QJo/jC,W(^D~h1EzI#iW">ed</variable>
                           <variable type="timeout" id="timeout">timeout</variable>
                         </variables>
                         <block type="procedures_defnoreturn" id="o_-q/GZ-T+=h70GQBx]~" x="762" y="-313">
                           <field name="NAME">ausschalten</field>
                           <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                           <statement name="STACK">
                             <block type="control" id="B.#0loJ};_kou*_za`fn">
                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                               <field name="OID">sonoff.0.Aqua_Skimmer.POWER2</field>
                               <field name="WITH_DELAY">FALSE</field>
                               <value name="VALUE">
                                 <block type="logic_boolean" id="crn9Dj)CO!D1!U$MXAz,">
                                   <field name="BOOL">FALSE</field>
                                 </block>
                               </value>
                               <next>
                                 <block type="control" id="?du_TvUb|G#B7_8^/h,T">
                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                   <field name="OID">sonoff.0.Aqua_Skimmer.POWER3</field>
                                   <field name="WITH_DELAY">TRUE</field>
                                   <field name="DELAY_MS">2</field>
                                   <field name="UNIT">sec</field>
                                   <field name="CLEAR_RUNNING">FALSE</field>
                                   <value name="VALUE">
                                     <block type="logic_boolean" id="_BkS6vz{L6pwv-Uawu~R">
                                       <field name="BOOL">FALSE</field>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="math_change" id="d%d%Pc@J]*=$KqZourgg">
                                       <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
                                       <value name="DELTA">
                                         <shadow type="math_number" id="[_2KOiXLMMo_6*/,kkHv">
                                           <field name="NUM">1</field>
                                         </shadow>
                                       </value>
                                       <next>
                                         <block type="update" id="f;_)|7O2@rg4*`NfU-hr">
                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                           <field name="OID">Aqua_Control.0.Skimmer_System.Skimmer_Counter</field>
                                           <field name="WITH_DELAY">FALSE</field>
                                           <value name="VALUE">
                                             <block type="variables_get" id="Tc39+8)rY0dik5GXN8Wx">
                                               <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
                                             </block>
                                           </value>
                                           <next>
                                             <block type="controls_if" id="w`8RN@-1.Bk9hHmO~%4K">
                                               <value name="IF0">
                                                 <block type="logic_compare" id="O$]/S|_u1HASkghAVihe">
                                                   <field name="OP">GTE</field>
                                                   <value name="A">
                                                     <block type="variables_get" id="#RMF#fD57i.]wiPXb~g_">
                                                       <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
                                                     </block>
                                                   </value>
                                                   <value name="B">
                                                     <block type="math_number" id="]XozY~v6B83_}[Osd~vl">
                                                       <field name="NUM">3</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                               <statement name="DO0">
                                                 <block type="control" id=",KM(3kROX8mDX5yMy^c+">
                                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                   <field name="OID">sonoff.0.Aqua_Power.POWER3</field>
                                                   <field name="WITH_DELAY">FALSE</field>
                                                   <value name="VALUE">
                                                     <block type="logic_boolean" id="N_^C/5uJG.ukYvr.9FU!">
                                                       <field name="BOOL">FALSE</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </statement>
                                               <next>
                                                 <block type="telegram" id="+,jVKn/jB6t?`=uOf{40">
                                                   <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">
                                                       <field name="TEXT"></field>
                                                     </shadow>
                                                     <block type="text_join" id=").^pDcRC$HiiSlODB:Oo">
                                                       <mutation items="5"></mutation>
                                                       <value name="ADD0">
                                                         <block type="text" id="IMmsR$j}`Zmj42OXa^gt">
                                                           <field name="TEXT">Aqua Skimmer Schmutzwasser </field>
                                                         </block>
                                                       </value>
                                                       <value name="ADD1">
                                                         <block type="text_newline" id="pGh/HuA_M^61/V%tt0CW">
                                                           <field name="Type">\n</field>
                                                         </block>
                                                       </value>
                                                       <value name="ADD2">
                                                         <block type="text" id="lzfa!I?6jdsAz5t4qat}">
                                                           <field name="TEXT"> abpumpen wurde nach </field>
                                                         </block>
                                                       </value>
                                                       <value name="ADD3">
                                                         <block type="variables_get" id="f-X/5J/2276UhFZF;y%b">
                                                           <field name="VAR" id="QJo/jC,W(^D~h1EzI#iW">ed</field>
                                                         </block>
                                                       </value>
                                                       <value name="ADD4">
                                                         <block type="text" id="Mzaoewh)7I3[2y|J]Eu#">
                                                           <field name="TEXT"> s ausgeschaltet</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </next>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </next>
                             </block>
                           </statement>
                         </block>
                         <block type="schedule" id="]c2~#0TS6Ned)tR|BxO;" x="38" y="-137">
                           <field name="SCHEDULE">0 0 * * *</field>
                           <statement name="STATEMENT">
                             <block type="variables_set" id="%9!AZa,P$kUa(?XyXf;T">
                               <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
                               <value name="VALUE">
                                 <block type="math_number" id="nnLq6TJ39,):R912vYb/">
                                   <field name="NUM">0</field>
                                 </block>
                               </value>
                               <next>
                                 <block type="update" id="Qb!hL~wPGuh[]+l:4C6^">
                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                   <field name="OID">Aqua_Control.0.Skimmer_System.Skimmer_Counter</field>
                                   <field name="WITH_DELAY">FALSE</field>
                                   <value name="VALUE">
                                     <block type="math_number" id="(p?T,$C!K7P:fB+O^L[,">
                                       <field name="NUM">0</field>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="control" id="Qb4nC64QJQ0y,Gd9c7x!">
                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                       <field name="OID">sonoff.0.Aqua_Power.POWER3</field>
                                       <field name="WITH_DELAY">FALSE</field>
                                       <value name="VALUE">
                                         <block type="logic_boolean" id="{G2(nvB{I!%lr;sfIN}0">
                                           <field name="BOOL">TRUE</field>
                                         </block>
                                       </value>
                                     </block>
                                   </next>
                                 </block>
                               </next>
                             </block>
                           </statement>
                           <next>
                             <block type="variables_set" id="`go@x%w@yx(xVWAC=wdw">
                               <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
                               <value name="VALUE">
                                 <block type="get_value" id="/zhg*~V/P}NLzW,@lA:k">
                                   <field name="ATTR">val</field>
                                   <field name="OID">Aqua_Control.0.Skimmer_System.Skimmer_Counter</field>
                                 </block>
                               </value>
                               <next>
                                 <block type="on_ext" id="0GKI/lJE#g-~iD9Ksn~g">
                                   <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                   <field name="CONDITION">ne</field>
                                   <field name="ACK_CONDITION"></field>
                                   <value name="OID0">
                                     <shadow type="field_oid" id="NtQLF`GEENz?b0u#a8.p">
                                       <field name="oid">sonoff.0.Aqua_Skimmer.POWER1</field>
                                     </shadow>
                                   </value>
                                   <statement name="STATEMENT">
                                     <block type="controls_if" id="IW5Sj.=ts=x|n@-tAP(x">
                                       <value name="IF0">
                                         <block type="logic_compare" id="ftej+}Hv$6;~;y)~+IEF">
                                           <field name="OP">LT</field>
                                           <value name="A">
                                             <block type="variables_get" id="whr2qM75.;=$Y~A)1Ix`">
                                               <field name="VAR" id="T%C+$EQ@sHF@*TRceSn7">Anzahl</field>
                                             </block>
                                           </value>
                                           <value name="B">
                                             <block type="math_number" id="F_VF@SK#7{yLhj3D3@kB">
                                               <field name="NUM">3</field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                       <statement name="DO0">
                                         <block type="controls_if" id="gGk01Qy}nHD(NuP0tiY$">
                                           <mutation else="1"></mutation>
                                           <value name="IF0">
                                             <block type="on_source" id="u8b|Kmp`OBtvpv/eRe.A">
                                               <field name="ATTR">state.val</field>
                                             </block>
                                           </value>
                                           <statement name="DO0">
                                             <block type="control" id="}Fw+yxkNn[r}}HpV{+0p">
                                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                               <field name="OID">sonoff.0.Aqua_Skimmer.POWER3</field>
                                               <field name="WITH_DELAY">FALSE</field>
                                               <value name="VALUE">
                                                 <block type="logic_boolean" id="L5Sm]kqO5F[!zE|s-I[H">
                                                   <field name="BOOL">TRUE</field>
                                                 </block>
                                               </value>
                                               <next>
                                                 <block type="control" id="Mu2iiCNRCNV{ZKalGZt-">
                                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                   <field name="OID">sonoff.0.Aqua_Skimmer.POWER2</field>
                                                   <field name="WITH_DELAY">TRUE</field>
                                                   <field name="DELAY_MS">2</field>
                                                   <field name="UNIT">sec</field>
                                                   <field name="CLEAR_RUNNING">FALSE</field>
                                                   <value name="VALUE">
                                                     <block type="logic_boolean" id=")4/x)}XWW8{X4Kv;zAvv">
                                                       <field name="BOOL">TRUE</field>
                                                     </block>
                                                   </value>
                                                   <next>
                                                     <block type="telegram" id="ptxkXv.t%^UIv)VgMU]w">
                                                       <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=".!m#hz/P-n[`6#?W|}NN">
                                                           <field name="TEXT"></field>
                                                         </shadow>
                                                         <block type="text_join" id="xg0qwJ{Icd}@kQcuHg#A" inline="true">
                                                           <mutation items="3"></mutation>
                                                           <value name="ADD0">
                                                             <block type="text" id="Cp3pFqiDxue0W;/B9:BP">
                                                               <field name="TEXT">Aqua Skimmer Schmutzwasser </field>
                                                             </block>
                                                           </value>
                                                           <value name="ADD1">
                                                             <block type="text_newline" id=";_/:8gKlf+dAZBtC@?z@">
                                                               <field name="Type">\n</field>
                                                             </block>
                                                           </value>
                                                           <value name="ADD2">
                                                             <block type="text" id="E4JnesAHLUL@1j/tWfSz">
                                                               <field name="TEXT">wird abgepumpt</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                       <next>
                                                         <block type="timeouts_settimeout" id="jwRzhgvAr:Xi|K{XLCu+">
                                                           <field name="NAME">timeout</field>
                                                           <field name="DELAY">50</field>
                                                           <field name="UNIT">sec</field>
                                                           <statement name="STATEMENT">
                                                             <block type="variables_set" id="11)sHl#!p)%%w/)nPKei">
                                                               <field name="VAR" id="QJo/jC,W(^D~h1EzI#iW">ed</field>
                                                               <value name="VALUE">
                                                                 <block type="math_number" id="7%:?mKY8t3dG$}k]?)m3">
                                                                   <field name="NUM">50</field>
                                                                 </block>
                                                               </value>
                                                               <next>
                                                                 <block type="procedures_callnoreturn" id="L?KnQ8Xf)LJ`LQTo3/9M">
                                                                   <mutation name="ausschalten"></mutation>
                                                                 </block>
                                                               </next>
                                                             </block>
                                                           </statement>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </next>
                                             </block>
                                           </statement>
                                           <statement name="ELSE">
                                             <block type="timeouts_cleartimeout" id="o0=ezUd],KynNzE{WCNk">
                                               <field name="NAME">timeout</field>
                                               <next>
                                                 <block type="variables_set" id="}yR~$xiYTA];P0b`Uz`T">
                                                   <field name="VAR" id="QJo/jC,W(^D~h1EzI#iW">ed</field>
                                                   <value name="VALUE">
                                                     <block type="math_round" id="ITkdumtYOat7A-;Tbv3?">
                                                       <field name="OP">ROUND</field>
                                                       <value name="NUM">
                                                         <shadow type="math_number" id="R-,t-dBRGd}S*Y/UWvI9">
                                                           <field name="NUM">3.1</field>
                                                         </shadow>
                                                         <block type="math_arithmetic" id="A1DKfnp}[FM^Ve|U0wRN">
                                                           <field name="OP">DIVIDE</field>
                                                           <value name="A">
                                                             <shadow type="math_number" id="aV6-0d@(}*~1C_n7aB?H">
                                                               <field name="NUM">1</field>
                                                             </shadow>
                                                             <block type="math_arithmetic" id="re5KR)Q9[,0DKjkX}VO_">
                                                               <field name="OP">MINUS</field>
                                                               <value name="A">
                                                                 <shadow type="math_number" id="u/B)cM5,q+#$KDC*x](B">
                                                                   <field name="NUM">1</field>
                                                                 </shadow>
                                                                 <block type="on_source" id="$nydzMwlOH%/^XG1B:Vh">
                                                                   <field name="ATTR">state.lc</field>
                                                                 </block>
                                                               </value>
                                                               <value name="B">
                                                                 <shadow type="math_number" id="gCt5#=kmA7?}PY2JmBFo">
                                                                   <field name="NUM">1</field>
                                                                 </shadow>
                                                                 <block type="on_source" id=")8`b2[-Lj#NcTHhrgpn5">
                                                                   <field name="ATTR">oldState.lc</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                           <value name="B">
                                                             <shadow type="math_number" id="1kvj,wxG$94CkFKtzrgl">
                                                               <field name="NUM">1000</field>
                                                             </shadow>
                                                           </value>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                   <next>
                                                     <block type="procedures_callnoreturn" id="1X9rz8ESv8zBdy,trYGj">
                                                       <mutation name="ausschalten"></mutation>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </next>
                                             </block>
                                           </statement>
                                         </block>
                                       </statement>
                                     </block>
                                   </statement>
                                 </block>
                               </next>
                             </block>
                           </next>
                         </block>
                        </xml>
                        

                        Bild_2021-05-31_151043.png

                        AphofisA Offline
                        AphofisA Offline
                        Aphofis
                        schrieb am zuletzt editiert von Aphofis
                        #13

                        @paul53
                        SUPER !!!
                        Du bist echt mal wieder Spitze!!!
                        Vielen Vielen Dank
                        Es läuft perfekt

                        1 Antwort Letzte Antwort
                        0

                        Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

                        Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

                        Mit deinem Input könnte dieser Beitrag noch besser werden 💗

                        Registrieren Anmelden
                        Antworten
                        • In einem neuen Thema antworten
                        Anmelden zum Antworten
                        • Älteste zuerst
                        • Neuste zuerst
                        • Meiste Stimmen


                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        558

                        Online

                        32.8k

                        Benutzer

                        82.8k

                        Themen

                        1.3m

                        Beiträge
                        Community
                        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                        ioBroker Community 2014-2025
                        logo
                        • Anmelden

                        • Du hast noch kein Konto? Registrieren

                        • Anmelden oder registrieren, um zu suchen
                        • Erster Beitrag
                          Letzter Beitrag
                        0
                        • Home
                        • Aktuell
                        • Tags
                        • Ungelesen 0
                        • Kategorien
                        • Unreplied
                        • Beliebt
                        • GitHub
                        • Docu
                        • Hilfe