Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Waschmaschine Skript Nachrichten

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    UNSOLVED Waschmaschine Skript Nachrichten

    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      freaktech last edited by

      hi Leute

      jetzt hab ich mein Trockner/Waschmaschinenskript ein paar Wochen im Einsatz

      aber habe immer noch das Problem dass wenn das Gerät fertig ist und ich zur Arbeit bin ich alle 15 min oder so eine Push bekomme.

      Ich bräuchte also immer noch eine Lösung dass diese Nachricht nur 1 x kommt
      eine neuer Waschvorgang wenn man wieder gefüllt müsste ja dann irgendwie auch erkennbar sein, zb erst wenn der Stromverbrauch für mehr als 3 min über 20 Watt war ?!?

      hat wer Ideen und könnte beim Code helfen

      <xml xmlns="http://www.w3.org/1999/xhtml">
        <variables>
          <variable type="" id="?3%%L.;KPa-d6Zkoj*6T">AUS Zaehler</variable>
          <variable type="undefined" id="timeout">timeout</variable>
        </variables>
        <block type="create" id="!tN4!:gtM^}ek;|m=nHo" x="32" y="55">
          <field name="NAME">Vis.Trockner.Aktiv</field>
          <next>
            <block type="comment" id="hB%p_so=4`EGzX;10:wr">
              <field name="COMMENT">Trockner_Script</field>
              <next>
                <block type="control" id="Kb.uPdr~gS|=7Ng+:H?a">
                  <mutation delay_input="false"></mutation>
                  <field name="OID">javascript.0.Vis.Trockner.Aktiv</field>
                  <field name="WITH_DELAY">FALSE</field>
                  <value name="VALUE">
                    <block type="logic_boolean" id="vqBy?8.1fiDNDoLrT;G~">
                      <field name="BOOL">FALSE</field>
                    </block>
                  </value>
                  <next>
                    <block type="on_ext" id="+A7wlutQO8gBfqosc.y3">
                      <mutation items="1"></mutation>
                      <field name="CONDITION">any</field>
                      <field name="ACK_CONDITION"></field>
                      <value name="OID0">
                        <shadow type="field_oid" id="L[i=p{|ii-ai*/YAZ@8s">
                          <field name="oid">shelly.0.SHSW-PM#00C9A5#1.Relay0.Power</field>
                        </shadow>
                      </value>
                      <statement name="STATEMENT">
                        <block type="controls_if" id="bP`*)0;M+g9O:g?]Pd*f">
                          <mutation elseif="2"></mutation>
                          <value name="IF0">
                            <block type="logic_operation" id="F:)qYHsI}dugF;;Tjm,A" inline="false">
                              <field name="OP">AND</field>
                              <value name="A">
                                <block type="logic_compare" id="H5%_/a!o;(cd2f~t!+^Q">
                                  <field name="OP">GT</field>
                                  <value name="A">
                                    <block type="get_value" id="a:y916W!S%H|pb5qQl:J">
                                      <field name="ATTR">val</field>
                                      <field name="OID">shelly.0.SHSW-PM#00C9A5#1.Relay0.Power</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="math_number" id="qFPWw{;UZY{D^a6HN4F4">
                                      <field name="NUM">10</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <value name="B">
                                <block type="logic_compare" id="+]^D[{zcOd~)d%8C%:S9">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                    <block type="get_value" id="E4;q.WI):RF8,)P;4GaM">
                                      <field name="ATTR">val</field>
                                      <field name="OID">javascript.0.Vis.Trockner.Aktiv</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_boolean" id="BlP[`XK*dfV6{q],uSuN">
                                      <field name="BOOL">FALSE</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                            </block>
                          </value>
                          <statement name="DO0">
                            <block type="control" id="XxjRG-wx{Gis|P}j%wi{">
                              <mutation delay_input="false"></mutation>
                              <field name="OID">javascript.0.Vis.Trockner.Aktiv</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id="8]j]NPy0pzg_@fy7#pu9">
                                  <field name="BOOL">TRUE</field>
                                </block>
                              </value>
                            </block>
                          </statement>
                          <value name="IF1">
                            <block type="logic_operation" id="xQ~Axjp^x}xIc}?,~bd3" inline="false">
                              <field name="OP">AND</field>
                              <value name="A">
                                <block type="logic_compare" id="m:F[A,C]23{tVG.[9ogx">
                                  <field name="OP">GT</field>
                                  <value name="A">
                                    <block type="get_value" id="~9hm.bn7JuR`9T^57r|!">
                                      <field name="ATTR">val</field>
                                      <field name="OID">shelly.0.SHSW-PM#00C9A5#1.Relay0.Power</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="math_number" id="KK#)EKMNqV.YXg?PWltR">
                                      <field name="NUM">10</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <value name="B">
                                <block type="logic_operation" id="WZqeqrqbx=zB-@D)~l_!" inline="false">
                                  <field name="OP">AND</field>
                                  <value name="A">
                                    <block type="logic_compare" id="2#,2{UzKUXKc-b;aXI]d">
                                      <field name="OP">EQ</field>
                                      <value name="A">
                                        <block type="get_value" id="X|7IEq+#eQ6U]K@QZDL_">
                                          <field name="ATTR">val</field>
                                          <field name="OID">javascript.0.Vis.Trockner.Aktiv</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="logic_boolean" id="88[x9TQtT`hkagX?ux;6">
                                          <field name="BOOL">TRUE</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_compare" id=";5T2wjhgRkI4a=fP=txA">
                                      <field name="OP">GT</field>
                                      <value name="A">
                                        <block type="variables_get" id="X|5;WK_6+b*X7dWThdYF">
                                          <field name="VAR" id="?3%%L.;KPa-d6Zkoj*6T" variabletype="">AUS Zaehler</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="math_number" id="JhvY#m2e){iZg*}U)U7=">
                                          <field name="NUM">0</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                </block>
                              </value>
                            </block>
                          </value>
                          <statement name="DO1">
                            <block type="variables_set" id="qd2jcZSX.j`maks-0XGG">
                              <field name="VAR" id="?3%%L.;KPa-d6Zkoj*6T" variabletype="">AUS Zaehler</field>
                              <value name="VALUE">
                                <block type="math_arithmetic" id="-Y}Zmf^#hm,WyL6)Kcd-">
                                  <field name="OP">MINUS</field>
                                  <value name="A">
                                    <shadow type="math_number" id="^~p~#U!R+eaJjaW~6U)d">
                                      <field name="NUM">1</field>
                                    </shadow>
                                    <block type="variables_get" id="c/b;teh7B.tfavW#3Kx2">
                                      <field name="VAR" id="?3%%L.;KPa-d6Zkoj*6T" variabletype="">AUS Zaehler</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <shadow type="math_number" id="/@dSwZ{HpbKk6y3_q?jz">
                                      <field name="NUM">1</field>
                                    </shadow>
                                  </value>
                                </block>
                              </value>
                            </block>
                          </statement>
                          <value name="IF2">
                            <block type="logic_operation" id="iHpE~=uUiC0HYZE0ixfv" inline="false">
                              <field name="OP">AND</field>
                              <value name="A">
                                <block type="logic_compare" id="~=`AKkV)p.LRK|-)ym#0">
                                  <field name="OP">LT</field>
                                  <value name="A">
                                    <block type="get_value" id="{bMP3Rct]s~^OxB^KYJB">
                                      <field name="ATTR">val</field>
                                      <field name="OID">shelly.0.SHSW-PM#00C9A5#1.Relay0.Power</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="math_number" id="}n$r~.-0H0;Y`%V?r;zH">
                                      <field name="NUM">4</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <value name="B">
                                <block type="logic_compare" id="!cAR@kagkdn/du!lg5?r">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                    <block type="get_value" id="9TggDfqlTj?4OO=@`~eO">
                                      <field name="ATTR">val</field>
                                      <field name="OID">javascript.0.Vis.Trockner.Aktiv</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_boolean" id="S1R!kS9-?kQk+KS_5Qs#">
                                      <field name="BOOL">TRUE</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                            </block>
                          </value>
                          <statement name="DO2">
                            <block type="math_change" id="T.un5=.rdLl@woGn*4oJ">
                              <field name="VAR" id="?3%%L.;KPa-d6Zkoj*6T" variabletype="">AUS Zaehler</field>
                              <value name="DELTA">
                                <shadow type="math_number" id="?c=pXLOc61v3AJP.(d:k">
                                  <field name="NUM">1</field>
                                </shadow>
                              </value>
                            </block>
                          </statement>
                          <next>
                            <block type="controls_if" id="J!0cvTG#hm+.vpOmP+Dh">
                              <value name="IF0">
                                <block type="logic_compare" id="%AbMO?J2D[f-rCEWyq=O">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                    <block type="variables_get" id="u5FZNsypgs:pPUYsV1=g">
                                      <field name="VAR" id="?3%%L.;KPa-d6Zkoj*6T" variabletype="">AUS Zaehler</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="math_number" id="uaHP[P3wt-!h@M!UE]eX">
                                      <field name="NUM">45</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO0">
                                <block type="timeouts_settimeout" id=";RetM]1NMnq(gM2?*6vO">
                                  <field name="NAME">timeout</field>
                                  <field name="DELAY">1500</field>
                                  <field name="UNIT">ms</field>
                                  <statement name="STATEMENT">
                                    <block type="pushover" id="O;i_Of;3W;~`ut*XLErs">
                                      <field name="INSTANCE">.0</field>
                                      <field name="SOUND"></field>
                                      <field name="PRIORITY">0</field>
                                      <field name="LOG"></field>
                                      <value name="MESSAGE">
                                        <shadow type="text" id="bb?GK(0u[jN(qPPjnox1">
                                          <field name="TEXT">Der Trockner ist fertig</field>
                                        </shadow>
                                      </value>
                                      <next>
                                        <block type="controls_if" id="{YgN%Y7A7_EEDWVfrH-~">
                                          <value name="IF0">
                                            <block type="time_compare_ex" id=";Z9|mLh|XOy}l6q!/|)H">
                                              <mutation end_time="true" actual_time="true"></mutation>
                                              <field name="USE_ACTUAL_TIME">TRUE</field>
                                              <field name="OPTION">between</field>
                                              <value name="START_TIME">
                                                <shadow type="text" id="1Mb7k9=om19kl(|^ls{B">
                                                  <field name="TEXT">07:00</field>
                                                </shadow>
                                              </value>
                                              <value name="END_TIME">
                                                <shadow type="text" id="u|0,W8,^1sLZcDkByT9E">
                                                  <field name="TEXT">22:00</field>
                                                </shadow>
                                              </value>
                                            </block>
                                          </value>
                                          <statement name="DO0">
                                            <block type="control" id="Q#Co*Fw?F|S1$qjg#/Pr">
                                              <mutation delay_input="true"></mutation>
                                              <field name="OID">alexa2.1.Echo-Devices.G000WV0484541A9F.Commands.speak</field>
                                              <field name="WITH_DELAY">TRUE</field>
                                              <field name="DELAY_MS">500</field>
                                              <field name="UNIT">ms</field>
                                              <field name="CLEAR_RUNNING">FALSE</field>
                                              <value name="VALUE">
                                                <block type="text" id="%o[+[,2P)W1gpBy8pY,H">
                                                  <field name="TEXT">Der Trockner ist fertig!</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="control" id="dEf[f=1wnG@+}UB=)iZ0">
                                                  <mutation delay_input="true"></mutation>
                                                  <field name="OID">alexa2.1.Echo-Devices.G070RR0975070D18.Commands.speak</field>
                                                  <field name="WITH_DELAY">TRUE</field>
                                                  <field name="DELAY_MS">500</field>
                                                  <field name="UNIT">ms</field>
                                                  <field name="CLEAR_RUNNING">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="text" id="-lTxI!_9p]4YRp8o1qG/">
                                                      <field name="TEXT">Der Trockner ist fertig!</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </next>
                                            </block>
                                          </statement>
                                          <next>
                                            <block type="variables_set" id="Hvd2vL)ptc4/sfjoP3Kx">
                                              <field name="VAR" id="?3%%L.;KPa-d6Zkoj*6T" variabletype="">AUS Zaehler</field>
                                              <value name="VALUE">
                                                <block type="math_number" id="Yz`)rz,.esx8@lC+dmm^">
                                                  <field name="NUM">0</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="control" id="sj0ZAG=ELQ-|XeWmtEg3">
                                                  <mutation delay_input="false"></mutation>
                                                  <field name="OID">javascript.0.Vis.Trockner.Aktiv</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="logic_boolean" id="eX|Bf{oW+%BAW.Y:)kbK">
                                                      <field name="BOOL">FALSE</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </statement>
                                </block>
                              </statement>
                            </block>
                          </next>
                        </block>
                      </statement>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </next>
        </block>
        <block type="comment" id="k_2r^B84`,O0y4.u,WwG" x="338" y="613">
          <field name="COMMENT">Zähler definiert Leerlaufzeit bis fertig gemeldet wird 15 ist ca. 90 sec bei shelly</field>
        </block>
      </xml>
      

      Bildschirmfoto 2019-10-19 um 10.22.04.png

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

        Möglich das ein Knitterschutz des Trockners die Power auf >10 Watt treibt und dadurch greift dann wieder der erste Logikbaustein und zählt hoch bis 45...
        Leider wird auch ein Teil des Blockly durch den Kommentar verdeckt ich vermute soll heißen Power<=4?

        1 Reply Last reply Reply Quote 1
        • F
          freaktech last edited by

          bl.png

          So heut wieder in der Arbeit und alle 8 Min komtm ein Push Trockner ist fertig 🙂

          hat wer ne Idee, dass man sagt, damit das wieder anspringt muss mindestens über zb 5 min der Watt Verbrauch höher sein ?!?!

          evtl. könnt mir mal jemand das richtige reineditieren, ich checks leider selber nicht mehr so ganz.

          <xml xmlns="http://www.w3.org/1999/xhtml">
            <variables>
              <variable type="" id="?3%%L.;KPa-d6Zkoj*6T">AUS Zaehler</variable>
              <variable type="undefined" id="timeout">timeout</variable>
            </variables>
            <block type="create" id="!tN4!:gtM^}ek;|m=nHo" x="32" y="55">
              <field name="NAME">Vis.Trockner.Aktiv</field>
              <next>
                <block type="comment" id="hB%p_so=4`EGzX;10:wr">
                  <field name="COMMENT">Trockner_Script</field>
                  <next>
                    <block type="control" id="Kb.uPdr~gS|=7Ng+:H?a">
                      <mutation delay_input="false"></mutation>
                      <field name="OID">javascript.0.Vis.Trockner.Aktiv</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="logic_boolean" id="vqBy?8.1fiDNDoLrT;G~">
                          <field name="BOOL">FALSE</field>
                        </block>
                      </value>
                      <next>
                        <block type="on_ext" id="+A7wlutQO8gBfqosc.y3">
                          <mutation items="1"></mutation>
                          <field name="CONDITION">any</field>
                          <field name="ACK_CONDITION"></field>
                          <value name="OID0">
                            <shadow type="field_oid" id="L[i=p{|ii-ai*/YAZ@8s">
                              <field name="oid">shelly.0.SHSW-PM#00C9A5#1.Relay0.Power</field>
                            </shadow>
                          </value>
                          <statement name="STATEMENT">
                            <block type="controls_if" id="bP`*)0;M+g9O:g?]Pd*f">
                              <mutation elseif="2"></mutation>
                              <value name="IF0">
                                <block type="logic_operation" id="F:)qYHsI}dugF;;Tjm,A" inline="false">
                                  <field name="OP">AND</field>
                                  <value name="A">
                                    <block type="logic_compare" id="H5%_/a!o;(cd2f~t!+^Q">
                                      <field name="OP">GT</field>
                                      <value name="A">
                                        <block type="get_value" id="a:y916W!S%H|pb5qQl:J">
                                          <field name="ATTR">val</field>
                                          <field name="OID">shelly.0.SHSW-PM#00C9A5#1.Relay0.Power</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="math_number" id="qFPWw{;UZY{D^a6HN4F4">
                                          <field name="NUM">10</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_compare" id="+]^D[{zcOd~)d%8C%:S9">
                                      <field name="OP">EQ</field>
                                      <value name="A">
                                        <block type="get_value" id="E4;q.WI):RF8,)P;4GaM">
                                          <field name="ATTR">val</field>
                                          <field name="OID">javascript.0.Vis.Trockner.Aktiv</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="logic_boolean" id="BlP[`XK*dfV6{q],uSuN">
                                          <field name="BOOL">FALSE</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO0">
                                <block type="control" id="XxjRG-wx{Gis|P}j%wi{">
                                  <mutation delay_input="false"></mutation>
                                  <field name="OID">javascript.0.Vis.Trockner.Aktiv</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="logic_boolean" id="8]j]NPy0pzg_@fy7#pu9">
                                      <field name="BOOL">TRUE</field>
                                    </block>
                                  </value>
                                </block>
                              </statement>
                              <value name="IF1">
                                <block type="logic_operation" id="xQ~Axjp^x}xIc}?,~bd3" inline="false">
                                  <field name="OP">AND</field>
                                  <value name="A">
                                    <block type="logic_compare" id="m:F[A,C]23{tVG.[9ogx">
                                      <field name="OP">GT</field>
                                      <value name="A">
                                        <block type="get_value" id="~9hm.bn7JuR`9T^57r|!">
                                          <field name="ATTR">val</field>
                                          <field name="OID">shelly.0.SHSW-PM#00C9A5#1.Relay0.Power</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="math_number" id="KK#)EKMNqV.YXg?PWltR">
                                          <field name="NUM">10</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_operation" id="WZqeqrqbx=zB-@D)~l_!" inline="false">
                                      <field name="OP">AND</field>
                                      <value name="A">
                                        <block type="logic_compare" id="2#,2{UzKUXKc-b;aXI]d">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                            <block type="get_value" id="X|7IEq+#eQ6U]K@QZDL_">
                                              <field name="ATTR">val</field>
                                              <field name="OID">javascript.0.Vis.Trockner.Aktiv</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="logic_boolean" id="88[x9TQtT`hkagX?ux;6">
                                              <field name="BOOL">TRUE</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="logic_compare" id=";5T2wjhgRkI4a=fP=txA">
                                          <field name="OP">GT</field>
                                          <value name="A">
                                            <block type="variables_get" id="X|5;WK_6+b*X7dWThdYF">
                                              <field name="VAR" id="?3%%L.;KPa-d6Zkoj*6T" variabletype="">AUS Zaehler</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="math_number" id="JhvY#m2e){iZg*}U)U7=">
                                              <field name="NUM">0</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO1">
                                <block type="variables_set" id="qd2jcZSX.j`maks-0XGG">
                                  <field name="VAR" id="?3%%L.;KPa-d6Zkoj*6T" variabletype="">AUS Zaehler</field>
                                  <value name="VALUE">
                                    <block type="math_arithmetic" id="-Y}Zmf^#hm,WyL6)Kcd-">
                                      <field name="OP">MINUS</field>
                                      <value name="A">
                                        <shadow type="math_number" id="^~p~#U!R+eaJjaW~6U)d">
                                          <field name="NUM">1</field>
                                        </shadow>
                                        <block type="variables_get" id="c/b;teh7B.tfavW#3Kx2">
                                          <field name="VAR" id="?3%%L.;KPa-d6Zkoj*6T" variabletype="">AUS Zaehler</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <shadow type="math_number" id="/@dSwZ{HpbKk6y3_q?jz">
                                          <field name="NUM">1</field>
                                        </shadow>
                                      </value>
                                    </block>
                                  </value>
                                </block>
                              </statement>
                              <value name="IF2">
                                <block type="logic_operation" id="iHpE~=uUiC0HYZE0ixfv" inline="false">
                                  <field name="OP">AND</field>
                                  <value name="A">
                                    <block type="logic_compare" id="~=`AKkV)p.LRK|-)ym#0">
                                      <field name="OP">LT</field>
                                      <value name="A">
                                        <block type="get_value" id="{bMP3Rct]s~^OxB^KYJB">
                                          <field name="ATTR">val</field>
                                          <field name="OID">shelly.0.SHSW-PM#00C9A5#1.Relay0.Power</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="math_number" id="}n$r~.-0H0;Y`%V?r;zH">
                                          <field name="NUM">4</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_compare" id="!cAR@kagkdn/du!lg5?r">
                                      <field name="OP">EQ</field>
                                      <value name="A">
                                        <block type="get_value" id="9TggDfqlTj?4OO=@`~eO">
                                          <field name="ATTR">val</field>
                                          <field name="OID">javascript.0.Vis.Trockner.Aktiv</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="logic_boolean" id="S1R!kS9-?kQk+KS_5Qs#">
                                          <field name="BOOL">TRUE</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO2">
                                <block type="math_change" id="T.un5=.rdLl@woGn*4oJ">
                                  <field name="VAR" id="?3%%L.;KPa-d6Zkoj*6T" variabletype="">AUS Zaehler</field>
                                  <value name="DELTA">
                                    <shadow type="math_number" id="?c=pXLOc61v3AJP.(d:k">
                                      <field name="NUM">1</field>
                                    </shadow>
                                  </value>
                                </block>
                              </statement>
                              <next>
                                <block type="controls_if" id="J!0cvTG#hm+.vpOmP+Dh">
                                  <value name="IF0">
                                    <block type="logic_compare" id="%AbMO?J2D[f-rCEWyq=O">
                                      <field name="OP">EQ</field>
                                      <value name="A">
                                        <block type="variables_get" id="u5FZNsypgs:pPUYsV1=g">
                                          <field name="VAR" id="?3%%L.;KPa-d6Zkoj*6T" variabletype="">AUS Zaehler</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="math_number" id="uaHP[P3wt-!h@M!UE]eX">
                                          <field name="NUM">45</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <statement name="DO0">
                                    <block type="timeouts_settimeout" id=";RetM]1NMnq(gM2?*6vO">
                                      <field name="NAME">timeout</field>
                                      <field name="DELAY">1500</field>
                                      <field name="UNIT">ms</field>
                                      <statement name="STATEMENT">
                                        <block type="pushover" id="O;i_Of;3W;~`ut*XLErs">
                                          <field name="INSTANCE">.0</field>
                                          <field name="SOUND"></field>
                                          <field name="PRIORITY">0</field>
                                          <field name="LOG"></field>
                                          <value name="MESSAGE">
                                            <shadow type="text" id="bb?GK(0u[jN(qPPjnox1">
                                              <field name="TEXT">Der Trockner ist fertig</field>
                                            </shadow>
                                          </value>
                                          <next>
                                            <block type="controls_if" id="{YgN%Y7A7_EEDWVfrH-~">
                                              <value name="IF0">
                                                <block type="time_compare_ex" id=";Z9|mLh|XOy}l6q!/|)H">
                                                  <mutation end_time="true" actual_time="true"></mutation>
                                                  <field name="USE_ACTUAL_TIME">TRUE</field>
                                                  <field name="OPTION">between</field>
                                                  <value name="START_TIME">
                                                    <shadow type="text" id="1Mb7k9=om19kl(|^ls{B">
                                                      <field name="TEXT">07:00</field>
                                                    </shadow>
                                                  </value>
                                                  <value name="END_TIME">
                                                    <shadow type="text" id="u|0,W8,^1sLZcDkByT9E">
                                                      <field name="TEXT">22:00</field>
                                                    </shadow>
                                                  </value>
                                                </block>
                                              </value>
                                              <statement name="DO0">
                                                <block type="control" id="Q#Co*Fw?F|S1$qjg#/Pr">
                                                  <mutation delay_input="true"></mutation>
                                                  <field name="OID">alexa2.1.Echo-Devices.G000WV0484541A9F.Commands.speak</field>
                                                  <field name="WITH_DELAY">TRUE</field>
                                                  <field name="DELAY_MS">500</field>
                                                  <field name="UNIT">ms</field>
                                                  <field name="CLEAR_RUNNING">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="text" id="%o[+[,2P)W1gpBy8pY,H">
                                                      <field name="TEXT">Der Trockner ist fertig!</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="control" id="dEf[f=1wnG@+}UB=)iZ0">
                                                      <mutation delay_input="true"></mutation>
                                                      <field name="OID">alexa2.1.Echo-Devices.G070RR0975070D18.Commands.speak</field>
                                                      <field name="WITH_DELAY">TRUE</field>
                                                      <field name="DELAY_MS">500</field>
                                                      <field name="UNIT">ms</field>
                                                      <field name="CLEAR_RUNNING">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="text" id="-lTxI!_9p]4YRp8o1qG/">
                                                          <field name="TEXT">Der Trockner ist fertig!</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </next>
                                                </block>
                                              </statement>
                                              <next>
                                                <block type="variables_set" id="Hvd2vL)ptc4/sfjoP3Kx">
                                                  <field name="VAR" id="?3%%L.;KPa-d6Zkoj*6T" variabletype="">AUS Zaehler</field>
                                                  <value name="VALUE">
                                                    <block type="math_number" id="Yz`)rz,.esx8@lC+dmm^">
                                                      <field name="NUM">0</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="control" id="sj0ZAG=ELQ-|XeWmtEg3">
                                                      <mutation delay_input="false"></mutation>
                                                      <field name="OID">javascript.0.Vis.Trockner.Aktiv</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="logic_boolean" id="eX|Bf{oW+%BAW.Y:)kbK">
                                                          <field name="BOOL">FALSE</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                    </block>
                                  </statement>
                                </block>
                              </next>
                            </block>
                          </statement>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </next>
            </block>
            <block type="comment" id="k_2r^B84`,O0y4.u,WwG" x="338" y="613">
              <field name="COMMENT">Zähler definiert Leerlaufzeit bis fertig gemeldet wird 15 ist ca. 90 sec bei shelly</field>
            </block>
          </xml>
          
          

          danke

          tom

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

            also ich habe ein Timeout eingebaut, damit funktioniert es ganz gut

            40262cd3-e3c5-42b3-bc5c-638d28865fdc-grafik.png

            1 Reply Last reply Reply Quote 0
            • F
              freaktech last edited by

              könntest du mir dieses mal reinkopieren

              da an dem Skript schon 2 andere rumgemacht haben und ich mich mit dem fast nicht auskenne wär ich da echt dankbar.

              MyzerAT 1 Reply Last reply Reply Quote 0
              • MyzerAT
                MyzerAT @freaktech last edited by

                @freaktech

                meinst du mich ?

                1 Reply Last reply Reply Quote 0
                • F
                  freaktech last edited by

                  ja wenn du glaubst dass das zu meinem Code passt?

                  mir fehlt mittlerweile etwas der Durchblick

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

                    hier bitte

                    <xml xmlns="http://www.w3.org/1999/xhtml">
                      <variables>
                        <variable type="undefined" id="timeout">timeout</variable>
                        <variable type="undefined" id="Intervall">Intervall</variable>
                      </variables>
                      <block type="on" id="aecgwi.=%)$xh)Gb!MuK" x="483" y="-1295">
                        <field name="OID">sonoff.0.DVES_3E2C2F2F.POWER</field>
                        <field name="CONDITION">ne</field>
                        <field name="ACK_CONDITION"></field>
                        <statement name="STATEMENT">
                          <block type="controls_if" id="#U{dFSNvX`1ia3yP]bnq">
                            <value name="IF0">
                              <block type="logic_compare" id="dlt!M@Y5GHFi^J|,7uS$">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="get_value" id="UJo01)k*4xWpA;2.}y4H">
                                    <field name="ATTR">val</field>
                                    <field name="OID">sonoff.0.DVES_3E2C2F2F.POWER</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_boolean" id="k(f^x/T+wvIe%vqlLLmt">
                                    <field name="BOOL">TRUE</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="update" id="RHd2}|J~|(+d/tQv-k))">
                                <mutation delay_input="true"></mutation>
                                <field name="OID">#Eigene.0.Waschmaschine.Waschmaschine</field>
                                <field name="WITH_DELAY">TRUE</field>
                                <field name="DELAY_MS">1000</field>
                                <field name="UNIT">ms</field>
                                <field name="CLEAR_RUNNING">FALSE</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id="$V.+sWD!)f!M%S*h3C=A">
                                    <field name="BOOL">TRUE</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="update" id="dtGswr=yaPFzl=#aQ-S~">
                                    <mutation delay_input="true"></mutation>
                                    <field name="OID">#Eigene.0.Waschmaschine.Waschmaschine_Wäsche_Entnommen</field>
                                    <field name="WITH_DELAY">TRUE</field>
                                    <field name="DELAY_MS">1000</field>
                                    <field name="UNIT">ms</field>
                                    <field name="CLEAR_RUNNING">FALSE</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="MOp}pj{76@e%;7%{FF:S">
                                        <field name="BOOL">FALSE</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="update" id="n(f6ZAmfh#L]-5z8*l*=">
                                        <mutation delay_input="true"></mutation>
                                        <field name="OID">#Eigene.0.Waschmaschine.Waschmaschine_Wäsche_fertig</field>
                                        <field name="WITH_DELAY">TRUE</field>
                                        <field name="DELAY_MS">1000</field>
                                        <field name="UNIT">ms</field>
                                        <field name="CLEAR_RUNNING">FALSE</field>
                                        <value name="VALUE">
                                          <block type="logic_boolean" id="N)uh]V+TFHB@Rmf6k+ih">
                                            <field name="BOOL">FALSE</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="control" id="+[7tM;OpM|Hy)hV?vw~;">
                                            <mutation delay_input="true"></mutation>
                                            <field name="OID">alexa2.0.Echo-Devices.G090U61084851BG7.Commands.announcement</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="text_join" id="$pyXExO{EAnze5EN2d`C">
                                                <mutation items="1"></mutation>
                                                <value name="ADD0">
                                                  <block type="text" id="v_et7owpN;)D0S;zGoQw">
                                                    <field name="TEXT">Der Strom, für die Waschmaschine ist jetzt an!</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="debug" id="$y};$`+S8iw9!897SBn9">
                                                <field name="Severity">log</field>
                                                <value name="TEXT">
                                                  <shadow type="text" id="q-Y#)7K9.fr`-wGiK+]F">
                                                    <field name="TEXT">********** Waschmaschine Strom EIN</field>
                                                  </shadow>
                                                </value>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </statement>
                            <next>
                              <block type="controls_if" id="_/mSqm*Ehpz:H=dnl07N">
                                <value name="IF0">
                                  <block type="logic_compare" id="#5e!C/si^ENuU1Z%ngDe">
                                    <field name="OP">EQ</field>
                                    <value name="A">
                                      <block type="get_value" id="8Dgzxfn~oF`*|49wh/6@">
                                        <field name="ATTR">val</field>
                                        <field name="OID">sonoff.0.DVES_3E2C2F2F.POWER</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_boolean" id="?s{Vkb8x5GHUK(kS15Q`">
                                        <field name="BOOL">FALSE</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="update" id="L~vUy0HeYvdQG9;nYE[N">
                                    <mutation delay_input="true"></mutation>
                                    <field name="OID">#Eigene.0.Waschmaschine.Waschmaschine</field>
                                    <field name="WITH_DELAY">TRUE</field>
                                    <field name="DELAY_MS">1000</field>
                                    <field name="UNIT">ms</field>
                                    <field name="CLEAR_RUNNING">FALSE</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="`x?%$%u7a]J-tjxzRBEg">
                                        <field name="BOOL">FALSE</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="control" id="Xz7}RyAq@9Uaej,xy2_}">
                                        <mutation delay_input="true"></mutation>
                                        <field name="OID">alexa2.0.Echo-Devices.G090U61084851BG7.Commands.announcement</field>
                                        <field name="WITH_DELAY">TRUE</field>
                                        <field name="DELAY_MS">1</field>
                                        <field name="UNIT">sec</field>
                                        <field name="CLEAR_RUNNING">FALSE</field>
                                        <value name="VALUE">
                                          <block type="text_join" id=".@n^I|2`r[/om/,[`(1{">
                                            <mutation items="1"></mutation>
                                            <value name="ADD0">
                                              <block type="text" id="mvt_txZ=;:G]:*oKLao3">
                                                <field name="TEXT">Der Strom, für die Waschmaschine ist jetzt abgeschaltet</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="debug" id="kD^Nk]YpE1b=N=EGubbk">
                                            <field name="Severity">log</field>
                                            <value name="TEXT">
                                              <shadow type="text" id="ws-Q}S{^v:{LEv{KDm2[">
                                                <field name="TEXT">********** Waschmaschine Strom AUS</field>
                                              </shadow>
                                            </value>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                              </block>
                            </next>
                          </block>
                        </statement>
                        <next>
                          <block type="on_ext" id="%|Q4a{!8xo`,E?Z(f)ho">
                            <mutation items="2"></mutation>
                            <field name="CONDITION">ne</field>
                            <field name="ACK_CONDITION"></field>
                            <value name="OID0">
                              <shadow type="field_oid" id="Xvum5SLJ.8h#^!ttUtI6">
                                <field name="oid">sonoff.0.DVES_3E2C2F2F.ENERGY_Power</field>
                              </shadow>
                            </value>
                            <value name="OID1">
                              <shadow type="field_oid" id="pO/6gdb3}yW7ue(#(2qr">
                                <field name="oid">sonoff.0.DVES_3E2C2F2F.POWER</field>
                              </shadow>
                            </value>
                            <statement name="STATEMENT">
                              <block type="controls_if" id="U1uqg)1c{UYg%K;c5A6v">
                                <mutation elseif="1"></mutation>
                                <value name="IF0">
                                  <block type="logic_operation" id="wv38~=UX=aGcd|01ZWo%" inline="false">
                                    <field name="OP">AND</field>
                                    <value name="A">
                                      <block type="logic_compare" id="9{N$Z3oB(Vk,YBFIC]Km">
                                        <field name="OP">EQ</field>
                                        <value name="A">
                                          <block type="get_value" id="he/6-xb+H=]ZZy9MS#~b">
                                            <field name="ATTR">val</field>
                                            <field name="OID">#Eigene.0.Waschmaschine.Waschmaschine</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_boolean" id="4Gwpk4*)2)qUn;LMJ?RH">
                                            <field name="BOOL">TRUE</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_compare" id="BtuJ~#;p@UrsD?0!l]dt">
                                        <field name="OP">GT</field>
                                        <value name="A">
                                          <block type="get_value" id="J?#uK.,OJwtW.8D!g3`j">
                                            <field name="ATTR">val</field>
                                            <field name="OID">sonoff.0.DVES_3E2C2F2F.ENERGY_Power</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_number" id="kgwve^?mv]rMKg.0jXZv">
                                            <field name="NUM">10</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="update" id="*0?=A65jlQdW|w,*[];@">
                                    <mutation delay_input="true"></mutation>
                                    <field name="OID">#Eigene.0.Waschmaschine.Waschmaschine_läuft</field>
                                    <field name="WITH_DELAY">TRUE</field>
                                    <field name="DELAY_MS">1000</field>
                                    <field name="UNIT">ms</field>
                                    <field name="CLEAR_RUNNING">FALSE</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="/a!HgmdF.^EB2xq7y;S1">
                                        <field name="BOOL">TRUE</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="debug" id="mGJdpihLLlwBuMf}|MU9" disabled="true">
                                        <field name="Severity">log</field>
                                        <value name="TEXT">
                                          <shadow type="text" id="8t,U92YO-KQ%:rz#!Q_`">
                                            <field name="TEXT">********** Waschmaschine läuft</field>
                                          </shadow>
                                        </value>
                                        <next>
                                          <block type="timeouts_cleartimeout" id="ij+%P=d`hw7^?O3GstDt">
                                            <field name="NAME">timeout</field>
                                            <next>
                                              <block type="debug" id="^x^Lwx~sM{lZ2n9X}jrJ" disabled="true">
                                                <field name="Severity">log</field>
                                                <value name="TEXT">
                                                  <shadow type="text" id="mZ$JH6$q^X4nJcYV4wjf">
                                                    <field name="TEXT">********** Waschmaschine Timeout1</field>
                                                  </shadow>
                                                </value>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                                <value name="IF1">
                                  <block type="logic_compare" id="-bdM(WJB/tXH*6Wd2[Ed">
                                    <field name="OP">LT</field>
                                    <value name="A">
                                      <block type="get_value" id="nKfZA-s6-yTtU=xOXvuZ">
                                        <field name="ATTR">val</field>
                                        <field name="OID">sonoff.0.DVES_3E2C2F2F.ENERGY_Power</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="math_number" id="*yfTw|}zm;+Jr,awPzs_">
                                        <field name="NUM">5</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO1">
                                  <block type="timeouts_settimeout" id="29cd`L/aEg;#2]a(R,%+">
                                    <field name="NAME">timeout</field>
                                    <field name="DELAY">5</field>
                                    <field name="UNIT">min</field>
                                    <statement name="STATEMENT">
                                      <block type="controls_if" id="m+[)#C=r1VeK_8}]=%,]">
                                        <value name="IF0">
                                          <block type="logic_operation" id="hr-gsMEPM%q-NFnrii^a" inline="false">
                                            <field name="OP">AND</field>
                                            <value name="A">
                                              <block type="logic_compare" id="yjfRIE_PDs%FEPtMWf#l">
                                                <field name="OP">LT</field>
                                                <value name="A">
                                                  <block type="get_value" id="kN%Iy1mht+ua8v#+IKy*">
                                                    <field name="ATTR">val</field>
                                                    <field name="OID">sonoff.0.DVES_3E2C2F2F.ENERGY_Power</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="math_number" id="jMA/e%Pyb9J8Y{wRFl*N">
                                                    <field name="NUM">5</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_compare" id="{j@yrT3dQzuUj|7N(1.O">
                                                <field name="OP">EQ</field>
                                                <value name="A">
                                                  <block type="get_value" id="UCSz[z*556|oVd-!eh%V">
                                                    <field name="ATTR">val</field>
                                                    <field name="OID">#Eigene.0.Waschmaschine.Waschmaschine_läuft</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="logic_boolean" id="?m,?02hXT0%B%PIy~?h:">
                                                    <field name="BOOL">TRUE</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO0">
                                          <block type="update" id="d@I:Qh,1V#fRsSbcl6gg">
                                            <mutation delay_input="false"></mutation>
                                            <field name="OID">#Eigene.0.Waschmaschine.Waschmaschine_läuft</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="=VFU/ydj[Fm~(%88LVMX">
                                                <field name="BOOL">FALSE</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="control" id="Knl[h2*Af+hf*1HmAaA/">
                                                <mutation delay_input="true"></mutation>
                                                <field name="OID">alexa2.0.Echo-Devices.G2A0U204850707WN.Commands.announcement</field>
                                                <field name="WITH_DELAY">TRUE</field>
                                                <field name="DELAY_MS">1</field>
                                                <field name="UNIT">sec</field>
                                                <field name="CLEAR_RUNNING">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="text_join" id=":Qh8a2khPWhdjpHe(?z$">
                                                    <mutation items="1"></mutation>
                                                    <value name="ADD0">
                                                      <block type="text" id="!kN.ZC98yfZ$z0gP{qr2">
                                                        <field name="TEXT">Liebe Doris, die Waschmaschine ist fertig!</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="control" id="o=-p,BQjFnm-vg{$6$1p">
                                                    <mutation delay_input="true"></mutation>
                                                    <field name="OID">alexa2.0.Echo-Devices.G090U61084851BG7.Commands.announcement</field>
                                                    <field name="WITH_DELAY">TRUE</field>
                                                    <field name="DELAY_MS">5</field>
                                                    <field name="UNIT">sec</field>
                                                    <field name="CLEAR_RUNNING">FALSE</field>
                                                    <value name="VALUE">
                                                      <block type="text_join" id="`PntDy**H,?u3_b^c,Cc">
                                                        <mutation items="1"></mutation>
                                                        <value name="ADD0">
                                                          <block type="text" id="=[4{82;,,dZD1G1^j4hw">
                                                            <field name="TEXT">Liebe Doris, die Waschmaschine ist fertig!</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="update" id="gugg8ZsOKa@DZ_PyeRjo">
                                                        <mutation delay_input="true"></mutation>
                                                        <field name="OID">#Eigene.0.Waschmaschine.Waschmaschine_Wäsche_fertig</field>
                                                        <field name="WITH_DELAY">TRUE</field>
                                                        <field name="DELAY_MS">6</field>
                                                        <field name="UNIT">sec</field>
                                                        <field name="CLEAR_RUNNING">FALSE</field>
                                                        <value name="VALUE">
                                                          <block type="logic_boolean" id="t+[@!m_Nop}cZZXf*0[t">
                                                            <field name="BOOL">TRUE</field>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="control" id="}x=VrRW%xa1}*Y3]ouC,">
                                                            <mutation delay_input="true"></mutation>
                                                            <field name="OID">sonoff.0.DVES_3E2C2F2F.POWER</field>
                                                            <field name="WITH_DELAY">TRUE</field>
                                                            <field name="DELAY_MS">7</field>
                                                            <field name="UNIT">sec</field>
                                                            <field name="CLEAR_RUNNING">FALSE</field>
                                                            <value name="VALUE">
                                                              <block type="logic_boolean" id="i[h0tI}Rbpl8En`HY):N">
                                                                <field name="BOOL">FALSE</field>
                                                              </block>
                                                            </value>
                                                            <next>
                                                              <block type="debug" id="*ESAbTHM#+6ReTSqO,s9">
                                                                <field name="Severity">log</field>
                                                                <value name="TEXT">
                                                                  <shadow type="text" id="4De`uZ0BR6V.pq)p-4o]">
                                                                    <field name="TEXT">********** Waschmaschine fertig</field>
                                                                  </shadow>
                                                                </value>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </statement>
                                      </block>
                                    </statement>
                                  </block>
                                </statement>
                              </block>
                            </statement>
                            <next>
                              <block type="on_ext" id="mk]o2c()ecIoy`nCJ#}O">
                                <mutation items="1"></mutation>
                                <field name="CONDITION">ne</field>
                                <field name="ACK_CONDITION"></field>
                                <value name="OID0">
                                  <shadow type="field_oid" id="hN?|(@_/UD4gi1cC=h|l">
                                    <field name="oid">#Eigene.0.Waschmaschine.Waschmaschine_Wäsche_fertig</field>
                                  </shadow>
                                </value>
                                <statement name="STATEMENT">
                                  <block type="controls_if" id="nO~RF[0?PKXG~S$Ay/3B">
                                    <value name="IF0">
                                      <block type="logic_operation" id="VIFU[$nVO6GDf]lCXpcT" inline="false">
                                        <field name="OP">AND</field>
                                        <value name="A">
                                          <block type="logic_compare" id="WkG^lT?+}NM!QZ(|C{iv">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="get_value" id="4av35^xjsSgN:W#[v:%%">
                                                <field name="ATTR">val</field>
                                                <field name="OID">#Eigene.0.Waschmaschine.Waschmaschine_Wäsche_fertig</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_boolean" id="*)u%%BIg0uY9S@mIXk1)">
                                                <field name="BOOL">TRUE</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_compare" id="-@%an4a6YrQ/*f+Sj.~3">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="get_value" id="T@JYCbBw(2+jL#`m#]hX">
                                                <field name="ATTR">val</field>
                                                <field name="OID">#Eigene.0.Waschmaschine.Waschmaschine_Wäsche_Entnommen</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_boolean" id="#OwWh-rrcZHjA(RvJFq+">
                                                <field name="BOOL">FALSE</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="timeouts_setinterval" id="}6|P_j#DNa.hvX8cQ:,2">
                                        <field name="NAME">Intervall</field>
                                        <field name="INTERVAL">2</field>
                                        <field name="UNIT">min</field>
                                        <statement name="STATEMENT">
                                          <block type="control" id="XOr/#f;#-@kxStfu*!QK">
                                            <mutation delay_input="true"></mutation>
                                            <field name="OID">alexa2.0.Echo-Devices.G090U61084851BG7.Commands.announcement</field>
                                            <field name="WITH_DELAY">TRUE</field>
                                            <field name="DELAY_MS">11</field>
                                            <field name="UNIT">sec</field>
                                            <field name="CLEAR_RUNNING">FALSE</field>
                                            <value name="VALUE">
                                              <block type="text_join" id=";*kR@6O]Iv6L!^U]379g">
                                                <mutation items="1"></mutation>
                                                <value name="ADD0">
                                                  <block type="text" id="xqaf%5D{m-3CfamfzIHM">
                                                    <field name="TEXT">Die Wäsche ist fertig und wäre zum Aufhängen bereit!</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="control" id="`MF6GO7n%W)sj.]hW-xO">
                                                <mutation delay_input="true"></mutation>
                                                <field name="OID">alexa2.0.Echo-Devices.G2A0U204850707WN.Commands.announcement</field>
                                                <field name="WITH_DELAY">TRUE</field>
                                                <field name="DELAY_MS">6</field>
                                                <field name="UNIT">sec</field>
                                                <field name="CLEAR_RUNNING">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="text_join" id="|kIlLl!uEEC[?(M|2v^I">
                                                    <mutation items="1"></mutation>
                                                    <value name="ADD0">
                                                      <block type="text" id="LwH/g25Mn=[g7R-Zu~_$">
                                                        <field name="TEXT">Die Wäsche ist fertig und wäre zum Aufhängen bereit!</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="debug" id="|4f]AQ-d?aJzD}56pj[`">
                                                    <field name="Severity">log</field>
                                                    <value name="TEXT">
                                                      <shadow type="text" id="R22shupwn@)m8:[Z,+}$">
                                                        <field name="TEXT">********** Wäsche bitte entnehmen</field>
                                                      </shadow>
                                                    </value>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </statement>
                                      </block>
                                    </statement>
                                  </block>
                                </statement>
                                <next>
                                  <block type="on_ext" id="~u%?.ai(/m:!rE8j|og3">
                                    <mutation items="2"></mutation>
                                    <field name="CONDITION">ne</field>
                                    <field name="ACK_CONDITION"></field>
                                    <value name="OID0">
                                      <shadow type="field_oid" id="~Wrx%foLvOC@A_jM+y$U">
                                        <field name="oid">zigbee.1.00158d0002a8aab5.tilt</field>
                                      </shadow>
                                    </value>
                                    <value name="OID1">
                                      <shadow type="field_oid" id="(O,rTG4qa7qg@lw4DO7f">
                                        <field name="oid">zigbee.1.00158d0002a8aab5.vibration</field>
                                      </shadow>
                                    </value>
                                    <statement name="STATEMENT">
                                      <block type="controls_if" id="NmqdeG~Zf0X_r,@_E]m5">
                                        <value name="IF0">
                                          <block type="logic_operation" id=")wmc$EMgX^zxsnOwQQ2x" inline="false">
                                            <field name="OP">AND</field>
                                            <value name="A">
                                              <block type="logic_compare" id="uyPXs$+#.9j_xxAm:sF/">
                                                <field name="OP">EQ</field>
                                                <value name="A">
                                                  <block type="get_value" id="TQp]Y$#@_oIg1X/{knW*">
                                                    <field name="ATTR">val</field>
                                                    <field name="OID">#Eigene.0.Waschmaschine.Waschmaschine_Wäsche_fertig</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="logic_boolean" id="5ajM2`g?$)ZF3S=^C|AY">
                                                    <field name="BOOL">TRUE</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_operation" id="`l1dh!w0|p}SEIM#s_n#" inline="false">
                                                <field name="OP">OR</field>
                                                <value name="A">
                                                  <block type="logic_compare" id="z{cb$eq{}^206Z[[wj29">
                                                    <field name="OP">EQ</field>
                                                    <value name="A">
                                                      <block type="get_value" id="3x^qByLNFm9=(@PB8QtF">
                                                        <field name="ATTR">val</field>
                                                        <field name="OID">zigbee.1.00158d0002a8aab5.vibration</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="logic_boolean" id="-3Lel-LegkyKbdTA@j-H">
                                                        <field name="BOOL">TRUE</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="logic_compare" id="x@gXQVrF|3Z{:UW7#.d}">
                                                    <field name="OP">EQ</field>
                                                    <value name="A">
                                                      <block type="get_value" id="`^@j%!Mp=9*}gyaEYZn3">
                                                        <field name="ATTR">val</field>
                                                        <field name="OID">zigbee.1.00158d0002a8aab5.tilt</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="logic_boolean" id="t:4g%lCq.S-ocO8*sI,.">
                                                        <field name="BOOL">TRUE</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO0">
                                          <block type="debug" id="B-p!EH_R+?R$GSLlCaVb">
                                            <field name="Severity">log</field>
                                            <value name="TEXT">
                                              <shadow type="text" id="5{cv7gsRhH*7q.m#}F~~">
                                                <field name="TEXT">********** Wäsche entnommen</field>
                                              </shadow>
                                            </value>
                                            <next>
                                              <block type="timeouts_clearinterval" id="|yV]$bTPaTA=H~QK)1EB">
                                                <field name="NAME">Intervall</field>
                                                <next>
                                                  <block type="update" id=")ABCCd}n)D=|hv+0wL8Y">
                                                    <mutation delay_input="false"></mutation>
                                                    <field name="OID">#Eigene.0.Waschmaschine.Waschmaschine_Wäsche_Entnommen</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE">
                                                      <block type="logic_boolean" id="q@d{8332;@gA1/,#%V^)">
                                                        <field name="BOOL">TRUE</field>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="update" id="w#%BWl}#~Im%jbYf$Ss$">
                                                        <mutation delay_input="true"></mutation>
                                                        <field name="OID">#Eigene.0.Waschmaschine.Waschmaschine_Wäsche_fertig</field>
                                                        <field name="WITH_DELAY">TRUE</field>
                                                        <field name="DELAY_MS">1000</field>
                                                        <field name="UNIT">ms</field>
                                                        <field name="CLEAR_RUNNING">FALSE</field>
                                                        <value name="VALUE">
                                                          <block type="logic_boolean" id="0K4[RzkSW,(oVRQ80YW,">
                                                            <field name="BOOL">FALSE</field>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="debug" id="S!+%rcIK:L6,PoNOsD[:">
                                                            <field name="Severity">log</field>
                                                            <value name="TEXT">
                                                              <shadow type="text" id="ZmoYmhVs|l,a+PEVe/j6">
                                                                <field name="TEXT">********** stop intervall</field>
                                                              </shadow>
                                                            </value>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </statement>
                                      </block>
                                    </statement>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </xml>
                    
                    1 Reply Last reply Reply Quote 0
                    • F
                      freaktech last edited by

                      danke

                      teste ich heut tagsüber mal wenn meine Frau nicht da ist 🙂

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

                      Support us

                      ioBroker
                      Community Adapters
                      Donate

                      712
                      Online

                      31.9k
                      Users

                      80.3k
                      Topics

                      1.3m
                      Posts

                      3
                      9
                      935
                      Loading More Posts
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes
                      Reply
                      • Reply as topic
                      Log in to reply
                      Community
                      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                      The ioBroker Community 2014-2023
                      logo