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

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. [gelöst] Intervall alle 10 sek für X min

NEWS

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

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

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

[gelöst] Intervall alle 10 sek für X min

Scheduled Pinned Locked Moved Blockly
3 Posts 2 Posters 289 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • AxelF1977A Offline
    AxelF1977A Offline
    AxelF1977
    wrote on last edited by AxelF1977
    #1

    Hallo,

    ich habe heute einen meiner Wassersensoren bekommen, und wenn es jetzt ein leck gibt, soll er für z.B. 5 min alle sek eine Ansage machen, und einmalig ein Telegramm verschicken. Ich habe nun eine ganze Weile grtüftelt, aber mit intervall und timeout Blöcken vertrage ich mich immer noch nicht. So sieht es aus, ohne Intervall und Time out.

    9b31b7bb-ade4-4718-82fa-40c99f625fb3-image.png

    <xml xmlns="https://developers.google.com/blockly/xml">
      <block type="on_ext" id="+]N.Ojx|Fa,})u|q,|g=" x="213" y="38">
        <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="4+T3s??~z)iskA(!jv%0">
            <field name="oid">mihome.0.devices.sensor_wleak_aq1_158d0004600610.state</field>
          </shadow>
        </value>
        <statement name="STATEMENT">
          <block type="controls_if" id="ogT@9PQR~c;du)U;y5?A">
            <mutation else="1"></mutation>
            <value name="IF0">
              <block type="logic_compare" id=",i@T!zN=8i8SOY(JZjRy">
                <field name="OP">EQ</field>
                <value name="A">
                  <block type="get_value" id="k+!H)8|m7{]44v(`lXgl">
                    <field name="ATTR">val</field>
                    <field name="OID">mihome.0.devices.sensor_wleak_aq1_158d0004600610.state</field>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_boolean" id="^xt+ec@x)*?o`@+uKra(">
                    <field name="BOOL">TRUE</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="telegram" id="9JU8)6%9Rn)5qnzomvdk">
                <field name="INSTANCE"></field>
                <field name="LOG"></field>
                <field name="SILENT">FALSE</field>
                <field name="PARSEMODE">default</field>
                <value name="MESSAGE">
                  <shadow type="text" id="AY4c-BJsbY-2EayVBa@q">
                    <field name="TEXT">text</field>
                  </shadow>
                  <block type="text_join" id="Ma9K[*W[lW!EY/?SU`ej">
                    <mutation items="3"></mutation>
                    <value name="ADD0">
                      <block type="text" id=")hPFPsa!@usiya%ku/eB">
                        <field name="TEXT">ACHTUNG</field>
                      </block>
                    </value>
                    <value name="ADD1">
                      <block type="text" id="3;qgyqPY+jEmU0]LM#?q">
                        <field name="TEXT"></field>
                      </block>
                    </value>
                    <value name="ADD2">
                      <block type="text" id="jxtM?Ew;B4T;g]J?dc(o">
                        <field name="TEXT">Wasser unter Geschirrspüler</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="control" id="M_.mF0Le.RG1[IVv3^UP">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                    <field name="OID">alexa2.0.Echo-Devices.31c4fa66e30f46c2b6ff5e85881d5b7c.Commands.speak</field>
                    <field name="WITH_DELAY">FALSE</field>
                    <value name="VALUE">
                      <block type="text_join" id="Q)pCn46h]D1l;rAf84gt">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id=",O?9Zy|73CPiIaBIUX|_">
                            <field name="TEXT">ACHTUNG</field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="text" id="+%u0V+b?pJ:o9_S9S)T=">
                            <field name="TEXT">Wasser unter Geschirrspüler</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="control" id=".zUz$Og4DyDif{F{~9Xu">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">alexa2.0.Echo-Devices.G000WV059032062L.Commands.announcement</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="text_join" id="U71MSp3RU)FYB9d2M_11">
                            <mutation items="3"></mutation>
                            <value name="ADD0">
                              <block type="text" id=":49_pU$u{/Vl^*ijveOF">
                                <field name="TEXT">ACHTUNG</field>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="text" id="}Z1eT|_.qgNYU-_(QZZE">
                                <field name="TEXT"></field>
                              </block>
                            </value>
                            <value name="ADD2">
                              <block type="text" id="ZP|E:sdH6SCOeK9])w^[">
                                <field name="TEXT">Wasser unter Geschirrspüler</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </statement>
          </block>
        </statement>
      </block>
    </xml>
    

    Wie müssten die Blöcke timeout und Intervall eingebaut werden, damit das funktioniert?

    Vielen Dank

    ASROCK Deskmini Intel I3 8100 16GB mit Proxmox VM ioBroker VM DIYHue| CCU piVCCU + FHEM auf Raspberry | Maria DB mit Grafana und Prometheus auf Tinker Board

    paul53P 1 Reply Last reply
    0
    • AxelF1977A AxelF1977

      Hallo,

      ich habe heute einen meiner Wassersensoren bekommen, und wenn es jetzt ein leck gibt, soll er für z.B. 5 min alle sek eine Ansage machen, und einmalig ein Telegramm verschicken. Ich habe nun eine ganze Weile grtüftelt, aber mit intervall und timeout Blöcken vertrage ich mich immer noch nicht. So sieht es aus, ohne Intervall und Time out.

      9b31b7bb-ade4-4718-82fa-40c99f625fb3-image.png

      <xml xmlns="https://developers.google.com/blockly/xml">
        <block type="on_ext" id="+]N.Ojx|Fa,})u|q,|g=" x="213" y="38">
          <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="4+T3s??~z)iskA(!jv%0">
              <field name="oid">mihome.0.devices.sensor_wleak_aq1_158d0004600610.state</field>
            </shadow>
          </value>
          <statement name="STATEMENT">
            <block type="controls_if" id="ogT@9PQR~c;du)U;y5?A">
              <mutation else="1"></mutation>
              <value name="IF0">
                <block type="logic_compare" id=",i@T!zN=8i8SOY(JZjRy">
                  <field name="OP">EQ</field>
                  <value name="A">
                    <block type="get_value" id="k+!H)8|m7{]44v(`lXgl">
                      <field name="ATTR">val</field>
                      <field name="OID">mihome.0.devices.sensor_wleak_aq1_158d0004600610.state</field>
                    </block>
                  </value>
                  <value name="B">
                    <block type="logic_boolean" id="^xt+ec@x)*?o`@+uKra(">
                      <field name="BOOL">TRUE</field>
                    </block>
                  </value>
                </block>
              </value>
              <statement name="DO0">
                <block type="telegram" id="9JU8)6%9Rn)5qnzomvdk">
                  <field name="INSTANCE"></field>
                  <field name="LOG"></field>
                  <field name="SILENT">FALSE</field>
                  <field name="PARSEMODE">default</field>
                  <value name="MESSAGE">
                    <shadow type="text" id="AY4c-BJsbY-2EayVBa@q">
                      <field name="TEXT">text</field>
                    </shadow>
                    <block type="text_join" id="Ma9K[*W[lW!EY/?SU`ej">
                      <mutation items="3"></mutation>
                      <value name="ADD0">
                        <block type="text" id=")hPFPsa!@usiya%ku/eB">
                          <field name="TEXT">ACHTUNG</field>
                        </block>
                      </value>
                      <value name="ADD1">
                        <block type="text" id="3;qgyqPY+jEmU0]LM#?q">
                          <field name="TEXT"></field>
                        </block>
                      </value>
                      <value name="ADD2">
                        <block type="text" id="jxtM?Ew;B4T;g]J?dc(o">
                          <field name="TEXT">Wasser unter Geschirrspüler</field>
                        </block>
                      </value>
                    </block>
                  </value>
                  <next>
                    <block type="control" id="M_.mF0Le.RG1[IVv3^UP">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                      <field name="OID">alexa2.0.Echo-Devices.31c4fa66e30f46c2b6ff5e85881d5b7c.Commands.speak</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="text_join" id="Q)pCn46h]D1l;rAf84gt">
                          <mutation items="2"></mutation>
                          <value name="ADD0">
                            <block type="text" id=",O?9Zy|73CPiIaBIUX|_">
                              <field name="TEXT">ACHTUNG</field>
                            </block>
                          </value>
                          <value name="ADD1">
                            <block type="text" id="+%u0V+b?pJ:o9_S9S)T=">
                              <field name="TEXT">Wasser unter Geschirrspüler</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <next>
                        <block type="control" id=".zUz$Og4DyDif{F{~9Xu">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">alexa2.0.Echo-Devices.G000WV059032062L.Commands.announcement</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="text_join" id="U71MSp3RU)FYB9d2M_11">
                              <mutation items="3"></mutation>
                              <value name="ADD0">
                                <block type="text" id=":49_pU$u{/Vl^*ijveOF">
                                  <field name="TEXT">ACHTUNG</field>
                                </block>
                              </value>
                              <value name="ADD1">
                                <block type="text" id="}Z1eT|_.qgNYU-_(QZZE">
                                  <field name="TEXT"></field>
                                </block>
                              </value>
                              <value name="ADD2">
                                <block type="text" id="ZP|E:sdH6SCOeK9])w^[">
                                  <field name="TEXT">Wasser unter Geschirrspüler</field>
                                </block>
                              </value>
                            </block>
                          </value>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </statement>
            </block>
          </statement>
        </block>
      </xml>
      

      Wie müssten die Blöcke timeout und Intervall eingebaut werden, damit das funktioniert?

      Vielen Dank

      paul53P Offline
      paul53P Offline
      paul53
      wrote on last edited by paul53
      #2

      @AxelF1977 sagte:

      5 min alle sek eine Ansage machen, und einmalig ein Telegramm verschicken.

      Blockly_temp.JPG

      Die erste Ansage kommt mit 10 s Verzögerung.

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

      AxelF1977A 1 Reply Last reply
      1
      • paul53P paul53

        @AxelF1977 sagte:

        5 min alle sek eine Ansage machen, und einmalig ein Telegramm verschicken.

        Blockly_temp.JPG

        Die erste Ansage kommt mit 10 s Verzögerung.

        AxelF1977A Offline
        AxelF1977A Offline
        AxelF1977
        wrote on last edited by
        #3

        @paul53, wahnsinn, wäre ich nie drauf gekommen.

        DANKE!

        ASROCK Deskmini Intel I3 8100 16GB mit Proxmox VM ioBroker VM DIYHue| CCU piVCCU + FHEM auf Raspberry | Maria DB mit Grafana und Prometheus auf Tinker Board

        1 Reply Last reply
        0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        Support us

        ioBroker
        Community Adapters
        Donate

        612

        Online

        32.8k

        Users

        82.7k

        Topics

        1.3m

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

        • Don't have an account? Register

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