Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. do4bmw

    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

    D
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 7
    • Best 0
    • Groups 1

    do4bmw

    @do4bmw

    Starter

    0
    Reputation
    9
    Profile views
    7
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    do4bmw Follow
    Starter

    Latest posts made by do4bmw

    • RE: S0 Stromzähler umrechnen in aktuelle Verbrauch

      @paul53 said in S0 Stromzähler umrechnen in aktuelle Verbrauch:

      @do4bmw sagte:

      ist das der wert den du meinst ?

      Ja.

      mein fehler

      hatte ein debounce von 1000msec drin

      nun ist der wert bei 468

      und schon klappt es auch mit der anzeige

      danke für die hilfe

      posted in Skripten / Logik
      D
      do4bmw
    • RE: S0 Stromzähler umrechnen in aktuelle Verbrauch

      @paul53 said in S0 Stromzähler umrechnen in aktuelle Verbrauch:

      @do4bmw sagte:

      bei 7.7KW kommt hier sehr häufig der wert 1014 durch

      Der Wert ist falsch. Du musst also die Ursache an der Quelle suchen.

      das ist der wert der mir das wemos D1 mit EasyESP als Time zurück gibt ...

      ist das der wert den du meinst ?

      posted in Skripten / Logik
      D
      do4bmw
    • RE: S0 Stromzähler umrechnen in aktuelle Verbrauch

      @paul53 said in S0 Stromzähler umrechnen in aktuelle Verbrauch:

      @do4bmw sagte:

      manchmal 2 impulse pro Sek kommen ... ist das dass problem ?

      Bei 7 kW müssen 2 Impulse pro Sekunde kommen. Das Skript wertet allerdings eine Zeit aus und enthält keine Begrenzung. Logge mal den Trigger-Wert, der bei 7 kW etwas über 500 enthalten muss.

      bei 7.7KW kommt hier sehr häufig der wert 1014 durch

      posted in Skripten / Logik
      D
      do4bmw
    • RE: S0 Stromzähler umrechnen in aktuelle Verbrauch

      @paul53 said in S0 Stromzähler umrechnen in aktuelle Verbrauch:

      @do4bmw sagte:

      Test mit 7KW last gemacht , leider zeigt das script nie mehr als ungefähr 3568watt an.

      Script ? Kommen ca. 2 Impulse pro s ?

      Hy

      das script habe ich von @GoodOld übernommen, sieht bei mir derzeit so aus

      und ja es kann schon sein das manchmal 2 impulse pro Sek kommen ... ist das dass problem ?
      gerade dann wenn man halt viele KW zieht.

      <xml xmlns="https://developers.google.com/blockly/xml">
        <variables>
          <variable id="Y*)uQOfA3A0pswm8w1GH">Wert</variable>
        </variables>
        <block type="on_ext" id="0Sk;oHtQ6S:k07HPnW?7" x="63" y="88">
          <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
          <field name="CONDITION">any</field>
          <field name="ACK_CONDITION"></field>
          <value name="OID0">
            <shadow type="field_oid" id="L/T2y/92sL}W_HXn2T1~">
              <field name="oid">mqtt.0.DO4BMW_S0-1.Strom.Time</field>
            </shadow>
          </value>
          <statement name="STATEMENT">
            <block type="controls_if" id="iUaf[k~^|w),4x.){V+F">
              <value name="IF0">
                <block type="logic_compare" id="t[QH7N-2s/0#f()E*+TK">
                  <field name="OP">GT</field>
                  <value name="A">
                    <block type="get_value" id="l,*,Z*N:qq6wgKXv[xRA">
                      <field name="ATTR">val</field>
                      <field name="OID">mqtt.0.DO4BMW_S0-1.Strom.Time</field>
                    </block>
                  </value>
                  <value name="B">
                    <block type="math_number" id="12!)ey:4h!i1Vcpa_P/.">
                      <field name="NUM">0</field>
                    </block>
                  </value>
                </block>
              </value>
              <statement name="DO0">
                <block type="variables_set" id="We#NKwtz7+;Hz#jm.(;}">
                  <field name="VAR" id="Y*)uQOfA3A0pswm8w1GH">Wert</field>
                  <value name="VALUE">
                    <block type="math_arithmetic" id="ej+i[]|eM4x7k?O^x^E7">
                      <field name="OP">DIVIDE</field>
                      <value name="A">
                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="h5vLrf=_}6A)FIyY4iyR">
                          <field name="NUM">1</field>
                        </shadow>
                        <block type="get_value" id="l|suXsLX?BHmSza7l|iJ">
                          <field name="ATTR">val</field>
                          <field name="OID">mqtt.0.DO4BMW_S0-1.Strom.Time</field>
                        </block>
                      </value>
                      <value name="B">
                        <shadow type="math_number" id="LM4@`W`A:}E8Y9it}x=+">
                          <field name="NUM">1000</field>
                        </shadow>
                      </value>
                    </block>
                  </value>
                  <next>
                    <block type="variables_set" id="~;[g2O3X(]AA,rIqaiF+">
                      <field name="VAR" id="Y*)uQOfA3A0pswm8w1GH">Wert</field>
                      <value name="VALUE">
                        <block type="math_arithmetic" id="8*o-g!6Okm;;z%}o*W65">
                          <field name="OP">DIVIDE</field>
                          <value name="A">
                            <shadow type="math_number" id="I[7R;75:Lju`h(5wk]:}">
                              <field name="NUM">3600</field>
                            </shadow>
                          </value>
                          <value name="B">
                            <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="d6ob|)J]{ekBQ]}g`P_4">
                              <field name="NUM">1000</field>
                            </shadow>
                            <block type="variables_get" id="/e/c.+=#@9#.ykM}aa+*">
                              <field name="VAR" id="Y*)uQOfA3A0pswm8w1GH">Wert</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <next>
                        <block type="control" id="Op`JzD}_|;6;ql1k2ON9">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">mqtt.0.DO4BMW_S0-1.Strom.Watt2</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="math_round" id="F=.oa5q#rl**.n0;FfkU">
                              <field name="OP">ROUND</field>
                              <value name="NUM">
                                <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="P=8-%G(uftUvKd|SikfY">
                                  <field name="NUM">3.1</field>
                                </shadow>
                                <block type="variables_get" id="0{|G%xhtf5NW3jz4NXe=">
                                  <field name="VAR" id="Y*)uQOfA3A0pswm8w1GH">Wert</field>
                                </block>
                              </value>
                            </block>
                          </value>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </statement>
            </block>
          </statement>
        </block>
      </xml>
      
      posted in Skripten / Logik
      D
      do4bmw
    • RE: S0 Stromzähler umrechnen in aktuelle Verbrauch

      niemand 😞

      posted in Skripten / Logik
      D
      do4bmw
    • RE: S0 Stromzähler umrechnen in aktuelle Verbrauch

      oder hat jemand anderes vieleicht eine idee dazu ?

      posted in Skripten / Logik
      D
      do4bmw
    • RE: S0 Stromzähler umrechnen in aktuelle Verbrauch

      @GoodOld Hy Ich hoffe du bist noch aktiv

      bin auch gerade neu in ioBroker angekommen und habe dein Script entdeckt.

      Grundsätzlich funktioniert es wunderbar , nur wenn ich einen Verbrauch von mehr als 3600Watt habe zeigt es nicht mehr an.

      habe ein Test mit 7KW last gemacht , leider zeigt das script nie mehr als ungefähr 3568watt an.

      Zähler macht 1000imp/kWh , habe die 1000 Stehen lassen

      irgendeine idee ?

      gruß Benny

      posted in Skripten / Logik
      D
      do4bmw
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo