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. Kleiner Umbau einer Schaltung

NEWS

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

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    18
    1
    5.7k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.5k

Kleiner Umbau einer Schaltung

Geplant Angeheftet Gesperrt Verschoben Blockly
blocklyjavascript
13 Beiträge 3 Kommentatoren 649 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: So das dass Vlies alle 15 min nur 1 cm laufen soll. dh 96 cm am Tag.
    ... der Motor macht in 1 sek 1,11262 cm

    Es soll alle 15 Minuten nur für jeweils 900 ms laufen?

    @aphofis sagte in Kleiner Umbau einer Schaltung:

    Dazu muss die Restzeit weiter bestehen bleiben. das nihct mehr als 100 cm am Tag laufen.

    Wozu? 96 cm sind weniger als 100 cm.

    Vorschlag:

    Blockly_temp.JPG

    <xml xmlns="https://developers.google.com/blockly/xml">
     <variables>
       <variable id="jelrI7)a+8oXZV(*|VPG">schwimmer</variable>
       <variable type="timeout" id="timeout">timeout</variable>
       <variable id="9:SDRple|ege[7Ew8bgk">maxSchwimmer</variable>
       <variable type="interval" id="Intervall">Intervall</variable>
     </variables>
     <block type="comment" id="5z}DP4%./aV[wt`Fx4$t" x="-2013" y="-787">
       <field name="COMMENT">Vlies Schwimmer normal</field>
       <next>
         <block type="variables_set" id="q^$BreH*yiE%[?k6w~Cu">
           <field name="VAR" id="jelrI7)a+8oXZV(*|VPG">schwimmer</field>
           <value name="VALUE">
             <block type="get_value" id="[z_,Lk{/T{ix%}b/^$WM">
               <field name="ATTR">val</field>
               <field name="OID">sonoff.0.Aqua_Float.POWER3</field>
             </block>
           </value>
           <next>
             <block type="on_ext" id=".C1d#(gWIO$3af%qZpd=">
               <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="ao*zhM3bl`?#R.|56@u2">
                   <field name="oid">sonoff.0.Aqua_Float.POWER3</field>
                 </shadow>
               </value>
               <statement name="STATEMENT">
                 <block type="timeouts_cleartimeout" id="JsI0fYRACRn|cg%P`lFp">
                   <field name="NAME">timeout</field>
                   <next>
                     <block type="timeouts_settimeout" id="N#We))|a%fz}L[Q+Cx^q">
                       <field name="NAME">timeout</field>
                       <field name="DELAY">10</field>
                       <field name="UNIT">sec</field>
                       <statement name="STATEMENT">
                         <block type="variables_set" id="DBP2g$aqWChGwu[v*4!%">
                           <field name="VAR" id="jelrI7)a+8oXZV(*|VPG">schwimmer</field>
                           <value name="VALUE">
                             <block type="on_source" id="K11}(or[Z:OS!(#vxqHG">
                               <field name="ATTR">state.val</field>
                             </block>
                           </value>
                           <next>
                             <block type="procedures_callnoreturn" id="PS|Lsb]Ll|M)1A-*=;MW">
                               <mutation name="Vliesmotor"></mutation>
                             </block>
                           </next>
                         </block>
                       </statement>
                     </block>
                   </next>
                 </block>
               </statement>
               <next>
                 <block type="comment" id="bHD/a9YVFg5@jtgL}RAZ">
                   <field name="COMMENT">Vlies Schwimmer max</field>
                   <next>
                     <block type="variables_set" id=",QNrt-4CE4Oj^jIk#,;Y">
                       <field name="VAR" id="9:SDRple|ege[7Ew8bgk">maxSchwimmer</field>
                       <value name="VALUE">
                         <block type="get_value" id=")/E%PW9T*{q`1g=Um8*F">
                           <field name="ATTR">val</field>
                           <field name="OID">sonoff.0.Aqua_Float.POWER5</field>
                         </block>
                       </value>
                       <next>
                         <block type="on_ext" id="*GLxbq=Y5W/kt`Ec^_^8">
                           <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=":`a*puT#US*_u;?L/x6J">
                               <field name="oid">sonoff.0.Aqua_Float.POWER5</field>
                             </shadow>
                           </value>
                           <statement name="STATEMENT">
                             <block type="variables_set" id="|?HCwmG:!WSA]G_SW,bk">
                               <field name="VAR" id="9:SDRple|ege[7Ew8bgk">maxSchwimmer</field>
                               <value name="VALUE">
                                 <block type="on_source" id="2JAIjy|oUz(g|A5~5NZK">
                                   <field name="ATTR">state.val</field>
                                 </block>
                               </value>
                               <next>
                                 <block type="procedures_callnoreturn" id="4SLh!G5#1BX1Fr=Gc:)G">
                                   <mutation name="Vliesmotor"></mutation>
                                 </block>
                               </next>
                             </block>
                           </statement>
                           <next>
                             <block type="procedures_callnoreturn" id="SwYioD-vCN,({DQT,nlx">
                               <mutation name="Vliesmotor"></mutation>
                             </block>
                           </next>
                         </block>
                       </next>
                     </block>
                   </next>
                 </block>
               </next>
             </block>
           </next>
         </block>
       </next>
     </block>
     <block type="procedures_defnoreturn" id="~}wgr=#9IHto`oZ`1i[U" x="-1538" y="-688">
       <field name="NAME">Vliesmotor</field>
       <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
       <statement name="STACK">
         <block type="controls_if" id="qK^.hb={2:@M!ZVgr,,u">
           <mutation else="1"></mutation>
           <value name="IF0">
             <block type="logic_operation" id="[P$,D8~!C1S-}Qc-W#F2">
               <field name="OP">AND</field>
               <value name="A">
                 <block type="variables_get" id="NzRA^q(PS(^dxlh?Hz=`">
                   <field name="VAR" id="jelrI7)a+8oXZV(*|VPG">schwimmer</field>
                 </block>
               </value>
               <value name="B">
                 <block type="logic_negate" id="l#n/c,qraF+Y1Tx?C@JA">
                   <value name="BOOL">
                     <block type="variables_get" id="_M:.mt0cg%g*o6:2k*18">
                       <field name="VAR" id="9:SDRple|ege[7Ew8bgk">maxSchwimmer</field>
                     </block>
                   </value>
                 </block>
               </value>
             </block>
           </value>
           <statement name="DO0">
             <block type="control" id="S$_E~?+C|0xeaXoh_M8M">
               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
               <field name="OID">sonoff.0.Aqua_Control.POWER2</field>
               <field name="WITH_DELAY">FALSE</field>
               <value name="VALUE">
                 <block type="logic_boolean" id="%02%L=N?!^~efNZ}mSgv">
                   <field name="BOOL">TRUE</field>
                 </block>
               </value>
               <next>
                 <block type="control" id=";ZPsI~I3!y;|Bll.nZi]">
                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                   <field name="OID">sonoff.0.Aqua_Control.POWER2</field>
                   <field name="WITH_DELAY">TRUE</field>
                   <field name="DELAY_MS">900</field>
                   <field name="UNIT">ms</field>
                   <field name="CLEAR_RUNNING">TRUE</field>
                   <value name="VALUE">
                     <block type="logic_boolean" id="GV}0dox+Wzn)9/ho1)jJ">
                       <field name="BOOL">FALSE</field>
                     </block>
                   </value>
                   <next>
                     <block type="timeouts_setinterval" id="54}UC3}t@D?RM1+Z792o">
                       <field name="NAME">Intervall</field>
                       <field name="INTERVAL">15</field>
                       <field name="UNIT">min</field>
                       <statement name="STATEMENT">
                         <block type="control" id="*h|j)c?5J=M%-+gVBP|6">
                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                           <field name="OID">sonoff.0.Aqua_Control.POWER2</field>
                           <field name="WITH_DELAY">FALSE</field>
                           <value name="VALUE">
                             <block type="logic_boolean" id="wu:F0))QxqKb[C9(2:(.">
                               <field name="BOOL">TRUE</field>
                             </block>
                           </value>
                           <next>
                             <block type="control" id="1Srk,S8-kg$1(MYb=Zej">
                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                               <field name="OID">sonoff.0.Aqua_Control.POWER2</field>
                               <field name="WITH_DELAY">TRUE</field>
                               <field name="DELAY_MS">900</field>
                               <field name="UNIT">ms</field>
                               <field name="CLEAR_RUNNING">TRUE</field>
                               <value name="VALUE">
                                 <block type="logic_boolean" id="!*s(*gpXSim:=AQR3(b(">
                                   <field name="BOOL">FALSE</field>
                                 </block>
                               </value>
                             </block>
                           </next>
                         </block>
                       </statement>
                     </block>
                   </next>
                 </block>
               </next>
             </block>
           </statement>
           <statement name="ELSE">
             <block type="timeouts_clearinterval" id=".JS+sd^HrJ:7@PT?;b1@">
               <field name="NAME">Intervall</field>
               <next>
                 <block type="controls_if" id="%,hn#a-({PajWRc0xSZ@">
                   <value name="IF0">
                     <block type="get_value" id="#Hsff,HhVj3Er3x^t0d{">
                       <field name="ATTR">val</field>
                       <field name="OID">sonoff.0.Aqua_Control.POWER2</field>
                     </block>
                   </value>
                   <statement name="DO0">
                     <block type="control" id="4|Vz)`RbK!({%B#^yBT@">
                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                       <field name="OID">sonoff.0.Aqua_Control.POWER2</field>
                       <field name="WITH_DELAY">FALSE</field>
                       <value name="VALUE">
                         <block type="logic_boolean" id="(F=#.PC)sS-H0v;,Jq$U">
                           <field name="BOOL">FALSE</field>
                         </block>
                       </value>
                     </block>
                   </statement>
                 </block>
               </next>
             </block>
           </statement>
         </block>
       </statement>
     </block>
    </xml>
    

    Version mit Zeitplan, bei der die 100 cm pro Tag mit Sicherheit nicht überschritten werden:

    Blockly_temp.JPG

    <xml xmlns="https://developers.google.com/blockly/xml">
     <variables>
       <variable id="jelrI7)a+8oXZV(*|VPG">schwimmer</variable>
       <variable type="timeout" id="timeout">timeout</variable>
       <variable id="9:SDRple|ege[7Ew8bgk">maxSchwimmer</variable>
     </variables>
     <block type="comment" id="5z}DP4%./aV[wt`Fx4$t" x="-2013" y="-787">
       <field name="COMMENT">Vlies Schwimmer normal</field>
       <next>
         <block type="variables_set" id="q^$BreH*yiE%[?k6w~Cu">
           <field name="VAR" id="jelrI7)a+8oXZV(*|VPG">schwimmer</field>
           <value name="VALUE">
             <block type="get_value" id="[z_,Lk{/T{ix%}b/^$WM">
               <field name="ATTR">val</field>
               <field name="OID">sonoff.0.Aqua_Float.POWER3</field>
             </block>
           </value>
           <next>
             <block type="on_ext" id=".C1d#(gWIO$3af%qZpd=">
               <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="ao*zhM3bl`?#R.|56@u2">
                   <field name="oid">sonoff.0.Aqua_Float.POWER3</field>
                 </shadow>
               </value>
               <statement name="STATEMENT">
                 <block type="timeouts_cleartimeout" id="JsI0fYRACRn|cg%P`lFp">
                   <field name="NAME">timeout</field>
                   <next>
                     <block type="timeouts_settimeout" id="N#We))|a%fz}L[Q+Cx^q">
                       <field name="NAME">timeout</field>
                       <field name="DELAY">10</field>
                       <field name="UNIT">sec</field>
                       <statement name="STATEMENT">
                         <block type="variables_set" id="DBP2g$aqWChGwu[v*4!%">
                           <field name="VAR" id="jelrI7)a+8oXZV(*|VPG">schwimmer</field>
                           <value name="VALUE">
                             <block type="on_source" id="K11}(or[Z:OS!(#vxqHG">
                               <field name="ATTR">state.val</field>
                             </block>
                           </value>
                         </block>
                       </statement>
                     </block>
                   </next>
                 </block>
               </statement>
               <next>
                 <block type="comment" id="bHD/a9YVFg5@jtgL}RAZ">
                   <field name="COMMENT">Vlies Schwimmer max</field>
                   <next>
                     <block type="variables_set" id=",QNrt-4CE4Oj^jIk#,;Y">
                       <field name="VAR" id="9:SDRple|ege[7Ew8bgk">maxSchwimmer</field>
                       <value name="VALUE">
                         <block type="get_value" id=")/E%PW9T*{q`1g=Um8*F">
                           <field name="ATTR">val</field>
                           <field name="OID">sonoff.0.Aqua_Float.POWER5</field>
                         </block>
                       </value>
                       <next>
                         <block type="on_ext" id="*GLxbq=Y5W/kt`Ec^_^8">
                           <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=":`a*puT#US*_u;?L/x6J">
                               <field name="oid">sonoff.0.Aqua_Float.POWER5</field>
                             </shadow>
                           </value>
                           <statement name="STATEMENT">
                             <block type="variables_set" id="|?HCwmG:!WSA]G_SW,bk">
                               <field name="VAR" id="9:SDRple|ege[7Ew8bgk">maxSchwimmer</field>
                               <value name="VALUE">
                                 <block type="on_source" id="2JAIjy|oUz(g|A5~5NZK">
                                   <field name="ATTR">state.val</field>
                                 </block>
                               </value>
                               <next>
                                 <block type="controls_if" id="%,hn#a-({PajWRc0xSZ@">
                                   <value name="IF0">
                                     <block type="get_value" id="#Hsff,HhVj3Er3x^t0d{">
                                       <field name="ATTR">val</field>
                                       <field name="OID">sonoff.0.Aqua_Control.POWER2</field>
                                     </block>
                                   </value>
                                   <statement name="DO0">
                                     <block type="control" id="4|Vz)`RbK!({%B#^yBT@">
                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                       <field name="OID">sonoff.0.Aqua_Control.POWER2</field>
                                       <field name="WITH_DELAY">FALSE</field>
                                       <value name="VALUE">
                                         <block type="logic_boolean" id="(F=#.PC)sS-H0v;,Jq$U">
                                           <field name="BOOL">FALSE</field>
                                         </block>
                                       </value>
                                     </block>
                                   </statement>
                                 </block>
                               </next>
                             </block>
                           </statement>
                           <next>
                             <block type="schedule" id="dv!v~pd%K-Y]H%6%!R3+">
                               <field name="SCHEDULE">*/15 * * * *</field>
                               <statement name="STATEMENT">
                                 <block type="controls_if" id="qK^.hb={2:@M!ZVgr,,u">
                                   <value name="IF0">
                                     <block type="logic_operation" id="[P$,D8~!C1S-}Qc-W#F2">
                                       <field name="OP">AND</field>
                                       <value name="A">
                                         <block type="variables_get" id="NzRA^q(PS(^dxlh?Hz=`">
                                           <field name="VAR" id="jelrI7)a+8oXZV(*|VPG">schwimmer</field>
                                         </block>
                                       </value>
                                       <value name="B">
                                         <block type="logic_negate" id="l#n/c,qraF+Y1Tx?C@JA">
                                           <value name="BOOL">
                                             <block type="variables_get" id="_M:.mt0cg%g*o6:2k*18">
                                               <field name="VAR" id="9:SDRple|ege[7Ew8bgk">maxSchwimmer</field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                   <statement name="DO0">
                                     <block type="control" id="S$_E~?+C|0xeaXoh_M8M">
                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                       <field name="OID">sonoff.0.Aqua_Control.POWER2</field>
                                       <field name="WITH_DELAY">FALSE</field>
                                       <value name="VALUE">
                                         <block type="logic_boolean" id="%02%L=N?!^~efNZ}mSgv">
                                           <field name="BOOL">TRUE</field>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="control" id=";ZPsI~I3!y;|Bll.nZi]">
                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                           <field name="OID">sonoff.0.Aqua_Control.POWER2</field>
                                           <field name="WITH_DELAY">TRUE</field>
                                           <field name="DELAY_MS">900</field>
                                           <field name="UNIT">ms</field>
                                           <field name="CLEAR_RUNNING">TRUE</field>
                                           <value name="VALUE">
                                             <block type="logic_boolean" id="GV}0dox+Wzn)9/ho1)jJ">
                                               <field name="BOOL">FALSE</field>
                                             </block>
                                           </value>
                                         </block>
                                       </next>
                                     </block>
                                   </statement>
                                 </block>
                               </statement>
                             </block>
                           </next>
                         </block>
                       </next>
                     </block>
                   </next>
                 </block>
               </next>
             </block>
           </next>
         </block>
       </next>
     </block>
    </xml>
    

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

    @paul53
    Prima! Ich teste mal die zweite Variante! Vielen Vielen Dank

    1 Antwort Letzte Antwort
    0
    • paul53P paul53

      @aphofis sagte: So das dass Vlies alle 15 min nur 1 cm laufen soll. dh 96 cm am Tag.
      ... der Motor macht in 1 sek 1,11262 cm

      Es soll alle 15 Minuten nur für jeweils 900 ms laufen?

      @aphofis sagte in Kleiner Umbau einer Schaltung:

      Dazu muss die Restzeit weiter bestehen bleiben. das nihct mehr als 100 cm am Tag laufen.

      Wozu? 96 cm sind weniger als 100 cm.

      Vorschlag:

      Blockly_temp.JPG

      <xml xmlns="https://developers.google.com/blockly/xml">
       <variables>
         <variable id="jelrI7)a+8oXZV(*|VPG">schwimmer</variable>
         <variable type="timeout" id="timeout">timeout</variable>
         <variable id="9:SDRple|ege[7Ew8bgk">maxSchwimmer</variable>
         <variable type="interval" id="Intervall">Intervall</variable>
       </variables>
       <block type="comment" id="5z}DP4%./aV[wt`Fx4$t" x="-2013" y="-787">
         <field name="COMMENT">Vlies Schwimmer normal</field>
         <next>
           <block type="variables_set" id="q^$BreH*yiE%[?k6w~Cu">
             <field name="VAR" id="jelrI7)a+8oXZV(*|VPG">schwimmer</field>
             <value name="VALUE">
               <block type="get_value" id="[z_,Lk{/T{ix%}b/^$WM">
                 <field name="ATTR">val</field>
                 <field name="OID">sonoff.0.Aqua_Float.POWER3</field>
               </block>
             </value>
             <next>
               <block type="on_ext" id=".C1d#(gWIO$3af%qZpd=">
                 <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="ao*zhM3bl`?#R.|56@u2">
                     <field name="oid">sonoff.0.Aqua_Float.POWER3</field>
                   </shadow>
                 </value>
                 <statement name="STATEMENT">
                   <block type="timeouts_cleartimeout" id="JsI0fYRACRn|cg%P`lFp">
                     <field name="NAME">timeout</field>
                     <next>
                       <block type="timeouts_settimeout" id="N#We))|a%fz}L[Q+Cx^q">
                         <field name="NAME">timeout</field>
                         <field name="DELAY">10</field>
                         <field name="UNIT">sec</field>
                         <statement name="STATEMENT">
                           <block type="variables_set" id="DBP2g$aqWChGwu[v*4!%">
                             <field name="VAR" id="jelrI7)a+8oXZV(*|VPG">schwimmer</field>
                             <value name="VALUE">
                               <block type="on_source" id="K11}(or[Z:OS!(#vxqHG">
                                 <field name="ATTR">state.val</field>
                               </block>
                             </value>
                             <next>
                               <block type="procedures_callnoreturn" id="PS|Lsb]Ll|M)1A-*=;MW">
                                 <mutation name="Vliesmotor"></mutation>
                               </block>
                             </next>
                           </block>
                         </statement>
                       </block>
                     </next>
                   </block>
                 </statement>
                 <next>
                   <block type="comment" id="bHD/a9YVFg5@jtgL}RAZ">
                     <field name="COMMENT">Vlies Schwimmer max</field>
                     <next>
                       <block type="variables_set" id=",QNrt-4CE4Oj^jIk#,;Y">
                         <field name="VAR" id="9:SDRple|ege[7Ew8bgk">maxSchwimmer</field>
                         <value name="VALUE">
                           <block type="get_value" id=")/E%PW9T*{q`1g=Um8*F">
                             <field name="ATTR">val</field>
                             <field name="OID">sonoff.0.Aqua_Float.POWER5</field>
                           </block>
                         </value>
                         <next>
                           <block type="on_ext" id="*GLxbq=Y5W/kt`Ec^_^8">
                             <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=":`a*puT#US*_u;?L/x6J">
                                 <field name="oid">sonoff.0.Aqua_Float.POWER5</field>
                               </shadow>
                             </value>
                             <statement name="STATEMENT">
                               <block type="variables_set" id="|?HCwmG:!WSA]G_SW,bk">
                                 <field name="VAR" id="9:SDRple|ege[7Ew8bgk">maxSchwimmer</field>
                                 <value name="VALUE">
                                   <block type="on_source" id="2JAIjy|oUz(g|A5~5NZK">
                                     <field name="ATTR">state.val</field>
                                   </block>
                                 </value>
                                 <next>
                                   <block type="procedures_callnoreturn" id="4SLh!G5#1BX1Fr=Gc:)G">
                                     <mutation name="Vliesmotor"></mutation>
                                   </block>
                                 </next>
                               </block>
                             </statement>
                             <next>
                               <block type="procedures_callnoreturn" id="SwYioD-vCN,({DQT,nlx">
                                 <mutation name="Vliesmotor"></mutation>
                               </block>
                             </next>
                           </block>
                         </next>
                       </block>
                     </next>
                   </block>
                 </next>
               </block>
             </next>
           </block>
         </next>
       </block>
       <block type="procedures_defnoreturn" id="~}wgr=#9IHto`oZ`1i[U" x="-1538" y="-688">
         <field name="NAME">Vliesmotor</field>
         <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
         <statement name="STACK">
           <block type="controls_if" id="qK^.hb={2:@M!ZVgr,,u">
             <mutation else="1"></mutation>
             <value name="IF0">
               <block type="logic_operation" id="[P$,D8~!C1S-}Qc-W#F2">
                 <field name="OP">AND</field>
                 <value name="A">
                   <block type="variables_get" id="NzRA^q(PS(^dxlh?Hz=`">
                     <field name="VAR" id="jelrI7)a+8oXZV(*|VPG">schwimmer</field>
                   </block>
                 </value>
                 <value name="B">
                   <block type="logic_negate" id="l#n/c,qraF+Y1Tx?C@JA">
                     <value name="BOOL">
                       <block type="variables_get" id="_M:.mt0cg%g*o6:2k*18">
                         <field name="VAR" id="9:SDRple|ege[7Ew8bgk">maxSchwimmer</field>
                       </block>
                     </value>
                   </block>
                 </value>
               </block>
             </value>
             <statement name="DO0">
               <block type="control" id="S$_E~?+C|0xeaXoh_M8M">
                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                 <field name="OID">sonoff.0.Aqua_Control.POWER2</field>
                 <field name="WITH_DELAY">FALSE</field>
                 <value name="VALUE">
                   <block type="logic_boolean" id="%02%L=N?!^~efNZ}mSgv">
                     <field name="BOOL">TRUE</field>
                   </block>
                 </value>
                 <next>
                   <block type="control" id=";ZPsI~I3!y;|Bll.nZi]">
                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                     <field name="OID">sonoff.0.Aqua_Control.POWER2</field>
                     <field name="WITH_DELAY">TRUE</field>
                     <field name="DELAY_MS">900</field>
                     <field name="UNIT">ms</field>
                     <field name="CLEAR_RUNNING">TRUE</field>
                     <value name="VALUE">
                       <block type="logic_boolean" id="GV}0dox+Wzn)9/ho1)jJ">
                         <field name="BOOL">FALSE</field>
                       </block>
                     </value>
                     <next>
                       <block type="timeouts_setinterval" id="54}UC3}t@D?RM1+Z792o">
                         <field name="NAME">Intervall</field>
                         <field name="INTERVAL">15</field>
                         <field name="UNIT">min</field>
                         <statement name="STATEMENT">
                           <block type="control" id="*h|j)c?5J=M%-+gVBP|6">
                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                             <field name="OID">sonoff.0.Aqua_Control.POWER2</field>
                             <field name="WITH_DELAY">FALSE</field>
                             <value name="VALUE">
                               <block type="logic_boolean" id="wu:F0))QxqKb[C9(2:(.">
                                 <field name="BOOL">TRUE</field>
                               </block>
                             </value>
                             <next>
                               <block type="control" id="1Srk,S8-kg$1(MYb=Zej">
                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                 <field name="OID">sonoff.0.Aqua_Control.POWER2</field>
                                 <field name="WITH_DELAY">TRUE</field>
                                 <field name="DELAY_MS">900</field>
                                 <field name="UNIT">ms</field>
                                 <field name="CLEAR_RUNNING">TRUE</field>
                                 <value name="VALUE">
                                   <block type="logic_boolean" id="!*s(*gpXSim:=AQR3(b(">
                                     <field name="BOOL">FALSE</field>
                                   </block>
                                 </value>
                               </block>
                             </next>
                           </block>
                         </statement>
                       </block>
                     </next>
                   </block>
                 </next>
               </block>
             </statement>
             <statement name="ELSE">
               <block type="timeouts_clearinterval" id=".JS+sd^HrJ:7@PT?;b1@">
                 <field name="NAME">Intervall</field>
                 <next>
                   <block type="controls_if" id="%,hn#a-({PajWRc0xSZ@">
                     <value name="IF0">
                       <block type="get_value" id="#Hsff,HhVj3Er3x^t0d{">
                         <field name="ATTR">val</field>
                         <field name="OID">sonoff.0.Aqua_Control.POWER2</field>
                       </block>
                     </value>
                     <statement name="DO0">
                       <block type="control" id="4|Vz)`RbK!({%B#^yBT@">
                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                         <field name="OID">sonoff.0.Aqua_Control.POWER2</field>
                         <field name="WITH_DELAY">FALSE</field>
                         <value name="VALUE">
                           <block type="logic_boolean" id="(F=#.PC)sS-H0v;,Jq$U">
                             <field name="BOOL">FALSE</field>
                           </block>
                         </value>
                       </block>
                     </statement>
                   </block>
                 </next>
               </block>
             </statement>
           </block>
         </statement>
       </block>
      </xml>
      

      Version mit Zeitplan, bei der die 100 cm pro Tag mit Sicherheit nicht überschritten werden:

      Blockly_temp.JPG

      <xml xmlns="https://developers.google.com/blockly/xml">
       <variables>
         <variable id="jelrI7)a+8oXZV(*|VPG">schwimmer</variable>
         <variable type="timeout" id="timeout">timeout</variable>
         <variable id="9:SDRple|ege[7Ew8bgk">maxSchwimmer</variable>
       </variables>
       <block type="comment" id="5z}DP4%./aV[wt`Fx4$t" x="-2013" y="-787">
         <field name="COMMENT">Vlies Schwimmer normal</field>
         <next>
           <block type="variables_set" id="q^$BreH*yiE%[?k6w~Cu">
             <field name="VAR" id="jelrI7)a+8oXZV(*|VPG">schwimmer</field>
             <value name="VALUE">
               <block type="get_value" id="[z_,Lk{/T{ix%}b/^$WM">
                 <field name="ATTR">val</field>
                 <field name="OID">sonoff.0.Aqua_Float.POWER3</field>
               </block>
             </value>
             <next>
               <block type="on_ext" id=".C1d#(gWIO$3af%qZpd=">
                 <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="ao*zhM3bl`?#R.|56@u2">
                     <field name="oid">sonoff.0.Aqua_Float.POWER3</field>
                   </shadow>
                 </value>
                 <statement name="STATEMENT">
                   <block type="timeouts_cleartimeout" id="JsI0fYRACRn|cg%P`lFp">
                     <field name="NAME">timeout</field>
                     <next>
                       <block type="timeouts_settimeout" id="N#We))|a%fz}L[Q+Cx^q">
                         <field name="NAME">timeout</field>
                         <field name="DELAY">10</field>
                         <field name="UNIT">sec</field>
                         <statement name="STATEMENT">
                           <block type="variables_set" id="DBP2g$aqWChGwu[v*4!%">
                             <field name="VAR" id="jelrI7)a+8oXZV(*|VPG">schwimmer</field>
                             <value name="VALUE">
                               <block type="on_source" id="K11}(or[Z:OS!(#vxqHG">
                                 <field name="ATTR">state.val</field>
                               </block>
                             </value>
                           </block>
                         </statement>
                       </block>
                     </next>
                   </block>
                 </statement>
                 <next>
                   <block type="comment" id="bHD/a9YVFg5@jtgL}RAZ">
                     <field name="COMMENT">Vlies Schwimmer max</field>
                     <next>
                       <block type="variables_set" id=",QNrt-4CE4Oj^jIk#,;Y">
                         <field name="VAR" id="9:SDRple|ege[7Ew8bgk">maxSchwimmer</field>
                         <value name="VALUE">
                           <block type="get_value" id=")/E%PW9T*{q`1g=Um8*F">
                             <field name="ATTR">val</field>
                             <field name="OID">sonoff.0.Aqua_Float.POWER5</field>
                           </block>
                         </value>
                         <next>
                           <block type="on_ext" id="*GLxbq=Y5W/kt`Ec^_^8">
                             <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=":`a*puT#US*_u;?L/x6J">
                                 <field name="oid">sonoff.0.Aqua_Float.POWER5</field>
                               </shadow>
                             </value>
                             <statement name="STATEMENT">
                               <block type="variables_set" id="|?HCwmG:!WSA]G_SW,bk">
                                 <field name="VAR" id="9:SDRple|ege[7Ew8bgk">maxSchwimmer</field>
                                 <value name="VALUE">
                                   <block type="on_source" id="2JAIjy|oUz(g|A5~5NZK">
                                     <field name="ATTR">state.val</field>
                                   </block>
                                 </value>
                                 <next>
                                   <block type="controls_if" id="%,hn#a-({PajWRc0xSZ@">
                                     <value name="IF0">
                                       <block type="get_value" id="#Hsff,HhVj3Er3x^t0d{">
                                         <field name="ATTR">val</field>
                                         <field name="OID">sonoff.0.Aqua_Control.POWER2</field>
                                       </block>
                                     </value>
                                     <statement name="DO0">
                                       <block type="control" id="4|Vz)`RbK!({%B#^yBT@">
                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                         <field name="OID">sonoff.0.Aqua_Control.POWER2</field>
                                         <field name="WITH_DELAY">FALSE</field>
                                         <value name="VALUE">
                                           <block type="logic_boolean" id="(F=#.PC)sS-H0v;,Jq$U">
                                             <field name="BOOL">FALSE</field>
                                           </block>
                                         </value>
                                       </block>
                                     </statement>
                                   </block>
                                 </next>
                               </block>
                             </statement>
                             <next>
                               <block type="schedule" id="dv!v~pd%K-Y]H%6%!R3+">
                                 <field name="SCHEDULE">*/15 * * * *</field>
                                 <statement name="STATEMENT">
                                   <block type="controls_if" id="qK^.hb={2:@M!ZVgr,,u">
                                     <value name="IF0">
                                       <block type="logic_operation" id="[P$,D8~!C1S-}Qc-W#F2">
                                         <field name="OP">AND</field>
                                         <value name="A">
                                           <block type="variables_get" id="NzRA^q(PS(^dxlh?Hz=`">
                                             <field name="VAR" id="jelrI7)a+8oXZV(*|VPG">schwimmer</field>
                                           </block>
                                         </value>
                                         <value name="B">
                                           <block type="logic_negate" id="l#n/c,qraF+Y1Tx?C@JA">
                                             <value name="BOOL">
                                               <block type="variables_get" id="_M:.mt0cg%g*o6:2k*18">
                                                 <field name="VAR" id="9:SDRple|ege[7Ew8bgk">maxSchwimmer</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <statement name="DO0">
                                       <block type="control" id="S$_E~?+C|0xeaXoh_M8M">
                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                         <field name="OID">sonoff.0.Aqua_Control.POWER2</field>
                                         <field name="WITH_DELAY">FALSE</field>
                                         <value name="VALUE">
                                           <block type="logic_boolean" id="%02%L=N?!^~efNZ}mSgv">
                                             <field name="BOOL">TRUE</field>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="control" id=";ZPsI~I3!y;|Bll.nZi]">
                                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                             <field name="OID">sonoff.0.Aqua_Control.POWER2</field>
                                             <field name="WITH_DELAY">TRUE</field>
                                             <field name="DELAY_MS">900</field>
                                             <field name="UNIT">ms</field>
                                             <field name="CLEAR_RUNNING">TRUE</field>
                                             <value name="VALUE">
                                               <block type="logic_boolean" id="GV}0dox+Wzn)9/ho1)jJ">
                                                 <field name="BOOL">FALSE</field>
                                               </block>
                                             </value>
                                           </block>
                                         </next>
                                       </block>
                                     </statement>
                                   </block>
                                 </statement>
                               </block>
                             </next>
                           </block>
                         </next>
                       </block>
                     </next>
                   </block>
                 </next>
               </block>
             </next>
           </block>
         </next>
       </block>
      </xml>
      

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

      @paul53

      So habe beide Steuerungen getestet nur leider wird der Vliesfilter nicht betätigt.
      kann es sein das der motor strom wieder direkt ans Relais muss und nicht mehr über den schwimmer laufen darf !?

      paul53P 1 Antwort Letzte Antwort
      0
      • AphofisA Aphofis

        @paul53

        So habe beide Steuerungen getestet nur leider wird der Vliesfilter nicht betätigt.
        kann es sein das der motor strom wieder direkt ans Relais muss und nicht mehr über den schwimmer laufen darf !?

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

        @aphofis sagte: leider wird der Vliesfilter nicht betätigt.

        Vielleicht reichen 900 ms nicht aus, um den Motor überhaupt zu starten (Haftreibung)?

        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: leider wird der Vliesfilter nicht betätigt.

          Vielleicht reichen 900 ms nicht aus, um den Motor überhaupt zu starten (Haftreibung)?

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

          @paul53
          Ok dann versuche ich es mit erstmal 1200ms
          Macht es nicht für die steuerung Probleme, wenn der Motor Strom über den Schwimmer läuft anstatt sofort über das Relais aktiviert wird !?

          paul53P 1 Antwort Letzte Antwort
          0
          • AphofisA Aphofis

            @paul53
            Ok dann versuche ich es mit erstmal 1200ms
            Macht es nicht für die steuerung Probleme, wenn der Motor Strom über den Schwimmer läuft anstatt sofort über das Relais aktiviert wird !?

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

            @aphofis sagte: Macht es nicht für die steuerung Probleme, wenn der Motor Strom über den Schwimmer läuft anstatt sofort über das Relais aktiviert wird !?

            Wodurch wird der Schwimmerschalter betätigt? Ist er nicht bereits betätigt, wenn das Relais (alle 15 Minuten) anzieht?

            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: Macht es nicht für die steuerung Probleme, wenn der Motor Strom über den Schwimmer läuft anstatt sofort über das Relais aktiviert wird !?

              Wodurch wird der Schwimmerschalter betätigt? Ist er nicht bereits betätigt, wenn das Relais (alle 15 Minuten) anzieht?

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

              @paul53
              Nur wenn der Schwimmer aktiv ist, und das Relais gezogen ist dreht der motor.
              wenn die steuerung das Relais anzieht aber der schwimmer nicht aktiv ist fließt auch kein strom weil der Motor strom über den schwimmer läuft.

              paul53P 1 Antwort Letzte Antwort
              0
              • AphofisA Aphofis

                @paul53
                Nur wenn der Schwimmer aktiv ist, und das Relais gezogen ist dreht der motor.
                wenn die steuerung das Relais anzieht aber der schwimmer nicht aktiv ist fließt auch kein strom weil der Motor strom über den schwimmer läuft.

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

                @aphofis sagte: Nur wenn der Schwimmer aktiv ist, und das Relais gezogen ist dreht der motor.

                So hatte ich es in Erinnerung.

                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: Nur wenn der Schwimmer aktiv ist, und das Relais gezogen ist dreht der motor.

                  So hatte ich es in Erinnerung.

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

                  @paul53
                  Momentan kann ich die Steuerung eh nicht umsetzen. Da die Welle vom Vliesmotor abgerissen ist.
                  da das Vlies an den Umlenkrollen fest geklebt war und der Motor hat so lange gedrückt bis die Welle durch gerissen ist.
                  Neuer Motor ist bestellt und gehäuse ist gedruckt damit die Welle nicht wieder rostet und kaputt gehen kann.

                  WalW 1 Antwort Letzte Antwort
                  0
                  • AphofisA Aphofis

                    @paul53
                    Momentan kann ich die Steuerung eh nicht umsetzen. Da die Welle vom Vliesmotor abgerissen ist.
                    da das Vlies an den Umlenkrollen fest geklebt war und der Motor hat so lange gedrückt bis die Welle durch gerissen ist.
                    Neuer Motor ist bestellt und gehäuse ist gedruckt damit die Welle nicht wieder rostet und kaputt gehen kann.

                    WalW Offline
                    WalW Offline
                    Wal
                    Developer
                    schrieb am zuletzt editiert von
                    #12

                    @aphofis,
                    wenn ich mir deinen ersten Thread durchlese, brauchst du überhaupt kein Schwimmerschalter mehr. Du möchtest ja das Vlies weiter drehen auch wenn der Schwimmer false ist, damit das Vlies nicht kleben bleibt. Du brauchst nur eine Abschaltung incl. Meldung wenn die Rolle leer ist, damit die Frau die Rolle wechseln kann. ;-)

                    Gruß
                    Walter

                    DoorIO-Adapter
                    wioBrowser-Adapter und wioBrowser

                    AphofisA 1 Antwort Letzte Antwort
                    0
                    • WalW Wal

                      @aphofis,
                      wenn ich mir deinen ersten Thread durchlese, brauchst du überhaupt kein Schwimmerschalter mehr. Du möchtest ja das Vlies weiter drehen auch wenn der Schwimmer false ist, damit das Vlies nicht kleben bleibt. Du brauchst nur eine Abschaltung incl. Meldung wenn die Rolle leer ist, damit die Frau die Rolle wechseln kann. ;-)

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

                      @wal
                      Im endeffekt ja.
                      Der Schwimmer ist halt dazu da, wenn ich futterpause aktiviere wo alle Pumpen abgeschaltet werden, steigt der Wasserstand im Technik Becken und das Vlies würde durch den Schwimmer aktiviert wird aber durch den Max Schwimmer gestoppt.
                      Eigntl kann der Schwimmer raus aber ich überlege mir das noch wie es am besten ist.

                      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

                      277

                      Online

                      32.7k

                      Benutzer

                      82.6k

                      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