Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. Pumpe alle 10min für 2min anschalten

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    17
    1
    552

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

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

Pumpe alle 10min für 2min anschalten

Scheduled Pinned Locked Moved Blockly
34 Posts 11 Posters 3.1k Views 10 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Accu

    hier das Video zum Thema:
    Pi Rebooten

    J Offline
    J Offline
    Jan1
    wrote on last edited by
    #12

    @Accu
    ein Video :joy:

    A 1 Reply Last reply
    0
    • J Jan1

      @Accu
      ein Video :joy:

      A Offline
      A Offline
      Accu
      wrote on last edited by
      #13

      @Jan1 ??
      naja weil es ja hieß man sollte die Pi nicht rebooten ...

      J 2 Replies Last reply
      0
      • A Accu

        @Jan1 ??
        naja weil es ja hieß man sollte die Pi nicht rebooten ...

        J Offline
        J Offline
        Jan1
        wrote on last edited by
        #14

        @Accu
        und ich nix von Videos halte :-)

        1 Reply Last reply
        0
        • A Accu

          @Jan1 ??
          naja weil es ja hieß man sollte die Pi nicht rebooten ...

          J Offline
          J Offline
          Jan1
          wrote on last edited by Jan1
          #15

          @Accu
          So, wollte mir jetzt dann doch mal das Video ansehen, was ich aber sofort wieder verworfen habe. Der Schimmer hat kein Plan von dem was er redet, so ziemlich alles was der erklärt, hat er irgendwo geklaut und labert das nur nach, somit kannst das vergessen.
          Mein Pi hatte außer nach einem Update nie ein Reboot bekommen und lief selbst mit 1GB RAM einwandfrei, somit ist das nicht wirklich nötig und diesmal schreibt er es ausnahmsweise unter sein Video, "Dank eines Super Schrifttutorials von einem Member unserer SmartHome Community". Mir wäre die schriftliche Anleitung deshalb 1000 mal lieber, ersten muss ich da an den relevanten Stellen nicht 10 mal zurück spulen, zweitens und wesentlich wichtiger, muss ich den Schimmer nicht ertragen ;-)

          1 Reply Last reply
          1
          • A Accu

            @crunchip danke danke.

            habs jetzt so gelöst und bin eigentlich ganz zufrieden:
            Bildschirmfoto 2020-05-04 um 08.11.33.png

            naja das mit den Neustarts passt schon so. Klappt jetzt auch mit der Pumpe.
            Man soll ja sein system des öfteren neu starten ...

            D Offline
            D Offline
            deta
            Most Active
            wrote on last edited by
            #16

            @Accu Wo legst du in dem Skript fest , wie lange die Pumpe laufen soll? 50 Sek ist das hier
            nur ein Fehler oder ? 50 Sek wäre ja etwas kurz :grinning:

            1 Reply Last reply
            0
            • H Offline
              H Offline
              Hamudulu
              wrote on last edited by Hamudulu
              #17

              Hallo, ich hab was ähnliches vor.
              Wenn genug PV Leistung da ist soll die Pumpe eine Stunde an sein, dann eine Stunde aus und wieder an...
              Klappt das so?
              7EEB2497-DAD6-4C42-952D-DA289E440DCB.jpeg

              XenonX 1 Reply Last reply
              0
              • H Hamudulu

                Hallo, ich hab was ähnliches vor.
                Wenn genug PV Leistung da ist soll die Pumpe eine Stunde an sein, dann eine Stunde aus und wieder an...
                Klappt das so?
                7EEB2497-DAD6-4C42-952D-DA289E440DCB.jpeg

                XenonX Offline
                XenonX Offline
                Xenon
                Forum Testing Developer
                wrote on last edited by
                #18

                @Hamudulu
                Nein, du hast Trigger in Trigger. Du musst den CRON löschen und am besten noch eine Abfrage einbauen, ob die Pumpe nicht bereits eingeschaltet ist

                wenn euch mein Beitrag geholfen hat, bewertet ihn bitte unten rechts :)

                1 Reply Last reply
                0
                • H Offline
                  H Offline
                  Hamudulu
                  wrote on last edited by
                  #19

                  Ok, neuer versuch...
                  Bildschirmfoto 2020-05-25 um 11.45.56.png

                  1 Reply Last reply
                  0
                  • A Accu

                    @crunchip danke danke.

                    habs jetzt so gelöst und bin eigentlich ganz zufrieden:
                    Bildschirmfoto 2020-05-04 um 08.11.33.png

                    naja das mit den Neustarts passt schon so. Klappt jetzt auch mit der Pumpe.
                    Man soll ja sein system des öfteren neu starten ...

                    SlowmanS Offline
                    SlowmanS Offline
                    Slowman
                    wrote on last edited by
                    #20

                    @Accu

                    Kannst du bitte von diesem Blocky einen Export machen und zur Verfügung stellen?

                    H 1 Reply Last reply
                    0
                    • SlowmanS Slowman

                      @Accu

                      Kannst du bitte von diesem Blocky einen Export machen und zur Verfügung stellen?

                      H Offline
                      H Offline
                      Hamudulu
                      wrote on last edited by Hamudulu
                      #21

                      @Slowman Nein leider nicht mehr, hab’s komplett geändert, so funktioniert es glaub ich...
                      A9ADC583-63CA-4EBE-990B-4A3792A3CB62.jpeg

                      
                      <xml xmlns="http://www.w3.org/1999/xhtml">
                        <variables>
                          <variable type="undefined" id="Intervall">Intervall</variable>
                        </variables>
                        <block type="on_ext" id="wy=;:gN{v?g?Y[VmH0qe" x="-538" y="-38">
                          <mutation items="1"></mutation>
                          <field name="CONDITION">ne</field>
                          <field name="ACK_CONDITION"></field>
                          <value name="OID0">
                            <shadow type="field_oid" id="@gg2Q^c}1ZHN;OXW_s9;">
                              <field name="oid">node-red.0.Einspeisung</field>
                            </shadow>
                          </value>
                          <statement name="STATEMENT">
                            <block type="controls_if" id="}+^4WXEQg5*5(WHS},F!">
                              <mutation else="1"></mutation>
                              <value name="IF0">
                                <block type="logic_operation" id="x*9;Lwzpr1^XIHT7R_P6" inline="false">
                                  <field name="OP">AND</field>
                                  <value name="A">
                                    <block type="time_compare" id="]xsncBb11%fR+7XlV,hR">
                                      <mutation end_time="true"></mutation>
                                      <field name="OPTION">between</field>
                                      <field name="START_TIME">11:00</field>
                                      <field name="END_TIME">18:00</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_compare" id="B-%HPu5~NHk,BexsP?*R">
                                      <field name="OP">GT</field>
                                      <value name="A">
                                        <block type="get_value" id="PSHZ~N_Ma=9XSP/OL`I(">
                                          <field name="ATTR">val</field>
                                          <field name="OID">node-red.0.Einspeisung</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="math_number" id="dI%cfqw?BxMTFp-U~mvz">
                                          <field name="NUM">100</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO0">
                                <block type="controls_if" id=")%%Rq[;mznqn=%eHt2PJ">
                                  <value name="IF0">
                                    <block type="logic_negate" id="WcK7eI^b]|i_WP15si|E">
                                      <value name="BOOL">
                                        <block type="variables_get" id="E_+kF:ux:A=*Z)E;$F+-">
                                          <field name="VAR" id="Intervall" variabletype="undefined">Intervall</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <statement name="DO0">
                                    <block type="control" id="L1zWdsEYl{!rsoM~@_Ox">
                                      <mutation delay_input="false"></mutation>
                                      <field name="OID">homee.0.MeteringPlug-201.OnOff-1120</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="logic_boolean" id="PZ0i[8uKk]{l2q!7zzEb">
                                          <field name="BOOL">TRUE</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="control" id="g9,rE5u{84NHkG)3;_SC">
                                          <mutation delay_input="true"></mutation>
                                          <field name="OID">homee.0.MeteringPlug-201.OnOff-1120</field>
                                          <field name="WITH_DELAY">TRUE</field>
                                          <field name="DELAY_MS">60</field>
                                          <field name="UNIT">min</field>
                                          <field name="CLEAR_RUNNING">FALSE</field>
                                          <value name="VALUE">
                                            <block type="logic_boolean" id="o(lT7cJ[Vy%*s6JE8_L1">
                                              <field name="BOOL">FALSE</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="timeouts_setinterval" id="(d.56)?5gj3SVQ9Gi`AZ">
                                              <field name="NAME">Intervall</field>
                                              <field name="INTERVAL">60</field>
                                              <field name="UNIT">min</field>
                                              <statement name="STATEMENT">
                                                <block type="control" id="q-(Q?O+hS(c2iKvf@Kba">
                                                  <mutation delay_input="false"></mutation>
                                                  <field name="OID">homee.0.MeteringPlug-201.OnOff-1120</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="logic_boolean" id="9#Q;8zd+qPNwFpxG@n+_">
                                                      <field name="BOOL">TRUE</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="control" id="9eB@Ytv[t||)u/wU/^={">
                                                      <mutation delay_input="true"></mutation>
                                                      <field name="OID">homee.0.MeteringPlug-201.OnOff-1120</field>
                                                      <field name="WITH_DELAY">TRUE</field>
                                                      <field name="DELAY_MS">60</field>
                                                      <field name="UNIT">min</field>
                                                      <field name="CLEAR_RUNNING">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="logic_boolean" id="6NIgNBi*DuQ@MHz6XXeQ">
                                                          <field name="BOOL">FALSE</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </next>
                                                </block>
                                              </statement>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </statement>
                                </block>
                              </statement>
                              <statement name="ELSE">
                                <block type="timeouts_clearinterval" id="Hvf9L#-kvf?r1H=g=FFs">
                                  <field name="NAME">Intervall</field>
                                  <next>
                                    <block type="controls_if" id="L!Anv6?Ig^7zeBR!6Z6g">
                                      <value name="IF0">
                                        <block type="logic_compare" id="u9wS#=pc}qu/P[31:F*0">
                                          <field name="OP">LTE</field>
                                          <value name="A">
                                            <block type="get_value" id="0UuBNgiSVc@GaHU^kFp{">
                                              <field name="ATTR">val</field>
                                              <field name="OID">node-red.0.Einspeisung</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="math_number" id="c9KXrO$bFU(Rv9tA}hE,">
                                              <field name="NUM">100</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO0">
                                        <block type="control" id="9;q[tc5D(8LJHNvY#};}">
                                          <mutation delay_input="false"></mutation>
                                          <field name="OID">homee.0.MeteringPlug-201.OnOff-1120</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="logic_boolean" id="]KUic+TJLB/3#y])}?eF">
                                              <field name="BOOL">FALSE</field>
                                            </block>
                                          </value>
                                        </block>
                                      </statement>
                                    </block>
                                  </next>
                                </block>
                              </statement>
                            </block>
                          </statement>
                        </block>
                      </xml>
                      
                      
                      1 Reply Last reply
                      1
                      • XenonX Offline
                        XenonX Offline
                        Xenon
                        Forum Testing Developer
                        wrote on last edited by
                        #22

                        Das wird dir um die Ohren fliegen, was ist Intervall für eine Variable und wo wird sie gesetzt? Aktuell wird bei jeder Änderung dein Script getriggert, dass kann hunderte male pro sekunde passieren oder entprellst du mit der Variable? Und wieso Intervall und nochmal davor normal an und aus? Wenn du Pech hast, wird andauernd ein und aus geschaltet

                        wenn euch mein Beitrag geholfen hat, bewertet ihn bitte unten rechts :)

                        H 2 Replies Last reply
                        0
                        • XenonX Xenon

                          Das wird dir um die Ohren fliegen, was ist Intervall für eine Variable und wo wird sie gesetzt? Aktuell wird bei jeder Änderung dein Script getriggert, dass kann hunderte male pro sekunde passieren oder entprellst du mit der Variable? Und wieso Intervall und nochmal davor normal an und aus? Wenn du Pech hast, wird andauernd ein und aus geschaltet

                          H Offline
                          H Offline
                          Hamudulu
                          wrote on last edited by
                          #23

                          @Xenon ich hab das hiervon abgeleitet...https://forum.iobroker.net/post/411521
                          Ich teste heute mal das Verhalten...
                          Danke

                          1 Reply Last reply
                          0
                          • XenonX Xenon

                            Das wird dir um die Ohren fliegen, was ist Intervall für eine Variable und wo wird sie gesetzt? Aktuell wird bei jeder Änderung dein Script getriggert, dass kann hunderte male pro sekunde passieren oder entprellst du mit der Variable? Und wieso Intervall und nochmal davor normal an und aus? Wenn du Pech hast, wird andauernd ein und aus geschaltet

                            H Offline
                            H Offline
                            Hamudulu
                            wrote on last edited by
                            #24

                            @Xenon Du hast recht, ist ein Scheis. Kannst du mir bitte bei der Lösung helfen? Problemstellung ist klar. Eine Stunde an, eine Stunde aus. usw.
                            Wie mach ich das jetzt sinnvoll ins Blockly?
                            Danke

                            1 Reply Last reply
                            0
                            • H Offline
                              H Offline
                              Hamudulu
                              wrote on last edited by
                              #25

                              So nochmal...vielleicht kann mir mal bitte jemand helfen oder ein Tip geben?
                              Bildschirmfoto 2020-05-27 um 15.39.52.png

                              Wie bekomm ich das in Griff dass nicht immer eingeschaltet wird...?
                              Wie sieht eine Lösung aus: 1h laufen bei genug PV und Zeitraum, dann 1h aus, und dann wieder an...

                              <xml xmlns="http://www.w3.org/1999/xhtml">
                                <variables>
                                  <variable type="undefined" id="Intervall">Intervall</variable>
                                </variables>
                                <block type="on_ext" id="(-n!f)hvoZoMgmus$0e$" x="-1538" y="-1013">
                                  <mutation items="1"></mutation>
                                  <field name="CONDITION">ne</field>
                                  <field name="ACK_CONDITION"></field>
                                  <value name="OID0">
                                    <shadow type="field_oid" id="xp7To.fbATjEnhW{|^WQ">
                                      <field name="oid">node-red.0.Erzeugung</field>
                                    </shadow>
                                  </value>
                                  <statement name="STATEMENT">
                                    <block type="controls_if" id=",]X8n{]$%iE(X/|!rY*+">
                                      <mutation elseif="1" else="1"></mutation>
                                      <value name="IF0">
                                        <block type="logic_operation" id="pwUknR5Gk~$@oD_1/mx7">
                                          <field name="OP">AND</field>
                                          <value name="A">
                                            <block type="logic_compare" id="!tqV^qhccI@@ly:}dK`d">
                                              <field name="OP">GTE</field>
                                              <value name="A">
                                                <block type="on_source" id="jQ06+Y/ON:)DCtXupw5Z">
                                                  <field name="ATTR">state.val</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="math_number" id="S`a@].0**0jxP}%D+5+I">
                                                  <field name="NUM">400</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="time_compare" id="]xsncBb11%fR+7XlV,hR">
                                              <mutation end_time="true"></mutation>
                                              <field name="OPTION">between</field>
                                              <field name="START_TIME">11:00</field>
                                              <field name="END_TIME">18:00</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO0">
                                        <block type="controls_if" id="{@jnx{4U27CW;[gJ09KK">
                                          <mutation else="1"></mutation>
                                          <value name="IF0">
                                            <block type="logic_compare" id="lXCN(di)KbQRQd|)z@XH">
                                              <field name="OP">EQ</field>
                                              <value name="A">
                                                <block type="get_value" id="K:jrJDmL%AZU{APyVmy9">
                                                  <field name="ATTR">val</field>
                                                  <field name="OID">homee.0.MeteringPlug-201.OnOff-1120</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="logic_boolean" id="MzGc/Kc4[X^Gjar3iH6A">
                                                  <field name="BOOL">FALSE</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <statement name="DO0">
                                            <block type="control" id="H]%iZmji}q4kZL3$Dncc">
                                              <mutation delay_input="false"></mutation>
                                              <field name="OID">homee.0.MeteringPlug-201.OnOff-1120</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="%((b;1s]|iv]9}MDZ3[+">
                                                  <field name="BOOL">TRUE</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="control" id="_2G0=~f@(ufq@J6_)L{h">
                                                  <mutation delay_input="true"></mutation>
                                                  <field name="OID">homee.0.MeteringPlug-201.OnOff-1120</field>
                                                  <field name="WITH_DELAY">TRUE</field>
                                                  <field name="DELAY_MS">60</field>
                                                  <field name="UNIT">min</field>
                                                  <field name="CLEAR_RUNNING">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="logic_boolean" id="|L|4r|kCkT+khB1}xCCX">
                                                      <field name="BOOL">FALSE</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="timeouts_setinterval" id="(d.56)?5gj3SVQ9Gi`AZ">
                                                      <field name="NAME">Intervall</field>
                                                      <field name="INTERVAL">60</field>
                                                      <field name="UNIT">min</field>
                                                      <statement name="STATEMENT">
                                                        <block type="control" id="q-(Q?O+hS(c2iKvf@Kba">
                                                          <mutation delay_input="false"></mutation>
                                                          <field name="OID">homee.0.MeteringPlug-201.OnOff-1120</field>
                                                          <field name="WITH_DELAY">FALSE</field>
                                                          <value name="VALUE">
                                                            <block type="logic_boolean" id="9#Q;8zd+qPNwFpxG@n+_">
                                                              <field name="BOOL">TRUE</field>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="control" id="9eB@Ytv[t||)u/wU/^={">
                                                              <mutation delay_input="true"></mutation>
                                                              <field name="OID">homee.0.MeteringPlug-201.OnOff-1120</field>
                                                              <field name="WITH_DELAY">TRUE</field>
                                                              <field name="DELAY_MS">60</field>
                                                              <field name="UNIT">min</field>
                                                              <field name="CLEAR_RUNNING">FALSE</field>
                                                              <value name="VALUE">
                                                                <block type="logic_boolean" id="6NIgNBi*DuQ@MHz6XXeQ">
                                                                  <field name="BOOL">FALSE</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </statement>
                                                      <next>
                                                        <block type="debug" id="rS*l.hfk^NU:V3+0Fy{g">
                                                          <field name="Severity">warn</field>
                                                          <value name="TEXT">
                                                            <shadow type="text" id="`sBF`/{u9sLT1kcX5rRh">
                                                              <field name="TEXT">Dazwischen </field>
                                                            </shadow>
                                                            <block type="text_join" id="PE69pUHWaA%[#).)403r">
                                                              <mutation items="1"></mutation>
                                                              <value name="ADD0">
                                                                <block type="text" id="(AFNf9dR4U90zcdEkw7s">
                                                                  <field name="TEXT">Pumpe an</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </statement>
                                          <statement name="ELSE">
                                            <block type="debug" id="SZ+7KdJ|u/jc-1=BW0.#">
                                              <field name="Severity">warn</field>
                                              <value name="TEXT">
                                                <shadow type="text" id="`sBF`/{u9sLT1kcX5rRh">
                                                  <field name="TEXT">Dazwischen </field>
                                                </shadow>
                                                <block type="text_join" id="i.4eKcmglYrls;?LhW1b">
                                                  <mutation items="1"></mutation>
                                                  <value name="ADD0">
                                                    <block type="text" id="a=VI22zn,2?]aXOkvGX;">
                                                      <field name="TEXT">Pumpe läuft</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                            </block>
                                          </statement>
                                        </block>
                                      </statement>
                                      <value name="IF1">
                                        <block type="logic_compare" id="EvR#lQB2wi(9QlGsyW}K">
                                          <field name="OP">LTE</field>
                                          <value name="A">
                                            <block type="on_source" id="8SF+S@NfyDL_LP}2TajZ">
                                              <field name="ATTR">state.val</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="math_number" id="U%%S2e!9]@.hCSD-=2uN">
                                              <field name="NUM">200</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO1">
                                        <block type="timeouts_clearinterval" id="Hvf9L#-kvf?r1H=g=FFs">
                                          <field name="NAME">Intervall</field>
                                          <next>
                                            <block type="control" id="9;q[tc5D(8LJHNvY#};}">
                                              <mutation delay_input="false"></mutation>
                                              <field name="OID">homee.0.MeteringPlug-201.OnOff-1120</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="]KUic+TJLB/3#y])}?eF">
                                                  <field name="BOOL">FALSE</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="debug" id="5/#m#/Hi6[USY8rr#m2V">
                                                  <field name="Severity">warn</field>
                                                  <value name="TEXT">
                                                    <shadow type="text" id="`sBF`/{u9sLT1kcX5rRh">
                                                      <field name="TEXT">Dazwischen </field>
                                                    </shadow>
                                                    <block type="text_join" id="@6I;5o_rzce]8YQ%(f=l">
                                                      <mutation items="1"></mutation>
                                                      <value name="ADD0">
                                                        <block type="text" id="buiCb4KegO95x$0B`b^|">
                                                          <field name="TEXT">Pumpe aus</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                      <statement name="ELSE">
                                        <block type="debug" id="dR3VA4-M%Jk}7H3hNPO$">
                                          <field name="Severity">warn</field>
                                          <value name="TEXT">
                                            <shadow type="text" id="`sBF`/{u9sLT1kcX5rRh">
                                              <field name="TEXT">Dazwischen </field>
                                            </shadow>
                                            <block type="text_join" id="(as;RzTfmo9*B*ulEnak">
                                              <mutation items="2"></mutation>
                                              <value name="ADD0">
                                                <block type="text" id="fQgW~gK-Uud|6$@8P-7%">
                                                  <field name="TEXT">PV Erzeugung</field>
                                                </block>
                                              </value>
                                              <value name="ADD1">
                                                <block type="on_source" id="XGj3wWu9BW74(MXW+}OS">
                                                  <field name="ATTR">state.val</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                        </block>
                                      </statement>
                                    </block>
                                  </statement>
                                </block>
                              </xml>
                              
                              XenonX 1 Reply Last reply
                              0
                              • A Accu

                                @crunchip danke danke.

                                habs jetzt so gelöst und bin eigentlich ganz zufrieden:
                                Bildschirmfoto 2020-05-04 um 08.11.33.png

                                naja das mit den Neustarts passt schon so. Klappt jetzt auch mit der Pumpe.
                                Man soll ja sein system des öfteren neu starten ...

                                AlCalzoneA Offline
                                AlCalzoneA Offline
                                AlCalzone
                                Developer
                                wrote on last edited by
                                #26

                                @Accu sagte in Pumpe alle 10min für 2min anschalten:

                                Man soll ja sein system des öfteren neu starten

                                Nee...

                                e5bd34a5-7917-4f23-9eac-33cac2981567-grafik.png

                                Läuft wie ne 1.

                                Neustart war nur, weil ich vergessen habe, vor dem Update alle Adapter zu beenden (was bei nem Pi3 mit 15 Instanzen sonst gerne mal zu Überlastung führt).

                                Ich könnte wetten @Homoran hat nen Screenshot mit 2 Jahren Uptime (oder ähnlich groß) zur Hand.

                                Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                                HomoranH 1 Reply Last reply
                                0
                                • AlCalzoneA AlCalzone

                                  @Accu sagte in Pumpe alle 10min für 2min anschalten:

                                  Man soll ja sein system des öfteren neu starten

                                  Nee...

                                  e5bd34a5-7917-4f23-9eac-33cac2981567-grafik.png

                                  Läuft wie ne 1.

                                  Neustart war nur, weil ich vergessen habe, vor dem Update alle Adapter zu beenden (was bei nem Pi3 mit 15 Instanzen sonst gerne mal zu Überlastung führt).

                                  Ich könnte wetten @Homoran hat nen Screenshot mit 2 Jahren Uptime (oder ähnlich groß) zur Hand.

                                  HomoranH Do not disturb
                                  HomoranH Do not disturb
                                  Homoran
                                  Global Moderator Administrators
                                  wrote on last edited by
                                  #27

                                  @AlCalzone sagte in Pumpe alle 10min für 2min anschalten:

                                  Ich könnte wetten @Homoran hat nen Screenshot mit 2 Jahren Uptime (oder ähnlich groß) zur Hand.

                                  müsste da mal meine IPs zu den alten Installationen finden, die noch irgendwo vor sich hinlaufen ;-)
                                  Habe allerdings einiges zuletzt nach gut 450 Tagen zum Testen upgedated

                                  kein Support per PN! - Fragen im Forum stellen -
                                  Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                                  Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton im Header. Danke!
                                  der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                  1 Reply Last reply
                                  0
                                  • H Hamudulu

                                    So nochmal...vielleicht kann mir mal bitte jemand helfen oder ein Tip geben?
                                    Bildschirmfoto 2020-05-27 um 15.39.52.png

                                    Wie bekomm ich das in Griff dass nicht immer eingeschaltet wird...?
                                    Wie sieht eine Lösung aus: 1h laufen bei genug PV und Zeitraum, dann 1h aus, und dann wieder an...

                                    <xml xmlns="http://www.w3.org/1999/xhtml">
                                      <variables>
                                        <variable type="undefined" id="Intervall">Intervall</variable>
                                      </variables>
                                      <block type="on_ext" id="(-n!f)hvoZoMgmus$0e$" x="-1538" y="-1013">
                                        <mutation items="1"></mutation>
                                        <field name="CONDITION">ne</field>
                                        <field name="ACK_CONDITION"></field>
                                        <value name="OID0">
                                          <shadow type="field_oid" id="xp7To.fbATjEnhW{|^WQ">
                                            <field name="oid">node-red.0.Erzeugung</field>
                                          </shadow>
                                        </value>
                                        <statement name="STATEMENT">
                                          <block type="controls_if" id=",]X8n{]$%iE(X/|!rY*+">
                                            <mutation elseif="1" else="1"></mutation>
                                            <value name="IF0">
                                              <block type="logic_operation" id="pwUknR5Gk~$@oD_1/mx7">
                                                <field name="OP">AND</field>
                                                <value name="A">
                                                  <block type="logic_compare" id="!tqV^qhccI@@ly:}dK`d">
                                                    <field name="OP">GTE</field>
                                                    <value name="A">
                                                      <block type="on_source" id="jQ06+Y/ON:)DCtXupw5Z">
                                                        <field name="ATTR">state.val</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="math_number" id="S`a@].0**0jxP}%D+5+I">
                                                        <field name="NUM">400</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="time_compare" id="]xsncBb11%fR+7XlV,hR">
                                                    <mutation end_time="true"></mutation>
                                                    <field name="OPTION">between</field>
                                                    <field name="START_TIME">11:00</field>
                                                    <field name="END_TIME">18:00</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <statement name="DO0">
                                              <block type="controls_if" id="{@jnx{4U27CW;[gJ09KK">
                                                <mutation else="1"></mutation>
                                                <value name="IF0">
                                                  <block type="logic_compare" id="lXCN(di)KbQRQd|)z@XH">
                                                    <field name="OP">EQ</field>
                                                    <value name="A">
                                                      <block type="get_value" id="K:jrJDmL%AZU{APyVmy9">
                                                        <field name="ATTR">val</field>
                                                        <field name="OID">homee.0.MeteringPlug-201.OnOff-1120</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="logic_boolean" id="MzGc/Kc4[X^Gjar3iH6A">
                                                        <field name="BOOL">FALSE</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <statement name="DO0">
                                                  <block type="control" id="H]%iZmji}q4kZL3$Dncc">
                                                    <mutation delay_input="false"></mutation>
                                                    <field name="OID">homee.0.MeteringPlug-201.OnOff-1120</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE">
                                                      <block type="logic_boolean" id="%((b;1s]|iv]9}MDZ3[+">
                                                        <field name="BOOL">TRUE</field>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="control" id="_2G0=~f@(ufq@J6_)L{h">
                                                        <mutation delay_input="true"></mutation>
                                                        <field name="OID">homee.0.MeteringPlug-201.OnOff-1120</field>
                                                        <field name="WITH_DELAY">TRUE</field>
                                                        <field name="DELAY_MS">60</field>
                                                        <field name="UNIT">min</field>
                                                        <field name="CLEAR_RUNNING">FALSE</field>
                                                        <value name="VALUE">
                                                          <block type="logic_boolean" id="|L|4r|kCkT+khB1}xCCX">
                                                            <field name="BOOL">FALSE</field>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="timeouts_setinterval" id="(d.56)?5gj3SVQ9Gi`AZ">
                                                            <field name="NAME">Intervall</field>
                                                            <field name="INTERVAL">60</field>
                                                            <field name="UNIT">min</field>
                                                            <statement name="STATEMENT">
                                                              <block type="control" id="q-(Q?O+hS(c2iKvf@Kba">
                                                                <mutation delay_input="false"></mutation>
                                                                <field name="OID">homee.0.MeteringPlug-201.OnOff-1120</field>
                                                                <field name="WITH_DELAY">FALSE</field>
                                                                <value name="VALUE">
                                                                  <block type="logic_boolean" id="9#Q;8zd+qPNwFpxG@n+_">
                                                                    <field name="BOOL">TRUE</field>
                                                                  </block>
                                                                </value>
                                                                <next>
                                                                  <block type="control" id="9eB@Ytv[t||)u/wU/^={">
                                                                    <mutation delay_input="true"></mutation>
                                                                    <field name="OID">homee.0.MeteringPlug-201.OnOff-1120</field>
                                                                    <field name="WITH_DELAY">TRUE</field>
                                                                    <field name="DELAY_MS">60</field>
                                                                    <field name="UNIT">min</field>
                                                                    <field name="CLEAR_RUNNING">FALSE</field>
                                                                    <value name="VALUE">
                                                                      <block type="logic_boolean" id="6NIgNBi*DuQ@MHz6XXeQ">
                                                                        <field name="BOOL">FALSE</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </statement>
                                                            <next>
                                                              <block type="debug" id="rS*l.hfk^NU:V3+0Fy{g">
                                                                <field name="Severity">warn</field>
                                                                <value name="TEXT">
                                                                  <shadow type="text" id="`sBF`/{u9sLT1kcX5rRh">
                                                                    <field name="TEXT">Dazwischen </field>
                                                                  </shadow>
                                                                  <block type="text_join" id="PE69pUHWaA%[#).)403r">
                                                                    <mutation items="1"></mutation>
                                                                    <value name="ADD0">
                                                                      <block type="text" id="(AFNf9dR4U90zcdEkw7s">
                                                                        <field name="TEXT">Pumpe an</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </statement>
                                                <statement name="ELSE">
                                                  <block type="debug" id="SZ+7KdJ|u/jc-1=BW0.#">
                                                    <field name="Severity">warn</field>
                                                    <value name="TEXT">
                                                      <shadow type="text" id="`sBF`/{u9sLT1kcX5rRh">
                                                        <field name="TEXT">Dazwischen </field>
                                                      </shadow>
                                                      <block type="text_join" id="i.4eKcmglYrls;?LhW1b">
                                                        <mutation items="1"></mutation>
                                                        <value name="ADD0">
                                                          <block type="text" id="a=VI22zn,2?]aXOkvGX;">
                                                            <field name="TEXT">Pumpe läuft</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </statement>
                                              </block>
                                            </statement>
                                            <value name="IF1">
                                              <block type="logic_compare" id="EvR#lQB2wi(9QlGsyW}K">
                                                <field name="OP">LTE</field>
                                                <value name="A">
                                                  <block type="on_source" id="8SF+S@NfyDL_LP}2TajZ">
                                                    <field name="ATTR">state.val</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="math_number" id="U%%S2e!9]@.hCSD-=2uN">
                                                    <field name="NUM">200</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <statement name="DO1">
                                              <block type="timeouts_clearinterval" id="Hvf9L#-kvf?r1H=g=FFs">
                                                <field name="NAME">Intervall</field>
                                                <next>
                                                  <block type="control" id="9;q[tc5D(8LJHNvY#};}">
                                                    <mutation delay_input="false"></mutation>
                                                    <field name="OID">homee.0.MeteringPlug-201.OnOff-1120</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE">
                                                      <block type="logic_boolean" id="]KUic+TJLB/3#y])}?eF">
                                                        <field name="BOOL">FALSE</field>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="debug" id="5/#m#/Hi6[USY8rr#m2V">
                                                        <field name="Severity">warn</field>
                                                        <value name="TEXT">
                                                          <shadow type="text" id="`sBF`/{u9sLT1kcX5rRh">
                                                            <field name="TEXT">Dazwischen </field>
                                                          </shadow>
                                                          <block type="text_join" id="@6I;5o_rzce]8YQ%(f=l">
                                                            <mutation items="1"></mutation>
                                                            <value name="ADD0">
                                                              <block type="text" id="buiCb4KegO95x$0B`b^|">
                                                                <field name="TEXT">Pumpe aus</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </statement>
                                            <statement name="ELSE">
                                              <block type="debug" id="dR3VA4-M%Jk}7H3hNPO$">
                                                <field name="Severity">warn</field>
                                                <value name="TEXT">
                                                  <shadow type="text" id="`sBF`/{u9sLT1kcX5rRh">
                                                    <field name="TEXT">Dazwischen </field>
                                                  </shadow>
                                                  <block type="text_join" id="(as;RzTfmo9*B*ulEnak">
                                                    <mutation items="2"></mutation>
                                                    <value name="ADD0">
                                                      <block type="text" id="fQgW~gK-Uud|6$@8P-7%">
                                                        <field name="TEXT">PV Erzeugung</field>
                                                      </block>
                                                    </value>
                                                    <value name="ADD1">
                                                      <block type="on_source" id="XGj3wWu9BW74(MXW+}OS">
                                                        <field name="ATTR">state.val</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </statement>
                                          </block>
                                        </statement>
                                      </block>
                                    </xml>
                                    
                                    XenonX Offline
                                    XenonX Offline
                                    Xenon
                                    Forum Testing Developer
                                    wrote on last edited by Xenon
                                    #28

                                    @Hamudulu

                                    ich habe hier mal ein Grundblockly geschrieben, dass könntest du dir anpassen. Du brauchst nur die Kommentierten Bereiche anpassen und bim Vergleich von KleinerGleich auf GrößerGleich ändern, sowie die Zeit vom timeout anpassen

                                    Grundblockly Verbrauch.png

                                    <xml xmlns="https://developers.google.com/blockly/xml">
                                      <variables>
                                        <variable id="-!!!%oe4ppqH?|#z#XM~">Zustand_Aktor_1</variable>
                                        <variable id="6vs1mxJz10C;Y`[KE${J">Trigger_1</variable>
                                        <variable id="!KlSDB8b_%^Yexmq!3HA">Sperre</variable>
                                        <variable id="auf20dFyBf.~[{:YRHRw">Aktor_1</variable>
                                        <variable id="^bj1z4.DNX003R@%=U;O">Text_Telegram</variable>
                                        <variable id="p/w(@wMvl;`u(^~Az~vs">Vorgabe_Wert</variable>
                                        <variable type="timeout" id="timeout">timeout</variable>
                                      </variables>
                                      <block type="procedures_callnoreturn" id="gM%DIi4R9`s.;`(=yVM%" x="187" y="-112">
                                        <mutation name="PRG_INI"></mutation>
                                        <next>
                                          <block type="on_ext" id="%o`;]|iQdfx!T6_$|n1Z">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                            <field name="CONDITION">ne</field>
                                            <field name="ACK_CONDITION"></field>
                                            <value name="OID0">
                                              <shadow type="field_oid" id=";]X5XvT]/I^B#(~bW}=t">
                                                <field name="oid">default</field>
                                              </shadow>
                                              <block type="variables_get" id="0Zl5xWv@y(?Yg`l;^a[d">
                                                <field name="VAR" id="6vs1mxJz10C;Y`[KE${J">Trigger_1</field>
                                              </block>
                                            </value>
                                            <statement name="STATEMENT">
                                              <block type="procedures_callnoreturn" id="WEw:yD5fKj/b-ToFhM(A">
                                                <mutation name="Werte_in_VAR"></mutation>
                                                <next>
                                                  <block type="controls_if" id="DCeD46|YALHfir|.rI-i">
                                                    <mutation else="1"></mutation>
                                                    <value name="IF0">
                                                      <block type="logic_compare" id="n@wRq%S(Wk,ajT}Hh${{" inline="false">
                                                        <field name="OP">LTE</field>
                                                        <value name="A">
                                                          <block type="on_source" id="^jaj$^xI4W@]6rgN(y=@">
                                                            <field name="ATTR">state.val</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="variables_get" id="bPBsuxkAjcm4ae[M?QeM">
                                                            <field name="VAR" id="p/w(@wMvl;`u(^~Az~vs">Vorgabe_Wert</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <statement name="DO0">
                                                      <block type="controls_if" id="}4kN^q{7beH%=9Tc`:e?">
                                                        <value name="IF0">
                                                          <block type="logic_negate" id="2^dBLkE|-R%PAgjklhz6">
                                                            <value name="BOOL">
                                                              <block type="variables_get" id="sZql:5]-Z7p;rEX44zGL">
                                                                <field name="VAR" id="!KlSDB8b_%^Yexmq!3HA">Sperre</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <statement name="DO0">
                                                          <block type="variables_set" id="k,hIxCRF]VKALX0Tz7Av">
                                                            <field name="VAR" id="!KlSDB8b_%^Yexmq!3HA">Sperre</field>
                                                            <value name="VALUE">
                                                              <block type="logic_boolean" id=",{xj53f=byzz7jgu.=e5">
                                                                <field name="BOOL">TRUE</field>
                                                              </block>
                                                            </value>
                                                            <next>
                                                              <block type="timeouts_settimeout" id="sr2FPZ6N=@1y4l_2UDuz">
                                                                <field name="NAME">timeout</field>
                                                                <field name="DELAY">5</field>
                                                                <field name="UNIT">min</field>
                                                                <statement name="STATEMENT">
                                                                  <block type="procedures_callnoreturn" id="S).vSxl*q%og=75Kuq^|">
                                                                    <mutation name="Werte_in_VAR"></mutation>
                                                                    <next>
                                                                      <block type="controls_if" id="k|s{]:wTA~;7r}L|kzdf" collapsed="true">
                                                                        <value name="IF0">
                                                                          <block type="variables_get" id="v-ms+m,GsE.1t[v`za+~">
                                                                            <field name="VAR" id="-!!!%oe4ppqH?|#z#XM~">Zustand_Aktor_1</field>
                                                                          </block>
                                                                        </value>
                                                                        <statement name="DO0">
                                                                          <block type="control_ex" id="}Z6%|a,IaQf`tH6$cqXa" inline="true">
                                                                            <field name="TYPE">false</field>
                                                                            <field name="CLEAR_RUNNING">FALSE</field>
                                                                            <value name="OID">
                                                                              <shadow type="field_oid" id="~d`_H-T9NfHPJ%tm2w_w">
                                                                                <field name="oid">Object ID</field>
                                                                              </shadow>
                                                                              <block type="variables_get" id="_#r~7K?gJ2B}hhe[xse,">
                                                                                <field name="VAR" id="auf20dFyBf.~[{:YRHRw">Aktor_1</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="VALUE">
                                                                              <shadow type="logic_boolean" id="#D=jQ4sa4lUej^aPz1_V">
                                                                                <field name="BOOL">TRUE</field>
                                                                              </shadow>
                                                                              <block type="logic_boolean" id=",4/W%pFzT}Yv+uMspe+o">
                                                                                <field name="BOOL">FALSE</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="DELAY_MS">
                                                                              <shadow type="math_number" id="2p#XmCm.G5vMJI;d;fTY">
                                                                                <field name="NUM">0</field>
                                                                              </shadow>
                                                                              <block type="math_number" id="Ucd4~ROM(Cn,x?pkY9BG">
                                                                                <field name="NUM">0</field>
                                                                              </block>
                                                                            </value>
                                                                            <next>
                                                                              <block type="procedures_callnoreturn" id="|!-ni90:!o~?59-gCB4A">
                                                                                <mutation name="Telegram"></mutation>
                                                                              </block>
                                                                            </next>
                                                                          </block>
                                                                        </statement>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </statement>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </statement>
                                                      </block>
                                                    </statement>
                                                    <statement name="ELSE">
                                                      <block type="timeouts_cleartimeout" id=";D,:7xNZ5hDl2r2H$n[E">
                                                        <field name="NAME">timeout</field>
                                                        <next>
                                                          <block type="variables_set" id="_f%a(3WJx.d3-+2(*$5f">
                                                            <field name="VAR" id="!KlSDB8b_%^Yexmq!3HA">Sperre</field>
                                                            <value name="VALUE">
                                                              <block type="logic_boolean" id="BP_Lr6y8b]X!8T!jS5q0">
                                                                <field name="BOOL">FALSE</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </statement>
                                                  </block>
                                                </next>
                                              </block>
                                            </statement>
                                          </block>
                                        </next>
                                      </block>
                                      <block type="procedures_defnoreturn" id="^6O2[WD1D12,dz3]}/}c" x="662" y="-112">
                                        <field name="NAME">Werte_Vorgeben</field>
                                        <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                        <statement name="STACK">
                                          <block type="comment" id="P!j~+j+I.XEDAzh)85fd">
                                            <field name="COMMENT">Hier den ENERGY state auswaehlen</field>
                                            <next>
                                              <block type="variables_set" id="e@c,Ezp]}KPEaWt9ly4U">
                                                <field name="VAR" id="6vs1mxJz10C;Y`[KE${J">Trigger_1</field>
                                                <value name="VALUE">
                                                  <block type="field_oid" id="8a^/qbaA0`k/Ag2taO-[">
                                                    <field name="oid">sonoff.0.DVES_39AF78.ENERGY_Power</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="comment" id="SZ_C4O9$;-`Lc:9T3fj?">
                                                    <field name="COMMENT">Hier den POWER state auswaehlen</field>
                                                    <next>
                                                      <block type="variables_set" id="Z(2xpkY*sW;cx,,?F?CA">
                                                        <field name="VAR" id="auf20dFyBf.~[{:YRHRw">Aktor_1</field>
                                                        <value name="VALUE">
                                                          <block type="field_oid" id="1m~MH}OV!:SlDab]$(U.">
                                                            <field name="oid">sonoff.0.DVES_39AF78.POWER</field>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="comment" id="A2r.k1;Wu3I(tjY(OJn$">
                                                            <field name="COMMENT">Wert, der unterschritten werden soll</field>
                                                            <next>
                                                              <block type="variables_set" id="yjk|l~?u5525v*-|Ad-{">
                                                                <field name="VAR" id="p/w(@wMvl;`u(^~Az~vs">Vorgabe_Wert</field>
                                                                <value name="VALUE">
                                                                  <block type="math_number" id="p{dw?$tt-:5{$?vKiV*Z">
                                                                    <field name="NUM">1</field>
                                                                  </block>
                                                                </value>
                                                                <next>
                                                                  <block type="comment" id="n?0N#~1ZMI[nnp7N!`aW">
                                                                    <field name="COMMENT">Hier den Telegram Text eingeben</field>
                                                                    <next>
                                                                      <block type="comment" id="$g}#?:%twPIvJ4P$?+LK">
                                                                        <field name="COMMENT">Wird nichts eingetragen, ist Telegram deaktiviert</field>
                                                                        <next>
                                                                          <block type="variables_set" id="$fc.plY2s}b@X-RGR=s_">
                                                                            <field name="VAR" id="^bj1z4.DNX003R@%=U;O">Text_Telegram</field>
                                                                            <value name="VALUE">
                                                                              <block type="text" id=")a#kZ^(rDrr$@*twL]4$">
                                                                                <field name="TEXT"></field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </statement>
                                      </block>
                                      <block type="procedures_defnoreturn" id="LsQzF_4}1pkmBjxPPcYo" collapsed="true" x="1187" y="-113">
                                        <field name="NAME">PRG_INI</field>
                                        <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                        <statement name="STACK">
                                          <block type="procedures_callnoreturn" id="0S*xi[+C)tUfwe6-2vVL">
                                            <mutation name="Werte_Vorgeben"></mutation>
                                            <next>
                                              <block type="variables_set" id="Qg*{Pd[8gC#EHQy-uudL">
                                                <field name="VAR" id="!KlSDB8b_%^Yexmq!3HA">Sperre</field>
                                                <value name="VALUE">
                                                  <block type="logic_boolean" id="laDOKTLe./ynmo-~h4!I">
                                                    <field name="BOOL">FALSE</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </next>
                                          </block>
                                        </statement>
                                      </block>
                                      <block type="procedures_defnoreturn" id="m|svt~0-wSzL}D?gIELX" collapsed="true" x="1188" y="-88">
                                        <field name="NAME">Werte_in_VAR</field>
                                        <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                        <statement name="STACK">
                                          <block type="variables_set" id="~lLswh]^~P/U.R_0Ji26">
                                            <field name="VAR" id="-!!!%oe4ppqH?|#z#XM~">Zustand_Aktor_1</field>
                                            <value name="VALUE">
                                              <block type="get_value_var" id="Y#;OdIHSmIWFuO].Tu{O">
                                                <field name="ATTR">val</field>
                                                <value name="OID">
                                                  <shadow type="text" id="skAIPOSCNT*tn2W`02-e">
                                                    <field name="TEXT"></field>
                                                  </shadow>
                                                  <block type="variables_get" id="AjpE_xj/`4Xd~;tPpHVH">
                                                    <field name="VAR" id="auf20dFyBf.~[{:YRHRw">Aktor_1</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </statement>
                                      </block>
                                      <block type="procedures_defnoreturn" id=")^w}T@56fhQI57EzBs3:" x="1188" y="-63">
                                        <field name="NAME">Telegram</field>
                                        <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                        <statement name="STACK">
                                          <block type="controls_if" id="$WHVdHwE`XCMUB5iwN@@">
                                            <value name="IF0">
                                              <block type="logic_compare" id="Wb*Ir5darRMhl0mx4aQd" inline="false" collapsed="true">
                                                <field name="OP">NEQ</field>
                                                <value name="A">
                                                  <block type="variables_get" id="/b^u[!z]`D$9:,BV,ZVe">
                                                    <field name="VAR" id="^bj1z4.DNX003R@%=U;O">Text_Telegram</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="text" id="6@CMu2!4?o,AR}|Y=9W@">
                                                    <field name="TEXT"></field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <statement name="DO0">
                                              <block type="telegram" id="q_wiGI7SXqN77ZhFG.3z">
                                                <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="!T4mV!0Z_jp;`?$%`s{]">
                                                    <field name="TEXT">text</field>
                                                  </shadow>
                                                  <block type="variables_get" id="i+%V#_5V;csfhzAKY9D@">
                                                    <field name="VAR" id="^bj1z4.DNX003R@%=U;O">Text_Telegram</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </statement>
                                          </block>
                                        </statement>
                                      </block>
                                    </xml>
                                    

                                    wenn euch mein Beitrag geholfen hat, bewertet ihn bitte unten rechts :)

                                    H 1 Reply Last reply
                                    0
                                    • XenonX Xenon

                                      @Hamudulu

                                      ich habe hier mal ein Grundblockly geschrieben, dass könntest du dir anpassen. Du brauchst nur die Kommentierten Bereiche anpassen und bim Vergleich von KleinerGleich auf GrößerGleich ändern, sowie die Zeit vom timeout anpassen

                                      Grundblockly Verbrauch.png

                                      <xml xmlns="https://developers.google.com/blockly/xml">
                                        <variables>
                                          <variable id="-!!!%oe4ppqH?|#z#XM~">Zustand_Aktor_1</variable>
                                          <variable id="6vs1mxJz10C;Y`[KE${J">Trigger_1</variable>
                                          <variable id="!KlSDB8b_%^Yexmq!3HA">Sperre</variable>
                                          <variable id="auf20dFyBf.~[{:YRHRw">Aktor_1</variable>
                                          <variable id="^bj1z4.DNX003R@%=U;O">Text_Telegram</variable>
                                          <variable id="p/w(@wMvl;`u(^~Az~vs">Vorgabe_Wert</variable>
                                          <variable type="timeout" id="timeout">timeout</variable>
                                        </variables>
                                        <block type="procedures_callnoreturn" id="gM%DIi4R9`s.;`(=yVM%" x="187" y="-112">
                                          <mutation name="PRG_INI"></mutation>
                                          <next>
                                            <block type="on_ext" id="%o`;]|iQdfx!T6_$|n1Z">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                              <field name="CONDITION">ne</field>
                                              <field name="ACK_CONDITION"></field>
                                              <value name="OID0">
                                                <shadow type="field_oid" id=";]X5XvT]/I^B#(~bW}=t">
                                                  <field name="oid">default</field>
                                                </shadow>
                                                <block type="variables_get" id="0Zl5xWv@y(?Yg`l;^a[d">
                                                  <field name="VAR" id="6vs1mxJz10C;Y`[KE${J">Trigger_1</field>
                                                </block>
                                              </value>
                                              <statement name="STATEMENT">
                                                <block type="procedures_callnoreturn" id="WEw:yD5fKj/b-ToFhM(A">
                                                  <mutation name="Werte_in_VAR"></mutation>
                                                  <next>
                                                    <block type="controls_if" id="DCeD46|YALHfir|.rI-i">
                                                      <mutation else="1"></mutation>
                                                      <value name="IF0">
                                                        <block type="logic_compare" id="n@wRq%S(Wk,ajT}Hh${{" inline="false">
                                                          <field name="OP">LTE</field>
                                                          <value name="A">
                                                            <block type="on_source" id="^jaj$^xI4W@]6rgN(y=@">
                                                              <field name="ATTR">state.val</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="variables_get" id="bPBsuxkAjcm4ae[M?QeM">
                                                              <field name="VAR" id="p/w(@wMvl;`u(^~Az~vs">Vorgabe_Wert</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <statement name="DO0">
                                                        <block type="controls_if" id="}4kN^q{7beH%=9Tc`:e?">
                                                          <value name="IF0">
                                                            <block type="logic_negate" id="2^dBLkE|-R%PAgjklhz6">
                                                              <value name="BOOL">
                                                                <block type="variables_get" id="sZql:5]-Z7p;rEX44zGL">
                                                                  <field name="VAR" id="!KlSDB8b_%^Yexmq!3HA">Sperre</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <statement name="DO0">
                                                            <block type="variables_set" id="k,hIxCRF]VKALX0Tz7Av">
                                                              <field name="VAR" id="!KlSDB8b_%^Yexmq!3HA">Sperre</field>
                                                              <value name="VALUE">
                                                                <block type="logic_boolean" id=",{xj53f=byzz7jgu.=e5">
                                                                  <field name="BOOL">TRUE</field>
                                                                </block>
                                                              </value>
                                                              <next>
                                                                <block type="timeouts_settimeout" id="sr2FPZ6N=@1y4l_2UDuz">
                                                                  <field name="NAME">timeout</field>
                                                                  <field name="DELAY">5</field>
                                                                  <field name="UNIT">min</field>
                                                                  <statement name="STATEMENT">
                                                                    <block type="procedures_callnoreturn" id="S).vSxl*q%og=75Kuq^|">
                                                                      <mutation name="Werte_in_VAR"></mutation>
                                                                      <next>
                                                                        <block type="controls_if" id="k|s{]:wTA~;7r}L|kzdf" collapsed="true">
                                                                          <value name="IF0">
                                                                            <block type="variables_get" id="v-ms+m,GsE.1t[v`za+~">
                                                                              <field name="VAR" id="-!!!%oe4ppqH?|#z#XM~">Zustand_Aktor_1</field>
                                                                            </block>
                                                                          </value>
                                                                          <statement name="DO0">
                                                                            <block type="control_ex" id="}Z6%|a,IaQf`tH6$cqXa" inline="true">
                                                                              <field name="TYPE">false</field>
                                                                              <field name="CLEAR_RUNNING">FALSE</field>
                                                                              <value name="OID">
                                                                                <shadow type="field_oid" id="~d`_H-T9NfHPJ%tm2w_w">
                                                                                  <field name="oid">Object ID</field>
                                                                                </shadow>
                                                                                <block type="variables_get" id="_#r~7K?gJ2B}hhe[xse,">
                                                                                  <field name="VAR" id="auf20dFyBf.~[{:YRHRw">Aktor_1</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="VALUE">
                                                                                <shadow type="logic_boolean" id="#D=jQ4sa4lUej^aPz1_V">
                                                                                  <field name="BOOL">TRUE</field>
                                                                                </shadow>
                                                                                <block type="logic_boolean" id=",4/W%pFzT}Yv+uMspe+o">
                                                                                  <field name="BOOL">FALSE</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="DELAY_MS">
                                                                                <shadow type="math_number" id="2p#XmCm.G5vMJI;d;fTY">
                                                                                  <field name="NUM">0</field>
                                                                                </shadow>
                                                                                <block type="math_number" id="Ucd4~ROM(Cn,x?pkY9BG">
                                                                                  <field name="NUM">0</field>
                                                                                </block>
                                                                              </value>
                                                                              <next>
                                                                                <block type="procedures_callnoreturn" id="|!-ni90:!o~?59-gCB4A">
                                                                                  <mutation name="Telegram"></mutation>
                                                                                </block>
                                                                              </next>
                                                                            </block>
                                                                          </statement>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </statement>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </statement>
                                                        </block>
                                                      </statement>
                                                      <statement name="ELSE">
                                                        <block type="timeouts_cleartimeout" id=";D,:7xNZ5hDl2r2H$n[E">
                                                          <field name="NAME">timeout</field>
                                                          <next>
                                                            <block type="variables_set" id="_f%a(3WJx.d3-+2(*$5f">
                                                              <field name="VAR" id="!KlSDB8b_%^Yexmq!3HA">Sperre</field>
                                                              <value name="VALUE">
                                                                <block type="logic_boolean" id="BP_Lr6y8b]X!8T!jS5q0">
                                                                  <field name="BOOL">FALSE</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </statement>
                                                    </block>
                                                  </next>
                                                </block>
                                              </statement>
                                            </block>
                                          </next>
                                        </block>
                                        <block type="procedures_defnoreturn" id="^6O2[WD1D12,dz3]}/}c" x="662" y="-112">
                                          <field name="NAME">Werte_Vorgeben</field>
                                          <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                          <statement name="STACK">
                                            <block type="comment" id="P!j~+j+I.XEDAzh)85fd">
                                              <field name="COMMENT">Hier den ENERGY state auswaehlen</field>
                                              <next>
                                                <block type="variables_set" id="e@c,Ezp]}KPEaWt9ly4U">
                                                  <field name="VAR" id="6vs1mxJz10C;Y`[KE${J">Trigger_1</field>
                                                  <value name="VALUE">
                                                    <block type="field_oid" id="8a^/qbaA0`k/Ag2taO-[">
                                                      <field name="oid">sonoff.0.DVES_39AF78.ENERGY_Power</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="comment" id="SZ_C4O9$;-`Lc:9T3fj?">
                                                      <field name="COMMENT">Hier den POWER state auswaehlen</field>
                                                      <next>
                                                        <block type="variables_set" id="Z(2xpkY*sW;cx,,?F?CA">
                                                          <field name="VAR" id="auf20dFyBf.~[{:YRHRw">Aktor_1</field>
                                                          <value name="VALUE">
                                                            <block type="field_oid" id="1m~MH}OV!:SlDab]$(U.">
                                                              <field name="oid">sonoff.0.DVES_39AF78.POWER</field>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="comment" id="A2r.k1;Wu3I(tjY(OJn$">
                                                              <field name="COMMENT">Wert, der unterschritten werden soll</field>
                                                              <next>
                                                                <block type="variables_set" id="yjk|l~?u5525v*-|Ad-{">
                                                                  <field name="VAR" id="p/w(@wMvl;`u(^~Az~vs">Vorgabe_Wert</field>
                                                                  <value name="VALUE">
                                                                    <block type="math_number" id="p{dw?$tt-:5{$?vKiV*Z">
                                                                      <field name="NUM">1</field>
                                                                    </block>
                                                                  </value>
                                                                  <next>
                                                                    <block type="comment" id="n?0N#~1ZMI[nnp7N!`aW">
                                                                      <field name="COMMENT">Hier den Telegram Text eingeben</field>
                                                                      <next>
                                                                        <block type="comment" id="$g}#?:%twPIvJ4P$?+LK">
                                                                          <field name="COMMENT">Wird nichts eingetragen, ist Telegram deaktiviert</field>
                                                                          <next>
                                                                            <block type="variables_set" id="$fc.plY2s}b@X-RGR=s_">
                                                                              <field name="VAR" id="^bj1z4.DNX003R@%=U;O">Text_Telegram</field>
                                                                              <value name="VALUE">
                                                                                <block type="text" id=")a#kZ^(rDrr$@*twL]4$">
                                                                                  <field name="TEXT"></field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </next>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </statement>
                                        </block>
                                        <block type="procedures_defnoreturn" id="LsQzF_4}1pkmBjxPPcYo" collapsed="true" x="1187" y="-113">
                                          <field name="NAME">PRG_INI</field>
                                          <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                          <statement name="STACK">
                                            <block type="procedures_callnoreturn" id="0S*xi[+C)tUfwe6-2vVL">
                                              <mutation name="Werte_Vorgeben"></mutation>
                                              <next>
                                                <block type="variables_set" id="Qg*{Pd[8gC#EHQy-uudL">
                                                  <field name="VAR" id="!KlSDB8b_%^Yexmq!3HA">Sperre</field>
                                                  <value name="VALUE">
                                                    <block type="logic_boolean" id="laDOKTLe./ynmo-~h4!I">
                                                      <field name="BOOL">FALSE</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </next>
                                            </block>
                                          </statement>
                                        </block>
                                        <block type="procedures_defnoreturn" id="m|svt~0-wSzL}D?gIELX" collapsed="true" x="1188" y="-88">
                                          <field name="NAME">Werte_in_VAR</field>
                                          <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                          <statement name="STACK">
                                            <block type="variables_set" id="~lLswh]^~P/U.R_0Ji26">
                                              <field name="VAR" id="-!!!%oe4ppqH?|#z#XM~">Zustand_Aktor_1</field>
                                              <value name="VALUE">
                                                <block type="get_value_var" id="Y#;OdIHSmIWFuO].Tu{O">
                                                  <field name="ATTR">val</field>
                                                  <value name="OID">
                                                    <shadow type="text" id="skAIPOSCNT*tn2W`02-e">
                                                      <field name="TEXT"></field>
                                                    </shadow>
                                                    <block type="variables_get" id="AjpE_xj/`4Xd~;tPpHVH">
                                                      <field name="VAR" id="auf20dFyBf.~[{:YRHRw">Aktor_1</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                            </block>
                                          </statement>
                                        </block>
                                        <block type="procedures_defnoreturn" id=")^w}T@56fhQI57EzBs3:" x="1188" y="-63">
                                          <field name="NAME">Telegram</field>
                                          <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                          <statement name="STACK">
                                            <block type="controls_if" id="$WHVdHwE`XCMUB5iwN@@">
                                              <value name="IF0">
                                                <block type="logic_compare" id="Wb*Ir5darRMhl0mx4aQd" inline="false" collapsed="true">
                                                  <field name="OP">NEQ</field>
                                                  <value name="A">
                                                    <block type="variables_get" id="/b^u[!z]`D$9:,BV,ZVe">
                                                      <field name="VAR" id="^bj1z4.DNX003R@%=U;O">Text_Telegram</field>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block type="text" id="6@CMu2!4?o,AR}|Y=9W@">
                                                      <field name="TEXT"></field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <statement name="DO0">
                                                <block type="telegram" id="q_wiGI7SXqN77ZhFG.3z">
                                                  <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="!T4mV!0Z_jp;`?$%`s{]">
                                                      <field name="TEXT">text</field>
                                                    </shadow>
                                                    <block type="variables_get" id="i+%V#_5V;csfhzAKY9D@">
                                                      <field name="VAR" id="^bj1z4.DNX003R@%=U;O">Text_Telegram</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </statement>
                                            </block>
                                          </statement>
                                        </block>
                                      </xml>
                                      
                                      H Offline
                                      H Offline
                                      Hamudulu
                                      wrote on last edited by
                                      #29

                                      @Xenon cool, aber das ist mir leider zu hoch...dein script versteh ich nicht. Und funktioniert bei mir auch nicht. Das geht geht bestimm einfacher, oder besser verständlich. Vielen Dank trotzdem, vielleicht komm ich eines Tages auf das Grundblockly zurück.

                                      dslraserD XenonX 2 Replies Last reply
                                      0
                                      • H Hamudulu

                                        @Xenon cool, aber das ist mir leider zu hoch...dein script versteh ich nicht. Und funktioniert bei mir auch nicht. Das geht geht bestimm einfacher, oder besser verständlich. Vielen Dank trotzdem, vielleicht komm ich eines Tages auf das Grundblockly zurück.

                                        dslraserD Offline
                                        dslraserD Offline
                                        dslraser
                                        Forum Testing Most Active
                                        wrote on last edited by dslraser
                                        #30

                                        @Hamudulu

                                        So vielleicht ? (keine Ahnung ob es für Dich passt...)

                                        Bildschirmfoto 2020-05-27 um 17.34.01.png

                                        <xml xmlns="https://developers.google.com/blockly/xml">
                                         <block type="on_ext" id="(-n!f)hvoZoMgmus$0e$" x="-1638" y="-912">
                                           <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                           <field name="CONDITION">ne</field>
                                           <field name="ACK_CONDITION"></field>
                                           <value name="OID0">
                                             <shadow type="field_oid" id="xp7To.fbATjEnhW{|^WQ">
                                               <field name="oid">node-red.0.Erzeugung</field>
                                             </shadow>
                                           </value>
                                           <statement name="STATEMENT">
                                             <block type="controls_if" id=",]X8n{]$%iE(X/|!rY*+">
                                               <mutation elseif="1"></mutation>
                                               <value name="IF0">
                                                 <block type="logic_operation" id="5T!dC~%OY%Z)8rf}eFg1" inline="false">
                                                   <field name="OP">AND</field>
                                                   <value name="A">
                                                     <block type="logic_compare" id="!tqV^qhccI@@ly:}dK`d">
                                                       <field name="OP">GTE</field>
                                                       <value name="A">
                                                         <block type="on_source" id="jQ06+Y/ON:)DCtXupw5Z">
                                                           <field name="ATTR">state.val</field>
                                                         </block>
                                                       </value>
                                                       <value name="B">
                                                         <block type="math_number" id="S`a@].0**0jxP}%D+5+I">
                                                           <field name="NUM">400</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                   <value name="B">
                                                     <block type="logic_operation" id="pwUknR5Gk~$@oD_1/mx7" inline="false">
                                                       <field name="OP">AND</field>
                                                       <value name="A">
                                                         <block type="time_compare" id="]xsncBb11%fR+7XlV,hR">
                                                           <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true"></mutation>
                                                           <field name="OPTION">between</field>
                                                           <field name="START_TIME">11:00</field>
                                                           <field name="END_TIME">18:00</field>
                                                         </block>
                                                       </value>
                                                       <value name="B">
                                                         <block type="logic_compare" id="lXCN(di)KbQRQd|)z@XH">
                                                           <field name="OP">EQ</field>
                                                           <value name="A">
                                                             <block type="get_value" id="K:jrJDmL%AZU{APyVmy9">
                                                               <field name="ATTR">val</field>
                                                               <field name="OID">homee.0.MeteringPlug-201.OnOff-1120</field>
                                                             </block>
                                                           </value>
                                                           <value name="B">
                                                             <block type="logic_boolean" id="MzGc/Kc4[X^Gjar3iH6A">
                                                               <field name="BOOL">FALSE</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                               <statement name="DO0">
                                                 <block type="control" id="H]%iZmji}q4kZL3$Dncc">
                                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                   <field name="OID">homee.0.MeteringPlug-201.OnOff-1120</field>
                                                   <field name="WITH_DELAY">FALSE</field>
                                                   <value name="VALUE">
                                                     <block type="logic_boolean" id="%((b;1s]|iv]9}MDZ3[+">
                                                       <field name="BOOL">TRUE</field>
                                                     </block>
                                                   </value>
                                                   <next>
                                                     <block type="control" id="Z1`k~FfZvOvogs^6hCRZ">
                                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                       <field name="OID">homee.0.MeteringPlug-201.OnOff-1120</field>
                                                       <field name="WITH_DELAY">TRUE</field>
                                                       <field name="DELAY_MS">60</field>
                                                       <field name="UNIT">min</field>
                                                       <field name="CLEAR_RUNNING">TRUE</field>
                                                       <value name="VALUE">
                                                         <block type="logic_boolean" id="owvwohyC_A30^-sn:9;0">
                                                           <field name="BOOL">FALSE</field>
                                                         </block>
                                                       </value>
                                                       <next>
                                                         <block type="debug" id="SZ+7KdJ|u/jc-1=BW0.#">
                                                           <field name="Severity">warn</field>
                                                           <value name="TEXT">
                                                             <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="`sBF`/{u9sLT1kcX5rRh">
                                                               <field name="TEXT">Dazwischen </field>
                                                             </shadow>
                                                             <block type="text_join" id="i.4eKcmglYrls;?LhW1b">
                                                               <mutation items="2"></mutation>
                                                               <value name="ADD0">
                                                                 <block type="text" id="a=VI22zn,2?]aXOkvGX;">
                                                                   <field name="TEXT">Debug 1 Pumpe hat den Wert: </field>
                                                                 </block>
                                                               </value>
                                                               <value name="ADD1">
                                                                 <block type="get_value" id="0Z=T4@dncI=fyb.hX}q{">
                                                                   <field name="ATTR">val</field>
                                                                   <field name="OID">homee.0.MeteringPlug-201.OnOff-1120</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </statement>
                                               <value name="IF1">
                                                 <block type="logic_operation" id="lyCfmd4f0YxE$^JEX@)b" inline="false">
                                                   <field name="OP">AND</field>
                                                   <value name="A">
                                                     <block type="logic_compare" id="EvR#lQB2wi(9QlGsyW}K">
                                                       <field name="OP">LTE</field>
                                                       <value name="A">
                                                         <block type="on_source" id="8SF+S@NfyDL_LP}2TajZ">
                                                           <field name="ATTR">state.val</field>
                                                         </block>
                                                       </value>
                                                       <value name="B">
                                                         <block type="math_number" id="U%%S2e!9]@.hCSD-=2uN">
                                                           <field name="NUM">200</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                   <value name="B">
                                                     <block type="logic_operation" id="C}kS0*GkFd!fIzGeLcsl" inline="false">
                                                       <field name="OP">AND</field>
                                                       <value name="A">
                                                         <block type="time_compare" id="9Z9$2$:nyPaH7=Vy^qy4">
                                                           <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true"></mutation>
                                                           <field name="OPTION">between</field>
                                                           <field name="START_TIME">11:00</field>
                                                           <field name="END_TIME">18:00</field>
                                                         </block>
                                                       </value>
                                                       <value name="B">
                                                         <block type="logic_compare" id="/oh)K,:[Ss9q!sd.X1_i">
                                                           <field name="OP">EQ</field>
                                                           <value name="A">
                                                             <block type="get_value" id="ule?MXQ05tn|7vLzy#(R">
                                                               <field name="ATTR">val</field>
                                                               <field name="OID">homee.0.MeteringPlug-201.OnOff-1120</field>
                                                             </block>
                                                           </value>
                                                           <value name="B">
                                                             <block type="logic_boolean" id="!cesZH7#jr$Cc[h6HU-l">
                                                               <field name="BOOL">TRUE</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                               <statement name="DO1">
                                                 <block type="control" id="D(@sWTomlh,1eLh]evu|">
                                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                   <field name="OID">homee.0.MeteringPlug-201.OnOff-1120</field>
                                                   <field name="WITH_DELAY">FALSE</field>
                                                   <value name="VALUE">
                                                     <block type="logic_boolean" id="9lg.rHr8UBHl)#sBh#gI">
                                                       <field name="BOOL">FALSE</field>
                                                     </block>
                                                   </value>
                                                   <next>
                                                     <block type="debug" id="5/#m#/Hi6[USY8rr#m2V">
                                                       <field name="Severity">warn</field>
                                                       <value name="TEXT">
                                                         <shadow type="text" id="`sBF`/{u9sLT1kcX5rRh">
                                                           <field name="TEXT">Dazwischen </field>
                                                         </shadow>
                                                         <block type="text_join" id=",1?L-mTT-X9E~Ix_z5I%">
                                                           <mutation items="2"></mutation>
                                                           <value name="ADD0">
                                                             <block type="text" id="4n6E1Qqv/MJZ+#F+^vds">
                                                               <field name="TEXT">Debug 2 Pumpe hat den Wert: </field>
                                                             </block>
                                                           </value>
                                                           <value name="ADD1">
                                                             <block type="get_value" id=".p;OZjOmwEN9c)j(=tC/">
                                                               <field name="ATTR">val</field>
                                                               <field name="OID">homee.0.MeteringPlug-201.OnOff-1120</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </statement>
                                             </block>
                                           </statement>
                                         </block>
                                        </xml>
                                        

                                        H 1 Reply Last reply
                                        0
                                        • dslraserD dslraser

                                          @Hamudulu

                                          So vielleicht ? (keine Ahnung ob es für Dich passt...)

                                          Bildschirmfoto 2020-05-27 um 17.34.01.png

                                          <xml xmlns="https://developers.google.com/blockly/xml">
                                           <block type="on_ext" id="(-n!f)hvoZoMgmus$0e$" x="-1638" y="-912">
                                             <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                             <field name="CONDITION">ne</field>
                                             <field name="ACK_CONDITION"></field>
                                             <value name="OID0">
                                               <shadow type="field_oid" id="xp7To.fbATjEnhW{|^WQ">
                                                 <field name="oid">node-red.0.Erzeugung</field>
                                               </shadow>
                                             </value>
                                             <statement name="STATEMENT">
                                               <block type="controls_if" id=",]X8n{]$%iE(X/|!rY*+">
                                                 <mutation elseif="1"></mutation>
                                                 <value name="IF0">
                                                   <block type="logic_operation" id="5T!dC~%OY%Z)8rf}eFg1" inline="false">
                                                     <field name="OP">AND</field>
                                                     <value name="A">
                                                       <block type="logic_compare" id="!tqV^qhccI@@ly:}dK`d">
                                                         <field name="OP">GTE</field>
                                                         <value name="A">
                                                           <block type="on_source" id="jQ06+Y/ON:)DCtXupw5Z">
                                                             <field name="ATTR">state.val</field>
                                                           </block>
                                                         </value>
                                                         <value name="B">
                                                           <block type="math_number" id="S`a@].0**0jxP}%D+5+I">
                                                             <field name="NUM">400</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                     <value name="B">
                                                       <block type="logic_operation" id="pwUknR5Gk~$@oD_1/mx7" inline="false">
                                                         <field name="OP">AND</field>
                                                         <value name="A">
                                                           <block type="time_compare" id="]xsncBb11%fR+7XlV,hR">
                                                             <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true"></mutation>
                                                             <field name="OPTION">between</field>
                                                             <field name="START_TIME">11:00</field>
                                                             <field name="END_TIME">18:00</field>
                                                           </block>
                                                         </value>
                                                         <value name="B">
                                                           <block type="logic_compare" id="lXCN(di)KbQRQd|)z@XH">
                                                             <field name="OP">EQ</field>
                                                             <value name="A">
                                                               <block type="get_value" id="K:jrJDmL%AZU{APyVmy9">
                                                                 <field name="ATTR">val</field>
                                                                 <field name="OID">homee.0.MeteringPlug-201.OnOff-1120</field>
                                                               </block>
                                                             </value>
                                                             <value name="B">
                                                               <block type="logic_boolean" id="MzGc/Kc4[X^Gjar3iH6A">
                                                                 <field name="BOOL">FALSE</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <statement name="DO0">
                                                   <block type="control" id="H]%iZmji}q4kZL3$Dncc">
                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                     <field name="OID">homee.0.MeteringPlug-201.OnOff-1120</field>
                                                     <field name="WITH_DELAY">FALSE</field>
                                                     <value name="VALUE">
                                                       <block type="logic_boolean" id="%((b;1s]|iv]9}MDZ3[+">
                                                         <field name="BOOL">TRUE</field>
                                                       </block>
                                                     </value>
                                                     <next>
                                                       <block type="control" id="Z1`k~FfZvOvogs^6hCRZ">
                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                         <field name="OID">homee.0.MeteringPlug-201.OnOff-1120</field>
                                                         <field name="WITH_DELAY">TRUE</field>
                                                         <field name="DELAY_MS">60</field>
                                                         <field name="UNIT">min</field>
                                                         <field name="CLEAR_RUNNING">TRUE</field>
                                                         <value name="VALUE">
                                                           <block type="logic_boolean" id="owvwohyC_A30^-sn:9;0">
                                                             <field name="BOOL">FALSE</field>
                                                           </block>
                                                         </value>
                                                         <next>
                                                           <block type="debug" id="SZ+7KdJ|u/jc-1=BW0.#">
                                                             <field name="Severity">warn</field>
                                                             <value name="TEXT">
                                                               <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="`sBF`/{u9sLT1kcX5rRh">
                                                                 <field name="TEXT">Dazwischen </field>
                                                               </shadow>
                                                               <block type="text_join" id="i.4eKcmglYrls;?LhW1b">
                                                                 <mutation items="2"></mutation>
                                                                 <value name="ADD0">
                                                                   <block type="text" id="a=VI22zn,2?]aXOkvGX;">
                                                                     <field name="TEXT">Debug 1 Pumpe hat den Wert: </field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="ADD1">
                                                                   <block type="get_value" id="0Z=T4@dncI=fyb.hX}q{">
                                                                     <field name="ATTR">val</field>
                                                                     <field name="OID">homee.0.MeteringPlug-201.OnOff-1120</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </statement>
                                                 <value name="IF1">
                                                   <block type="logic_operation" id="lyCfmd4f0YxE$^JEX@)b" inline="false">
                                                     <field name="OP">AND</field>
                                                     <value name="A">
                                                       <block type="logic_compare" id="EvR#lQB2wi(9QlGsyW}K">
                                                         <field name="OP">LTE</field>
                                                         <value name="A">
                                                           <block type="on_source" id="8SF+S@NfyDL_LP}2TajZ">
                                                             <field name="ATTR">state.val</field>
                                                           </block>
                                                         </value>
                                                         <value name="B">
                                                           <block type="math_number" id="U%%S2e!9]@.hCSD-=2uN">
                                                             <field name="NUM">200</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                     <value name="B">
                                                       <block type="logic_operation" id="C}kS0*GkFd!fIzGeLcsl" inline="false">
                                                         <field name="OP">AND</field>
                                                         <value name="A">
                                                           <block type="time_compare" id="9Z9$2$:nyPaH7=Vy^qy4">
                                                             <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true"></mutation>
                                                             <field name="OPTION">between</field>
                                                             <field name="START_TIME">11:00</field>
                                                             <field name="END_TIME">18:00</field>
                                                           </block>
                                                         </value>
                                                         <value name="B">
                                                           <block type="logic_compare" id="/oh)K,:[Ss9q!sd.X1_i">
                                                             <field name="OP">EQ</field>
                                                             <value name="A">
                                                               <block type="get_value" id="ule?MXQ05tn|7vLzy#(R">
                                                                 <field name="ATTR">val</field>
                                                                 <field name="OID">homee.0.MeteringPlug-201.OnOff-1120</field>
                                                               </block>
                                                             </value>
                                                             <value name="B">
                                                               <block type="logic_boolean" id="!cesZH7#jr$Cc[h6HU-l">
                                                                 <field name="BOOL">TRUE</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <statement name="DO1">
                                                   <block type="control" id="D(@sWTomlh,1eLh]evu|">
                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                     <field name="OID">homee.0.MeteringPlug-201.OnOff-1120</field>
                                                     <field name="WITH_DELAY">FALSE</field>
                                                     <value name="VALUE">
                                                       <block type="logic_boolean" id="9lg.rHr8UBHl)#sBh#gI">
                                                         <field name="BOOL">FALSE</field>
                                                       </block>
                                                     </value>
                                                     <next>
                                                       <block type="debug" id="5/#m#/Hi6[USY8rr#m2V">
                                                         <field name="Severity">warn</field>
                                                         <value name="TEXT">
                                                           <shadow type="text" id="`sBF`/{u9sLT1kcX5rRh">
                                                             <field name="TEXT">Dazwischen </field>
                                                           </shadow>
                                                           <block type="text_join" id=",1?L-mTT-X9E~Ix_z5I%">
                                                             <mutation items="2"></mutation>
                                                             <value name="ADD0">
                                                               <block type="text" id="4n6E1Qqv/MJZ+#F+^vds">
                                                                 <field name="TEXT">Debug 2 Pumpe hat den Wert: </field>
                                                               </block>
                                                             </value>
                                                             <value name="ADD1">
                                                               <block type="get_value" id=".p;OZjOmwEN9c)j(=tC/">
                                                                 <field name="ATTR">val</field>
                                                                 <field name="OID">homee.0.MeteringPlug-201.OnOff-1120</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </statement>
                                               </block>
                                             </statement>
                                           </block>
                                          </xml>
                                          

                                          H Offline
                                          H Offline
                                          Hamudulu
                                          wrote on last edited by
                                          #31

                                          @dslraser Vielen Dank, aber so läuft die Pumpe nur ein mal, oder? Ich will ja eine Stunde an und dann 1Stunde Pause und dann wieder an.
                                          (Steh grad aufm Schlauch, hab schon sehr viel versucht)

                                          dslraserD 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          331

                                          Online

                                          32.7k

                                          Users

                                          82.5k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe