Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Waschmaschine plus Verbrauchskosten

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.3k

Waschmaschine plus Verbrauchskosten

Geplant Angeheftet Gesperrt Verschoben Skripten / Logik
blocklymonitoring
3 Beiträge 3 Kommentatoren 564 Aufrufe 4 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • D Offline
    D Offline
    digitalnaive
    schrieb am zuletzt editiert von
    #1

    Hallo zusammen,

    leider bin ich noch nicht ganz so erfahren mit den Scripten. Folgendes Script habe ich für meine Waschmaschine gebaut, habe hier aber versucht ein existierendes Script von einem anderen Nutzer für den gleichen Homematic Stromadapter zu übernehmen. Leider bringt es noch nicht den gewünschten Erfolg. Wie finde ich denn am besten die niedrigen Schwellen für Reststrom raus?

    80df51ac-2421-443e-8055-bf51c768cf33-image.png

    <xml xmlns="http://www.w3.org/1999/xhtml">
      <variables>
        <variable type="undefined" id="timeout">timeout</variable>
      </variables>
      <block type="on_ext" id="Zxp?zp.hXwA.q7]2,21Z" x="-6287" y="-1562">
        <mutation items="1"></mutation>
        <field name="CONDITION">ne</field>
        <field name="ACK_CONDITION"></field>
        <value name="OID0">
          <shadow type="field_oid" id="u};dfbiaXXzSzB1=|W!,">
            <field name="oid">default</field>
          </shadow>
          <block type="field_oid" id="6[o5v#:4%*}Jn#!}Fypx">
            <field name="oid">hm-rpc.2.0001D3C99C9790.6.CURRENT</field>
          </block>
        </value>
        <statement name="STATEMENT">
          <block type="controls_if" id="n!-/KeR^m;D;]=m_jOZk">
            <mutation else="1"></mutation>
            <value name="IF0">
              <block type="logic_operation" id="9-@|%^H{`/1nL/e7Q3H5">
                <field name="OP">AND</field>
                <value name="A">
                  <block type="logic_compare" id="#]DTc6uEt2cVjekF@(7}">
                    <field name="OP">LTE</field>
                    <value name="A">
                      <block type="get_value" id="~QTL^yp1/W1(5v-hdJOT">
                        <field name="ATTR">val</field>
                        <field name="OID">hm-rpc.2.0001D3C99C9790.6.POWER</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="math_number" id="RZkwU6|ZSz^c!6C6lXH^">
                        <field name="NUM">4</field>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_compare" id="%_PR~/NddiDWL!^JgjXL">
                    <field name="OP">LTE</field>
                    <value name="A">
                      <block type="get_value" id="3g5#kWI;tK}Rb3K!Jwm5">
                        <field name="ATTR">val</field>
                        <field name="OID">hm-rpc.2.0001D3C99C9790.6.CURRENT</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="math_number" id="9)9L6c0C8|uaST*MaI9S">
                        <field name="NUM">60</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="update" id="eSJ`};z^:E+|ycBI)KuO">
                <mutation delay_input="false"></mutation>
                <field name="OID">datenpunkte.homematic.Waschmaschine.last_value</field>
                <field name="WITH_DELAY">FALSE</field>
                <value name="VALUE">
                  <block type="get_value" id="y(sS3uS2@nF(ReIxRxY#">
                    <field name="ATTR">val</field>
                    <field name="OID">hm-rpc.2.0001D3C99C9790.6.ENERGY_COUNTER</field>
                  </block>
                </value>
                <next>
                  <block type="timeouts_cleartimeout" id="{[c7Gm}9NwBrI~#qMU3K">
                    <field name="NAME">timeout</field>
                    <next>
                      <block type="timeouts_settimeout" id="IU;rFh[(22kx[=s*m%ry">
                        <field name="NAME">timeout</field>
                        <field name="DELAY">3</field>
                        <field name="UNIT">min</field>
                        <statement name="STATEMENT">
                          <block type="controls_if" id="DCxameKuP7;mgIUgrTx|">
                            <mutation else="1"></mutation>
                            <value name="IF0">
                              <block type="logic_operation" id="GA)zL])6:008r7^*[kik">
                                <field name="OP">AND</field>
                                <value name="A">
                                  <block type="logic_compare" id="5yP4m`dajQlTJy*kR?xJ">
                                    <field name="OP">LTE</field>
                                    <value name="A">
                                      <block type="get_value" id="z2X)wySRtAk8a1#5f=11">
                                        <field name="ATTR">val</field>
                                        <field name="OID">hm-rpc.2.0001D3C99C9790.6.POWER</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="math_number" id="S{Ky:p-sC=tN+H11jYs6">
                                        <field name="NUM">4</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_compare" id="5B9VPy:*@Y-!6C!_suj#">
                                    <field name="OP">LTE</field>
                                    <value name="A">
                                      <block type="get_value" id="mL*m_yecdoap4=.IgOwH">
                                        <field name="ATTR">val</field>
                                        <field name="OID">hm-rpc.2.0001D3C99C9790.6.CURRENT</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="math_number" id=")uLL}#gWxZ8)BZY*w6k[">
                                        <field name="NUM">60</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="control" id="REi:cF}:iF-^u2??Kxpd">
                                <mutation delay_input="false"></mutation>
                                <field name="OID">datenpunkte.homematic.WM_aus</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id="J|/Ouo+TyNo02ocj.H0Q">
                                    <field name="BOOL">TRUE</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="update" id="6tDA7%e~8gdD%Q{pnCeS">
                                    <mutation delay_input="false"></mutation>
                                    <field name="OID">datenpunkte.homematic.Waschmaschine.new_value</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="get_value" id="0EgV_m%6n?8ZfxGdCSfx">
                                        <field name="ATTR">val</field>
                                        <field name="OID">hm-rpc.2.0001D3C99C9790.6.ENERGY_COUNTER</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="telegram" id="?*z%p(|KA0Rt)Fk-Yzx|">
                                        <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="ueT7]*4ej`U;{0,EGZ{w">
                                            <field name="TEXT">Waschmaschine ist fertig</field>
                                          </shadow>
                                          <block type="text_join" id="C.N{zv.r14=#rcvwC@P@">
                                            <mutation items="4"></mutation>
                                            <value name="ADD0">
                                              <block type="text" id="[y7d#?v)5s1gNx-eOr3V">
                                                <field name="TEXT">Die Waschmaschine ist fertig.</field>
                                              </block>
                                            </value>
                                            <value name="ADD1">
                                              <block type="text" id="%!AmEIpsok,ejf[|O#ta">
                                                <field name="TEXT">Kostenpunkt: </field>
                                              </block>
                                            </value>
                                            <value name="ADD2">
                                              <block type="math_arithmetic" id="`#p0|ofbWjl:[FlYD/fV">
                                                <field name="OP">MULTIPLY</field>
                                                <value name="A">
                                                  <shadow type="math_number" id="*9eg%`uDeK5!y-j#m1U~">
                                                    <field name="NUM">1</field>
                                                  </shadow>
                                                  <block type="get_value" id="xo7VlW^0tB9o+:)vG~dc">
                                                    <field name="ATTR">val</field>
                                                    <field name="OID">datenpunkte.homematic.Waschmaschine.latest_consumption</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <shadow type="math_number" id="CzHPA[0s=!fdqw{^6ln`">
                                                    <field name="NUM">1</field>
                                                  </shadow>
                                                  <block type="math_number" id="*BMY@W./7wm^L*MXcoo9">
                                                    <field name="NUM">0.00025</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="ADD3">
                                              <block type="text" id="v@7zuqPV{IKEoe?Pi+GA">
                                                <field name="TEXT"> €</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="control" id="MNJR%zQakS3T}_31a57V">
                                            <mutation delay_input="false"></mutation>
                                            <field name="OID">alexa2.0.Echo-Devices.G090LB09745500MA.Commands.speak-volume</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="math_number" id="X!=y*/.p{Q65rEFw#Oi;">
                                                <field name="NUM">10</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="control" id="}tX`Ix|7_7@FklQFe0}f">
                                                <mutation delay_input="false"></mutation>
                                                <field name="OID">alexa2.0.Echo-Devices.G090LB09745500MA.Commands.speak</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="text" id="T_oC]_lQoCUFb4GLP!]-">
                                                    <field name="TEXT">Waschmaschine ist fertig</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </statement>
                            <statement name="ELSE">
                              <block type="control" id="6ZSM@%fNfX+tU{.E@@#(">
                                <mutation delay_input="false"></mutation>
                                <field name="OID">datenpunkte.homematic.WM_aus</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id="q2y7R[QASGh9ee6r-P~2">
                                    <field name="BOOL">FALSE</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                          </block>
                        </statement>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </statement>
            <statement name="ELSE">
              <block type="control" id="M1=h]kSA4WQ3_KA0Co!l">
                <mutation delay_input="false"></mutation>
                <field name="OID">datenpunkte.homematic.WM_aus</field>
                <field name="WITH_DELAY">FALSE</field>
                <value name="VALUE">
                  <block type="logic_boolean" id="l3ly|,?U}N}P6#rZZ35n">
                    <field name="BOOL">FALSE</field>
                  </block>
                </value>
              </block>
            </statement>
          </block>
        </statement>
      </block>
    </xml>
    

    Die Kostenberechnung ist ein Nebeneffekt, den ich über wegschreiben von Werten in ein anderes Objekt zu lösen versuche. Mir geht es primär darum, dass meine Meldung mit der Fertigstellung des Waschgangs funktioniert.

    1 Antwort Letzte Antwort
    0
    • S Offline
      S Offline
      skokarl
      schrieb am zuletzt editiert von
      #2

      waschen, waschen, waschen.....und dabei die Stromaufnahme beobachten.

      IOBroker mit Proxmox auf Celeron Nuc mit 16 GB und Debian11, Sonos API, Echo Show 15 als Wandtablet, Homematic IP, HUE, Sonos, Echos, DS718+ als Backup

      1 Antwort Letzte Antwort
      0
      • RöstkartoffelR Offline
        RöstkartoffelR Offline
        Röstkartoffel
        schrieb am zuletzt editiert von Röstkartoffel
        #3

        Am besten ist es auch, die Strom- und Leistungsaufnahme mittels History mitzuloggen, das erleichtert das Auswerten

        NUC7i3BNH mit Proxmox und ioBroker (VM Debian Buster), Raspi3 (Slave Smartmeter für eHZ easymeter), Hardware CCU2, SMA SB5000TL-21

        1 Antwort Letzte Antwort
        0
        Antworten
        • In einem neuen Thema antworten
        Anmelden zum Antworten
        • Älteste zuerst
        • Neuste zuerst
        • Meiste Stimmen


        Support us

        ioBroker
        Community Adapters
        Donate

        774

        Online

        32.6k

        Benutzer

        82.2k

        Themen

        1.3m

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

        • Du hast noch kein Konto? Registrieren

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