Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. [gelöst]Trockenlaufschutz, Problem mit Blockly

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    [gelöst]Trockenlaufschutz, Problem mit Blockly

    This topic has been deleted. Only users with topic management privileges can see it.
    • liv-in-sky
      liv-in-sky @nole last edited by

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

      J 1 Reply Last reply Reply Quote 1
      • J
        Jan1 @liv-in-sky last edited by

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

        liv-in-sky N 2 Replies Last reply Reply Quote 0
        • liv-in-sky
          liv-in-sky @Jan1 last edited by

          @jan1 habe sie in den lesezeichen

          1 Reply Last reply Reply Quote 0
          • dslraser
            dslraser Forum Testing Most Active @Jan1 last edited by 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 1 Reply Last reply Reply Quote 0
            • N
              nole @Jan1 last edited by

              @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 Reply Last reply Reply Quote 0
              • J
                Jan1 @dslraser last edited by Jan1

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

                N dslraser 2 Replies Last reply Reply Quote 0
                • N
                  nole @Jan1 last edited by

                  @jan1 aktuell Admin 4.2.1, JS-Controller aktuell

                  1 Reply Last reply Reply Quote 0
                  • J
                    Jan1 @nole last edited by 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.

                    BBTown 1 Reply Last reply Reply Quote 0
                    • dslraser
                      dslraser Forum Testing Most Active @Jan1 last edited by

                      @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 Reply Last reply Reply Quote 0
                      • BBTown
                        BBTown @Jan1 last edited by 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 1 Reply Last reply Reply Quote 0
                        • J
                          Jan1 @dslraser last edited by

                          @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

                          dslraser N 2 Replies Last reply Reply Quote 0
                          • dslraser
                            dslraser Forum Testing Most Active @Jan1 last edited by

                            @jan1 sagte in Trockenlaufschutz, Problem mit Blockly:

                            Ich muss weg

                            ich auch...

                            1 Reply Last reply Reply Quote 0
                            • J
                              Jan1 @BBTown last edited by

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

                              liv-in-sky 1 Reply Last reply Reply Quote 0
                              • N
                                nole @Jan1 last edited by

                                @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.

                                BBTown 2 Replies Last reply Reply Quote 0
                                • liv-in-sky
                                  liv-in-sky @Jan1 last edited by

                                  @jan1 adapter instalieren

                                  J 1 Reply Last reply Reply Quote 0
                                  • J
                                    Jan1 @liv-in-sky last edited by Jan1

                                    @liv-in-sky
                                    da bin ich schon fast angepisst, wenn ich für ne Grundfunktion was installieren muss, was ich nicht will und brauche.

                                    @nole
                                    Du brauchst hier nichts tun, weil das ein anderes Thema ist 😉

                                    Ich bin dann mal weg, Kater muss zum TÜV 🙂

                                    N 2 Replies Last reply Reply Quote 0
                                    • N
                                      nole @Jan1 last edited by

                                      @jan1 Ich probiere und teste dann. Ich wünsche noch einen schönen Tag. Danke

                                      1 Reply Last reply Reply Quote 0
                                      • BBTown
                                        BBTown @nole last edited by

                                        @nole

                                        code_text
                                        

                                        Der Code (grün) gehört zwischen die "Begrenzer" (pink), dann sieht es so wie oberhalb dieses Textes aus
                                        016c531e-25e1-478c-9cf0-188bd964d24b-image.png

                                        1 Reply Last reply Reply Quote 0
                                        • N
                                          nole @Jan1 last edited by

                                          Hatte ich so gemacht. mache ich dann nochmal. Also Blockly exportieren und hier einfügen.

                                          <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>
                                                            </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>
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • BBTown
                                            BBTown @nole last edited by BBTown

                                            @nole
                                            Bitte bearbeite auch deinen älteren Beiträge hier nachträglich mit den code-Tags, alleine schon weil hier viele auch mit Mobilgeräten mitlesen, für diese ist das eine Horror solche Beiträge zu lesen.

                                            Um so schneller bekommst Du Unterstützung.
                                            d183c2dc-2d90-4d42-96ab-cfb31a89e4bf-image.png

                                            N 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            908
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            107
                                            6304
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo