Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • 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. Blockly
  5. Überschuss Wärmepumpe

NEWS

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    8
    1
    472

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    10
    1
    392

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    979

Überschuss Wärmepumpe

Geplant Angeheftet Gesperrt Verschoben Blockly
9 Beiträge 2 Kommentatoren 832 Aufrufe 1 Beobachtet
  • Ä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.
  • M Online
    M Online
    madison
    schrieb am zuletzt editiert von madison
    #1

    Muss das Thema noch einmal aufgreifen.
    Derzeit sieht mein Script so aus:

    <block xmlns="https://developers.google.com/blockly/xml" type="procedures_defnoreturn" id="Ma~~XRRb?+r37-Nc_I6t" x="813" y="463">
      <field name="NAME">switchOff</field>
      <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
      <statement name="STACK">
        <block type="controls_if" id=",Egp%5VyFA4~BuM*|2-|">
          <value name="IF0">
            <block type="logic_operation" id="(v5+?t,At.q]*haeK/fb" inline="false">
              <field name="OP">AND</field>
              <value name="A">
                <block type="logic_compare" id="L4Io-de}E2a4ta`LJ9NC">
                  <field name="OP">EQ</field>
                  <value name="A">
                    <block type="logic_operation" id="LMS1G.{eF#;EVoZj3CCS">
                      <field name="OP">AND</field>
                      <value name="A">
                        <block type="variables_get" id="qd+g@:p3t285N6Qz;Dl5">
                          <field name="VAR" id="+l8CB%A26RkWF;d6hPt^">gr100</field>
                        </block>
                      </value>
                      <value name="B">
                        <block type="variables_get" id="i+;3+schEOyhG*^i9+$~">
                          <field name="VAR" id="B7QKKsZJJ/rD9$B7mY6C">switch1h</field>
                        </block>
                      </value>
                    </block>
                  </value>
                  <value name="B">
                    <block type="logic_boolean" id="9Yl*CFo^j2hT_i%wY{4*">
                      <field name="BOOL">TRUE</field>
                    </block>
                  </value>
                </block>
              </value>
              <value name="B">
                <block type="logic_compare" id="ow/FdN|$ThNgIO?.yN]T">
                  <field name="OP">GT</field>
                  <value name="A">
                    <block type="get_value" id="v]?-?hf8HfB?D63nk;|A">
                      <field name="ATTR">val</field>
                      <field name="OID">sonoff.0.DVES_F572FC.DS18B20-3_Temperature</field>
                    </block>
                  </value>
                  <value name="B">
                    <block type="math_number" id="EKA{Zn)Tii@{s7}u]G6M">
                      <field name="NUM">42</field>
                    </block>
                  </value>
                </block>
              </value>
            </block>
          </value>
          <statement name="DO0">
            <block type="control" id="(|[X898Jn$%eta8@h%$I">
              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
              <field name="OID">sonoff.0.DVES_F572FC.POWER</field>
              <field name="WITH_DELAY">FALSE</field>
              <value name="VALUE">
                <block type="logic_boolean" id="{w9Ai~l*Td~H+xVOGn?J">
                  <field name="BOOL">FALSE</field>
                </block>
              </value>
            </block>
          </statement>
        </block>
      </statement>
    </block>
    

    Doch leider funktioniert das mit der Stunde nicht richtig, die Wärmepumpe sollte ja mind. eine Stunde laufen bevor sie abgeschaltet wird.
    Screenshot 2022-05-10 114708.jpg
    Hat jemand eine idee wo das Problem liegen könnte?

    paul53P 1 Antwort Letzte Antwort
    0
    • M madison

      Muss das Thema noch einmal aufgreifen.
      Derzeit sieht mein Script so aus:

      <block xmlns="https://developers.google.com/blockly/xml" type="procedures_defnoreturn" id="Ma~~XRRb?+r37-Nc_I6t" x="813" y="463">
        <field name="NAME">switchOff</field>
        <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
        <statement name="STACK">
          <block type="controls_if" id=",Egp%5VyFA4~BuM*|2-|">
            <value name="IF0">
              <block type="logic_operation" id="(v5+?t,At.q]*haeK/fb" inline="false">
                <field name="OP">AND</field>
                <value name="A">
                  <block type="logic_compare" id="L4Io-de}E2a4ta`LJ9NC">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="logic_operation" id="LMS1G.{eF#;EVoZj3CCS">
                        <field name="OP">AND</field>
                        <value name="A">
                          <block type="variables_get" id="qd+g@:p3t285N6Qz;Dl5">
                            <field name="VAR" id="+l8CB%A26RkWF;d6hPt^">gr100</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="variables_get" id="i+;3+schEOyhG*^i9+$~">
                            <field name="VAR" id="B7QKKsZJJ/rD9$B7mY6C">switch1h</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_boolean" id="9Yl*CFo^j2hT_i%wY{4*">
                        <field name="BOOL">TRUE</field>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_compare" id="ow/FdN|$ThNgIO?.yN]T">
                    <field name="OP">GT</field>
                    <value name="A">
                      <block type="get_value" id="v]?-?hf8HfB?D63nk;|A">
                        <field name="ATTR">val</field>
                        <field name="OID">sonoff.0.DVES_F572FC.DS18B20-3_Temperature</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="math_number" id="EKA{Zn)Tii@{s7}u]G6M">
                        <field name="NUM">42</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="control" id="(|[X898Jn$%eta8@h%$I">
                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                <field name="OID">sonoff.0.DVES_F572FC.POWER</field>
                <field name="WITH_DELAY">FALSE</field>
                <value name="VALUE">
                  <block type="logic_boolean" id="{w9Ai~l*Td~H+xVOGn?J">
                    <field name="BOOL">FALSE</field>
                  </block>
                </value>
              </block>
            </statement>
          </block>
        </statement>
      </block>
      

      Doch leider funktioniert das mit der Stunde nicht richtig, die Wärmepumpe sollte ja mind. eine Stunde laufen bevor sie abgeschaltet wird.
      Screenshot 2022-05-10 114708.jpg
      Hat jemand eine idee wo das Problem liegen könnte?

      paul53P Offline
      paul53P Offline
      paul53
      schrieb am zuletzt editiert von
      #2

      @madison sagte: Derzeit sieht mein Script so aus:

      Das ist nur eine Funktion, die nirgends aufgerufen wird und zwei Variablen auswertet, die nirgends gesetzt werden.

      Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
      Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

      M 1 Antwort Letzte Antwort
      0
      • paul53P paul53

        @madison sagte: Derzeit sieht mein Script so aus:

        Das ist nur eine Funktion, die nirgends aufgerufen wird und zwei Variablen auswertet, die nirgends gesetzt werden.

        M Online
        M Online
        madison
        schrieb am zuletzt editiert von madison
        #3

        @paul53 ist der export von dem Blockly

        Screenshot 2022-05-10 163916.jpg
        sorry, war beim export nicht alles dabei

        <xml xmlns="https://developers.google.com/blockly/xml">
          <variables>
            <variable type="timeout" id="timeout1">timeout1</variable>
            <variable type="timeout" id="timeout2">timeout2</variable>
            <variable type="timeout" id="timeout3">timeout3</variable>
            <variable id="+l8CB%A26RkWF;d6hPt^">gr100</variable>
            <variable id="B7QKKsZJJ/rD9$B7mY6C">switch1h</variable>
          </variables>
          <block type="on" id="F!!Ou/C`OjBU2N;2s?US" x="188" y="38">
            <field name="OID">fronius.0.powerflow.P_Grid</field>
            <field name="CONDITION">ne</field>
            <field name="ACK_CONDITION"></field>
            <statement name="STATEMENT">
              <block type="controls_if" id="qjZ;R!,!*H=11p#Egh+v">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="?]lGz,I4K),UYyo[4%98">
                    <field name="OP">LT</field>
                    <value name="A">
                      <block type="on_source" id="{LBQshF_hKMC,Wp=O!@@">
                        <field name="ATTR">state.val</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="math_number" id="Bp?Fi=(b0uKhdv*u!Q6x">
                        <field name="NUM">-500</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="timeouts_settimeout" id="=LFs$DUT/hJCCGhQVXhv">
                    <field name="NAME">timeout1</field>
                    <field name="DELAY">2</field>
                    <field name="UNIT">min</field>
                    <statement name="STATEMENT">
                      <block type="controls_if" id="b~mna{[e9y^z0HBTa7PW">
                        <value name="IF0">
                          <block type="logic_compare" id="HKpI5DKrAmnAcSak4W;s">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="get_value" id="nyl~uf0Z2+_6kN1*+g?$">
                                <field name="ATTR">val</field>
                                <field name="OID">sonoff.0.DVES_F572FC.POWER</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_boolean" id="k}DMur}sC,{*c[WncO63">
                                <field name="BOOL">FALSE</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="control" id="(zGO6Qkwq(f8e%kO|8Sg">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">sonoff.0.DVES_F572FC.POWER</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="/6AaiPMn826qm8P53w7[">
                                <field name="BOOL">TRUE</field>
                              </block>
                            </value>
                          </block>
                        </statement>
                      </block>
                    </statement>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="timeouts_cleartimeout" id="%Zy:%ZMXlarV9@amW2bs">
                    <field name="NAME">timeout1</field>
                  </block>
                </statement>
                <next>
                  <block type="controls_if" id="{[diRkfyM[.]Jtxg$4U)">
                    <mutation else="1"></mutation>
                    <value name="IF0">
                      <block type="logic_compare" id="-`b=fhm{mPh095}0@KuI">
                        <field name="OP">GT</field>
                        <value name="A">
                          <block type="on_source" id="sETxhFI[-k*;pp3ZGJS_">
                            <field name="ATTR">state.val</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="HqJ?48]sqCU]MT/=DZp`">
                            <field name="NUM">100</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="timeouts_settimeout" id="$=NLcQVhfZO0,4%KbZfE">
                        <field name="NAME">timeout2</field>
                        <field name="DELAY">10</field>
                        <field name="UNIT">min</field>
                        <statement name="STATEMENT">
                          <block type="variables_set" id="b(=m)mt`IWT;sY~E?}g7">
                            <field name="VAR" id="+l8CB%A26RkWF;d6hPt^">gr100</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="M1wU31[B,uJ-Q@riDi|P">
                                <field name="BOOL">TRUE</field>
                              </block>
                            </value>
                            <next>
                              <block type="procedures_callnoreturn" id="bnJaxS]jMkxSPHlI=vqR">
                                <mutation name="switchOff"></mutation>
                              </block>
                            </next>
                          </block>
                        </statement>
                      </block>
                    </statement>
                    <statement name="ELSE">
                      <block type="timeouts_cleartimeout" id="[@T#iDT$Ud2;O,6;W.H/">
                        <field name="NAME">timeout2</field>
                        <next>
                          <block type="variables_set" id="i;,RLCdV},^zEa*_6cM2">
                            <field name="VAR" id="+l8CB%A26RkWF;d6hPt^">gr100</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="TUjF#,9drH]syK5szgO:">
                                <field name="BOOL">FALSE</field>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </statement>
            <next>
              <block type="on_ext" id="(xXt]eB6)Vix.:KPkq!}">
                <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 xmlns="http://www.w3.org/1999/xhtml" type="field_oid" id="l_u/*Kbe1kX5xiQVF*p+">
                    <field name="oid">default</field>
                  </shadow>
                  <block type="text" id="nR@Mw^]bR6W}x@_KE7g)">
                    <field name="TEXT">DVES_F572FC POWER</field>
                  </block>
                </value>
                <statement name="STATEMENT">
                  <block type="controls_if" id="7b$3~[60wWg@u1}{Hj?/">
                    <mutation else="1"></mutation>
                    <value name="IF0">
                      <block type="on_source" id="{Nr0}siZHCC!+`5xxx}~">
                        <field name="ATTR">state.val</field>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="timeouts_settimeout" id="67xG/z!M$Uw-hlOqs_?j">
                        <field name="NAME">timeout3</field>
                        <field name="DELAY">60</field>
                        <field name="UNIT">min</field>
                        <statement name="STATEMENT">
                          <block type="variables_set" id=",)^HX7BCttUtUiJ6^8qH">
                            <field name="VAR" id="B7QKKsZJJ/rD9$B7mY6C">switch1h</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="!N(NF}d41aaElY%yc,)G">
                                <field name="BOOL">TRUE</field>
                              </block>
                            </value>
                            <next>
                              <block type="procedures_callnoreturn" id="o;QuduYqb*E@=3}E[bO{">
                                <mutation name="switchOff"></mutation>
                              </block>
                            </next>
                          </block>
                        </statement>
                      </block>
                    </statement>
                    <statement name="ELSE">
                      <block type="timeouts_cleartimeout" id="q){%NyVclQ|!6ej%+0SP">
                        <field name="NAME">timeout3</field>
                        <next>
                          <block type="variables_set" id="wApdLjyIMtf~^5?x|$6}">
                            <field name="VAR" id="B7QKKsZJJ/rD9$B7mY6C">switch1h</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="q^-E#(SI3vcifr+9Lek=">
                                <field name="BOOL">FALSE</field>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </statement>
                  </block>
                </statement>
              </block>
            </next>
          </block>
          <block type="procedures_defnoreturn" id="Ma~~XRRb?+r37-Nc_I6t" x="788" y="363">
            <field name="NAME">switchOff</field>
            <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
            <statement name="STACK">
              <block type="controls_if" id=",Egp%5VyFA4~BuM*|2-|">
                <value name="IF0">
                  <block type="logic_operation" id="(v5+?t,At.q]*haeK/fb" inline="false">
                    <field name="OP">AND</field>
                    <value name="A">
                      <block type="logic_compare" id="L4Io-de}E2a4ta`LJ9NC">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="logic_operation" id="LMS1G.{eF#;EVoZj3CCS">
                            <field name="OP">AND</field>
                            <value name="A">
                              <block type="variables_get" id="qd+g@:p3t285N6Qz;Dl5">
                                <field name="VAR" id="+l8CB%A26RkWF;d6hPt^">gr100</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="variables_get" id="i+;3+schEOyhG*^i9+$~">
                                <field name="VAR" id="B7QKKsZJJ/rD9$B7mY6C">switch1h</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_boolean" id="9Yl*CFo^j2hT_i%wY{4*">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_compare" id="ow/FdN|$ThNgIO?.yN]T">
                        <field name="OP">GT</field>
                        <value name="A">
                          <block type="get_value" id="v]?-?hf8HfB?D63nk;|A">
                            <field name="ATTR">val</field>
                            <field name="OID">sonoff.0.DVES_F572FC.DS18B20-3_Temperature</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="EKA{Zn)Tii@{s7}u]G6M">
                            <field name="NUM">42</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="control" id="(|[X898Jn$%eta8@h%$I">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                    <field name="OID">sonoff.0.DVES_F572FC.POWER</field>
                    <field name="WITH_DELAY">FALSE</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id="{w9Ai~l*Td~H+xVOGn?J">
                        <field name="BOOL">FALSE</field>
                      </block>
                    </value>
                  </block>
                </statement>
              </block>
            </statement>
          </block>
        </xml>
        
        paul53P 1 Antwort Letzte Antwort
        0
        • M madison

          @paul53 ist der export von dem Blockly

          Screenshot 2022-05-10 163916.jpg
          sorry, war beim export nicht alles dabei

          <xml xmlns="https://developers.google.com/blockly/xml">
            <variables>
              <variable type="timeout" id="timeout1">timeout1</variable>
              <variable type="timeout" id="timeout2">timeout2</variable>
              <variable type="timeout" id="timeout3">timeout3</variable>
              <variable id="+l8CB%A26RkWF;d6hPt^">gr100</variable>
              <variable id="B7QKKsZJJ/rD9$B7mY6C">switch1h</variable>
            </variables>
            <block type="on" id="F!!Ou/C`OjBU2N;2s?US" x="188" y="38">
              <field name="OID">fronius.0.powerflow.P_Grid</field>
              <field name="CONDITION">ne</field>
              <field name="ACK_CONDITION"></field>
              <statement name="STATEMENT">
                <block type="controls_if" id="qjZ;R!,!*H=11p#Egh+v">
                  <mutation else="1"></mutation>
                  <value name="IF0">
                    <block type="logic_compare" id="?]lGz,I4K),UYyo[4%98">
                      <field name="OP">LT</field>
                      <value name="A">
                        <block type="on_source" id="{LBQshF_hKMC,Wp=O!@@">
                          <field name="ATTR">state.val</field>
                        </block>
                      </value>
                      <value name="B">
                        <block type="math_number" id="Bp?Fi=(b0uKhdv*u!Q6x">
                          <field name="NUM">-500</field>
                        </block>
                      </value>
                    </block>
                  </value>
                  <statement name="DO0">
                    <block type="timeouts_settimeout" id="=LFs$DUT/hJCCGhQVXhv">
                      <field name="NAME">timeout1</field>
                      <field name="DELAY">2</field>
                      <field name="UNIT">min</field>
                      <statement name="STATEMENT">
                        <block type="controls_if" id="b~mna{[e9y^z0HBTa7PW">
                          <value name="IF0">
                            <block type="logic_compare" id="HKpI5DKrAmnAcSak4W;s">
                              <field name="OP">EQ</field>
                              <value name="A">
                                <block type="get_value" id="nyl~uf0Z2+_6kN1*+g?$">
                                  <field name="ATTR">val</field>
                                  <field name="OID">sonoff.0.DVES_F572FC.POWER</field>
                                </block>
                              </value>
                              <value name="B">
                                <block type="logic_boolean" id="k}DMur}sC,{*c[WncO63">
                                  <field name="BOOL">FALSE</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <statement name="DO0">
                            <block type="control" id="(zGO6Qkwq(f8e%kO|8Sg">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">sonoff.0.DVES_F572FC.POWER</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id="/6AaiPMn826qm8P53w7[">
                                  <field name="BOOL">TRUE</field>
                                </block>
                              </value>
                            </block>
                          </statement>
                        </block>
                      </statement>
                    </block>
                  </statement>
                  <statement name="ELSE">
                    <block type="timeouts_cleartimeout" id="%Zy:%ZMXlarV9@amW2bs">
                      <field name="NAME">timeout1</field>
                    </block>
                  </statement>
                  <next>
                    <block type="controls_if" id="{[diRkfyM[.]Jtxg$4U)">
                      <mutation else="1"></mutation>
                      <value name="IF0">
                        <block type="logic_compare" id="-`b=fhm{mPh095}0@KuI">
                          <field name="OP">GT</field>
                          <value name="A">
                            <block type="on_source" id="sETxhFI[-k*;pp3ZGJS_">
                              <field name="ATTR">state.val</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="math_number" id="HqJ?48]sqCU]MT/=DZp`">
                              <field name="NUM">100</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <statement name="DO0">
                        <block type="timeouts_settimeout" id="$=NLcQVhfZO0,4%KbZfE">
                          <field name="NAME">timeout2</field>
                          <field name="DELAY">10</field>
                          <field name="UNIT">min</field>
                          <statement name="STATEMENT">
                            <block type="variables_set" id="b(=m)mt`IWT;sY~E?}g7">
                              <field name="VAR" id="+l8CB%A26RkWF;d6hPt^">gr100</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id="M1wU31[B,uJ-Q@riDi|P">
                                  <field name="BOOL">TRUE</field>
                                </block>
                              </value>
                              <next>
                                <block type="procedures_callnoreturn" id="bnJaxS]jMkxSPHlI=vqR">
                                  <mutation name="switchOff"></mutation>
                                </block>
                              </next>
                            </block>
                          </statement>
                        </block>
                      </statement>
                      <statement name="ELSE">
                        <block type="timeouts_cleartimeout" id="[@T#iDT$Ud2;O,6;W.H/">
                          <field name="NAME">timeout2</field>
                          <next>
                            <block type="variables_set" id="i;,RLCdV},^zEa*_6cM2">
                              <field name="VAR" id="+l8CB%A26RkWF;d6hPt^">gr100</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id="TUjF#,9drH]syK5szgO:">
                                  <field name="BOOL">FALSE</field>
                                </block>
                              </value>
                            </block>
                          </next>
                        </block>
                      </statement>
                    </block>
                  </next>
                </block>
              </statement>
              <next>
                <block type="on_ext" id="(xXt]eB6)Vix.:KPkq!}">
                  <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 xmlns="http://www.w3.org/1999/xhtml" type="field_oid" id="l_u/*Kbe1kX5xiQVF*p+">
                      <field name="oid">default</field>
                    </shadow>
                    <block type="text" id="nR@Mw^]bR6W}x@_KE7g)">
                      <field name="TEXT">DVES_F572FC POWER</field>
                    </block>
                  </value>
                  <statement name="STATEMENT">
                    <block type="controls_if" id="7b$3~[60wWg@u1}{Hj?/">
                      <mutation else="1"></mutation>
                      <value name="IF0">
                        <block type="on_source" id="{Nr0}siZHCC!+`5xxx}~">
                          <field name="ATTR">state.val</field>
                        </block>
                      </value>
                      <statement name="DO0">
                        <block type="timeouts_settimeout" id="67xG/z!M$Uw-hlOqs_?j">
                          <field name="NAME">timeout3</field>
                          <field name="DELAY">60</field>
                          <field name="UNIT">min</field>
                          <statement name="STATEMENT">
                            <block type="variables_set" id=",)^HX7BCttUtUiJ6^8qH">
                              <field name="VAR" id="B7QKKsZJJ/rD9$B7mY6C">switch1h</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id="!N(NF}d41aaElY%yc,)G">
                                  <field name="BOOL">TRUE</field>
                                </block>
                              </value>
                              <next>
                                <block type="procedures_callnoreturn" id="o;QuduYqb*E@=3}E[bO{">
                                  <mutation name="switchOff"></mutation>
                                </block>
                              </next>
                            </block>
                          </statement>
                        </block>
                      </statement>
                      <statement name="ELSE">
                        <block type="timeouts_cleartimeout" id="q){%NyVclQ|!6ej%+0SP">
                          <field name="NAME">timeout3</field>
                          <next>
                            <block type="variables_set" id="wApdLjyIMtf~^5?x|$6}">
                              <field name="VAR" id="B7QKKsZJJ/rD9$B7mY6C">switch1h</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id="q^-E#(SI3vcifr+9Lek=">
                                  <field name="BOOL">FALSE</field>
                                </block>
                              </value>
                            </block>
                          </next>
                        </block>
                      </statement>
                    </block>
                  </statement>
                </block>
              </next>
            </block>
            <block type="procedures_defnoreturn" id="Ma~~XRRb?+r37-Nc_I6t" x="788" y="363">
              <field name="NAME">switchOff</field>
              <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
              <statement name="STACK">
                <block type="controls_if" id=",Egp%5VyFA4~BuM*|2-|">
                  <value name="IF0">
                    <block type="logic_operation" id="(v5+?t,At.q]*haeK/fb" inline="false">
                      <field name="OP">AND</field>
                      <value name="A">
                        <block type="logic_compare" id="L4Io-de}E2a4ta`LJ9NC">
                          <field name="OP">EQ</field>
                          <value name="A">
                            <block type="logic_operation" id="LMS1G.{eF#;EVoZj3CCS">
                              <field name="OP">AND</field>
                              <value name="A">
                                <block type="variables_get" id="qd+g@:p3t285N6Qz;Dl5">
                                  <field name="VAR" id="+l8CB%A26RkWF;d6hPt^">gr100</field>
                                </block>
                              </value>
                              <value name="B">
                                <block type="variables_get" id="i+;3+schEOyhG*^i9+$~">
                                  <field name="VAR" id="B7QKKsZJJ/rD9$B7mY6C">switch1h</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <value name="B">
                            <block type="logic_boolean" id="9Yl*CFo^j2hT_i%wY{4*">
                              <field name="BOOL">TRUE</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <value name="B">
                        <block type="logic_compare" id="ow/FdN|$ThNgIO?.yN]T">
                          <field name="OP">GT</field>
                          <value name="A">
                            <block type="get_value" id="v]?-?hf8HfB?D63nk;|A">
                              <field name="ATTR">val</field>
                              <field name="OID">sonoff.0.DVES_F572FC.DS18B20-3_Temperature</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="math_number" id="EKA{Zn)Tii@{s7}u]G6M">
                              <field name="NUM">42</field>
                            </block>
                          </value>
                        </block>
                      </value>
                    </block>
                  </value>
                  <statement name="DO0">
                    <block type="control" id="(|[X898Jn$%eta8@h%$I">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                      <field name="OID">sonoff.0.DVES_F572FC.POWER</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="logic_boolean" id="{w9Ai~l*Td~H+xVOGn?J">
                          <field name="BOOL">FALSE</field>
                        </block>
                      </value>
                    </block>
                  </statement>
                </block>
              </statement>
            </block>
          </xml>
          
          paul53P Offline
          paul53P Offline
          paul53
          schrieb am zuletzt editiert von paul53
          #4

          @madison
          Die Timer timeout1 und timeout2 werden mehrfach gestartet und lassen sich nicht mehr stoppen. Besser so:

          Bild_2022-05-10_171119147.png

          <xml xmlns="https://developers.google.com/blockly/xml">
           <variables>
             <variable type="timeout" id="timeout1">timeout1</variable>
             <variable type="timeout" id="timeout2">timeout2</variable>
             <variable type="timeout" id="timeout3">timeout3</variable>
             <variable id="+l8CB%A26RkWF;d6hPt^">gr100</variable>
             <variable id="B7QKKsZJJ/rD9$B7mY6C">switch1h</variable>
           </variables>
           <block type="on" id="F!!Ou/C`OjBU2N;2s?US" x="188" y="38">
             <field name="OID">fronius.0.powerflow.P_Grid</field>
             <field name="CONDITION">ne</field>
             <field name="ACK_CONDITION"></field>
             <statement name="STATEMENT">
               <block type="controls_if" id="qjZ;R!,!*H=11p#Egh+v">
                 <mutation elseif="1"></mutation>
                 <value name="IF0">
                   <block type="logic_compare" id="?]lGz,I4K),UYyo[4%98">
                     <field name="OP">GT</field>
                     <value name="A">
                       <block type="on_source" id="{LBQshF_hKMC,Wp=O!@@">
                         <field name="ATTR">state.val</field>
                       </block>
                     </value>
                     <value name="B">
                       <block type="math_number" id="Bp?Fi=(b0uKhdv*u!Q6x">
                         <field name="NUM">-500</field>
                       </block>
                     </value>
                   </block>
                 </value>
                 <statement name="DO0">
                   <block type="timeouts_cleartimeout" id="%Zy:%ZMXlarV9@amW2bs">
                     <field name="NAME">timeout1</field>
                   </block>
                 </statement>
                 <value name="IF1">
                   <block type="logic_negate" id=")-#_(A,F/N}zb}aoTi@-">
                     <value name="BOOL">
                       <block type="variables_get" id="`BW(ud(V(6b)|PQAs9Y_">
                         <field name="VAR" id="timeout1" variabletype="timeout">timeout1</field>
                       </block>
                     </value>
                   </block>
                 </value>
                 <statement name="DO1">
                   <block type="timeouts_settimeout" id="=LFs$DUT/hJCCGhQVXhv">
                     <field name="NAME">timeout1</field>
                     <field name="DELAY">2</field>
                     <field name="UNIT">min</field>
                     <statement name="STATEMENT">
                       <block type="controls_if" id="b~mna{[e9y^z0HBTa7PW">
                         <value name="IF0">
                           <block type="logic_compare" id="HKpI5DKrAmnAcSak4W;s">
                             <field name="OP">EQ</field>
                             <value name="A">
                               <block type="get_value" id="nyl~uf0Z2+_6kN1*+g?$">
                                 <field name="ATTR">val</field>
                                 <field name="OID">sonoff.0.DVES_F572FC.POWER</field>
                               </block>
                             </value>
                             <value name="B">
                               <block type="logic_boolean" id="k}DMur}sC,{*c[WncO63">
                                 <field name="BOOL">FALSE</field>
                               </block>
                             </value>
                           </block>
                         </value>
                         <statement name="DO0">
                           <block type="control" id="(zGO6Qkwq(f8e%kO|8Sg">
                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                             <field name="OID">sonoff.0.DVES_F572FC.POWER</field>
                             <field name="WITH_DELAY">FALSE</field>
                             <value name="VALUE">
                               <block type="logic_boolean" id="/6AaiPMn826qm8P53w7[">
                                 <field name="BOOL">TRUE</field>
                               </block>
                             </value>
                           </block>
                         </statement>
                       </block>
                     </statement>
                   </block>
                 </statement>
                 <next>
                   <block type="controls_if" id="{[diRkfyM[.]Jtxg$4U)">
                     <mutation elseif="1"></mutation>
                     <value name="IF0">
                       <block type="logic_compare" id="-`b=fhm{mPh095}0@KuI">
                         <field name="OP">LTE</field>
                         <value name="A">
                           <block type="on_source" id="sETxhFI[-k*;pp3ZGJS_">
                             <field name="ATTR">state.val</field>
                           </block>
                         </value>
                         <value name="B">
                           <block type="math_number" id="HqJ?48]sqCU]MT/=DZp`">
                             <field name="NUM">100</field>
                           </block>
                         </value>
                       </block>
                     </value>
                     <statement name="DO0">
                       <block type="timeouts_cleartimeout" id="[@T#iDT$Ud2;O,6;W.H/">
                         <field name="NAME">timeout2</field>
                         <next>
                           <block type="variables_set" id="i;,RLCdV},^zEa*_6cM2">
                             <field name="VAR" id="+l8CB%A26RkWF;d6hPt^">gr100</field>
                             <value name="VALUE">
                               <block type="logic_boolean" id="TUjF#,9drH]syK5szgO:">
                                 <field name="BOOL">FALSE</field>
                               </block>
                             </value>
                           </block>
                         </next>
                       </block>
                     </statement>
                     <value name="IF1">
                       <block type="logic_negate" id="kIAwTBg,at]7/ptrMO+%">
                         <value name="BOOL">
                           <block type="variables_get" id="s4]!NIW{z{)[YOfGd:[U">
                             <field name="VAR" id="timeout2" variabletype="timeout">timeout2</field>
                           </block>
                         </value>
                       </block>
                     </value>
                     <statement name="DO1">
                       <block type="timeouts_settimeout" id="$=NLcQVhfZO0,4%KbZfE">
                         <field name="NAME">timeout2</field>
                         <field name="DELAY">10</field>
                         <field name="UNIT">min</field>
                         <statement name="STATEMENT">
                           <block type="variables_set" id="b(=m)mt`IWT;sY~E?}g7">
                             <field name="VAR" id="+l8CB%A26RkWF;d6hPt^">gr100</field>
                             <value name="VALUE">
                               <block type="logic_boolean" id="M1wU31[B,uJ-Q@riDi|P">
                                 <field name="BOOL">TRUE</field>
                               </block>
                             </value>
                             <next>
                               <block type="procedures_callnoreturn" id="bnJaxS]jMkxSPHlI=vqR">
                                 <mutation name="switchOff"></mutation>
                               </block>
                             </next>
                           </block>
                         </statement>
                       </block>
                     </statement>
                   </block>
                 </next>
               </block>
             </statement>
             <next>
               <block type="on_ext" id="(xXt]eB6)Vix.:KPkq!}">
                 <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 xmlns="http://www.w3.org/1999/xhtml" type="field_oid" id="l_u/*Kbe1kX5xiQVF*p+">
                     <field name="oid">default</field>
                   </shadow>
                   <block type="text" id="nR@Mw^]bR6W}x@_KE7g)">
                     <field name="TEXT">sonoff.0.DVES_F572FC.POWER</field>
                   </block>
                 </value>
                 <statement name="STATEMENT">
                   <block type="controls_if" id="7b$3~[60wWg@u1}{Hj?/">
                     <mutation else="1"></mutation>
                     <value name="IF0">
                       <block type="on_source" id="{Nr0}siZHCC!+`5xxx}~">
                         <field name="ATTR">state.val</field>
                       </block>
                     </value>
                     <statement name="DO0">
                       <block type="timeouts_settimeout" id="67xG/z!M$Uw-hlOqs_?j">
                         <field name="NAME">timeout3</field>
                         <field name="DELAY">60</field>
                         <field name="UNIT">min</field>
                         <statement name="STATEMENT">
                           <block type="variables_set" id=",)^HX7BCttUtUiJ6^8qH">
                             <field name="VAR" id="B7QKKsZJJ/rD9$B7mY6C">switch1h</field>
                             <value name="VALUE">
                               <block type="logic_boolean" id="!N(NF}d41aaElY%yc,)G">
                                 <field name="BOOL">TRUE</field>
                               </block>
                             </value>
                             <next>
                               <block type="procedures_callnoreturn" id="o;QuduYqb*E@=3}E[bO{">
                                 <mutation name="switchOff"></mutation>
                               </block>
                             </next>
                           </block>
                         </statement>
                       </block>
                     </statement>
                     <statement name="ELSE">
                       <block type="timeouts_cleartimeout" id="q){%NyVclQ|!6ej%+0SP">
                         <field name="NAME">timeout3</field>
                         <next>
                           <block type="variables_set" id="wApdLjyIMtf~^5?x|$6}">
                             <field name="VAR" id="B7QKKsZJJ/rD9$B7mY6C">switch1h</field>
                             <value name="VALUE">
                               <block type="logic_boolean" id="q^-E#(SI3vcifr+9Lek=">
                                 <field name="BOOL">FALSE</field>
                               </block>
                             </value>
                           </block>
                         </next>
                       </block>
                     </statement>
                   </block>
                 </statement>
               </block>
             </next>
           </block>
           <block type="procedures_defnoreturn" id="Ma~~XRRb?+r37-Nc_I6t" x="513" y="37">
             <field name="NAME">switchOff</field>
             <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
             <statement name="STACK">
               <block type="controls_if" id=",Egp%5VyFA4~BuM*|2-|">
                 <value name="IF0">
                   <block type="logic_operation" id="(v5+?t,At.q]*haeK/fb" inline="false">
                     <field name="OP">AND</field>
                     <value name="A">
                       <block type="logic_operation" id="LMS1G.{eF#;EVoZj3CCS">
                         <field name="OP">AND</field>
                         <value name="A">
                           <block type="variables_get" id="qd+g@:p3t285N6Qz;Dl5">
                             <field name="VAR" id="+l8CB%A26RkWF;d6hPt^">gr100</field>
                           </block>
                         </value>
                         <value name="B">
                           <block type="variables_get" id="i+;3+schEOyhG*^i9+$~">
                             <field name="VAR" id="B7QKKsZJJ/rD9$B7mY6C">switch1h</field>
                           </block>
                         </value>
                       </block>
                     </value>
                     <value name="B">
                       <block type="logic_compare" id="ow/FdN|$ThNgIO?.yN]T">
                         <field name="OP">GT</field>
                         <value name="A">
                           <block type="get_value" id="v]?-?hf8HfB?D63nk;|A">
                             <field name="ATTR">val</field>
                             <field name="OID">sonoff.0.DVES_F572FC.DS18B20-3_Temperature</field>
                           </block>
                         </value>
                         <value name="B">
                           <block type="math_number" id="EKA{Zn)Tii@{s7}u]G6M">
                             <field name="NUM">42</field>
                           </block>
                         </value>
                       </block>
                     </value>
                   </block>
                 </value>
                 <statement name="DO0">
                   <block type="control" id="(|[X898Jn$%eta8@h%$I">
                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                     <field name="OID">sonoff.0.DVES_F572FC.POWER</field>
                     <field name="WITH_DELAY">FALSE</field>
                     <value name="VALUE">
                       <block type="logic_boolean" id="{w9Ai~l*Td~H+xVOGn?J">
                         <field name="BOOL">FALSE</field>
                       </block>
                     </value>
                   </block>
                 </statement>
               </block>
             </statement>
           </block>
          </xml>
          

          Die Trigger-ID des POWER-Datenpunktes war auch falsch. Der Trigger wurde also nie ausgelöst.

          Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
          Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

          M 1 Antwort Letzte Antwort
          0
          • paul53P paul53

            @madison
            Die Timer timeout1 und timeout2 werden mehrfach gestartet und lassen sich nicht mehr stoppen. Besser so:

            Bild_2022-05-10_171119147.png

            <xml xmlns="https://developers.google.com/blockly/xml">
             <variables>
               <variable type="timeout" id="timeout1">timeout1</variable>
               <variable type="timeout" id="timeout2">timeout2</variable>
               <variable type="timeout" id="timeout3">timeout3</variable>
               <variable id="+l8CB%A26RkWF;d6hPt^">gr100</variable>
               <variable id="B7QKKsZJJ/rD9$B7mY6C">switch1h</variable>
             </variables>
             <block type="on" id="F!!Ou/C`OjBU2N;2s?US" x="188" y="38">
               <field name="OID">fronius.0.powerflow.P_Grid</field>
               <field name="CONDITION">ne</field>
               <field name="ACK_CONDITION"></field>
               <statement name="STATEMENT">
                 <block type="controls_if" id="qjZ;R!,!*H=11p#Egh+v">
                   <mutation elseif="1"></mutation>
                   <value name="IF0">
                     <block type="logic_compare" id="?]lGz,I4K),UYyo[4%98">
                       <field name="OP">GT</field>
                       <value name="A">
                         <block type="on_source" id="{LBQshF_hKMC,Wp=O!@@">
                           <field name="ATTR">state.val</field>
                         </block>
                       </value>
                       <value name="B">
                         <block type="math_number" id="Bp?Fi=(b0uKhdv*u!Q6x">
                           <field name="NUM">-500</field>
                         </block>
                       </value>
                     </block>
                   </value>
                   <statement name="DO0">
                     <block type="timeouts_cleartimeout" id="%Zy:%ZMXlarV9@amW2bs">
                       <field name="NAME">timeout1</field>
                     </block>
                   </statement>
                   <value name="IF1">
                     <block type="logic_negate" id=")-#_(A,F/N}zb}aoTi@-">
                       <value name="BOOL">
                         <block type="variables_get" id="`BW(ud(V(6b)|PQAs9Y_">
                           <field name="VAR" id="timeout1" variabletype="timeout">timeout1</field>
                         </block>
                       </value>
                     </block>
                   </value>
                   <statement name="DO1">
                     <block type="timeouts_settimeout" id="=LFs$DUT/hJCCGhQVXhv">
                       <field name="NAME">timeout1</field>
                       <field name="DELAY">2</field>
                       <field name="UNIT">min</field>
                       <statement name="STATEMENT">
                         <block type="controls_if" id="b~mna{[e9y^z0HBTa7PW">
                           <value name="IF0">
                             <block type="logic_compare" id="HKpI5DKrAmnAcSak4W;s">
                               <field name="OP">EQ</field>
                               <value name="A">
                                 <block type="get_value" id="nyl~uf0Z2+_6kN1*+g?$">
                                   <field name="ATTR">val</field>
                                   <field name="OID">sonoff.0.DVES_F572FC.POWER</field>
                                 </block>
                               </value>
                               <value name="B">
                                 <block type="logic_boolean" id="k}DMur}sC,{*c[WncO63">
                                   <field name="BOOL">FALSE</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                           <statement name="DO0">
                             <block type="control" id="(zGO6Qkwq(f8e%kO|8Sg">
                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                               <field name="OID">sonoff.0.DVES_F572FC.POWER</field>
                               <field name="WITH_DELAY">FALSE</field>
                               <value name="VALUE">
                                 <block type="logic_boolean" id="/6AaiPMn826qm8P53w7[">
                                   <field name="BOOL">TRUE</field>
                                 </block>
                               </value>
                             </block>
                           </statement>
                         </block>
                       </statement>
                     </block>
                   </statement>
                   <next>
                     <block type="controls_if" id="{[diRkfyM[.]Jtxg$4U)">
                       <mutation elseif="1"></mutation>
                       <value name="IF0">
                         <block type="logic_compare" id="-`b=fhm{mPh095}0@KuI">
                           <field name="OP">LTE</field>
                           <value name="A">
                             <block type="on_source" id="sETxhFI[-k*;pp3ZGJS_">
                               <field name="ATTR">state.val</field>
                             </block>
                           </value>
                           <value name="B">
                             <block type="math_number" id="HqJ?48]sqCU]MT/=DZp`">
                               <field name="NUM">100</field>
                             </block>
                           </value>
                         </block>
                       </value>
                       <statement name="DO0">
                         <block type="timeouts_cleartimeout" id="[@T#iDT$Ud2;O,6;W.H/">
                           <field name="NAME">timeout2</field>
                           <next>
                             <block type="variables_set" id="i;,RLCdV},^zEa*_6cM2">
                               <field name="VAR" id="+l8CB%A26RkWF;d6hPt^">gr100</field>
                               <value name="VALUE">
                                 <block type="logic_boolean" id="TUjF#,9drH]syK5szgO:">
                                   <field name="BOOL">FALSE</field>
                                 </block>
                               </value>
                             </block>
                           </next>
                         </block>
                       </statement>
                       <value name="IF1">
                         <block type="logic_negate" id="kIAwTBg,at]7/ptrMO+%">
                           <value name="BOOL">
                             <block type="variables_get" id="s4]!NIW{z{)[YOfGd:[U">
                               <field name="VAR" id="timeout2" variabletype="timeout">timeout2</field>
                             </block>
                           </value>
                         </block>
                       </value>
                       <statement name="DO1">
                         <block type="timeouts_settimeout" id="$=NLcQVhfZO0,4%KbZfE">
                           <field name="NAME">timeout2</field>
                           <field name="DELAY">10</field>
                           <field name="UNIT">min</field>
                           <statement name="STATEMENT">
                             <block type="variables_set" id="b(=m)mt`IWT;sY~E?}g7">
                               <field name="VAR" id="+l8CB%A26RkWF;d6hPt^">gr100</field>
                               <value name="VALUE">
                                 <block type="logic_boolean" id="M1wU31[B,uJ-Q@riDi|P">
                                   <field name="BOOL">TRUE</field>
                                 </block>
                               </value>
                               <next>
                                 <block type="procedures_callnoreturn" id="bnJaxS]jMkxSPHlI=vqR">
                                   <mutation name="switchOff"></mutation>
                                 </block>
                               </next>
                             </block>
                           </statement>
                         </block>
                       </statement>
                     </block>
                   </next>
                 </block>
               </statement>
               <next>
                 <block type="on_ext" id="(xXt]eB6)Vix.:KPkq!}">
                   <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 xmlns="http://www.w3.org/1999/xhtml" type="field_oid" id="l_u/*Kbe1kX5xiQVF*p+">
                       <field name="oid">default</field>
                     </shadow>
                     <block type="text" id="nR@Mw^]bR6W}x@_KE7g)">
                       <field name="TEXT">sonoff.0.DVES_F572FC.POWER</field>
                     </block>
                   </value>
                   <statement name="STATEMENT">
                     <block type="controls_if" id="7b$3~[60wWg@u1}{Hj?/">
                       <mutation else="1"></mutation>
                       <value name="IF0">
                         <block type="on_source" id="{Nr0}siZHCC!+`5xxx}~">
                           <field name="ATTR">state.val</field>
                         </block>
                       </value>
                       <statement name="DO0">
                         <block type="timeouts_settimeout" id="67xG/z!M$Uw-hlOqs_?j">
                           <field name="NAME">timeout3</field>
                           <field name="DELAY">60</field>
                           <field name="UNIT">min</field>
                           <statement name="STATEMENT">
                             <block type="variables_set" id=",)^HX7BCttUtUiJ6^8qH">
                               <field name="VAR" id="B7QKKsZJJ/rD9$B7mY6C">switch1h</field>
                               <value name="VALUE">
                                 <block type="logic_boolean" id="!N(NF}d41aaElY%yc,)G">
                                   <field name="BOOL">TRUE</field>
                                 </block>
                               </value>
                               <next>
                                 <block type="procedures_callnoreturn" id="o;QuduYqb*E@=3}E[bO{">
                                   <mutation name="switchOff"></mutation>
                                 </block>
                               </next>
                             </block>
                           </statement>
                         </block>
                       </statement>
                       <statement name="ELSE">
                         <block type="timeouts_cleartimeout" id="q){%NyVclQ|!6ej%+0SP">
                           <field name="NAME">timeout3</field>
                           <next>
                             <block type="variables_set" id="wApdLjyIMtf~^5?x|$6}">
                               <field name="VAR" id="B7QKKsZJJ/rD9$B7mY6C">switch1h</field>
                               <value name="VALUE">
                                 <block type="logic_boolean" id="q^-E#(SI3vcifr+9Lek=">
                                   <field name="BOOL">FALSE</field>
                                 </block>
                               </value>
                             </block>
                           </next>
                         </block>
                       </statement>
                     </block>
                   </statement>
                 </block>
               </next>
             </block>
             <block type="procedures_defnoreturn" id="Ma~~XRRb?+r37-Nc_I6t" x="513" y="37">
               <field name="NAME">switchOff</field>
               <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
               <statement name="STACK">
                 <block type="controls_if" id=",Egp%5VyFA4~BuM*|2-|">
                   <value name="IF0">
                     <block type="logic_operation" id="(v5+?t,At.q]*haeK/fb" inline="false">
                       <field name="OP">AND</field>
                       <value name="A">
                         <block type="logic_operation" id="LMS1G.{eF#;EVoZj3CCS">
                           <field name="OP">AND</field>
                           <value name="A">
                             <block type="variables_get" id="qd+g@:p3t285N6Qz;Dl5">
                               <field name="VAR" id="+l8CB%A26RkWF;d6hPt^">gr100</field>
                             </block>
                           </value>
                           <value name="B">
                             <block type="variables_get" id="i+;3+schEOyhG*^i9+$~">
                               <field name="VAR" id="B7QKKsZJJ/rD9$B7mY6C">switch1h</field>
                             </block>
                           </value>
                         </block>
                       </value>
                       <value name="B">
                         <block type="logic_compare" id="ow/FdN|$ThNgIO?.yN]T">
                           <field name="OP">GT</field>
                           <value name="A">
                             <block type="get_value" id="v]?-?hf8HfB?D63nk;|A">
                               <field name="ATTR">val</field>
                               <field name="OID">sonoff.0.DVES_F572FC.DS18B20-3_Temperature</field>
                             </block>
                           </value>
                           <value name="B">
                             <block type="math_number" id="EKA{Zn)Tii@{s7}u]G6M">
                               <field name="NUM">42</field>
                             </block>
                           </value>
                         </block>
                       </value>
                     </block>
                   </value>
                   <statement name="DO0">
                     <block type="control" id="(|[X898Jn$%eta8@h%$I">
                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                       <field name="OID">sonoff.0.DVES_F572FC.POWER</field>
                       <field name="WITH_DELAY">FALSE</field>
                       <value name="VALUE">
                         <block type="logic_boolean" id="{w9Ai~l*Td~H+xVOGn?J">
                           <field name="BOOL">FALSE</field>
                         </block>
                       </value>
                     </block>
                   </statement>
                 </block>
               </statement>
             </block>
            </xml>
            

            Die Trigger-ID des POWER-Datenpunktes war auch falsch. Der Trigger wurde also nie ausgelöst.

            M Online
            M Online
            madison
            schrieb am zuletzt editiert von
            #5

            @paul53 danke Paul, werde ich Morgen testen

            1 Antwort Letzte Antwort
            0
            • M Online
              M Online
              madison
              schrieb am zuletzt editiert von
              #6

              @paul53 Es funktioniert jetzt wesentlich besser, aber das die Wärmepumpe mind. eine Stunde läuft klappt noch nicht ganz richtig.
              Hast noch eine idee?

              Screenshot 2022-05-12 100134.jpg

              paul53P 2 Antworten Letzte Antwort
              0
              • M madison

                @paul53 Es funktioniert jetzt wesentlich besser, aber das die Wärmepumpe mind. eine Stunde läuft klappt noch nicht ganz richtig.
                Hast noch eine idee?

                Screenshot 2022-05-12 100134.jpg

                paul53P Offline
                paul53P Offline
                paul53
                schrieb am zuletzt editiert von paul53
                #7

                @madison sagte: Hast noch eine idee?

                Wenn dieses Skript die einzige Quelle zum Schalten der Wärmepumpe ist: Nein.

                Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                1 Antwort Letzte Antwort
                0
                • M madison

                  @paul53 Es funktioniert jetzt wesentlich besser, aber das die Wärmepumpe mind. eine Stunde läuft klappt noch nicht ganz richtig.
                  Hast noch eine idee?

                  Screenshot 2022-05-12 100134.jpg

                  paul53P Offline
                  paul53P Offline
                  paul53
                  schrieb am zuletzt editiert von paul53
                  #8

                  @madison sagte: Wärmepumpe mind. eine Stunde läuft klappt noch nicht

                  Dann ermittle die Ursache mittels einer Log-Ausgabe:

                  Bild_2022-05-12_172717881.png

                  Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                  Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                  M 1 Antwort Letzte Antwort
                  0
                  • paul53P paul53

                    @madison sagte: Wärmepumpe mind. eine Stunde läuft klappt noch nicht

                    Dann ermittle die Ursache mittels einer Log-Ausgabe:

                    Bild_2022-05-12_172717881.png

                    M Online
                    M Online
                    madison
                    schrieb am zuletzt editiert von
                    #9

                    @paul53 werd ich testen, danke!

                    1 Antwort Letzte Antwort
                    0

                    Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

                    Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

                    Mit deinem Input könnte dieser Beitrag noch besser werden 💗

                    Registrieren Anmelden
                    Antworten
                    • In einem neuen Thema antworten
                    Anmelden zum Antworten
                    • Älteste zuerst
                    • Neuste zuerst
                    • Meiste Stimmen


                    Support us

                    ioBroker
                    Community Adapters
                    Donate

                    613

                    Online

                    32.8k

                    Benutzer

                    82.8k

                    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