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

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. [gelöst]Trockenlaufschutz, Problem mit Blockly

NEWS

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    11
    1
    533

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.7k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.6k

[gelöst]Trockenlaufschutz, Problem mit Blockly

Geplant Angeheftet Gesperrt Verschoben Blockly
107 Beiträge 6 Kommentatoren 8.7k Aufrufe 2 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • J Jan1

    @nole
    Trigger auf "wurde geändert" und den "stop timeout" direkt vor den "timeout", den Rest lasse wie es ist.

    N Offline
    N Offline
    nole
    schrieb am zuletzt editiert von
    #5

    @jan1 meinst du das so?

    Screenshot_2021-05-10 javascript - ioBroker(1).png

    J 1 Antwort Letzte Antwort
    0
    • N nole

      @jan1 meinst du das so?

      Screenshot_2021-05-10 javascript - ioBroker(1).png

      J Offline
      J Offline
      Jan1
      schrieb am zuletzt editiert von
      #6

      @nole
      wo ist der stoptimeout vor dem timeout???

      J 1 Antwort Letzte Antwort
      0
      • J Jan1

        @nole
        wo ist der stoptimeout vor dem timeout???

        J Offline
        J Offline
        Jan1
        schrieb am zuletzt editiert von
        #7

        @jan1
        poste den Code, bevor sich das hier zieht ;)

        N 1 Antwort Letzte Antwort
        0
        • J Jan1

          @jan1
          poste den Code, bevor sich das hier zieht ;)

          N Offline
          N Offline
          nole
          schrieb am zuletzt editiert von nole
          #8

          @jan1

          <xml xmlns="https://developers.google.com/blockly/xml">
            <variables>
              <variable type="timeout" id="timeout">timeout</variable>
              <variable type="timeout" id="timeout3">timeout3</variable>
              <variable type="timeout" id="timeout2">timeout2</variable>
            </variables>
            <block type="on_ext" id="q-2pBvl6%n5S#abWP$s/" disabled="true" x="-412" y="-462">
              <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
              <field name="CONDITION">any</field>
              <field name="ACK_CONDITION"></field>
              <value name="OID0">
                <shadow type="field_oid" id="iWm~)rPccpnpWh2X$U!8">
                  <field name="oid">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.ENERGY_Power</field>
                </shadow>
              </value>
              <statement name="STATEMENT">
                <block type="controls_if" id="*u:Y?-)4@!`l4f]Mv^nP">
                  <value name="IF0">
                    <block type="logic_compare" id="VP9e)6J]zYn7/7fQo9/J">
                      <field name="OP">LTE</field>
                      <value name="A">
                        <block type="on_source" id="7a*`arM=5Ulas9,HvJxA">
                          <field name="ATTR">state.val</field>
                        </block>
                      </value>
                      <value name="B">
                        <block type="text" id="E+`CVo}+](X)+^n{ImEd">
                          <field name="TEXT">40</field>
                        </block>
                      </value>
                    </block>
                  </value>
                  <statement name="DO0">
                    <block type="timeouts_cleartimeout" id="V!fe@mMn?^/.j2HWR*1L">
                      <field name="NAME">timeout</field>
                    </block>
                  </statement>
                  <next>
                    <block type="controls_if" id="UA})2Q/8,{VDo355I116">
                      <value name="IF0">
                        <block type="logic_compare" id="H)wpGiQ/+!`8]y2m^:yh">
                          <field name="OP">GTE</field>
                          <value name="A">
                            <block type="on_source" id="WBhKao3;JRCl[NMAkixS">
                              <field name="ATTR">state.val</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="text" id="K3?gQkN15DhcM5r]Ioi@">
                              <field name="TEXT">100</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <statement name="DO0">
                        <block type="timeouts_settimeout" id="`!0nMKO~NS@s;6q;Q%?l">
                          <field name="NAME">timeout</field>
                          <field name="DELAY">30</field>
                          <field name="UNIT">min</field>
                          <statement name="STATEMENT">
                            <block type="control" id="]Bk-sBrZB@ibgfZIvpr%">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.POWER</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id="I(Ro$K$)^XNfZ,r%WhUO">
                                  <field name="BOOL">FALSE</field>
                                </block>
                              </value>
                              <next>
                                <block type="email" id="nrf23U9Yfr*(k#{OltHa">
                                  <field name="INSTANCE"></field>
                                  <field name="IS_HTML">FALSE</field>
                                  <field name="LOG">warn</field>
                                  <value name="TO">
                                    <shadow type="text" id="LGB]yJ5pt)::Vuc{ONtF">
                                      <field name="TEXT">nobtukpetploy@web.de</field>
                                    </shadow>
                                  </value>
                                  <value name="TEXT">
                                    <shadow type="text" id="f*-:)PlYFmAIyrk|Z+P0">
                                      <field name="TEXT">Die Hauswasserpumpe ist OFF, bitte Wasser auffüllen und wieder einschalten. Danke.</field>
                                    </shadow>
                                  </value>
                                  <value name="SUBJECT">
                                    <shadow type="text" id="Qz]4x8.nF4@KH?n7Bkhw">
                                      <field name="TEXT">Warnung Hauswasserpumpe</field>
                                    </shadow>
                                  </value>
                                </block>
                              </next>
                            </block>
                          </statement>
                        </block>
                      </statement>
                      <next>
                        <block type="debug" id="QMYtq(@P%Zl/UpGh+VOy">
                          <field name="Severity">log</field>
                          <value name="TEXT">
                            <shadow type="text" id="[e_]XwfIyK%VQAOw9JTX">
                              <field name="TEXT">test</field>
                            </shadow>
                            <block type="text_join" id="-l@!yvf1+^N+0AIc|.p^">
                              <mutation items="2"></mutation>
                              <value name="ADD0">
                                <block type="text" id="(p|^-:)CM*w;(ua-#0~C">
                                  <field name="TEXT">Watt:</field>
                                </block>
                              </value>
                              <value name="ADD1">
                                <block type="on_source" id="F4Q/0h$*.npgi2yJ,%{[">
                                  <field name="ATTR">state.val</field>
                                </block>
                              </value>
                            </block>
                          </value>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </statement>
            </block>
            <block type="math_number" id="gDW`KdlQb%.Ce{!86K;x" x="262" y="-387">
              <field name="NUM">50</field>
            </block>
            <block type="math_number" id="?Q%hf#T}`?PA4?|LYvRU" x="287" y="-312">
              <field name="NUM">100</field>
            </block>
            <block type="on_ext" id=")3Y6O)OSZ6,a.eId9_([" x="-412" y="213">
              <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="FB}qA2j)SArn`ar=BQ8z">
                  <field name="oid">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.ENERGY_Power</field>
                </shadow>
              </value>
              <statement name="STATEMENT">
                <block type="controls_if" id="nT8{B{T^As}6|P1eFdAp">
                  <value name="IF0">
                    <block type="logic_compare" id="h=ll3)j0~lH*]vID@v{h">
                      <field name="OP">GTE</field>
                      <value name="A">
                        <block type="get_value" id="prv]M@]WP)O8k`WxQv,M">
                          <field name="ATTR">val</field>
                          <field name="OID">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.ENERGY_Power</field>
                        </block>
                      </value>
                      <value name="B">
                        <block type="math_number" id="QWMd~%R.#BvSN.-Jr7|S">
                          <field name="NUM">100</field>
                        </block>
                      </value>
                    </block>
                  </value>
                  <statement name="DO0">
                    <block type="controls_if" id=";N~?jZO,:^+(B6c4+e.p">
                      <value name="IF0">
                        <block type="logic_compare" id="nLGp=iM$L~IydiZi8!Z?">
                          <field name="OP">LTE</field>
                          <value name="A">
                            <block type="get_value" id="#X;Nd8faxS1r?ibN,9Ur">
                              <field name="ATTR">val</field>
                              <field name="OID">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.ENERGY_Power</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="math_number" id="3L+Hx`ZZZ[6;bcStTgXv">
                              <field name="NUM">50</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <statement name="DO0">
                        <block type="timeouts_cleartimeout" id="s_tu+G)JzfXKRo!,-i?j">
                          <field name="NAME">timeout3</field>
                        </block>
                      </statement>
                      <next>
                        <block type="timeouts_settimeout" id="|y|12`S1gi{?f|+:!d87">
                          <field name="NAME">timeout3</field>
                          <field name="DELAY">30</field>
                          <field name="UNIT">min</field>
                          <statement name="STATEMENT">
                            <block type="control" id="]:Q/hgD*3Ye$XrhiCKVK">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.POWER</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id="]qeVb0?p3y!^dSP8T!{!">
                                  <field name="BOOL">FALSE</field>
                                </block>
                              </value>
                              <next>
                                <block type="email" id="$9UHB7f:5pH}KOb-MKc+">
                                  <field name="INSTANCE"></field>
                                  <field name="IS_HTML">FALSE</field>
                                  <field name="LOG">warn</field>
                                  <value name="TO">
                                    <shadow type="text" id="k[:)o{+Cw9TDavPP#q~0">
                                      <field name="TEXT">nobtukpetploy@web.de</field>
                                    </shadow>
                                  </value>
                                  <value name="TEXT">
                                    <shadow type="text" id="Jg,,Cl.tlM@syT9Y]D#}">
                                      <field name="TEXT">Die Hauswasserpumpe ist OFF, bitte Wasser auffüllen und wieder einschalten. Danke.</field>
                                    </shadow>
                                  </value>
                                  <value name="SUBJECT">
                                    <shadow type="text" id="qh:kGtW{TIeASi#IVI)A">
                                      <field name="TEXT">Warnung Hauswasserpumpe</field>
                                    </shadow>
                                  </value>
                                </block>
                              </next>
                            </block>
                          </statement>
                        </block>
                      </next>
                    </block>
                  </statement>
                  <next>
                    <block type="debug" id="jv2kcn+O#/wer{(+o+DW">
                      <field name="Severity">log</field>
                      <value name="TEXT">
                        <shadow type="text">
                          <field name="TEXT">test</field>
                        </shadow>
                        <block type="text_join" id="FXin0|uc^i=Wm;0R-Jtj">
                          <mutation items="2"></mutation>
                          <value name="ADD0">
                            <block type="text" id="Z##h?{^2;N/L6AAv4~..">
                              <field name="TEXT">Watt:</field>
                            </block>
                          </value>
                          <value name="ADD1">
                            <block type="on_source" id="t@LBx#Y!8Fv5({,pHM[,">
                              <field name="ATTR">state.val</field>
                            </block>
                          </value>
                        </block>
                      </value>
                    </block>
                  </next>
                </block>
              </statement>
            </block>
            <block type="on" id="oxhUH-RyPNmr.a,fC__1" disabled="true" x="-37" y="863">
              <field name="OID">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.ENERGY_Power</field>
              <field name="CONDITION">ne</field>
              <field name="ACK_CONDITION"></field>
              <statement name="STATEMENT">
                <block type="controls_if" id="3GRR6%ye(/hgO28(b]EO">
                  <value name="IF0">
                    <block type="logic_compare" id="?R`IVDoVJ4yuKNq~v^/J">
                      <field name="OP">LTE</field>
                      <value name="A">
                        <block type="on_source" id="-gME%kj1-KiYw.g301j!">
                          <field name="ATTR">state.val</field>
                        </block>
                      </value>
                      <value name="B">
                        <block type="text" id="znQ4C7/;8Jroo*M)1QT,">
                          <field name="TEXT">50</field>
                        </block>
                      </value>
                    </block>
                  </value>
                  <statement name="DO0">
                    <block type="timeouts_cleartimeout" id="3~jLu%Czt8OhrV9=@Wp`">
                      <field name="NAME">timeout2</field>
                    </block>
                  </statement>
                  <next>
                    <block type="controls_if" id="SQ$YSGNMJkiaCy9J|4~X">
                      <value name="IF0">
                        <block type="logic_compare" id=":]fSqM`[tiZY4)D5qUz`">
                          <field name="OP">GTE</field>
                          <value name="A">
                            <block type="on_source" id="hdZ$E)elS9c-18U?%s7:">
                              <field name="ATTR">state.val</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="text" id="??7)9|bdG5X@kSTuO]kA">
                              <field name="TEXT">100</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <statement name="DO0">
                        <block type="timeouts_settimeout" id="z1NU*AXh?bxJI=ZQWF/R">
                          <field name="NAME">timeout2</field>
                          <field name="DELAY">60</field>
                          <field name="UNIT">min</field>
                          <statement name="STATEMENT">
                            <block type="control" id="%pM}j2/2mt5hACT($/bo">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.POWER</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id="Y0RLb-Aa+BOV$uMCp[YC">
                                  <field name="BOOL">FALSE</field>
                                </block>
                              </value>
                              <next>
                                <block type="email" id="YiD/n[z_VBa:UBF^{1::">
                                  <field name="INSTANCE"></field>
                                  <field name="IS_HTML">FALSE</field>
                                  <field name="LOG">warn</field>
                                  <value name="TO">
                                    <shadow type="text" id="f1fd.qX_q5rG)Z@#qUn)">
                                      <field name="TEXT">nobtukpetploy@web.de</field>
                                    </shadow>
                                  </value>
                                  <value name="TEXT">
                                    <shadow type="text" id="/OzyS$JOBSpZ-hfUq8[{">
                                      <field name="TEXT">Die Hauswasserpumpe ist OFF, bitte Wasser auffüllen und wieder einschalten. Danke.</field>
                                    </shadow>
                                  </value>
                                  <value name="SUBJECT">
                                    <shadow type="text" id="xzEa[0h6Gc}K6or#Gb,q">
                                      <field name="TEXT">Warnung Hauswasserpumpe</field>
                                    </shadow>
                                  </value>
                                  <next>
                                    <block type="debug" id="I1YpWvCvoTpWI5DpC%Lx">
                                      <field name="Severity">log</field>
                                      <value name="TEXT">
                                        <shadow type="text">
                                          <field name="TEXT">test</field>
                                        </shadow>
                                        <block type="text_join" id="-SE=`^q9kO76.G)R)%WJ">
                                          <mutation items="2"></mutation>
                                          <value name="ADD0">
                                            <block type="text" id="g140IN00}r!gtJomXW5B">
                                              <field name="TEXT">Watt:</field>
                                            </block>
                                          </value>
                                          <value name="ADD1">
                                            <block type="on_source" id=";i{OtvxN_wRB;nvOwTMG">
                                              <field name="ATTR">state.val</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </statement>
                        </block>
                      </statement>
                    </block>
                  </next>
                </block>
              </statement>
            </block>
          </xml>
          
          J 1 Antwort Letzte Antwort
          0
          • N nole

            @jan1

            <xml xmlns="https://developers.google.com/blockly/xml">
              <variables>
                <variable type="timeout" id="timeout">timeout</variable>
                <variable type="timeout" id="timeout3">timeout3</variable>
                <variable type="timeout" id="timeout2">timeout2</variable>
              </variables>
              <block type="on_ext" id="q-2pBvl6%n5S#abWP$s/" disabled="true" x="-412" y="-462">
                <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                <field name="CONDITION">any</field>
                <field name="ACK_CONDITION"></field>
                <value name="OID0">
                  <shadow type="field_oid" id="iWm~)rPccpnpWh2X$U!8">
                    <field name="oid">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.ENERGY_Power</field>
                  </shadow>
                </value>
                <statement name="STATEMENT">
                  <block type="controls_if" id="*u:Y?-)4@!`l4f]Mv^nP">
                    <value name="IF0">
                      <block type="logic_compare" id="VP9e)6J]zYn7/7fQo9/J">
                        <field name="OP">LTE</field>
                        <value name="A">
                          <block type="on_source" id="7a*`arM=5Ulas9,HvJxA">
                            <field name="ATTR">state.val</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="text" id="E+`CVo}+](X)+^n{ImEd">
                            <field name="TEXT">40</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="timeouts_cleartimeout" id="V!fe@mMn?^/.j2HWR*1L">
                        <field name="NAME">timeout</field>
                      </block>
                    </statement>
                    <next>
                      <block type="controls_if" id="UA})2Q/8,{VDo355I116">
                        <value name="IF0">
                          <block type="logic_compare" id="H)wpGiQ/+!`8]y2m^:yh">
                            <field name="OP">GTE</field>
                            <value name="A">
                              <block type="on_source" id="WBhKao3;JRCl[NMAkixS">
                                <field name="ATTR">state.val</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="text" id="K3?gQkN15DhcM5r]Ioi@">
                                <field name="TEXT">100</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="timeouts_settimeout" id="`!0nMKO~NS@s;6q;Q%?l">
                            <field name="NAME">timeout</field>
                            <field name="DELAY">30</field>
                            <field name="UNIT">min</field>
                            <statement name="STATEMENT">
                              <block type="control" id="]Bk-sBrZB@ibgfZIvpr%">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.POWER</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id="I(Ro$K$)^XNfZ,r%WhUO">
                                    <field name="BOOL">FALSE</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="email" id="nrf23U9Yfr*(k#{OltHa">
                                    <field name="INSTANCE"></field>
                                    <field name="IS_HTML">FALSE</field>
                                    <field name="LOG">warn</field>
                                    <value name="TO">
                                      <shadow type="text" id="LGB]yJ5pt)::Vuc{ONtF">
                                        <field name="TEXT">nobtukpetploy@web.de</field>
                                      </shadow>
                                    </value>
                                    <value name="TEXT">
                                      <shadow type="text" id="f*-:)PlYFmAIyrk|Z+P0">
                                        <field name="TEXT">Die Hauswasserpumpe ist OFF, bitte Wasser auffüllen und wieder einschalten. Danke.</field>
                                      </shadow>
                                    </value>
                                    <value name="SUBJECT">
                                      <shadow type="text" id="Qz]4x8.nF4@KH?n7Bkhw">
                                        <field name="TEXT">Warnung Hauswasserpumpe</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </statement>
                          </block>
                        </statement>
                        <next>
                          <block type="debug" id="QMYtq(@P%Zl/UpGh+VOy">
                            <field name="Severity">log</field>
                            <value name="TEXT">
                              <shadow type="text" id="[e_]XwfIyK%VQAOw9JTX">
                                <field name="TEXT">test</field>
                              </shadow>
                              <block type="text_join" id="-l@!yvf1+^N+0AIc|.p^">
                                <mutation items="2"></mutation>
                                <value name="ADD0">
                                  <block type="text" id="(p|^-:)CM*w;(ua-#0~C">
                                    <field name="TEXT">Watt:</field>
                                  </block>
                                </value>
                                <value name="ADD1">
                                  <block type="on_source" id="F4Q/0h$*.npgi2yJ,%{[">
                                    <field name="ATTR">state.val</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
              </block>
              <block type="math_number" id="gDW`KdlQb%.Ce{!86K;x" x="262" y="-387">
                <field name="NUM">50</field>
              </block>
              <block type="math_number" id="?Q%hf#T}`?PA4?|LYvRU" x="287" y="-312">
                <field name="NUM">100</field>
              </block>
              <block type="on_ext" id=")3Y6O)OSZ6,a.eId9_([" x="-412" y="213">
                <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="FB}qA2j)SArn`ar=BQ8z">
                    <field name="oid">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.ENERGY_Power</field>
                  </shadow>
                </value>
                <statement name="STATEMENT">
                  <block type="controls_if" id="nT8{B{T^As}6|P1eFdAp">
                    <value name="IF0">
                      <block type="logic_compare" id="h=ll3)j0~lH*]vID@v{h">
                        <field name="OP">GTE</field>
                        <value name="A">
                          <block type="get_value" id="prv]M@]WP)O8k`WxQv,M">
                            <field name="ATTR">val</field>
                            <field name="OID">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.ENERGY_Power</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="QWMd~%R.#BvSN.-Jr7|S">
                            <field name="NUM">100</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="controls_if" id=";N~?jZO,:^+(B6c4+e.p">
                        <value name="IF0">
                          <block type="logic_compare" id="nLGp=iM$L~IydiZi8!Z?">
                            <field name="OP">LTE</field>
                            <value name="A">
                              <block type="get_value" id="#X;Nd8faxS1r?ibN,9Ur">
                                <field name="ATTR">val</field>
                                <field name="OID">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.ENERGY_Power</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="math_number" id="3L+Hx`ZZZ[6;bcStTgXv">
                                <field name="NUM">50</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="timeouts_cleartimeout" id="s_tu+G)JzfXKRo!,-i?j">
                            <field name="NAME">timeout3</field>
                          </block>
                        </statement>
                        <next>
                          <block type="timeouts_settimeout" id="|y|12`S1gi{?f|+:!d87">
                            <field name="NAME">timeout3</field>
                            <field name="DELAY">30</field>
                            <field name="UNIT">min</field>
                            <statement name="STATEMENT">
                              <block type="control" id="]:Q/hgD*3Ye$XrhiCKVK">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.POWER</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id="]qeVb0?p3y!^dSP8T!{!">
                                    <field name="BOOL">FALSE</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="email" id="$9UHB7f:5pH}KOb-MKc+">
                                    <field name="INSTANCE"></field>
                                    <field name="IS_HTML">FALSE</field>
                                    <field name="LOG">warn</field>
                                    <value name="TO">
                                      <shadow type="text" id="k[:)o{+Cw9TDavPP#q~0">
                                        <field name="TEXT">nobtukpetploy@web.de</field>
                                      </shadow>
                                    </value>
                                    <value name="TEXT">
                                      <shadow type="text" id="Jg,,Cl.tlM@syT9Y]D#}">
                                        <field name="TEXT">Die Hauswasserpumpe ist OFF, bitte Wasser auffüllen und wieder einschalten. Danke.</field>
                                      </shadow>
                                    </value>
                                    <value name="SUBJECT">
                                      <shadow type="text" id="qh:kGtW{TIeASi#IVI)A">
                                        <field name="TEXT">Warnung Hauswasserpumpe</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </statement>
                          </block>
                        </next>
                      </block>
                    </statement>
                    <next>
                      <block type="debug" id="jv2kcn+O#/wer{(+o+DW">
                        <field name="Severity">log</field>
                        <value name="TEXT">
                          <shadow type="text">
                            <field name="TEXT">test</field>
                          </shadow>
                          <block type="text_join" id="FXin0|uc^i=Wm;0R-Jtj">
                            <mutation items="2"></mutation>
                            <value name="ADD0">
                              <block type="text" id="Z##h?{^2;N/L6AAv4~..">
                                <field name="TEXT">Watt:</field>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="on_source" id="t@LBx#Y!8Fv5({,pHM[,">
                                <field name="ATTR">state.val</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </statement>
              </block>
              <block type="on" id="oxhUH-RyPNmr.a,fC__1" disabled="true" x="-37" y="863">
                <field name="OID">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.ENERGY_Power</field>
                <field name="CONDITION">ne</field>
                <field name="ACK_CONDITION"></field>
                <statement name="STATEMENT">
                  <block type="controls_if" id="3GRR6%ye(/hgO28(b]EO">
                    <value name="IF0">
                      <block type="logic_compare" id="?R`IVDoVJ4yuKNq~v^/J">
                        <field name="OP">LTE</field>
                        <value name="A">
                          <block type="on_source" id="-gME%kj1-KiYw.g301j!">
                            <field name="ATTR">state.val</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="text" id="znQ4C7/;8Jroo*M)1QT,">
                            <field name="TEXT">50</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="timeouts_cleartimeout" id="3~jLu%Czt8OhrV9=@Wp`">
                        <field name="NAME">timeout2</field>
                      </block>
                    </statement>
                    <next>
                      <block type="controls_if" id="SQ$YSGNMJkiaCy9J|4~X">
                        <value name="IF0">
                          <block type="logic_compare" id=":]fSqM`[tiZY4)D5qUz`">
                            <field name="OP">GTE</field>
                            <value name="A">
                              <block type="on_source" id="hdZ$E)elS9c-18U?%s7:">
                                <field name="ATTR">state.val</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="text" id="??7)9|bdG5X@kSTuO]kA">
                                <field name="TEXT">100</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="timeouts_settimeout" id="z1NU*AXh?bxJI=ZQWF/R">
                            <field name="NAME">timeout2</field>
                            <field name="DELAY">60</field>
                            <field name="UNIT">min</field>
                            <statement name="STATEMENT">
                              <block type="control" id="%pM}j2/2mt5hACT($/bo">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.POWER</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id="Y0RLb-Aa+BOV$uMCp[YC">
                                    <field name="BOOL">FALSE</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="email" id="YiD/n[z_VBa:UBF^{1::">
                                    <field name="INSTANCE"></field>
                                    <field name="IS_HTML">FALSE</field>
                                    <field name="LOG">warn</field>
                                    <value name="TO">
                                      <shadow type="text" id="f1fd.qX_q5rG)Z@#qUn)">
                                        <field name="TEXT">nobtukpetploy@web.de</field>
                                      </shadow>
                                    </value>
                                    <value name="TEXT">
                                      <shadow type="text" id="/OzyS$JOBSpZ-hfUq8[{">
                                        <field name="TEXT">Die Hauswasserpumpe ist OFF, bitte Wasser auffüllen und wieder einschalten. Danke.</field>
                                      </shadow>
                                    </value>
                                    <value name="SUBJECT">
                                      <shadow type="text" id="xzEa[0h6Gc}K6or#Gb,q">
                                        <field name="TEXT">Warnung Hauswasserpumpe</field>
                                      </shadow>
                                    </value>
                                    <next>
                                      <block type="debug" id="I1YpWvCvoTpWI5DpC%Lx">
                                        <field name="Severity">log</field>
                                        <value name="TEXT">
                                          <shadow type="text">
                                            <field name="TEXT">test</field>
                                          </shadow>
                                          <block type="text_join" id="-SE=`^q9kO76.G)R)%WJ">
                                            <mutation items="2"></mutation>
                                            <value name="ADD0">
                                              <block type="text" id="g140IN00}r!gtJomXW5B">
                                                <field name="TEXT">Watt:</field>
                                              </block>
                                            </value>
                                            <value name="ADD1">
                                              <block type="on_source" id=";i{OtvxN_wRB;nvOwTMG">
                                                <field name="ATTR">state.val</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </statement>
                          </block>
                        </statement>
                      </block>
                    </next>
                  </block>
                </statement>
              </block>
            </xml>
            
            J Offline
            J Offline
            Jan1
            schrieb am zuletzt editiert von
            #9

            @nole
            Jetzt packst das noch schnell in Code Tag und Spoiler, dann bau ich das um ;)

            N 2 Antworten Letzte Antwort
            0
            • J Jan1

              @nole
              Jetzt packst das noch schnell in Code Tag und Spoiler, dann bau ich das um ;)

              N Offline
              N Offline
              nole
              schrieb am zuletzt editiert von
              #10

              @jan1 ???????????
              Da mußt du mir jetzt aber sagen wie das geht.

              1 Antwort Letzte Antwort
              0
              • J Jan1

                @nole
                Jetzt packst das noch schnell in Code Tag und Spoiler, dann bau ich das um ;)

                N Offline
                N Offline
                nole
                schrieb am zuletzt editiert von nole
                #11

                @jan1 Ich hatte da noch nicht aktive Bausteine auf der Seite.

                <xml xmlns="https://developers.google.com/blockly/xml">
                <variables>
                <variable type="timeout" id="timeout3">timeout3</variable>
                </variables>
                <block type="on_ext" id=")3Y6O)OSZ6,a.eId9_([" x="-412" y="213">
                <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="FB}qA2j)SArnar=BQ8z"> <field name="oid">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.ENERGY_Power</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="nT8{B{T^As}6|P1eFdAp"> <value name="IF0"> <block type="logic_compare" id="h=ll3)j0~lH*]vID@v{h"> <field name="OP">GTE</field> <value name="A"> <block type="get_value" id="prv]M@]WP)O8kWxQv,M">
                <field name="ATTR">val</field>
                <field name="OID">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.ENERGY_Power</field>
                </block>
                </value>
                <value name="B">
                <block type="math_number" id="QWMd~%R.#BvSN.-Jr7|S">
                <field name="NUM">100</field>
                </block>
                </value>
                </block>
                </value>
                <statement name="DO0">
                <block type="controls_if" id=";N~?jZO,:^+(B6c4+e.p">
                <value name="IF0">
                <block type="logic_compare" id="nLGp=iM$L~IydiZi8!Z?">
                <field name="OP">LTE</field>
                <value name="A">
                <block type="get_value" id="#X;Nd8faxS1r?ibN,9Ur">
                <field name="ATTR">val</field>
                <field name="OID">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.ENERGY_Power</field>
                </block>
                </value>
                <value name="B">
                <block type="math_number" id="3L+HxZZZ[6;bcStTgXv"> <field name="NUM">50</field> </block> </value> </block> </value> <statement name="DO0"> <block type="timeouts_cleartimeout" id="s_tu+G)JzfXKRo!,-i?j"> <field name="NAME">timeout3</field> </block> </statement> <next> <block type="timeouts_settimeout" id="|y|12S1gi{?f|+:!d87">
                <field name="NAME">timeout3</field>
                <field name="DELAY">30</field>
                <field name="UNIT">min</field>
                <statement name="STATEMENT">
                <block type="control" id="]:Q/hgD*3Ye$XrhiCKVK">
                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                <field name="OID">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.POWER</field>
                <field name="WITH_DELAY">FALSE</field>
                <value name="VALUE">
                <block type="logic_boolean" id="]qeVb0?p3y!^dSP8T!{!">
                <field name="BOOL">FALSE</field>
                </block>
                </value>
                <next>
                <block type="email" id="$9UHB7f:5pH}KOb-MKc+">
                <field name="INSTANCE"></field>
                <field name="IS_HTML">FALSE</field>
                <field name="LOG">warn</field>
                <value name="TO">
                <shadow type="text" id="k[:)o{+Cw9TDavPP#q~0">
                <field name="TEXT">nobtukpetploy@web.de</field>
                </shadow>
                </value>
                <value name="TEXT">
                <shadow type="text" id="Jg,,Cl.tlM@syT9Y]D#}">
                <field name="TEXT">Die Hauswasserpumpe ist OFF, bitte Wasser auffüllen und wieder einschalten. Danke.</field>
                </shadow>
                </value>
                <value name="SUBJECT">
                <shadow type="text" id="qh:kGtW{TIeASi#IVI)A">
                <field name="TEXT">Warnung Hauswasserpumpe</field>
                </shadow>
                </value>
                </block>
                </next>
                </block>
                </statement>
                </block>
                </next>
                </block>
                </statement>
                <next>
                <block type="debug" id="jv2kcn+O#/wer{(+o+DW">
                <field name="Severity">log</field>
                <value name="TEXT">
                <shadow type="text">
                <field name="TEXT">test</field>
                </shadow>
                <block type="text_join" id="FXin0|uc^i=Wm;0R-Jtj">
                <mutation items="2"></mutation>
                <value name="ADD0">
                <block type="text" id="Z##h?{^2;N/L6AAv4~..">
                <field name="TEXT">Watt:</field>
                </block>
                </value>
                <value name="ADD1">
                <block type="on_source" id="t@LBx#Y!8Fv5({,pHM[,">
                <field name="ATTR">state.val</field>
                </block>
                </value>
                </block>
                </value>
                </block>
                </next>
                </block>
                </statement>
                </block>
                </xml>
                
                J 1 Antwort Letzte Antwort
                0
                • N nole

                  @jan1 Ich hatte da noch nicht aktive Bausteine auf der Seite.

                  <xml xmlns="https://developers.google.com/blockly/xml">
                  <variables>
                  <variable type="timeout" id="timeout3">timeout3</variable>
                  </variables>
                  <block type="on_ext" id=")3Y6O)OSZ6,a.eId9_([" x="-412" y="213">
                  <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="FB}qA2j)SArnar=BQ8z"> <field name="oid">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.ENERGY_Power</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="nT8{B{T^As}6|P1eFdAp"> <value name="IF0"> <block type="logic_compare" id="h=ll3)j0~lH*]vID@v{h"> <field name="OP">GTE</field> <value name="A"> <block type="get_value" id="prv]M@]WP)O8kWxQv,M">
                  <field name="ATTR">val</field>
                  <field name="OID">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.ENERGY_Power</field>
                  </block>
                  </value>
                  <value name="B">
                  <block type="math_number" id="QWMd~%R.#BvSN.-Jr7|S">
                  <field name="NUM">100</field>
                  </block>
                  </value>
                  </block>
                  </value>
                  <statement name="DO0">
                  <block type="controls_if" id=";N~?jZO,:^+(B6c4+e.p">
                  <value name="IF0">
                  <block type="logic_compare" id="nLGp=iM$L~IydiZi8!Z?">
                  <field name="OP">LTE</field>
                  <value name="A">
                  <block type="get_value" id="#X;Nd8faxS1r?ibN,9Ur">
                  <field name="ATTR">val</field>
                  <field name="OID">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.ENERGY_Power</field>
                  </block>
                  </value>
                  <value name="B">
                  <block type="math_number" id="3L+HxZZZ[6;bcStTgXv"> <field name="NUM">50</field> </block> </value> </block> </value> <statement name="DO0"> <block type="timeouts_cleartimeout" id="s_tu+G)JzfXKRo!,-i?j"> <field name="NAME">timeout3</field> </block> </statement> <next> <block type="timeouts_settimeout" id="|y|12S1gi{?f|+:!d87">
                  <field name="NAME">timeout3</field>
                  <field name="DELAY">30</field>
                  <field name="UNIT">min</field>
                  <statement name="STATEMENT">
                  <block type="control" id="]:Q/hgD*3Ye$XrhiCKVK">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                  <field name="OID">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.POWER</field>
                  <field name="WITH_DELAY">FALSE</field>
                  <value name="VALUE">
                  <block type="logic_boolean" id="]qeVb0?p3y!^dSP8T!{!">
                  <field name="BOOL">FALSE</field>
                  </block>
                  </value>
                  <next>
                  <block type="email" id="$9UHB7f:5pH}KOb-MKc+">
                  <field name="INSTANCE"></field>
                  <field name="IS_HTML">FALSE</field>
                  <field name="LOG">warn</field>
                  <value name="TO">
                  <shadow type="text" id="k[:)o{+Cw9TDavPP#q~0">
                  <field name="TEXT">nobtukpetploy@web.de</field>
                  </shadow>
                  </value>
                  <value name="TEXT">
                  <shadow type="text" id="Jg,,Cl.tlM@syT9Y]D#}">
                  <field name="TEXT">Die Hauswasserpumpe ist OFF, bitte Wasser auffüllen und wieder einschalten. Danke.</field>
                  </shadow>
                  </value>
                  <value name="SUBJECT">
                  <shadow type="text" id="qh:kGtW{TIeASi#IVI)A">
                  <field name="TEXT">Warnung Hauswasserpumpe</field>
                  </shadow>
                  </value>
                  </block>
                  </next>
                  </block>
                  </statement>
                  </block>
                  </next>
                  </block>
                  </statement>
                  <next>
                  <block type="debug" id="jv2kcn+O#/wer{(+o+DW">
                  <field name="Severity">log</field>
                  <value name="TEXT">
                  <shadow type="text">
                  <field name="TEXT">test</field>
                  </shadow>
                  <block type="text_join" id="FXin0|uc^i=Wm;0R-Jtj">
                  <mutation items="2"></mutation>
                  <value name="ADD0">
                  <block type="text" id="Z##h?{^2;N/L6AAv4~..">
                  <field name="TEXT">Watt:</field>
                  </block>
                  </value>
                  <value name="ADD1">
                  <block type="on_source" id="t@LBx#Y!8Fv5({,pHM[,">
                  <field name="ATTR">state.val</field>
                  </block>
                  </value>
                  </block>
                  </value>
                  </block>
                  </next>
                  </block>
                  </statement>
                  </block>
                  </xml>
                  
                  J Offline
                  J Offline
                  Jan1
                  schrieb am zuletzt editiert von Jan1
                  #12

                  @nole
                  Hast schon mal die Symbole über dem Editor gesehen wenn Du was postest? Da gibts nix zu erklären, weil das selbsterklärend ist und lösche den letzten Post, bevor ich keine Lust mehr habe mir den Finger wund zu scrollen ;)

                  Edit:
                  ich kenne übrigens kein Forum bei dem das nicht so gehandhabt wird und das hat nix mit Linux oder sonstigen zu tun :)

                  N 2 Antworten Letzte Antwort
                  0
                  • J Jan1

                    @nole
                    Hast schon mal die Symbole über dem Editor gesehen wenn Du was postest? Da gibts nix zu erklären, weil das selbsterklärend ist und lösche den letzten Post, bevor ich keine Lust mehr habe mir den Finger wund zu scrollen ;)

                    Edit:
                    ich kenne übrigens kein Forum bei dem das nicht so gehandhabt wird und das hat nix mit Linux oder sonstigen zu tun :)

                    N Offline
                    N Offline
                    nole
                    schrieb am zuletzt editiert von nole
                    #13

                    @jan1

                    <xml xmlns="https://developers.google.com/blockly/xml">
                     <variables>
                       <variable type="timeout" id="timeout3">timeout3</variable>
                     </variables>
                     <block type="on_ext" id=")3Y6O)OSZ6,a.eId9_([" x="-412" y="213">
                       <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="FB}qA2j)SArn`ar=BQ8z">
                           <field name="oid">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.ENERGY_Power</field>
                         </shadow>
                       </value>
                       <statement name="STATEMENT">
                         <block type="controls_if" id="nT8{B{T^As}6|P1eFdAp">
                           <value name="IF0">
                             <block type="logic_compare" id="h=ll3)j0~lH*]vID@v{h">
                               <field name="OP">GTE</field>
                               <value name="A">
                                 <block type="get_value" id="prv]M@]WP)O8k`WxQv,M">
                                   <field name="ATTR">val</field>
                                   <field name="OID">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.ENERGY_Power</field>
                                 </block>
                               </value>
                               <value name="B">
                                 <block type="math_number" id="QWMd~%R.#BvSN.-Jr7|S">
                                   <field name="NUM">100</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                           <statement name="DO0">
                             <block type="controls_if" id=";N~?jZO,:^+(B6c4+e.p">
                               <value name="IF0">
                                 <block type="logic_compare" id="nLGp=iM$L~IydiZi8!Z?">
                                   <field name="OP">LTE</field>
                                   <value name="A">
                                     <block type="get_value" id="#X;Nd8faxS1r?ibN,9Ur">
                                       <field name="ATTR">val</field>
                                       <field name="OID">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.ENERGY_Power</field>
                                     </block>
                                   </value>
                                   <value name="B">
                                     <block type="math_number" id="3L+Hx`ZZZ[6;bcStTgXv">
                                       <field name="NUM">50</field>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <statement name="DO0">
                                 <block type="timeouts_cleartimeout" id="s_tu+G)JzfXKRo!,-i?j">
                                   <field name="NAME">timeout3</field>
                                 </block>
                               </statement>
                               <next>
                                 <block type="timeouts_settimeout" id="|y|12`S1gi{?f|+:!d87">
                                   <field name="NAME">timeout3</field>
                                   <field name="DELAY">30</field>
                                   <field name="UNIT">min</field>
                                   <statement name="STATEMENT">
                                     <block type="control" id="]:Q/hgD*3Ye$XrhiCKVK">
                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                       <field name="OID">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.POWER</field>
                                       <field name="WITH_DELAY">FALSE</field>
                                       <value name="VALUE">
                                         <block type="logic_boolean" id="]qeVb0?p3y!^dSP8T!{!">
                                           <field name="BOOL">FALSE</field>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="email" id="$9UHB7f:5pH}KOb-MKc+">
                                           <field name="INSTANCE"></field>
                                           <field name="IS_HTML">FALSE</field>
                                           <field name="LOG">warn</field>
                                           <value name="TO">
                                             <shadow type="text" id="k[:)o{+Cw9TDavPP#q~0">
                                               <field name="TEXT">nobtukpetploy@web.de</field>
                                             </shadow>
                                           </value>
                                           <value name="TEXT">
                                             <shadow type="text" id="Jg,,Cl.tlM@syT9Y]D#}">
                                               <field name="TEXT">Die Hauswasserpumpe ist OFF, bitte Wasser auffüllen und wieder einschalten. Danke.</field>
                                             </shadow>
                                           </value>
                                           <value name="SUBJECT">
                                             <shadow type="text" id="qh:kGtW{TIeASi#IVI)A">
                                               <field name="TEXT">Warnung Hauswasserpumpe</field>
                                             </shadow>
                                           </value>
                                         </block>
                                       </next>
                                     </block>
                                   </statement>
                                 </block>
                               </next>
                             </block>
                           </statement>
                           <next>
                             <block type="debug" id="jv2kcn+O#/wer{(+o+DW">
                               <field name="Severity">log</field>
                               <value name="TEXT">
                                 <shadow type="text">
                                   <field name="TEXT">test</field>
                                 </shadow>
                                 <block type="text_join" id="FXin0|uc^i=Wm;0R-Jtj">
                                   <mutation items="2"></mutation>
                                   <value name="ADD0">
                                     <block type="text" id="Z##h?{^2;N/L6AAv4~..">
                                       <field name="TEXT">Watt:</field>
                                     </block>
                                   </value>
                                   <value name="ADD1">
                                     <block type="on_source" id="t@LBx#Y!8Fv5({,pHM[,">
                                       <field name="ATTR">state.val</field>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                             </block>
                           </next>
                         </block>
                       </statement>
                     </block>
                    </xml>
                    [/s]
                    
                    J 1 Antwort Letzte Antwort
                    0
                    • N nole

                      @jan1

                      <xml xmlns="https://developers.google.com/blockly/xml">
                       <variables>
                         <variable type="timeout" id="timeout3">timeout3</variable>
                       </variables>
                       <block type="on_ext" id=")3Y6O)OSZ6,a.eId9_([" x="-412" y="213">
                         <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="FB}qA2j)SArn`ar=BQ8z">
                             <field name="oid">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.ENERGY_Power</field>
                           </shadow>
                         </value>
                         <statement name="STATEMENT">
                           <block type="controls_if" id="nT8{B{T^As}6|P1eFdAp">
                             <value name="IF0">
                               <block type="logic_compare" id="h=ll3)j0~lH*]vID@v{h">
                                 <field name="OP">GTE</field>
                                 <value name="A">
                                   <block type="get_value" id="prv]M@]WP)O8k`WxQv,M">
                                     <field name="ATTR">val</field>
                                     <field name="OID">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.ENERGY_Power</field>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="math_number" id="QWMd~%R.#BvSN.-Jr7|S">
                                     <field name="NUM">100</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <statement name="DO0">
                               <block type="controls_if" id=";N~?jZO,:^+(B6c4+e.p">
                                 <value name="IF0">
                                   <block type="logic_compare" id="nLGp=iM$L~IydiZi8!Z?">
                                     <field name="OP">LTE</field>
                                     <value name="A">
                                       <block type="get_value" id="#X;Nd8faxS1r?ibN,9Ur">
                                         <field name="ATTR">val</field>
                                         <field name="OID">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.ENERGY_Power</field>
                                       </block>
                                     </value>
                                     <value name="B">
                                       <block type="math_number" id="3L+Hx`ZZZ[6;bcStTgXv">
                                         <field name="NUM">50</field>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                                 <statement name="DO0">
                                   <block type="timeouts_cleartimeout" id="s_tu+G)JzfXKRo!,-i?j">
                                     <field name="NAME">timeout3</field>
                                   </block>
                                 </statement>
                                 <next>
                                   <block type="timeouts_settimeout" id="|y|12`S1gi{?f|+:!d87">
                                     <field name="NAME">timeout3</field>
                                     <field name="DELAY">30</field>
                                     <field name="UNIT">min</field>
                                     <statement name="STATEMENT">
                                       <block type="control" id="]:Q/hgD*3Ye$XrhiCKVK">
                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                         <field name="OID">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.POWER</field>
                                         <field name="WITH_DELAY">FALSE</field>
                                         <value name="VALUE">
                                           <block type="logic_boolean" id="]qeVb0?p3y!^dSP8T!{!">
                                             <field name="BOOL">FALSE</field>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="email" id="$9UHB7f:5pH}KOb-MKc+">
                                             <field name="INSTANCE"></field>
                                             <field name="IS_HTML">FALSE</field>
                                             <field name="LOG">warn</field>
                                             <value name="TO">
                                               <shadow type="text" id="k[:)o{+Cw9TDavPP#q~0">
                                                 <field name="TEXT">nobtukpetploy@web.de</field>
                                               </shadow>
                                             </value>
                                             <value name="TEXT">
                                               <shadow type="text" id="Jg,,Cl.tlM@syT9Y]D#}">
                                                 <field name="TEXT">Die Hauswasserpumpe ist OFF, bitte Wasser auffüllen und wieder einschalten. Danke.</field>
                                               </shadow>
                                             </value>
                                             <value name="SUBJECT">
                                               <shadow type="text" id="qh:kGtW{TIeASi#IVI)A">
                                                 <field name="TEXT">Warnung Hauswasserpumpe</field>
                                               </shadow>
                                             </value>
                                           </block>
                                         </next>
                                       </block>
                                     </statement>
                                   </block>
                                 </next>
                               </block>
                             </statement>
                             <next>
                               <block type="debug" id="jv2kcn+O#/wer{(+o+DW">
                                 <field name="Severity">log</field>
                                 <value name="TEXT">
                                   <shadow type="text">
                                     <field name="TEXT">test</field>
                                   </shadow>
                                   <block type="text_join" id="FXin0|uc^i=Wm;0R-Jtj">
                                     <mutation items="2"></mutation>
                                     <value name="ADD0">
                                       <block type="text" id="Z##h?{^2;N/L6AAv4~..">
                                         <field name="TEXT">Watt:</field>
                                       </block>
                                     </value>
                                     <value name="ADD1">
                                       <block type="on_source" id="t@LBx#Y!8Fv5({,pHM[,">
                                         <field name="ATTR">state.val</field>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                               </block>
                             </next>
                           </block>
                         </statement>
                       </block>
                      </xml>
                      [/s]
                      
                      J Offline
                      J Offline
                      Jan1
                      schrieb am zuletzt editiert von
                      #14

                      @nole
                      Dann noch in Code Tags im Spoiler da ich das erhalte:
                      a1d6e0f1-a0ad-4d81-88a1-3a6cd77e67c2-grafik.png

                      Wobei, was hast denn jetzt gepostet, das Blockly als Export (wie ich das haben möchte), oder einfach in Java Script umgeschaltet? Könnte natürlich auch an der versauten Codierung liegen, weil nicht i Code Tags gepackt.

                      N 1 Antwort Letzte Antwort
                      0
                      • J Jan1

                        @nole
                        Hast schon mal die Symbole über dem Editor gesehen wenn Du was postest? Da gibts nix zu erklären, weil das selbsterklärend ist und lösche den letzten Post, bevor ich keine Lust mehr habe mir den Finger wund zu scrollen ;)

                        Edit:
                        ich kenne übrigens kein Forum bei dem das nicht so gehandhabt wird und das hat nix mit Linux oder sonstigen zu tun :)

                        N Offline
                        N Offline
                        nole
                        schrieb am zuletzt editiert von nole
                        #15

                        @jan1 Tut mir leid, das ist mein erstes Forum und ich lerne den Umgang damit noch. Aber du hast Recht, wer richtig hinsieht ist im Vorteil.

                        Habe ich das jetzt so richtig gemacht.```

                        <xml xmlns="https://developers.google.com/blockly/xml">
                          <variables>
                            <variable type="timeout" id="timeout3">timeout3</variable>
                          </variables>
                          <block type="on_ext" id=")3Y6O)OSZ6,a.eId9_([" x="-412" y="213">
                            <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="FB}qA2j)SArn`ar=BQ8z">
                                <field name="oid">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.ENERGY_Power</field>
                              </shadow>
                            </value>
                            <statement name="STATEMENT">
                              <block type="controls_if" id="nT8{B{T^As}6|P1eFdAp">
                                <value name="IF0">
                                  <block type="logic_compare" id="h=ll3)j0~lH*]vID@v{h">
                                    <field name="OP">GTE</field>
                                    <value name="A">
                                      <block type="get_value" id="prv]M@]WP)O8k`WxQv,M">
                                        <field name="ATTR">val</field>
                                        <field name="OID">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.ENERGY_Power</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="math_number" id="QWMd~%R.#BvSN.-Jr7|S">
                                        <field name="NUM">100</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="controls_if" id=";N~?jZO,:^+(B6c4+e.p">
                                    <value name="IF0">
                                      <block type="logic_compare" id="nLGp=iM$L~IydiZi8!Z?">
                                        <field name="OP">LTE</field>
                                        <value name="A">
                                          <block type="get_value" id="#X;Nd8faxS1r?ibN,9Ur">
                                            <field name="ATTR">val</field>
                                            <field name="OID">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.ENERGY_Power</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_number" id="3L+Hx`ZZZ[6;bcStTgXv">
                                            <field name="NUM">50</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="timeouts_cleartimeout" id="s_tu+G)JzfXKRo!,-i?j">
                                        <field name="NAME">timeout3</field>
                                      </block>
                                    </statement>
                                    <next>
                                      <block type="timeouts_settimeout" id="|y|12`S1gi{?f|+:!d87">
                                        <field name="NAME">timeout3</field>
                                        <field name="DELAY">30</field>
                                        <field name="UNIT">min</field>
                                        <statement name="STATEMENT">
                                          <block type="control" id="]:Q/hgD*3Ye$XrhiCKVK">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.POWER</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="]qeVb0?p3y!^dSP8T!{!">
                                                <field name="BOOL">FALSE</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="email" id="$9UHB7f:5pH}KOb-MKc+">
                                                <field name="INSTANCE"></field>
                                                <field name="IS_HTML">FALSE</field>
                                                <field name="LOG">warn</field>
                                                <value name="TO">
                                                  <shadow type="text" id="k[:)o{+Cw9TDavPP#q~0">
                                                    <field name="TEXT">nobtukpetploy@web.de</field>
                                                  </shadow>
                                                </value>
                                                <value name="TEXT">
                                                  <shadow type="text" id="Jg,,Cl.tlM@syT9Y]D#}">
                                                    <field name="TEXT">Die Hauswasserpumpe ist OFF, bitte Wasser auffüllen und wieder einschalten. Danke.</field>
                                                  </shadow>
                                                </value>
                                                <value name="SUBJECT">
                                                  <shadow type="text" id="qh:kGtW{TIeASi#IVI)A">
                                                    <field name="TEXT">Warnung Hauswasserpumpe</field>
                                                  </shadow>
                                                </value>
                                              </block>
                                            </next>
                                          </block>
                                        </statement>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                                <next>
                                  <block type="debug" id="jv2kcn+O#/wer{(+o+DW">
                                    <field name="Severity">log</field>
                                    <value name="TEXT">
                                      <shadow type="text">
                                        <field name="TEXT">test</field>
                                      </shadow>
                                      <block type="text_join" id="FXin0|uc^i=Wm;0R-Jtj">
                                        <mutation items="2"></mutation>
                                        <value name="ADD0">
                                          <block type="text" id="Z##h?{^2;N/L6AAv4~..">
                                            <field name="TEXT">Watt:</field>
                                          </block>
                                        </value>
                                        <value name="ADD1">
                                          <block type="on_source" id="t@LBx#Y!8Fv5({,pHM[,">
                                            <field name="ATTR">state.val</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </statement>
                          </block>
                        <
                        
                        J 1 Antwort Letzte Antwort
                        0
                        • J Jan1

                          @nole
                          Dann noch in Code Tags im Spoiler da ich das erhalte:
                          a1d6e0f1-a0ad-4d81-88a1-3a6cd77e67c2-grafik.png

                          Wobei, was hast denn jetzt gepostet, das Blockly als Export (wie ich das haben möchte), oder einfach in Java Script umgeschaltet? Könnte natürlich auch an der versauten Codierung liegen, weil nicht i Code Tags gepackt.

                          N Offline
                          N Offline
                          nole
                          schrieb am zuletzt editiert von
                          #16

                          @jan1 Blockly als Export

                          1 Antwort Letzte Antwort
                          0
                          • N nole

                            @jan1 Tut mir leid, das ist mein erstes Forum und ich lerne den Umgang damit noch. Aber du hast Recht, wer richtig hinsieht ist im Vorteil.

                            Habe ich das jetzt so richtig gemacht.```

                            <xml xmlns="https://developers.google.com/blockly/xml">
                              <variables>
                                <variable type="timeout" id="timeout3">timeout3</variable>
                              </variables>
                              <block type="on_ext" id=")3Y6O)OSZ6,a.eId9_([" x="-412" y="213">
                                <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="FB}qA2j)SArn`ar=BQ8z">
                                    <field name="oid">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.ENERGY_Power</field>
                                  </shadow>
                                </value>
                                <statement name="STATEMENT">
                                  <block type="controls_if" id="nT8{B{T^As}6|P1eFdAp">
                                    <value name="IF0">
                                      <block type="logic_compare" id="h=ll3)j0~lH*]vID@v{h">
                                        <field name="OP">GTE</field>
                                        <value name="A">
                                          <block type="get_value" id="prv]M@]WP)O8k`WxQv,M">
                                            <field name="ATTR">val</field>
                                            <field name="OID">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.ENERGY_Power</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_number" id="QWMd~%R.#BvSN.-Jr7|S">
                                            <field name="NUM">100</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="controls_if" id=";N~?jZO,:^+(B6c4+e.p">
                                        <value name="IF0">
                                          <block type="logic_compare" id="nLGp=iM$L~IydiZi8!Z?">
                                            <field name="OP">LTE</field>
                                            <value name="A">
                                              <block type="get_value" id="#X;Nd8faxS1r?ibN,9Ur">
                                                <field name="ATTR">val</field>
                                                <field name="OID">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.ENERGY_Power</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="math_number" id="3L+Hx`ZZZ[6;bcStTgXv">
                                                <field name="NUM">50</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO0">
                                          <block type="timeouts_cleartimeout" id="s_tu+G)JzfXKRo!,-i?j">
                                            <field name="NAME">timeout3</field>
                                          </block>
                                        </statement>
                                        <next>
                                          <block type="timeouts_settimeout" id="|y|12`S1gi{?f|+:!d87">
                                            <field name="NAME">timeout3</field>
                                            <field name="DELAY">30</field>
                                            <field name="UNIT">min</field>
                                            <statement name="STATEMENT">
                                              <block type="control" id="]:Q/hgD*3Ye$XrhiCKVK">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                <field name="OID">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.POWER</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="logic_boolean" id="]qeVb0?p3y!^dSP8T!{!">
                                                    <field name="BOOL">FALSE</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="email" id="$9UHB7f:5pH}KOb-MKc+">
                                                    <field name="INSTANCE"></field>
                                                    <field name="IS_HTML">FALSE</field>
                                                    <field name="LOG">warn</field>
                                                    <value name="TO">
                                                      <shadow type="text" id="k[:)o{+Cw9TDavPP#q~0">
                                                        <field name="TEXT">nobtukpetploy@web.de</field>
                                                      </shadow>
                                                    </value>
                                                    <value name="TEXT">
                                                      <shadow type="text" id="Jg,,Cl.tlM@syT9Y]D#}">
                                                        <field name="TEXT">Die Hauswasserpumpe ist OFF, bitte Wasser auffüllen und wieder einschalten. Danke.</field>
                                                      </shadow>
                                                    </value>
                                                    <value name="SUBJECT">
                                                      <shadow type="text" id="qh:kGtW{TIeASi#IVI)A">
                                                        <field name="TEXT">Warnung Hauswasserpumpe</field>
                                                      </shadow>
                                                    </value>
                                                  </block>
                                                </next>
                                              </block>
                                            </statement>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                    <next>
                                      <block type="debug" id="jv2kcn+O#/wer{(+o+DW">
                                        <field name="Severity">log</field>
                                        <value name="TEXT">
                                          <shadow type="text">
                                            <field name="TEXT">test</field>
                                          </shadow>
                                          <block type="text_join" id="FXin0|uc^i=Wm;0R-Jtj">
                                            <mutation items="2"></mutation>
                                            <value name="ADD0">
                                              <block type="text" id="Z##h?{^2;N/L6AAv4~..">
                                                <field name="TEXT">Watt:</field>
                                              </block>
                                            </value>
                                            <value name="ADD1">
                                              <block type="on_source" id="t@LBx#Y!8Fv5({,pHM[,">
                                                <field name="ATTR">state.val</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                              </block>
                            <
                            
                            J Offline
                            J Offline
                            Jan1
                            schrieb am zuletzt editiert von Jan1
                            #17

                            @nole
                            wenn Du jetzt noch mal was offen gepostest, dann bin ich hier raus!

                            Ich kann das nicht importieren, weil wohl was fehlt oder das Ding ohne Code Tags schlicht versaut wird.

                            N dslraserD 2 Antworten Letzte Antwort
                            0
                            • J Jan1

                              @nole
                              wenn Du jetzt noch mal was offen gepostest, dann bin ich hier raus!

                              Ich kann das nicht importieren, weil wohl was fehlt oder das Ding ohne Code Tags schlicht versaut wird.

                              N Offline
                              N Offline
                              nole
                              schrieb am zuletzt editiert von
                              #18

                              @jan1 Tut mir leid, was habe ich denn bis jetzt richtig? Was benötigst du noch und wie mache ich das?
                              Ich bin dir wirklich sehr dankbar für deine Hilfe.

                              liv-in-skyL 1 Antwort Letzte Antwort
                              0
                              • N nole

                                @jan1 Tut mir leid, was habe ich denn bis jetzt richtig? Was benötigst du noch und wie mache ich das?
                                Ich bin dir wirklich sehr dankbar für deine Hilfe.

                                liv-in-skyL Offline
                                liv-in-skyL Offline
                                liv-in-sky
                                schrieb am zuletzt editiert von
                                #19

                                @nole https://forum.iobroker.net/post/394912

                                nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

                                J 1 Antwort Letzte Antwort
                                1
                                • liv-in-skyL liv-in-sky

                                  @nole https://forum.iobroker.net/post/394912

                                  J Offline
                                  J Offline
                                  Jan1
                                  schrieb am zuletzt editiert von
                                  #20

                                  @liv-in-sky
                                  geil, ne Anleitung dazu.
                                  Kann man die irgendwie oben anpinnen?

                                  liv-in-skyL N 2 Antworten Letzte Antwort
                                  0
                                  • J Jan1

                                    @liv-in-sky
                                    geil, ne Anleitung dazu.
                                    Kann man die irgendwie oben anpinnen?

                                    liv-in-skyL Offline
                                    liv-in-skyL Offline
                                    liv-in-sky
                                    schrieb am zuletzt editiert von
                                    #21

                                    @jan1 habe sie in den lesezeichen

                                    nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

                                    1 Antwort Letzte Antwort
                                    0
                                    • J Jan1

                                      @nole
                                      wenn Du jetzt noch mal was offen gepostest, dann bin ich hier raus!

                                      Ich kann das nicht importieren, weil wohl was fehlt oder das Ding ohne Code Tags schlicht versaut wird.

                                      dslraserD Offline
                                      dslraserD Offline
                                      dslraser
                                      Forum Testing Most Active
                                      schrieb am zuletzt editiert von dslraser
                                      #22

                                      @jan1 sagte in Trockenlaufschutz, Problem mit Blockly:

                                      @nole
                                      wenn Du jetzt noch mal was offen gepostest, dann bin ich hier raus!

                                      Ich kann das nicht importieren, weil wohl was fehlt oder das Ding ohne Code Tags schlicht versaut wird.

                                      Das ist von Ihm @nole (Import ging bei mir)

                                      <xml xmlns="https://developers.google.com/blockly/xml">
                                        <variables>
                                          <variable type="timeout" id="timeout3">timeout3</variable>
                                        </variables>
                                        <block type="on_ext" id=")3Y6O)OSZ6,a.eId9_([" x="-412" y="213">
                                          <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="FB}qA2j)SArnar=BQ8z">
                                              <field name="oid">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.ENERGY_Power</field>
                                            </shadow>
                                          </value>
                                          <statement name="STATEMENT">
                                            <block type="controls_if" id="nT8{B{T^As}6|P1eFdAp">
                                              <value name="IF0">
                                                <block type="logic_compare" id="h=ll3)j0~lH*]vID@v{h">
                                                  <field name="OP">GTE</field>
                                                  <value name="A">
                                                    <block type="get_value" id="prv]M@]WP)O8kWxQv,M">
                                                      <field name="ATTR">val</field>
                                                      <field name="OID">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.ENERGY_Power</field>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block type="math_number" id="QWMd~%R.#BvSN.-Jr7|S">
                                                      <field name="NUM">100</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <statement name="DO0">
                                                <block type="controls_if" id=";N~?jZO,:^+(B6c4+e.p">
                                                  <value name="IF0">
                                                    <block type="logic_compare" id="nLGp=iM$L~IydiZi8!Z?">
                                                      <field name="OP">LTE</field>
                                                      <value name="A">
                                                        <block type="get_value" id="#X;Nd8faxS1r?ibN,9Ur">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.ENERGY_Power</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="math_number" id="3L+HxZZZ[6;bcStTgXv">
                                                          <field name="NUM">50</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <statement name="DO0">
                                                    <block type="timeouts_cleartimeout" id="s_tu+G)JzfXKRo!,-i?j">
                                                      <field name="NAME">timeout3</field>
                                                    </block>
                                                  </statement>
                                                  <next>
                                                    <block type="timeouts_settimeout" id="|y|12S1gi{?f|+:!d87">
                                                      <field name="NAME">timeout3</field>
                                                      <field name="DELAY">30</field>
                                                      <field name="UNIT">min</field>
                                                      <statement name="STATEMENT">
                                                        <block type="control" id="]:Q/hgD*3Ye$XrhiCKVK">
                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                          <field name="OID">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.POWER</field>
                                                          <field name="WITH_DELAY">FALSE</field>
                                                          <value name="VALUE">
                                                            <block type="logic_boolean" id="]qeVb0?p3y!^dSP8T!{!">
                                                              <field name="BOOL">FALSE</field>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="email" id="$9UHB7f:5pH}KOb-MKc+">
                                                              <field name="INSTANCE"></field>
                                                              <field name="IS_HTML">FALSE</field>
                                                              <field name="LOG">warn</field>
                                                              <value name="TO">
                                                                <shadow type="text" id="k[:)o{+Cw9TDavPP#q~0">
                                                                  <field name="TEXT">nobtukpetploy@web.de</field>
                                                                </shadow>
                                                              </value>
                                                              <value name="TEXT">
                                                                <shadow type="text" id="Jg,,Cl.tlM@syT9Y]D#}">
                                                                  <field name="TEXT">Die Hauswasserpumpe ist OFF, bitte Wasser auffüllen und wieder einschalten. Danke.</field>
                                                                </shadow>
                                                              </value>
                                                              <value name="SUBJECT">
                                                                <shadow type="text" id="qh:kGtW{TIeASi#IVI)A">
                                                                  <field name="TEXT">Warnung Hauswasserpumpe</field>
                                                                </shadow>
                                                              </value>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </statement>
                                                    </block>
                                                  </next>
                                                </block>
                                              </statement>
                                              <next>
                                                <block type="debug" id="jv2kcn+O#/wer{(+o+DW">
                                                  <field name="Severity">log</field>
                                                  <value name="TEXT">
                                                    <shadow type="text">
                                                      <field name="TEXT">test</field>
                                                    </shadow>
                                                    <block type="text_join" id="FXin0|uc^i=Wm;0R-Jtj">
                                                      <mutation items="2"></mutation>
                                                      <value name="ADD0">
                                                        <block type="text" id="Z##h?{^2;N/L6AAv4~..">
                                                          <field name="TEXT">Watt:</field>
                                                        </block>
                                                      </value>
                                                      <value name="ADD1">
                                                        <block type="on_source" id="t@LBx#Y!8Fv5({,pHM[,">
                                                          <field name="ATTR">state.val</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                </block>
                                              </next>
                                            </block>
                                          </statement>
                                        </block>
                                      </xml>
                                      

                                      J 1 Antwort Letzte Antwort
                                      0
                                      • J Jan1

                                        @liv-in-sky
                                        geil, ne Anleitung dazu.
                                        Kann man die irgendwie oben anpinnen?

                                        N Offline
                                        N Offline
                                        nole
                                        schrieb am zuletzt editiert von
                                        #23

                                        @jan1 Ich muß das Skript wenn ich das richtig verstehe in den Code Tag (</>) packen? habe ich doch eben gemacht, oder kann man da noch was falsch machen?

                                        J 1 Antwort Letzte Antwort
                                        0
                                        • dslraserD dslraser

                                          @jan1 sagte in Trockenlaufschutz, Problem mit Blockly:

                                          @nole
                                          wenn Du jetzt noch mal was offen gepostest, dann bin ich hier raus!

                                          Ich kann das nicht importieren, weil wohl was fehlt oder das Ding ohne Code Tags schlicht versaut wird.

                                          Das ist von Ihm @nole (Import ging bei mir)

                                          <xml xmlns="https://developers.google.com/blockly/xml">
                                            <variables>
                                              <variable type="timeout" id="timeout3">timeout3</variable>
                                            </variables>
                                            <block type="on_ext" id=")3Y6O)OSZ6,a.eId9_([" x="-412" y="213">
                                              <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="FB}qA2j)SArnar=BQ8z">
                                                  <field name="oid">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.ENERGY_Power</field>
                                                </shadow>
                                              </value>
                                              <statement name="STATEMENT">
                                                <block type="controls_if" id="nT8{B{T^As}6|P1eFdAp">
                                                  <value name="IF0">
                                                    <block type="logic_compare" id="h=ll3)j0~lH*]vID@v{h">
                                                      <field name="OP">GTE</field>
                                                      <value name="A">
                                                        <block type="get_value" id="prv]M@]WP)O8kWxQv,M">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.ENERGY_Power</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="math_number" id="QWMd~%R.#BvSN.-Jr7|S">
                                                          <field name="NUM">100</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <statement name="DO0">
                                                    <block type="controls_if" id=";N~?jZO,:^+(B6c4+e.p">
                                                      <value name="IF0">
                                                        <block type="logic_compare" id="nLGp=iM$L~IydiZi8!Z?">
                                                          <field name="OP">LTE</field>
                                                          <value name="A">
                                                            <block type="get_value" id="#X;Nd8faxS1r?ibN,9Ur">
                                                              <field name="ATTR">val</field>
                                                              <field name="OID">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.ENERGY_Power</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="math_number" id="3L+HxZZZ[6;bcStTgXv">
                                                              <field name="NUM">50</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <statement name="DO0">
                                                        <block type="timeouts_cleartimeout" id="s_tu+G)JzfXKRo!,-i?j">
                                                          <field name="NAME">timeout3</field>
                                                        </block>
                                                      </statement>
                                                      <next>
                                                        <block type="timeouts_settimeout" id="|y|12S1gi{?f|+:!d87">
                                                          <field name="NAME">timeout3</field>
                                                          <field name="DELAY">30</field>
                                                          <field name="UNIT">min</field>
                                                          <statement name="STATEMENT">
                                                            <block type="control" id="]:Q/hgD*3Ye$XrhiCKVK">
                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                              <field name="OID">sonoff.0.Sonoff-POWR2-Hauswasserpumpe.POWER</field>
                                                              <field name="WITH_DELAY">FALSE</field>
                                                              <value name="VALUE">
                                                                <block type="logic_boolean" id="]qeVb0?p3y!^dSP8T!{!">
                                                                  <field name="BOOL">FALSE</field>
                                                                </block>
                                                              </value>
                                                              <next>
                                                                <block type="email" id="$9UHB7f:5pH}KOb-MKc+">
                                                                  <field name="INSTANCE"></field>
                                                                  <field name="IS_HTML">FALSE</field>
                                                                  <field name="LOG">warn</field>
                                                                  <value name="TO">
                                                                    <shadow type="text" id="k[:)o{+Cw9TDavPP#q~0">
                                                                      <field name="TEXT">nobtukpetploy@web.de</field>
                                                                    </shadow>
                                                                  </value>
                                                                  <value name="TEXT">
                                                                    <shadow type="text" id="Jg,,Cl.tlM@syT9Y]D#}">
                                                                      <field name="TEXT">Die Hauswasserpumpe ist OFF, bitte Wasser auffüllen und wieder einschalten. Danke.</field>
                                                                    </shadow>
                                                                  </value>
                                                                  <value name="SUBJECT">
                                                                    <shadow type="text" id="qh:kGtW{TIeASi#IVI)A">
                                                                      <field name="TEXT">Warnung Hauswasserpumpe</field>
                                                                    </shadow>
                                                                  </value>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </statement>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </statement>
                                                  <next>
                                                    <block type="debug" id="jv2kcn+O#/wer{(+o+DW">
                                                      <field name="Severity">log</field>
                                                      <value name="TEXT">
                                                        <shadow type="text">
                                                          <field name="TEXT">test</field>
                                                        </shadow>
                                                        <block type="text_join" id="FXin0|uc^i=Wm;0R-Jtj">
                                                          <mutation items="2"></mutation>
                                                          <value name="ADD0">
                                                            <block type="text" id="Z##h?{^2;N/L6AAv4~..">
                                                              <field name="TEXT">Watt:</field>
                                                            </block>
                                                          </value>
                                                          <value name="ADD1">
                                                            <block type="on_source" id="t@LBx#Y!8Fv5({,pHM[,">
                                                              <field name="ATTR">state.val</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </next>
                                                </block>
                                              </statement>
                                            </block>
                                          </xml>
                                          

                                          J Offline
                                          J Offline
                                          Jan1
                                          schrieb am zuletzt editiert von Jan1
                                          #24

                                          @dslraser
                                          Hm, hast Du den Admin 5 und den aktuellen JS-Controller laufen?
                                          Bei mir geht kein Import!

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


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          710

                                          Online

                                          32.5k

                                          Benutzer

                                          81.8k

                                          Themen

                                          1.3m

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

                                          • Du hast noch kein Konto? Registrieren

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