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
    517

  • 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.
  • 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
                        • J Jan1

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

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

                          @jan1 aktuell Admin 4.2.1, JS-Controller aktuell

                          1 Antwort Letzte Antwort
                          0
                          • N nole

                            @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 Offline
                            J Offline
                            Jan1
                            schrieb am zuletzt editiert von Jan1
                            #26

                            @nole
                            Ja so ist es und dann sieht es so aus wie bei dslraser ;)

                            Ich kann das aber trotzdem nicht im portieren, was aber auch an ein paar Betas in meinem System liegen könnte.

                            Die Frage zu den Versionen war eigentlich an dslraser, weil bei Ihm Dein Export funktioniert, aber gut zu wissen, dass Du auch noch die "alten" Versionen drauf hast.

                            BBTownB 1 Antwort Letzte Antwort
                            0
                            • J Jan1

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

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

                              @jan1 sagte in Trockenlaufschutz, Problem mit Blockly:

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

                              nein, beides nicht.

                              J 1 Antwort Letzte Antwort
                              0
                              • J Jan1

                                @nole
                                Ja so ist es und dann sieht es so aus wie bei dslraser ;)

                                Ich kann das aber trotzdem nicht im portieren, was aber auch an ein paar Betas in meinem System liegen könnte.

                                Die Frage zu den Versionen war eigentlich an dslraser, weil bei Ihm Dein Export funktioniert, aber gut zu wissen, dass Du auch noch die "alten" Versionen drauf hast.

                                BBTownB Offline
                                BBTownB Offline
                                BBTown
                                schrieb am zuletzt editiert von BBTown
                                #28

                                @jan1 ich kann es auch nicht importieren weil bei mir das Blockly-Modul "eMail" fehlt.
                                Hast Du ggf. das gleiche Problem? (Ich nutze E-Mail derzeit nicht in Blockly)

                                ioBroker auf NUC (VM debian v13 (Trixie ), node v22.21.0 npm v10.9.4, js-controller v7.1.0 jsonl/jsonl / HomeMatic CCU-2 (Wired und Funk) / Philips HUE / echo.DOT / Broadlink RM pro / SONOS

                                J 1 Antwort Letzte Antwort
                                0
                                • dslraserD dslraser

                                  @jan1 sagte in Trockenlaufschutz, Problem mit Blockly:

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

                                  nein, beides nicht.

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

                                  @dslraser
                                  OK, dann muss ich mal schauen, obs zu dem Bug schon was gibt ;)

                                  Kannst Du bitte das Blockly umbauen? Ich muss weg und da fehlt eh nur der stoptimeout

                                  dslraserD N 2 Antworten Letzte Antwort
                                  0
                                  • J Jan1

                                    @dslraser
                                    OK, dann muss ich mal schauen, obs zu dem Bug schon was gibt ;)

                                    Kannst Du bitte das Blockly umbauen? Ich muss weg und da fehlt eh nur der stoptimeout

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

                                    @jan1 sagte in Trockenlaufschutz, Problem mit Blockly:

                                    Ich muss weg

                                    ich auch...

                                    1 Antwort Letzte Antwort
                                    0
                                    • BBTownB BBTown

                                      @jan1 ich kann es auch nicht importieren weil bei mir das Blockly-Modul "eMail" fehlt.
                                      Hast Du ggf. das gleiche Problem? (Ich nutze E-Mail derzeit nicht in Blockly)

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

                                      @bbtown
                                      E-Mail in Blockly??? Ich werd alt, was soll das denn schon wieder? Wie bekomm ich das Modul rein?

                                      liv-in-skyL 1 Antwort Letzte Antwort
                                      0
                                      • J Jan1

                                        @dslraser
                                        OK, dann muss ich mal schauen, obs zu dem Bug schon was gibt ;)

                                        Kannst Du bitte das Blockly umbauen? Ich muss weg und da fehlt eh nur der stoptimeout

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

                                        @jan1 ich werde es versuchen, ich lasse dann mal die Email weg. wie muß denn der stoptimeout da rein?
                                        Ich versuche es und melde mich dann, aber schonmal vielen Dank an alle. Bis dann.

                                        BBTownB 2 Antworten Letzte Antwort
                                        0
                                        • J Jan1

                                          @bbtown
                                          E-Mail in Blockly??? Ich werd alt, was soll das denn schon wieder? Wie bekomm ich das Modul rein?

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

                                          @jan1 adapter instalieren

                                          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
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          780

                                          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