Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Trockner Ende vom Vorgang mit Problemen

    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

    Trockner Ende vom Vorgang mit Problemen

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

      Hallo,

      hab seit geraumer Zeit ein Script für meine Waschmaschine am laufen, funktioniert auch super perfekt.

      Nun habe ich meinen Trockner "versucht" zu integrieren, was eigentlich auch funktioniert, nur ziemlich am Ende des Vorgangs geht die Leistung kurzzeitig von 4W auf 120W! Dieses startet immer wieder aufs Neue das Script und gibt mir tausende Telegram Mitteilungen aus. Wie kann ich das umgehen? Dachte an eine Verzögerung, damit die Schwankung nicht erkannt wird.

      Vielen Dank

      Screenshot 2019-03-06 15.23.39.png

      <xml xmlns="http://www.w3.org/1999/xhtml">
        <block type="on_ext" id="+A7wlutQO8gBfqosc.y3" x="-2637" y="-437">
          <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">sonoff.0.Steckdose_3.ENERGY_Power</field>
            </shadow>
          </value>
          <statement name="STATEMENT">
            <block type="controls_if" id="EYcukeja1n/k@-u`#914">
              <mutation else="1"></mutation>
              <value name="IF0">
                <block type="logic_compare" id="YL]^MiM0C_d90EjXd7qr">
                  <field name="OP">GT</field>
                  <value name="A">
                    <block type="get_value" id="yM=9zWrslsViHeXAVGm6">
                      <field name="ATTR">val</field>
                      <field name="OID">sonoff.0.Steckdose_3.ENERGY_Power</field>
                    </block>
                  </value>
                  <value name="B">
                    <block type="text" id="H=g~S*6(?G/uCr~jDdCp">
                      <field name="TEXT">25</field>
                    </block>
                  </value>
                </block>
              </value>
              <statement name="DO0">
                <block type="controls_if" id="bP`*)0;M+g9O:g?]Pd*f">
                  <value name="IF0">
                    <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">sonoff.0.Steckdose_3.Wäschetrockner_fertig</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>
                  <statement name="DO0">
                    <block type="control" id="XxjRG-wx{Gis|P}j%wi{">
                      <mutation delay_input="false"></mutation>
                      <field name="OID">sonoff.0.Steckdose_3.Wäschetrockner_fertig</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>
                      <next>
                        <block type="variables_set" id="SCb#?8FQqUBm.b91G*9j">
                          <field name="VAR">Waschdauer</field>
                          <value name="VALUE">
                            <block type="time_get" id="l]Y-K3-Yq9IeTq;6eJ;D">
                              <mutation format="false" language="false"></mutation>
                              <field name="OPTION">sid</field>
                            </block>
                          </value>
                          <next>
                            <block type="telegram" id="i||{vH9*ebG3rYojyq#~">
                              <field name="INSTANCE"></field>
                              <field name="LOG"></field>
                              <field name="SILENT">FALSE</field>
                              <field name="PARSEMODE">default</field>
                              <value name="MESSAGE">
                                <shadow type="text" id="U][E8N^7Bu/+`G(NxN}#">
                                  <field name="TEXT">Trockner wurde eingeschaltet</field>
                                </shadow>
                              </value>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </statement>
                </block>
              </statement>
              <statement name="ELSE">
                <block type="controls_if" id="G^ppm{-#FjC.A*c/0XGk">
                  <value name="IF0">
                    <block type="logic_compare" id="M~uV)}gj0R1:#*W8;u|_">
                      <field name="OP">LT</field>
                      <value name="A">
                        <block type="get_value" id=";C4ZX5Zy!7cKvi8im7j~">
                          <field name="ATTR">val</field>
                          <field name="OID">sonoff.0.Steckdose_3.ENERGY_Power</field>
                        </block>
                      </value>
                      <value name="B">
                        <block type="text" id="qZr5=RgO[|.`JAG]=%:e">
                          <field name="TEXT">20</field>
                        </block>
                      </value>
                    </block>
                  </value>
                  <statement name="DO0">
                    <block type="controls_if" id="*R)AS9z3T!GXpgS;.eT~">
                      <value name="IF0">
                        <block type="logic_compare" id="Hprqpy/QL8R.Su-t/e?F">
                          <field name="OP">EQ</field>
                          <value name="A">
                            <block type="get_value" id="Q*xkm=MQ^:O)u#gTAkHc">
                              <field name="ATTR">val</field>
                              <field name="OID">sonoff.0.Steckdose_3.Wäschetrockner_fertig</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="logic_boolean" id=":ewcl+CJpSy]-)onWE`O">
                              <field name="BOOL">TRUE</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <statement name="DO0">
                        <block type="math_change" id="T.un5=.rdLl@woGn*4oJ">
                          <field name="VAR">AUS Zähler</field>
                          <value name="DELTA">
                            <shadow type="math_number" id="?c=pXLOc61v3AJP.(d:k">
                              <field name="NUM">1</field>
                            </shadow>
                          </value>
                        </block>
                      </statement>
                    </block>
                  </statement>
                </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">AUS Zähler</field>
                        </block>
                      </value>
                      <value name="B">
                        <block type="math_number" id="uaHP[P3wt-!h@M!UE]eX">
                          <field name="NUM">20</field>
                        </block>
                      </value>
                    </block>
                  </value>
                  <statement name="DO0">
                    <block type="variables_set" id="C7#M!)MBNlXWFdRyu(1/">
                      <field name="VAR">Waschdauer</field>
                      <value name="VALUE">
                        <block type="math_arithmetic" id="fwa0dvln1m_t%y4d]=*v">
                          <field name="OP">MINUS</field>
                          <value name="A">
                            <shadow type="math_number" id="W8g;#tFz%V8Kx@!mjuqj">
                              <field name="NUM">1</field>
                            </shadow>
                            <block type="time_get" id="%;@b8KNTHRen[LP0FvK,">
                              <mutation format="false" language="false"></mutation>
                              <field name="OPTION">sid</field>
                            </block>
                          </value>
                          <value name="B">
                            <shadow type="math_number" id="@l!h1lOMpXlo8N}y:{]+">
                              <field name="NUM">1</field>
                            </shadow>
                            <block type="variables_get" id="XOpm)A@O%TF:(SAy7(I}">
                              <field name="VAR">Waschdauer</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <next>
                        <block type="telegram" id="ed05d|bQf^sw*MK?SR-6">
                          <field name="INSTANCE"></field>
                          <field name="LOG"></field>
                          <field name="SILENT">FALSE</field>
                          <field name="PARSEMODE">default</field>
                          <value name="MESSAGE">
                            <shadow type="text" id="sKyyX,f?IkAZP`RFQReF">
                              <field name="TEXT"></field>
                            </shadow>
                            <block type="text_join" id="1K/-eqC3Rvuq^k;:)pb(">
                              <mutation items="6"></mutation>
                              <value name="ADD0">
                                <block type="text" id="g^xB%|~3+%iXfX%.2~aW">
                                  <field name="TEXT">Trockner fertig! Dauer </field>
                                </block>
                              </value>
                              <value name="ADD1">
                                <block type="math_round" id="9wYLW;~|ywo+wb:d2vA1">
                                  <field name="OP">ROUND</field>
                                  <value name="NUM">
                                    <shadow type="math_number" id="?Nf,7E04Ici%)__NN|G3">
                                      <field name="NUM">3.1</field>
                                    </shadow>
                                    <block type="math_arithmetic" id="EmsEKUy-=M88(/b!@aRF">
                                      <field name="OP">DIVIDE</field>
                                      <value name="A">
                                        <shadow type="math_number" id="iL99}E8eI[-fCs=fI13E">
                                          <field name="NUM">1</field>
                                        </shadow>
                                        <block type="variables_get" id="]bGa^9Il4SB7Kx:w=/jQ">
                                          <field name="VAR">Waschdauer</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <shadow type="math_number" id=".hPkwGOtq~_2G@,0*+ZS">
                                          <field name="NUM">60</field>
                                        </shadow>
                                      </value>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <value name="ADD2">
                                <block type="text" id="At+@D_.~C1_#C5pB[KCX">
                                  <field name="TEXT"> Minuten</field>
                                </block>
                              </value>
                              <value name="ADD3">
                                <block type="text" id="vcyV[i(bsyY-{kAA=!JK">
                                  <field name="TEXT"> (Stormverbrauch </field>
                                </block>
                              </value>
                              <value name="ADD4">
                                <block type="get_value" id="[?csGx(Ho4;ol}QjZ1#^">
                                  <field name="ATTR">val</field>
                                  <field name="OID">sonoff.0.Steckdose4.ENERGY_Today</field>
                                </block>
                              </value>
                              <value name="ADD5">
                                <block type="text" id="3x],4l@Nbu99zs6Yxryw">
                                  <field name="TEXT"> kWh)</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <next>
                            <block type="variables_set" id="Hvd2vL)ptc4/sfjoP3Kx">
                              <field name="VAR">AUS Zähler</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">sonoff.0.Steckdose_3.Wäschetrockner_fertig</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>
              </next>
            </block>
          </statement>
        </block>
      </xml>
      
      1 Reply Last reply Reply Quote 0
      • M
        MiB last edited by

        guck mal hier: https://forum.iobroker.net/topic/20331/verbrauchsschwankung-mit-blockly-erkennen/17
        Ich hab des selbe Verhalten bei mir und dank @paul53 konnte ich es lösen.

        X 1 Reply Last reply Reply Quote 0
        • X
          xyr0ryx @MiB last edited by

          @MiB

          Danke schonmal. Jetzt brauch ich nur noch schmutzige Wäsche die erst gewaschen werden muss und dann getrocknet 😉

          Melde mich dann

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

          Support us

          ioBroker
          Community Adapters
          Donate

          909
          Online

          31.9k
          Users

          80.2k
          Topics

          1.3m
          Posts

          2
          3
          255
          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