Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. NOUS Zwischenstecker mit Tasmota geflasht

    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

    NOUS Zwischenstecker mit Tasmota geflasht

    This topic has been deleted. Only users with topic management privileges can see it.
    • Kusselin
      Kusselin @lessthanmore last edited by

      @lessthanmore so sieht der aus von der waschmaschine:
      Image 2.png

      1 Reply Last reply Reply Quote 0
      • Kusselin
        Kusselin @lessthanmore last edited by

        @lessthanmore sagte in NOUS Zwischenstecker mit Tasmota geflasht:

        Wir müssen beim Starten des Waschprogramms den Stromzähler der Steckdose auf den Datenpunkt per Skript auf Waschstart setzen und beim Ende den Wert des Stromzählers auf Waschende.

        Achso...so befüllt sich der Wert ja nicht...erst durch das Script.......

        L 1 Reply Last reply Reply Quote 0
        • Kusselin
          Kusselin last edited by

          wie kann ich eigentlich ein Blockly im gesamten per screenshot hier posten...? das klappt auch nicht immer..auch wenn ich es so mit dem "-" verkleinere bekomme ich nicht alles drauf!!

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

            so sieht der script jetzt aus :


            <xml xmlns="https://developers.google.com/blockly/xml">
            <variables>
            <variable id="=?OmOeJXP(6k$Q8a4v1*">WaMa_Dauerzaehler</variable>
            <variable id="Hhe!Hg(xh7gHuy(6hLlx">WaMa_EinAus</variable>
            <variable type="interval" id="Dauerzaehler">Dauerzaehler</variable>
            <variable type="timeout" id="timeout2">timeout2</variable>
            <variable type="timeout" id="timeout3">timeout3</variable>
            </variables>
            <block type="variables_set" id="VhvVE3UkVJB2fvjGzu*!" x="13" y="13">
            <field name="VAR" id="=?OmOeJXP(6k$Q8a4v1*">WaMa_Dauerzaehler</field>
            <value name="VALUE">
            <block type="math_number" id="g,Bx,s}7,][vN=Z-Mt4">
            <field name="NUM">0</field>
            </block>
            </value>
            <next>
            <block type="variables_set" id="i@;~wXOo)(5+=$9v:QF">
            <field name="VAR" id="Hhe!Hg(xh7gHuy(6hLlx">WaMa_EinAus</field>
            <value name="VALUE">
            <block type="logic_boolean" id="stD7DD67D[4(YSQ3dCvR">
            <field name="BOOL">FALSE</field>
            </block>
            </value>
            <next>
            <block type="on_ext" id="%l??Ns0%ZOhlZQJn)RIY">
            <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
            <field name="CONDITION">ne</field>
            <field name="ACK_CONDITION"></field>
            <value name="OID0">
            <shadow type="field_oid" id="8p+iN2CjzC1M$2o|Xq=m">
            <field name="oid">sonoff.0.Waschmaschine.ENERGY_Power</field>
            </shadow>
            </value>
            <statement name="STATEMENT">
            <block type="controls_if" id="-4y,4m5H68[U,UjJH(0"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_operation" id="-^U__L=#GGG_LD~6o~hg" inline="false"> <field name="OP">AND</field> <comment pinned="false" h="90" w="276">Falls Maschinengang erkannt (Wattzahl &gt;10) UND Modus ist auf falsch dann starte und schreibe den aktuellen verbrauch in DP</comment> <value name="A"> <block type="logic_compare" id="-%Kg)H+S;{}Yyd@cqe=l"> <field name="OP">GTE</field> <value name="A"> <block type="on_source" id="QS5)==Ahwtfe.nNTlR@">
            <field name="ATTR">state.val</field>
            </block>
            </value>
            <value name="B">
            <block type="math_number" id="OT1x**T)z3hCtGxhqDDI">
            <field name="NUM">10</field>
            </block>
            </value>
            </block>
            </value>
            <value name="B">
            <block type="logic_compare" id=",LW+
            +gUB/lbO[yiNJdv">
            <field name="OP">EQ</field>
            <value name="A">
            <block type="variables_get" id="[$/1md}o9xogfLp
            !}WA">
            <field name="VAR" id="Hhe!Hg(xh7gHuy(6hLlx">WaMa_EinAus</field>
            </block>
            </value>
            <value name="B">
            <block type="logic_boolean" id="V}KP*,b;J,.3q802Q0l^">
            <field name="BOOL">FALSE</field>
            </block>
            </value>
            </block>
            </value>
            </block>
            </value>
            <statement name="DO0">
            <block type="variables_set" id="HHIFm}6:U#VVrIRv7e|">
            <field name="VAR" id="Hhe!Hg(xh7gHuy(6hLlx">WaMa_EinAus</field>
            <value name="VALUE">
            <block type="logic_boolean" id="%.!o$LmcZOm0##5WWoJ"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id="z]7Pj2YXS1-d)pnchN,!"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Eigene_Datenpunkte.Energieüberwachung.Waschmaschine.Waschstart</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="get_value" id="b$lgvB*z^u:a@_hX4hL]"> <field name="ATTR">val</field> <field name="OID">sonoff.0.Waschmaschine.ENERGY_Power</field> </block> </value> <next> <block type="timeouts_setinterval" id="(?2yHN!soJ=}mLZ7l]lF"> <field name="NAME">Dauerzaehler</field> <field name="INTERVAL">1</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="math_change" id="w,FoLyTV8R1TP-!PMN(k"> <field name="VAR" id="=?OmOeJXP(6k$Q8a4v1*">WaMa_Dauerzaehler</field> <value name="DELTA"> <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="H!-!N4kZhgP#5;zrxCTY"> <field name="NUM">1</field> </shadow> <block type="math_number" id="AF2;r}gdm2RpvVmn)fr">
            <field name="NUM">1</field>
            </block>
            </value>
            </block>
            </statement>
            </block>
            </next>
            </block>
            </next>
            </block>
            </statement>
            <value name="IF1">
            <block type="logic_operation" id="[:7QWv4Op8S6o@lG45(y" inline="false">
            <field name="OP">AND</field>
            <comment pinned="false" h="80" w="160">Falls Verbrauch unter 3 Watt fällt und der Modus ist Wahr dann beende den Waschmodus.</comment>
            <value name="A">
            <block type="logic_compare" id="igy_8vlVI|k$sL-O!Ya">
            <field name="OP">EQ</field>
            <value name="A">
            <block type="on_source" id="oKi^o%$Qa%i0^MVE?s)Y">
            <field name="ATTR">state.val</field>
            </block>
            </value>
            <value name="B">
            <block type="math_number" id="bx}yjZ_C7J2#/$NzLoS">
            <field name="NUM">0</field>
            </block>
            </value>
            </block>
            </value>
            <value name="B">
            <block type="logic_compare" id="}A,!m2TVXL.^LQWg%!e|">
            <field name="OP">EQ</field>
            <value name="A">
            <block type="variables_get" id="r/rnzWL?1!/.2!+pr@5(">
            <field name="VAR" id="Hhe!Hg(xh7gHuy(6hLlx">WaMa_EinAus</field>
            </block>
            </value>
            <value name="B">
            <block type="logic_boolean" id="S,c^%F
            KOd(.(Q(BL!=g">
            <field name="BOOL">TRUE</field>
            </block>
            </value>
            </block>
            </value>
            </block>
            </value>
            <statement name="DO1">
            <block type="timeouts_clearinterval" id="4Usl2WULucSJQ,Ptrt9^">
            <field name="NAME">Dauerzaehler</field>
            <next>
            <block type="variables_set" id="vj!Vu=sDr5yt.:ZU#OfU">
            <field name="VAR" id="Hhe!Hg(xh7gHuy(6hLlx">WaMa_EinAus</field>
            <value name="VALUE">
            <block type="logic_boolean" id="5xCJ(QRB3mIo5.*f1Fsg">
            <field name="BOOL">FALSE</field>
            </block>
            </value>
            <next>
            <block type="control" id="{MMg6Za}8I|gw.4cE6oG">
            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
            <field name="OID">0_userdata.0.Eigene_Datenpunkte.Energieüberwachung.Waschmaschine.Waschende</field>
            <field name="WITH_DELAY">FALSE</field>
            <value name="VALUE">
            <block type="get_value" id="}
            }=j6pEBm+0afN/394(">
            <field name="ATTR">val</field>
            <field name="OID">sonoff.0.Waschmaschine.ENERGY_Power</field>
            </block>
            </value>
            <next>
            <block type="debug" id="~(eEE8/,iS{wG@j0X)TU">
            <field name="Severity">log</field>
            <value name="TEXT">
            <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="3K0c5WSS9VmMq/XFB(e9">
            <field name="TEXT">test</field>
            </shadow>
            <block type="text_join" id="2xby$^zDuX^$?-Yp2~k,">
            <mutation items="2"></mutation>
            <value name="ADD0">
            <block type="text" id="L6trfC]%tV;Q1#[_3UQJ">
            <field name="TEXT">Status Waschmaschine Ein/Aus ist: </field>
            </block>
            </value>
            <value name="ADD1">
            <block type="variables_get" id="mN7^USWq(%,us)OL?!1#">
            <field name="VAR" id="Hhe!Hg(xh7gHuy(6hLlx">WaMa_EinAus</field>
            </block>
            </value>
            </block>
            </value>
            <next>
            <block type="timeouts_settimeout" id=",NjGW@Wtt+n7RKNkcxK!">
            <field name="NAME">timeout2</field>
            <field name="DELAY">5</field>
            <field name="UNIT">sec</field>
            <statement name="STATEMENT">
            <block type="telegram" id=":)Sqh|eio_J%+h7Q@6nJ">
            <field name="INSTANCE"></field>
            <field name="LOG"></field>
            <field name="SILENT">FALSE</field>
            <field name="PARSEMODE">default</field>
            <value name="MESSAGE">
            <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="zaE.r=+WylppU_4Nmdx~">
            <field name="TEXT">Waschmaschine ist fertig</field>
            </shadow>
            <block type="text_join" id="3,~.TJZeugM.!B%S1^X}">
            <mutation items="9"></mutation>
            <value name="ADD0">
            <block type="text" id="|9?4%ic
            sy2}Q088ry:q">
            <field name="TEXT">Die Waschmaschine ist Fertig.</field>
            </block>
            </value>
            <value name="ADD1">
            <block type="time_get" id="a?D^RPe+s+Si=kkfgj[">
            <mutation xmlns="http://www.w3.org/1999/xhtml" format="true" language="false"></mutation>
            <field name="OPTION">custom</field>
            <field name="FORMAT">\n</field>
            </block>
            </value>
            <value name="ADD2">
            <block type="text" id="grfj-@D75~7#;4n|Zja">
            <field name="TEXT">Dauer: </field>
            </block>
            </value>
            <value name="ADD3">
            <block type="variables_get" id="n.X3BE
            TU_{qnfXV+E~:">
            <field name="VAR" id="=?OmOeJXP(6k$Q8a4v1
            ">WaMa_Dauerzaehler</field>
            </block>
            </value>
            <value name="ADD4">
            <block type="text" id="hB0LeD{cRvcWSjG+y.+=">
            <field name="TEXT"> Minuten.</field>
            </block>
            </value>
            <value name="ADD5">
            <block type="time_get" id="cA93H,ih=ovnjMRR4?Q6">
            <mutation xmlns="http://www.w3.org/1999/xhtml" format="true" language="false"></mutation>
            <field name="OPTION">custom</field>
            <field name="FORMAT">\n</field>
            </block>
            </value>
            <value name="ADD6">
            <block type="text" id="iq5TjK!:5+gf]#fZ42]">
            <field name="TEXT">Verbrauch: </field>
            </block>
            </value>
            <value name="ADD7">
            <block type="math_rndfixed" id=")6B|F41_epI9gP[THRW[">
            <field name="n">2</field>
            <value name="x">
            <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="}[m8CJ[~.H(X2Ez)$MNC">
            <field name="NUM">3.1234</field>
            </shadow>
            <block type="math_arithmetic" id="vkHPDt[yds%_+|}F~JlI" inline="false">
            <field name="OP">MINUS</field>
            <value name="A">
            <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id=";x
            EJIT-UHcl7Q0j{G#U">
            <field name="NUM">1</field>
            </shadow>
            <block type="get_value" id="v-h3Ax9U5D^A[-sA.VR">
            <field name="ATTR">val</field>
            <field name="OID">0_userdata.0.Eigene_Datenpunkte.Energieüberwachung.Waschmaschine.Waschende</field>
            </block>
            </value>
            <value name="B">
            <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id=")KC,Lt~MMGdb=v/v
            dsR">
            <field name="NUM">1</field>
            </shadow>
            <block type="get_value" id="Y8iAp,Pk9o!]nby,SpJ^">
            <field name="ATTR">val</field>
            <field name="OID">0_userdata.0.Eigene_Datenpunkte.Energieüberwachung.Waschmaschine.Waschstart</field>
            </block>
            </value>
            </block>
            </value>
            </block>
            </value>
            <value name="ADD8">
            <block type="text" id="Gq}sI5FR]paEBl+;3+e">
            <field name="TEXT"> kWh.</field>
            </block>
            </value>
            </block>
            </value>
            </block>
            </statement>
            <next>
            <block type="timeouts_settimeout" id=":DTtJMZX
            6T[m5$MS#FV">
            <field name="NAME">timeout3</field>
            <field name="DELAY">10</field>
            <field name="UNIT">sec</field>
            <statement name="STATEMENT">
            <block type="variables_set" id=",${esm~ZSiljnImc}dcx">
            <field name="VAR" id="=?OmOeJXP(6k$Q8a4v1*">WaMa_Dauerzaehler</field>
            <value name="VALUE">
            <block type="math_number" id=";!%m^7forEuu5xZJ{}fV">
            <field name="NUM">0</field>
            </block>
            </value>
            </block>
            </statement>
            </block>
            </next>
            </block>
            </next>
            </block>
            </next>
            </block>
            </next>
            </block>
            </next>
            </block>
            </statement>
            </block>
            </statement>
            </block>
            </next>
            </block>
            </next>
            </block>
            </xml>

            1 Reply Last reply Reply Quote 0
            • L
              lessthanmore @Kusselin last edited by

              @kusselin Genau, ich weiß jetzt allerdings nicht wozu der Dauerzähler verwendet wird.
              Aber so kannst du es mal probieren:


              <xml xmlns="https://developers.google.com/blockly/xml">
              <variables>
              <variable type="timeout" id="timeout">timeout</variable>
              </variables>
              <block type="on" id="{+^qXg~JO2XbEyVlFlX*" x="88" y="536">
              <field name="OID">knx.0.Erdgeschoß.Energiedaten.Leistung_WM</field>
              <field name="CONDITION">ne</field>
              <field name="ACK_CONDITION"></field>
              <statement name="STATEMENT">
              <block type="controls_if" id="!GlmeU*,mT4c.(JLJ_u[">
              <value name="IF0">
              <block type="logic_compare" id="06z$}HV]Xpxv:#C-K@B-">
              <field name="OP">GTE</field>
              <value name="A">
              <block type="on_source" id="WQA}Vdg%_o[GEudYu^+">
              <field name="ATTR">state.val</field>
              </block>
              </value>
              <value name="B">
              <block type="math_number" id="u(+-L4%!!{C30C.Nb+TN">
              <field name="NUM">10</field>
              </block>
              </value>
              </block>
              </value>
              <statement name="DO0">
              <block type="update" id="|?ViBQ!Sb3-0r~:%}|mz">
              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
              <field name="OID">0_userdata.0.washer</field>
              <field name="WITH_DELAY">FALSE</field>
              <value name="VALUE">
              <block type="get_value" id="7(8LHqnI-JPl#u5@}i">
              <field name="ATTR">val</field>
              <field name="OID">ID auswählen</field>
              </block>
              </value>
              <next>
              <block type="timeouts_cleartimeout" id="[z^K
              qsEuB-~ItvolRKQ">
              <field name="NAME">timeout</field>
              </block>
              </next>
              </block>
              </statement>
              <next>
              <block type="controls_if" id="0%QxoyoFAB{tG1KsE3Yf">
              <value name="IF0">
              <block type="logic_compare" id="L5_{-QY6ybj3mFXLUSqj">
              <field name="OP">EQ</field>
              <value name="A">
              <block type="get_value" id="@2nsuo@kw2H/m;cetaJl">
              <field name="ATTR">val</field>
              <field name="OID">knx.0.Erdgeschoß.Energiedaten.Leistung_WM</field>
              </block>
              </value>
              <value name="B">
              <block type="math_number" id="biU%eaYLiNbFWsJC6AT"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="Plxc[J,o9$JD6qJg=f_m"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.washer</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="get_value" id="[$qd22o^oeaK$b3~LnQG"> <field name="ATTR">val</field> <field name="OID">ID auswählen</field> </block> </value> <next> <block type="timeouts_settimeout" id="ppP^uo3KB0E!0k%Si6L%"> <field name="NAME">timeout</field> <field name="DELAY">120</field> <field name="UNIT">sec</field> <statement name="STATEMENT"> <block type="pushover" id="2E%:ljMUd$Mxm23Ju5)_"> <field name="INSTANCE"></field> <field name="SOUND"></field> <field name="PRIORITY">0</field> <field name="LOG"></field> <value name="MESSAGE"> <shadow type="text" id="uTmfn8n_jPcJg,rg-Ssf"> <field name="TEXT">Die Waschmaschine ist fertig!</field> </shadow> <block type="text_join" id="p~~b/e.d]t9n;,F(6ru">
              <mutation items="4"></mutation>
              <value name="ADD0">
              <block type="text" id="0ey}~n%@AAX@p#GKsp$M">
              <field name="TEXT">Die Waschmaschine ist fertig!</field>
              </block>
              </value>
              <value name="ADD1">
              <block type="text_newline" id="b976,]~g57E^OV.,ei)E">
              <field name="Type">\n</field>
              </block>
              </value>
              <value name="ADD2">
              <block type="text" id="V[|x(zT=)B4XzBk$f-">
              <field name="TEXT">Verbrauch:</field>
              </block>
              </value>
              <value name="ADD3">
              <block type="math_rndfixed" id="rR6Wr1RlKjUig(04n5vA">
              <field name="n">2</field>
              <value name="x">
              <shadow type="math_number" id="nLMF9_XQdD?8:?B6y%">
              <field name="NUM">3.1234</field>
              </shadow>
              <block type="math_arithmetic" id="de96B#LyL@T?:?AYe|]8" inline="false">
              <field name="OP">MINUS</field>
              <value name="A">
              <shadow type="math_number" id=")QUYMw?+apQ]6MM8p%CT">
              <field name="NUM">1</field>
              </shadow>
              <block type="get_value" id="{VXH)Qadu9j=Xtf=itoy">
              <field name="ATTR">val</field>
              <field name="OID">ID auswählen</field>
              </block>
              </value>
              <value name="B">
              <shadow type="math_number" id="F-m9_n|Xv+6iaMjcZu~+">
              <field name="NUM">1</field>
              </shadow>
              <block type="get_value" id="8s`BJKLRy40klu;(L%0+">
              <field name="ATTR">val</field>
              <field name="OID">ID auswählen</field>
              </block>
              </value>
              </block>
              </value>
              </block>
              </value>
              </block>
              </value>
              <value name="TITLE">
              <block type="text" id="RN|]B)eGF5-vx1PIBK,)">
              <field name="TEXT">Waschmaschine fertig!</field>
              </block>
              </value>
              </block>
              </statement>
              </block>
              </next>
              </block>
              </statement>
              </block>
              </next>
              </block>
              </statement>
              </block>
              </xml>

              2021-09-14_10-32-37.png

              1: Datenpunkt "Waschstart"
              2: DP der Steckdose "ENERGY_Total"
              3: Datenpunkt "Waschende"

              Sobald du dann die Waschmaschine mal anmachst, solltest du sehen, dass der DP "Waschstart" gesetzt bzw. befüllt wird.

              Kusselin 1 Reply Last reply Reply Quote 0
              • Kusselin
                Kusselin @lessthanmore last edited by

                @lessthanmore der datenpunkt waschstart udn waschende wird befüllt weil diese datenpunkte im Script mit dem Energy.datenpunkt verbunden sind richtig? habe ich das so richtig verstanden?

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

                  die Frau lässt jetzt gerade eine kleine Wäsche laufen.....jetzt steht im Datenpunkt Waschtart 12

                  Image 3.png

                  und das unter dem Zwischenstecker:
                  Image 4.png

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

                    meldung kam jetzt...:-)

                    nur mit dem Verbrauch....da stand jetzt -12kwh

                    Anscheinend befüllt sich der datenpunkt waschende nicht mit dem Datenpunkt energy.power 😞

                    L 1 Reply Last reply Reply Quote 0
                    • L
                      lessthanmore @Kusselin last edited by

                      @kusselin Das muss auch beide Male Energy_Total rein.
                      Poste mal einen Screenshot deines Skripts.
                      Im Waschstart hätte ja 1,48 stehen müssen.

                      Kusselin 1 Reply Last reply Reply Quote 0
                      • Kusselin
                        Kusselin @lessthanmore last edited by

                        @lessthanmore hab ich doch auch..

                        schau hier der script....ich weiss nicht wie ich einen kompletten screen des gesamten blocklys posten kann..hatte das oben schon gepostet wie das geht..

                        hier der script:


                        <xml xmlns="https://developers.google.com/blockly/xml">
                        <variables>
                        <variable id="=?OmOeJXP(6k$Q8a4v1*">WaMa_Dauerzaehler</variable>
                        <variable id="Hhe!Hg(xh7gHuy(6hLlx">WaMa_EinAus</variable>
                        <variable type="interval" id="Dauerzaehler">Dauerzaehler</variable>
                        <variable type="timeout" id="timeout2">timeout2</variable>
                        <variable type="timeout" id="timeout3">timeout3</variable>
                        </variables>
                        <block type="variables_set" id="VhvVE3UkVJB2fvjGzu*!" x="13" y="13">
                        <field name="VAR" id="=?OmOeJXP(6k$Q8a4v1*">WaMa_Dauerzaehler</field>
                        <value name="VALUE">
                        <block type="math_number" id="g,Bx,s}7,][vN=Z-Mt4">
                        <field name="NUM">0</field>
                        </block>
                        </value>
                        <next>
                        <block type="variables_set" id="i@;~wXOo)(5+=$9v:QF">
                        <field name="VAR" id="Hhe!Hg(xh7gHuy(6hLlx">WaMa_EinAus</field>
                        <value name="VALUE">
                        <block type="logic_boolean" id="stD7DD67D[4(YSQ3dCvR">
                        <field name="BOOL">FALSE</field>
                        </block>
                        </value>
                        <next>
                        <block type="on_ext" id="%l??Ns0%ZOhlZQJn)RIY">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                        <field name="CONDITION">ne</field>
                        <field name="ACK_CONDITION"></field>
                        <value name="OID0">
                        <shadow type="field_oid" id="8p+iN2CjzC1M$2o|Xq=m">
                        <field name="oid">sonoff.0.Waschmaschine.ENERGY_Power</field>
                        </shadow>
                        </value>
                        <statement name="STATEMENT">
                        <block type="controls_if" id="-4y,4m5H68[U,UjJH(0"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_operation" id="-^U__L=#GGG_LD~6o~hg" inline="false"> <field name="OP">AND</field> <comment pinned="false" h="90" w="276">Falls Maschinengang erkannt (Wattzahl &gt;10) UND Modus ist auf falsch dann starte und schreibe den aktuellen verbrauch in DP</comment> <value name="A"> <block type="logic_compare" id="-%Kg)H+S;{}Yyd@cqe=l"> <field name="OP">GTE</field> <value name="A"> <block type="on_source" id="QS5)==Ahwtfe.nNTlR@">
                        <field name="ATTR">state.val</field>
                        </block>
                        </value>
                        <value name="B">
                        <block type="math_number" id="OT1x**T)z3hCtGxhqDDI">
                        <field name="NUM">10</field>
                        </block>
                        </value>
                        </block>
                        </value>
                        <value name="B">
                        <block type="logic_compare" id=",LW+
                        +gUB/lbO[yiNJdv">
                        <field name="OP">EQ</field>
                        <value name="A">
                        <block type="variables_get" id="[$/1md}o9xogfLp
                        !}WA">
                        <field name="VAR" id="Hhe!Hg(xh7gHuy(6hLlx">WaMa_EinAus</field>
                        </block>
                        </value>
                        <value name="B">
                        <block type="logic_boolean" id="V}KP*,b;J,.3q802Q0l^">
                        <field name="BOOL">FALSE</field>
                        </block>
                        </value>
                        </block>
                        </value>
                        </block>
                        </value>
                        <statement name="DO0">
                        <block type="variables_set" id="HHIFm}6:U#VVrIRv7e|">
                        <field name="VAR" id="Hhe!Hg(xh7gHuy(6hLlx">WaMa_EinAus</field>
                        <value name="VALUE">
                        <block type="logic_boolean" id="%.!o$LmcZOm0##5WWoJ"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id="z]7Pj2YXS1-d)pnchN,!"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Eigene_Datenpunkte.Energieüberwachung.Waschmaschine.Waschstart</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="get_value" id="b$lgvB*z^u:a@_hX4hL]"> <field name="ATTR">val</field> <field name="OID">sonoff.0.Waschmaschine.ENERGY_Power</field> </block> </value> <next> <block type="timeouts_setinterval" id="(?2yHN!soJ=}mLZ7l]lF"> <field name="NAME">Dauerzaehler</field> <field name="INTERVAL">1</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="math_change" id="w,FoLyTV8R1TP-!PMN(k"> <field name="VAR" id="=?OmOeJXP(6k$Q8a4v1*">WaMa_Dauerzaehler</field> <value name="DELTA"> <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="H!-!N4kZhgP#5;zrxCTY"> <field name="NUM">1</field> </shadow> <block type="math_number" id="AF2;r}gdm2RpvVmn)fr">
                        <field name="NUM">1</field>
                        </block>
                        </value>
                        </block>
                        </statement>
                        </block>
                        </next>
                        </block>
                        </next>
                        </block>
                        </statement>
                        <value name="IF1">
                        <block type="logic_operation" id="[:7QWv4Op8S6o@lG45(y" inline="false">
                        <field name="OP">AND</field>
                        <comment pinned="false" h="80" w="160">Falls Verbrauch unter 3 Watt fällt und der Modus ist Wahr dann beende den Waschmodus.</comment>
                        <value name="A">
                        <block type="logic_compare" id="igy_8vlVI|k$sL-O!Ya">
                        <field name="OP">EQ</field>
                        <value name="A">
                        <block type="on_source" id="oKi^o%$Qa%i0^MVE?s)Y">
                        <field name="ATTR">state.val</field>
                        </block>
                        </value>
                        <value name="B">
                        <block type="math_number" id="bx}yjZ_C7J2#/$NzLoS">
                        <field name="NUM">0</field>
                        </block>
                        </value>
                        </block>
                        </value>
                        <value name="B">
                        <block type="logic_compare" id="}A,!m2TVXL.^LQWg%!e|">
                        <field name="OP">EQ</field>
                        <value name="A">
                        <block type="variables_get" id="r/rnzWL?1!/.2!+pr@5(">
                        <field name="VAR" id="Hhe!Hg(xh7gHuy(6hLlx">WaMa_EinAus</field>
                        </block>
                        </value>
                        <value name="B">
                        <block type="logic_boolean" id="S,c^%F
                        KOd(.(Q(BL!=g">
                        <field name="BOOL">TRUE</field>
                        </block>
                        </value>
                        </block>
                        </value>
                        </block>
                        </value>
                        <statement name="DO1">
                        <block type="timeouts_clearinterval" id="4Usl2WULucSJQ,Ptrt9^">
                        <field name="NAME">Dauerzaehler</field>
                        <next>
                        <block type="variables_set" id="vj!Vu=sDr5yt.:ZU#OfU">
                        <field name="VAR" id="Hhe!Hg(xh7gHuy(6hLlx">WaMa_EinAus</field>
                        <value name="VALUE">
                        <block type="logic_boolean" id="5xCJ(QRB3mIo5.*f1Fsg">
                        <field name="BOOL">FALSE</field>
                        </block>
                        </value>
                        <next>
                        <block type="control" id="{MMg6Za}8I|gw.4cE6oG">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">0_userdata.0.Eigene_Datenpunkte.Energieüberwachung.Waschmaschine.Waschende</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                        <block type="get_value" id="}
                        }=j6pEBm+0afN/394(">
                        <field name="ATTR">val</field>
                        <field name="OID">sonoff.0.Waschmaschine.ENERGY_Power</field>
                        </block>
                        </value>
                        <next>
                        <block type="debug" id="~(eEE8/,iS{wG@j0X)TU">
                        <field name="Severity">log</field>
                        <value name="TEXT">
                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="3K0c5WSS9VmMq/XFB(e9">
                        <field name="TEXT">test</field>
                        </shadow>
                        <block type="text_join" id="2xby$^zDuX^$?-Yp2~k,">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                        <block type="text" id="L6trfC]%tV;Q1#[_3UQJ">
                        <field name="TEXT">Status Waschmaschine Ein/Aus ist: </field>
                        </block>
                        </value>
                        <value name="ADD1">
                        <block type="variables_get" id="mN7^USWq(%,us)OL?!1#">
                        <field name="VAR" id="Hhe!Hg(xh7gHuy(6hLlx">WaMa_EinAus</field>
                        </block>
                        </value>
                        </block>
                        </value>
                        <next>
                        <block type="timeouts_settimeout" id=",NjGW@Wtt+n7RKNkcxK!">
                        <field name="NAME">timeout2</field>
                        <field name="DELAY">5</field>
                        <field name="UNIT">sec</field>
                        <statement name="STATEMENT">
                        <block type="telegram" id=":)Sqh|eio_J%+h7Q@6nJ">
                        <field name="INSTANCE"></field>
                        <field name="LOG"></field>
                        <field name="SILENT">FALSE</field>
                        <field name="PARSEMODE">default</field>
                        <value name="MESSAGE">
                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="zaE.r=+WylppU_4Nmdx~">
                        <field name="TEXT">Waschmaschine ist fertig</field>
                        </shadow>
                        <block type="text_join" id="3,~.TJZeugM.!B%S1^X}">
                        <mutation items="9"></mutation>
                        <value name="ADD0">
                        <block type="text" id="|9?4%ic
                        sy2}Q088ry:q">
                        <field name="TEXT">Die Waschmaschine ist Fertig.</field>
                        </block>
                        </value>
                        <value name="ADD1">
                        <block type="time_get" id="a?D^RPe+s+Si=kkfgj[">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" format="true" language="false"></mutation>
                        <field name="OPTION">custom</field>
                        <field name="FORMAT">\n</field>
                        </block>
                        </value>
                        <value name="ADD2">
                        <block type="text" id="grfj-@D75~7#;4n|Zja">
                        <field name="TEXT">Dauer: </field>
                        </block>
                        </value>
                        <value name="ADD3">
                        <block type="variables_get" id="n.X3BE
                        TU_{qnfXV+E~:">
                        <field name="VAR" id="=?OmOeJXP(6k$Q8a4v1
                        ">WaMa_Dauerzaehler</field>
                        </block>
                        </value>
                        <value name="ADD4">
                        <block type="text" id="hB0LeD{cRvcWSjG+y.+=">
                        <field name="TEXT"> Minuten.</field>
                        </block>
                        </value>
                        <value name="ADD5">
                        <block type="time_get" id="cA93H,ih=ovnjMRR4?Q6">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" format="true" language="false"></mutation>
                        <field name="OPTION">custom</field>
                        <field name="FORMAT">\n</field>
                        </block>
                        </value>
                        <value name="ADD6">
                        <block type="text" id="iq5TjK!:5+gf]#fZ42]">
                        <field name="TEXT">Verbrauch: </field>
                        </block>
                        </value>
                        <value name="ADD7">
                        <block type="math_rndfixed" id=")6B|F41_epI9gP[THRW[">
                        <field name="n">2</field>
                        <value name="x">
                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="}[m8CJ[~.H(X2Ez)$MNC">
                        <field name="NUM">3.1234</field>
                        </shadow>
                        <block type="math_arithmetic" id="vkHPDt[yds%_+|}F~JlI" inline="false">
                        <field name="OP">MINUS</field>
                        <value name="A">
                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id=";x
                        EJIT-UHcl7Q0j{G#U">
                        <field name="NUM">1</field>
                        </shadow>
                        <block type="get_value" id="v-h3Ax9U5D^A[-sA.VR">
                        <field name="ATTR">val</field>
                        <field name="OID">0_userdata.0.Eigene_Datenpunkte.Energieüberwachung.Waschmaschine.Waschende</field>
                        </block>
                        </value>
                        <value name="B">
                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id=")KC,Lt~MMGdb=v/v
                        dsR">
                        <field name="NUM">1</field>
                        </shadow>
                        <block type="get_value" id="Y8iAp,Pk9o!]nby,SpJ^">
                        <field name="ATTR">val</field>
                        <field name="OID">0_userdata.0.Eigene_Datenpunkte.Energieüberwachung.Waschmaschine.Waschstart</field>
                        </block>
                        </value>
                        </block>
                        </value>
                        </block>
                        </value>
                        <value name="ADD8">
                        <block type="text" id="Gq}sI5FR]paEBl+;3+e">
                        <field name="TEXT"> kWh.</field>
                        </block>
                        </value>
                        </block>
                        </value>
                        </block>
                        </statement>
                        <next>
                        <block type="timeouts_settimeout" id=":DTtJMZX
                        6T[m5$MS#FV">
                        <field name="NAME">timeout3</field>
                        <field name="DELAY">10</field>
                        <field name="UNIT">sec</field>
                        <statement name="STATEMENT">
                        <block type="variables_set" id=",${esm~ZSiljnImc}dcx">
                        <field name="VAR" id="=?OmOeJXP(6k$Q8a4v1*">WaMa_Dauerzaehler</field>
                        <value name="VALUE">
                        <block type="math_number" id=";!%m^7forEuu5xZJ{}fV">
                        <field name="NUM">0</field>
                        </block>
                        </value>
                        </block>
                        </statement>
                        </block>
                        </next>
                        </block>
                        </next>
                        </block>
                        </next>
                        </block>
                        </next>
                        </block>
                        </next>
                        </block>
                        </statement>
                        </block>
                        </statement>
                        </block>
                        </next>
                        </block>
                        </next>
                        </block>
                        </xml>

                        L 1 Reply Last reply Reply Quote 0
                        • L
                          lessthanmore @Kusselin last edited by

                          @kusselin Über das "-" kannst du rauszoomen. Mach halt zur Not mehrere Screenshots.
                          Ich kann das Skript bei mir leider nicht importieren, da ich Telegram nicht nutze.

                          Kusselin 1 Reply Last reply Reply Quote 0
                          • Kusselin
                            Kusselin @lessthanmore last edited by

                            @lessthanmore ja stimmt das geht nicht wenn du pushover hast...hier die screens:
                            Image 5.png
                            Image 6.png

                            L 1 Reply Last reply Reply Quote 0
                            • L
                              lessthanmore @Kusselin last edited by lessthanmore

                              @kusselin Auf Waschstart und Waschende muss der Datenpunkt EnergyTotal, nicht Power. Power wird nur zum triggern verwendet.
                              Und verwende bitte „aktualisiere…“ und nicht „steuere…“ um eigene Datenpunkte zu schreiben. Das ist im Video falsch.

                              Kusselin 1 Reply Last reply Reply Quote 0
                              • Kusselin
                                Kusselin @lessthanmore last edited by

                                @lessthanmore o.k. so:

                                Image 7.png
                                Image 8.png

                                L 1 Reply Last reply Reply Quote 0
                                • L
                                  lessthanmore @Kusselin last edited by

                                  @kusselin Jap, sieht gut aus auf den ersten Blick.
                                  Teste es mal.

                                  Kusselin 1 Reply Last reply Reply Quote 0
                                  • Kusselin
                                    Kusselin @lessthanmore last edited by Kusselin

                                    @lessthanmore kann die Frau jetzt net schon wieder in die Waschküche jagen 😁

                                    Aber denke das es nicht lange dauern wird....dann melde ich mich wieder ....

                                    Wieder einiges gelernt ....

                                    Danke und Gruss

                                    Wo hast du sonst noch Zwischenstecker bei dir installiert?

                                    Für den Trockner kann ich das ja auch nehmen dann nur die Datenpunkte ämndern...

                                    L 1 Reply Last reply Reply Quote 0
                                    • L
                                      lessthanmore @Kusselin last edited by

                                      @kusselin Selbst ist der Mann. Mach einfach die Maschine kurz an und schau ob es klappt.

                                      Ich habe gar keine Zwischensteckdosen. Hängt bei mir im knx mit Messwertgebern. Die hängen an Waschmaschine, Trockner und Geschirrspülmaschine.

                                      Kusselin 1 Reply Last reply Reply Quote 0
                                      • Xenon
                                        Xenon Forum Testing Developer last edited by

                                        es wird wohl ein nie enden wollendes Thema hier

                                        -> Adapter device-reminder und nutzt die frei werdende Zeit für sinnvolle Sachen 😉

                                        L 1 Reply Last reply Reply Quote 0
                                        • L
                                          lessthanmore @Xenon last edited by lessthanmore

                                          @xenon Sowohl meine Waschmaschine als auch mein Geschirrspüler sind aus (Leistung = 0) obwohl das Programm noch nicht beendet ist.
                                          Die Waschmaschine braucht dann noch ca. 2 Minuten und der Geschirrspüler geht automatisch auf (ist weiterhin gesperrt) für ca. 1,5 Stunden zum Trocknen.
                                          Erst danach möchte ich eine Meldung und soweit ich das sehen kann, kann device-reminder das nicht.
                                          Und warum extra ein Adapter für so ein kleines Skript/ Funktion?

                                          Xenon 1 Reply Last reply Reply Quote 0
                                          • Xenon
                                            Xenon Forum Testing Developer @lessthanmore last edited by Xenon

                                            @lessthanmore sagte in NOUS Zwischenstecker mit Tasmota geflasht:

                                            @xenon Sowohl meine Waschmaschine als auch mein Geschirrspüler sind aus (Leistung = 0) obwohl das Programm noch nicht beendet ist.
                                            Die Waschmaschine braucht dann noch ca. 2 Minuten und der Geschirrspüler geht automatisch auf (ist weiterhin gesperrt) für ca. 1,5 Stunden zum Trocknen.
                                            Erst danach möchte ich eine Meldung und soweit ich das sehen kann, kann device-reminder das nicht.

                                            Natürlich kann er das, genau dafür habe ich ihn entwickelt. Wie kommst du auf so eine Aussage, wenn du ihn nicht mal installiert hast? Es wird der Verbrauchsdurchschnitt berechnet und nicht dieses einmalige Unterschreiten eines Schwellwertes mit timeout genutzt. Aber jeder wie er mag, aber solche Aussagen ohne eigene Tests finde ich schon fast frech 😉

                                            Und warum extra ein Adapter für so ein kleines Skript/ Funktion?

                                            Der Adapter ist nicht nur für eine Waschmaschine, sondern für alles, was den Verbrauch ausgeben kann. Ergo bräuchtest du für jedes Gerät ein Skript. Und wenn es so ein kleines Skript ist, warum gibt es dann hunderte Forenbeiträge die immer wieder das gleiche Problem haben?

                                            L 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            638
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            57
                                            2634
                                            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