Skip to content
  • 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
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. Regensensor Blockly vereinen

NEWS

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

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.8k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.1k

Regensensor Blockly vereinen

Scheduled Pinned Locked Moved Blockly
41 Posts 7 Posters 4.5k Views 6 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.
  • G Gonzokalle

    @paul53
    Hast recht, da muss der Wert rein und nicht die Var Wert.
    Da falle ich jedes mal drauf rein.
    Alexa hat heut nicht viel geredet. 😆

    S Offline
    S Offline
    Sushibomba
    wrote on last edited by Sushibomba
    #12

    @gonzokalle

    Hey habe mal eben dein Script bei mir im Blockly nachgebaut.
    Es funktioniert auch soweit, nur zeigt er bei mir immer nur in Telegram:

    🌧️ Es regnet seit

    oder

    ⛅ Es ist trocken seit

    an. Müsste er nicht dahinter dann die Uhrzeit anzeigen? Wenn ja irgendwie sehe ich diesen Wert bei dir im Blockly nicht oder ich bin zu blöd 😄
    Wäre klasse, wenn du mir kurz unter die Arme greifen könntest.

    PS: Und könntest du mir vielleicht noch dein Script schicken zur Tageszeitberechnugn also TAg/Nacht.

    G 1 Reply Last reply
    0
    • S Sushibomba

      @gonzokalle

      Hey habe mal eben dein Script bei mir im Blockly nachgebaut.
      Es funktioniert auch soweit, nur zeigt er bei mir immer nur in Telegram:

      🌧️ Es regnet seit

      oder

      ⛅ Es ist trocken seit

      an. Müsste er nicht dahinter dann die Uhrzeit anzeigen? Wenn ja irgendwie sehe ich diesen Wert bei dir im Blockly nicht oder ich bin zu blöd 😄
      Wäre klasse, wenn du mir kurz unter die Arme greifen könntest.

      PS: Und könntest du mir vielleicht noch dein Script schicken zur Tageszeitberechnugn also TAg/Nacht.

      G Offline
      G Offline
      Gonzokalle
      wrote on last edited by
      #13

      @sushibomba
      Bei Telegram steht ja um wieviel Uhr die Nachricht gekommen ist in HH:MM. Das hat mir bisher immer gereicht.
      Tag/Nacht schaue ich morgen mal.

      S 1 Reply Last reply
      0
      • G Gonzokalle

        @sushibomba
        Bei Telegram steht ja um wieviel Uhr die Nachricht gekommen ist in HH:MM. Das hat mir bisher immer gereicht.
        Tag/Nacht schaue ich morgen mal.

        S Offline
        S Offline
        Sushibomba
        wrote on last edited by Sushibomba
        #14

        @gonzokalle
        Danke. Habe es erfreulicherweise selbst lösen können. Nur Tag/Nacht klappt irgendwie nicht so richtig.

        G 1 Reply Last reply
        0
        • S Sushibomba

          @gonzokalle
          Danke. Habe es erfreulicherweise selbst lösen können. Nur Tag/Nacht klappt irgendwie nicht so richtig.

          G Offline
          G Offline
          Gonzokalle
          wrote on last edited by Gonzokalle
          #15

          @sushibomba
          Ich lasse mit dem Zeit Trigger um 22 Uhr Nacht in den DP schreiben und um 8 Uhr Tag.
          362cd15b-b898-440d-988c-9fffdca2acb9-image.png

          S 1 Reply Last reply
          0
          • G Gonzokalle

            @sushibomba
            Ich lasse mit dem Zeit Trigger um 22 Uhr Nacht in den DP schreiben und um 8 Uhr Tag.
            362cd15b-b898-440d-988c-9fffdca2acb9-image.png

            S Offline
            S Offline
            Sushibomba
            wrote on last edited by
            #16

            @gonzokalle

            Achso ja so gehts natürlich auch nur ist die Zeit dann immer fix.
            Wollte es eigentlich irgendwie mit dem Astro Trigger machen aber das hat nicht ganz funktioniert.

            G 1 Reply Last reply
            0
            • DJMarc75D Online
              DJMarc75D Online
              DJMarc75
              wrote on last edited by DJMarc75
              #17

              @Gonzokalle @Sushibomba

              für solche Aufgaben nutze ich folgenden DP:

              javascript.0.variables.isDayTime
              

              dieser wird automatisch bei Sonnenaufgang auf "true" und Sonnenuntergang auf "false" gesetzt.

              Screenshot 2023-05-25 115240.png

              Lehrling seit 1975 !!!
              Beitrag geholfen ? dann gerne ein upvote rechts unten im Beitrag klicken ;)
              https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge

              S 1 Reply Last reply
              1
              • S Sushibomba

                @gonzokalle

                Achso ja so gehts natürlich auch nur ist die Zeit dann immer fix.
                Wollte es eigentlich irgendwie mit dem Astro Trigger machen aber das hat nicht ganz funktioniert.

                G Offline
                G Offline
                Gonzokalle
                wrote on last edited by
                #18

                @sushibomba
                Astro Trigger habe ich extra nicht gemacht. Sonntags um 5 Uhr muss ich nicht wissen das es regnet.

                Astro Trigger nehme ich für Lichtsteuerung.
                5d5992e5-fb15-4756-b207-8819522f3c73-image.png

                @DJMarc75
                Interessant, kannte ich noch nicht.

                HomoranH 1 Reply Last reply
                0
                • DJMarc75D DJMarc75

                  @Gonzokalle @Sushibomba

                  für solche Aufgaben nutze ich folgenden DP:

                  javascript.0.variables.isDayTime
                  

                  dieser wird automatisch bei Sonnenaufgang auf "true" und Sonnenuntergang auf "false" gesetzt.

                  Screenshot 2023-05-25 115240.png

                  S Offline
                  S Offline
                  Sushibomba
                  wrote on last edited by
                  #19

                  @djmarc75 Danke dir 😉

                  Chris76eC 1 Reply Last reply
                  1
                  • G Gonzokalle

                    @sushibomba
                    Astro Trigger habe ich extra nicht gemacht. Sonntags um 5 Uhr muss ich nicht wissen das es regnet.

                    Astro Trigger nehme ich für Lichtsteuerung.
                    5d5992e5-fb15-4756-b207-8819522f3c73-image.png

                    @DJMarc75
                    Interessant, kannte ich noch nicht.

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

                    @gonzokalle sagte in Regensensor Blockly vereinen:

                    Sonntags um 5 Uhr muss ich nicht wissen das es regnet.

                    dann musst du vor dem Absenden prüfen ob Sonntag ist

                    kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                    der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                    1 Reply Last reply
                    0
                    • S Sushibomba

                      @djmarc75 Danke dir 😉

                      Chris76eC Offline
                      Chris76eC Offline
                      Chris76e
                      wrote on last edited by
                      #21

                      @sushibomba sagte in Regensensor Blockly vereinen:

                      Danke. Habe es erfreulicherweise selbst lösen können.

                      Hi, kannst du das fertige Blockly zur verfügung stellen?

                      Vielen Dank

                      G S 2 Replies Last reply
                      0
                      • Chris76eC Chris76e

                        @sushibomba sagte in Regensensor Blockly vereinen:

                        Danke. Habe es erfreulicherweise selbst lösen können.

                        Hi, kannst du das fertige Blockly zur verfügung stellen?

                        Vielen Dank

                        G Offline
                        G Offline
                        Gonzokalle
                        wrote on last edited by
                        #22

                        @chris76e
                        Das Regensensor Blockly oder das Astro Blockly?

                        Chris76eC 1 Reply Last reply
                        0
                        • G Gonzokalle

                          @chris76e
                          Das Regensensor Blockly oder das Astro Blockly?

                          Chris76eC Offline
                          Chris76eC Offline
                          Chris76e
                          wrote on last edited by
                          #23

                          @gonzokalle

                          Regensensor Blockly

                          1 Reply Last reply
                          0
                          • Chris76eC Chris76e

                            @sushibomba sagte in Regensensor Blockly vereinen:

                            Danke. Habe es erfreulicherweise selbst lösen können.

                            Hi, kannst du das fertige Blockly zur verfügung stellen?

                            Vielen Dank

                            S Offline
                            S Offline
                            Sushibomba
                            wrote on last edited by
                            #24

                            @chris76e
                            Klaro 🙂

                            <xml xmlns="https://developers.google.com/blockly/xml">
                              <variables>
                                <variable id="YM#%4ryA|zg=hJxPLR]9">delay</variable>
                                <variable type="timeout" id="timeout2">timeout2</variable>
                                <variable id="Px*`UM+[bBTnRrkz7ahY">msg</variable>
                                <variable id="uZcvBI;$3hz:XKTG%H~a">lastMsg</variable>
                              </variables>
                              <block type="variables_set" id=";{/vyPH[lUJ|j@ydR+U5" x="263" y="588">
                                <field name="VAR" id="YM#%4ryA|zg=hJxPLR]9">delay</field>
                                <value name="VALUE">
                                  <block type="math_number" id="+}tQ;h6~%j_?ACtg|gqz">
                                    <field name="NUM">10000</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="on_ext" id="MQumz1aO.lQ;5n3mi_CK">
                                    <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="GA2V$#WqnaO=^jS}aDm}">
                                        <field name="oid">zigbee.0.00158d0009e15c4e.detected</field>
                                      </shadow>
                                    </value>
                                    <statement name="STATEMENT">
                                      <block type="timeouts_cleartimeout" id="J_e=W;xlRrG/7CC-RI6]">
                                        <field name="NAME">delay</field>
                                        <next>
                                          <block type="timeouts_settimeout_variable" id="rY,mUnIIXAQ4V[i#XS$$">
                                            <field name="NAME">timeout2</field>
                                            <value name="DELAY_MS">
                                              <shadow type="math_number" id="te*eQbAx}q,v=}EO-HEx">
                                                <field name="NUM">1000</field>
                                              </shadow>
                                              <block type="variables_get" id="D$#{DMS]x+#KV1lRMlTw">
                                                <field name="VAR" id="YM#%4ryA|zg=hJxPLR]9">delay</field>
                                              </block>
                                            </value>
                                            <statement name="STATEMENT">
                                              <block type="controls_if" id="bKIjzCMM.7E!I4!47`;!">
                                                <mutation else="1"></mutation>
                                                <value name="IF0">
                                                  <block type="logic_compare" id="(YeX3v|8R23Hw_)7G,M|">
                                                    <field name="OP">EQ</field>
                                                    <value name="A">
                                                      <block type="variables_get" id="aaebj(u.x23^a~|2G-@r">
                                                        <field name="VAR" id="YM#%4ryA|zg=hJxPLR]9">delay</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="math_number" id="D`wFSS%H%bDAi5Co+{9R">
                                                        <field name="NUM">10000</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <statement name="DO0">
                                                  <block type="variables_set" id="0mGZ4EPI6?.;0ylMMA_s">
                                                    <field name="VAR" id="YM#%4ryA|zg=hJxPLR]9">delay</field>
                                                    <value name="VALUE">
                                                      <block type="math_number" id="D8/B+K5Qk+J24mcB|~*r">
                                                        <field name="NUM">30000</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </statement>
                                                <statement name="ELSE">
                                                  <block type="variables_set" id="TOGWW8xacPfv_1eELS+,">
                                                    <field name="VAR" id="YM#%4ryA|zg=hJxPLR]9">delay</field>
                                                    <value name="VALUE">
                                                      <block type="math_number" id="R}cJqg|l2Q`sV2T`0igG">
                                                        <field name="NUM">10000</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </statement>
                                                <next>
                                                  <block type="controls_if" id="qXC,B2]hdVPPQVSG#0xz">
                                                    <mutation else="1"></mutation>
                                                    <value name="IF0">
                                                      <block type="on_source" id="xEp}O*VO~C)oX.m_17sq">
                                                        <field name="ATTR">state.val</field>
                                                      </block>
                                                    </value>
                                                    <statement name="DO0">
                                                      <block type="debug" id="GbF0aP1FWJbz6H*ylYC7">
                                                        <field name="Severity">log</field>
                                                        <value name="TEXT">
                                                          <shadow type="text" id="E=^Vk*yCQq!2u*wB^sWw">
                                                            <field name="TEXT">Es regnet!</field>
                                                          </shadow>
                                                        </value>
                                                        <next>
                                                          <block type="variables_set" id="A@nCgjPl)N%1O/+%[6KR">
                                                            <field name="VAR" id="Px*`UM+[bBTnRrkz7ahY">msg</field>
                                                            <value name="VALUE">
                                                              <block type="text" id="fD?BmD)*eSZqPw$}kRvN">
                                                                <field name="TEXT">🌧️ Es regnet seit: </field>
                                                              </block>
                                                            </value>
                                                            <next>
                                                              <block type="update" id="4bR$MR$-E|fp~hS7R$sS">
                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                <field name="OID">0_userdata.0.VIS.Eigene_Datenpunkte.Sensoren.Regensensor</field>
                                                                <field name="WITH_DELAY">FALSE</field>
                                                                <value name="VALUE">
                                                                  <block type="text" id="$=7.8%G6.XR%p4GW_:*o">
                                                                    <field name="TEXT">Regen</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </statement>
                                                    <statement name="ELSE">
                                                      <block type="debug" id="lW0w^=/{7?y-h.k;~g+.">
                                                        <field name="Severity">log</field>
                                                        <value name="TEXT">
                                                          <shadow type="text" id="dUdC#XW0Ofqw=;KFLFrC">
                                                            <field name="TEXT">Es ist trocken!</field>
                                                          </shadow>
                                                        </value>
                                                        <next>
                                                          <block type="variables_set" id="9uo@uL`$19!v$1xicC;Y">
                                                            <field name="VAR" id="Px*`UM+[bBTnRrkz7ahY">msg</field>
                                                            <value name="VALUE">
                                                              <block type="text" id="k|t_kalP`p-}MYTNx]c)">
                                                                <field name="TEXT">⛅ Es ist trocken seit: </field>
                                                              </block>
                                                            </value>
                                                            <next>
                                                              <block type="update" id="[|(O6pJhjjLsvg_oPDY9">
                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                <field name="OID">0_userdata.0.VIS.Eigene_Datenpunkte.Sensoren.Regensensor</field>
                                                                <field name="WITH_DELAY">FALSE</field>
                                                                <value name="VALUE">
                                                                  <block type="text" id="nz{LIn_/3w/)`Ku$XsSm">
                                                                    <field name="TEXT">Trocken</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </statement>
                                                    <next>
                                                      <block type="controls_if" id="tIrmc/NqX{h+nvyI5)Wn">
                                                        <value name="IF0">
                                                          <block type="logic_compare" id="Hr(,J3HaZuwe6M`rgt0p">
                                                            <field name="OP">NEQ</field>
                                                            <value name="A">
                                                              <block type="variables_get" id="sgPGTt^$9/-SBiXr62DZ">
                                                                <field name="VAR" id="Px*`UM+[bBTnRrkz7ahY">msg</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="variables_get" id="!?^{C=Q=H3NAi-*#}Hf`">
                                                                <field name="VAR" id="uZcvBI;$3hz:XKTG%H~a">lastMsg</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <statement name="DO0">
                                                          <block type="variables_set" id="Ewz8`X_80GmZpB?N/Rg*">
                                                            <field name="VAR" id="uZcvBI;$3hz:XKTG%H~a">lastMsg</field>
                                                            <value name="VALUE">
                                                              <block type="variables_get" id="3PK?u-Gk3r[oK;wDIj_H">
                                                                <field name="VAR" id="Px*`UM+[bBTnRrkz7ahY">msg</field>
                                                              </block>
                                                            </value>
                                                            <next>
                                                              <block type="controls_if" id="fw5%cK9r[$FOQY?7M{?n">
                                                                <value name="IF0">
                                                                  <block type="logic_operation" id="IP6d{Ol89E)i}i3%|Qr/" inline="false">
                                                                    <field name="OP">AND</field>
                                                                    <value name="A">
                                                                      <block type="on_source" id=".Sad9s?yEPT6bmevg1K#">
                                                                        <field name="ATTR">state.val</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <block type="logic_compare" id="8Ek_%muzvXq42!kbkJI%">
                                                                        <field name="OP">EQ</field>
                                                                        <value name="A">
                                                                          <block type="get_value" id="@X,+.D[N2_XE{Wj)[!xi">
                                                                            <field name="ATTR">val</field>
                                                                            <field name="OID">0_userdata.0.VIS.Eigene_Datenpunkte.Tageszeit</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="B">
                                                                          <block type="text" id="kgUsh/_8jM_SFV7_L4a/">
                                                                            <field name="TEXT">Tag</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <statement name="DO0">
                                                                  <block type="control" id="JVHP0_0-HgVqE=0?:yV%">
                                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                    <field name="OID">alexa2.0.Echo-Devices.G0918309036602A9.Commands.speak</field>
                                                                    <field name="WITH_DELAY">TRUE</field>
                                                                    <field name="DELAY_MS">1</field>
                                                                    <field name="UNIT">sec</field>
                                                                    <field name="CLEAR_RUNNING">FALSE</field>
                                                                    <comment pinned="false" h="80" w="160">Hier das Echo Gerät mit speak auswählen, welches die Updates ansagen soll. Für mehrere Echo Geräte einfach den Block kopieren und drunter anhängen.</comment>
                                                                    <value name="VALUE">
                                                                      <block type="text" id="atpiy%H2G_IZa!oLfZd_">
                                                                        <field name="TEXT">30;Hey, es fängt gerade an zu regnen.</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </statement>
                                                                <next>
                                                                  <block type="telegram" id="9gM_-~h%1Gj4h~^7IsFq">
                                                                    <field name="INSTANCE"></field>
                                                                    <field name="LOG"></field>
                                                                    <field name="SILENT">FALSE</field>
                                                                    <field name="PARSEMODE">default</field>
                                                                    <field name="ESCAPING">FALSE</field>
                                                                    <field name="DISABLE_WEB_PAGE_PREVIEW">FALSE</field>
                                                                    <value name="MESSAGE">
                                                                      <shadow type="text" id="16%7eWeUx^=[]wcA]DYd">
                                                                        <field name="TEXT">text</field>
                                                                      </shadow>
                                                                      <block type="text_join" id="6e7En|$yufE3)riC1o{L">
                                                                        <mutation items="2"></mutation>
                                                                        <value name="ADD0">
                                                                          <block type="variables_get" id="p-iCge:`Dm)$5wDc7w%5">
                                                                            <field name="VAR" id="Px*`UM+[bBTnRrkz7ahY">msg</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="ADD1">
                                                                          <block type="time_get" id="ce|f=6BC@ZChs$je={xL">
                                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                            <field name="OPTION">hh:mm</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </statement>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </statement>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                  </block>
                                </next>
                              </block>
                              <block type="comment" id="]#;fUXsqP;An.q2Ca+dQ" x="513" y="688">
                                <field name="COMMENT">Verzögerung um ...</field>
                              </block>
                              <block type="comment" id=";q{hIgl39F;$bEv%B#PP" x="613" y="788">
                                <field name="COMMENT">Falls die Var. auf 10 Sek. dann timeout auf 30 Sek.</field>
                                <next>
                                  <block type="comment" id="E%XhYYjw|S]V;$IUgBQ#">
                                    <field name="COMMENT">Falls die Var. auf 30 Sek. dann timeout auf 10 Sek.</field>
                                  </block>
                                </next>
                              </block>
                              <block type="comment" id="?cC[Mlaf2uS3FQ*gp:jF" x="638" y="888">
                                <field name="COMMENT">Falls der Sensor Regen meldet</field>
                              </block>
                              <block type="comment" id="7END()XIOq(@M~:0@=/~" x="638" y="1163">
                                <field name="COMMENT">Falls sich die Meldung ändert ...</field>
                              </block>
                            </xml>
                            
                            Chris76eC DJMarc75D 2 Replies Last reply
                            0
                            • S Sushibomba

                              @chris76e
                              Klaro 🙂

                              <xml xmlns="https://developers.google.com/blockly/xml">
                                <variables>
                                  <variable id="YM#%4ryA|zg=hJxPLR]9">delay</variable>
                                  <variable type="timeout" id="timeout2">timeout2</variable>
                                  <variable id="Px*`UM+[bBTnRrkz7ahY">msg</variable>
                                  <variable id="uZcvBI;$3hz:XKTG%H~a">lastMsg</variable>
                                </variables>
                                <block type="variables_set" id=";{/vyPH[lUJ|j@ydR+U5" x="263" y="588">
                                  <field name="VAR" id="YM#%4ryA|zg=hJxPLR]9">delay</field>
                                  <value name="VALUE">
                                    <block type="math_number" id="+}tQ;h6~%j_?ACtg|gqz">
                                      <field name="NUM">10000</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="on_ext" id="MQumz1aO.lQ;5n3mi_CK">
                                      <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="GA2V$#WqnaO=^jS}aDm}">
                                          <field name="oid">zigbee.0.00158d0009e15c4e.detected</field>
                                        </shadow>
                                      </value>
                                      <statement name="STATEMENT">
                                        <block type="timeouts_cleartimeout" id="J_e=W;xlRrG/7CC-RI6]">
                                          <field name="NAME">delay</field>
                                          <next>
                                            <block type="timeouts_settimeout_variable" id="rY,mUnIIXAQ4V[i#XS$$">
                                              <field name="NAME">timeout2</field>
                                              <value name="DELAY_MS">
                                                <shadow type="math_number" id="te*eQbAx}q,v=}EO-HEx">
                                                  <field name="NUM">1000</field>
                                                </shadow>
                                                <block type="variables_get" id="D$#{DMS]x+#KV1lRMlTw">
                                                  <field name="VAR" id="YM#%4ryA|zg=hJxPLR]9">delay</field>
                                                </block>
                                              </value>
                                              <statement name="STATEMENT">
                                                <block type="controls_if" id="bKIjzCMM.7E!I4!47`;!">
                                                  <mutation else="1"></mutation>
                                                  <value name="IF0">
                                                    <block type="logic_compare" id="(YeX3v|8R23Hw_)7G,M|">
                                                      <field name="OP">EQ</field>
                                                      <value name="A">
                                                        <block type="variables_get" id="aaebj(u.x23^a~|2G-@r">
                                                          <field name="VAR" id="YM#%4ryA|zg=hJxPLR]9">delay</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="math_number" id="D`wFSS%H%bDAi5Co+{9R">
                                                          <field name="NUM">10000</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <statement name="DO0">
                                                    <block type="variables_set" id="0mGZ4EPI6?.;0ylMMA_s">
                                                      <field name="VAR" id="YM#%4ryA|zg=hJxPLR]9">delay</field>
                                                      <value name="VALUE">
                                                        <block type="math_number" id="D8/B+K5Qk+J24mcB|~*r">
                                                          <field name="NUM">30000</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </statement>
                                                  <statement name="ELSE">
                                                    <block type="variables_set" id="TOGWW8xacPfv_1eELS+,">
                                                      <field name="VAR" id="YM#%4ryA|zg=hJxPLR]9">delay</field>
                                                      <value name="VALUE">
                                                        <block type="math_number" id="R}cJqg|l2Q`sV2T`0igG">
                                                          <field name="NUM">10000</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </statement>
                                                  <next>
                                                    <block type="controls_if" id="qXC,B2]hdVPPQVSG#0xz">
                                                      <mutation else="1"></mutation>
                                                      <value name="IF0">
                                                        <block type="on_source" id="xEp}O*VO~C)oX.m_17sq">
                                                          <field name="ATTR">state.val</field>
                                                        </block>
                                                      </value>
                                                      <statement name="DO0">
                                                        <block type="debug" id="GbF0aP1FWJbz6H*ylYC7">
                                                          <field name="Severity">log</field>
                                                          <value name="TEXT">
                                                            <shadow type="text" id="E=^Vk*yCQq!2u*wB^sWw">
                                                              <field name="TEXT">Es regnet!</field>
                                                            </shadow>
                                                          </value>
                                                          <next>
                                                            <block type="variables_set" id="A@nCgjPl)N%1O/+%[6KR">
                                                              <field name="VAR" id="Px*`UM+[bBTnRrkz7ahY">msg</field>
                                                              <value name="VALUE">
                                                                <block type="text" id="fD?BmD)*eSZqPw$}kRvN">
                                                                  <field name="TEXT">🌧️ Es regnet seit: </field>
                                                                </block>
                                                              </value>
                                                              <next>
                                                                <block type="update" id="4bR$MR$-E|fp~hS7R$sS">
                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                  <field name="OID">0_userdata.0.VIS.Eigene_Datenpunkte.Sensoren.Regensensor</field>
                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                  <value name="VALUE">
                                                                    <block type="text" id="$=7.8%G6.XR%p4GW_:*o">
                                                                      <field name="TEXT">Regen</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </statement>
                                                      <statement name="ELSE">
                                                        <block type="debug" id="lW0w^=/{7?y-h.k;~g+.">
                                                          <field name="Severity">log</field>
                                                          <value name="TEXT">
                                                            <shadow type="text" id="dUdC#XW0Ofqw=;KFLFrC">
                                                              <field name="TEXT">Es ist trocken!</field>
                                                            </shadow>
                                                          </value>
                                                          <next>
                                                            <block type="variables_set" id="9uo@uL`$19!v$1xicC;Y">
                                                              <field name="VAR" id="Px*`UM+[bBTnRrkz7ahY">msg</field>
                                                              <value name="VALUE">
                                                                <block type="text" id="k|t_kalP`p-}MYTNx]c)">
                                                                  <field name="TEXT">⛅ Es ist trocken seit: </field>
                                                                </block>
                                                              </value>
                                                              <next>
                                                                <block type="update" id="[|(O6pJhjjLsvg_oPDY9">
                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                  <field name="OID">0_userdata.0.VIS.Eigene_Datenpunkte.Sensoren.Regensensor</field>
                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                  <value name="VALUE">
                                                                    <block type="text" id="nz{LIn_/3w/)`Ku$XsSm">
                                                                      <field name="TEXT">Trocken</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </statement>
                                                      <next>
                                                        <block type="controls_if" id="tIrmc/NqX{h+nvyI5)Wn">
                                                          <value name="IF0">
                                                            <block type="logic_compare" id="Hr(,J3HaZuwe6M`rgt0p">
                                                              <field name="OP">NEQ</field>
                                                              <value name="A">
                                                                <block type="variables_get" id="sgPGTt^$9/-SBiXr62DZ">
                                                                  <field name="VAR" id="Px*`UM+[bBTnRrkz7ahY">msg</field>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block type="variables_get" id="!?^{C=Q=H3NAi-*#}Hf`">
                                                                  <field name="VAR" id="uZcvBI;$3hz:XKTG%H~a">lastMsg</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <statement name="DO0">
                                                            <block type="variables_set" id="Ewz8`X_80GmZpB?N/Rg*">
                                                              <field name="VAR" id="uZcvBI;$3hz:XKTG%H~a">lastMsg</field>
                                                              <value name="VALUE">
                                                                <block type="variables_get" id="3PK?u-Gk3r[oK;wDIj_H">
                                                                  <field name="VAR" id="Px*`UM+[bBTnRrkz7ahY">msg</field>
                                                                </block>
                                                              </value>
                                                              <next>
                                                                <block type="controls_if" id="fw5%cK9r[$FOQY?7M{?n">
                                                                  <value name="IF0">
                                                                    <block type="logic_operation" id="IP6d{Ol89E)i}i3%|Qr/" inline="false">
                                                                      <field name="OP">AND</field>
                                                                      <value name="A">
                                                                        <block type="on_source" id=".Sad9s?yEPT6bmevg1K#">
                                                                          <field name="ATTR">state.val</field>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <block type="logic_compare" id="8Ek_%muzvXq42!kbkJI%">
                                                                          <field name="OP">EQ</field>
                                                                          <value name="A">
                                                                            <block type="get_value" id="@X,+.D[N2_XE{Wj)[!xi">
                                                                              <field name="ATTR">val</field>
                                                                              <field name="OID">0_userdata.0.VIS.Eigene_Datenpunkte.Tageszeit</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block type="text" id="kgUsh/_8jM_SFV7_L4a/">
                                                                              <field name="TEXT">Tag</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                  <statement name="DO0">
                                                                    <block type="control" id="JVHP0_0-HgVqE=0?:yV%">
                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                      <field name="OID">alexa2.0.Echo-Devices.G0918309036602A9.Commands.speak</field>
                                                                      <field name="WITH_DELAY">TRUE</field>
                                                                      <field name="DELAY_MS">1</field>
                                                                      <field name="UNIT">sec</field>
                                                                      <field name="CLEAR_RUNNING">FALSE</field>
                                                                      <comment pinned="false" h="80" w="160">Hier das Echo Gerät mit speak auswählen, welches die Updates ansagen soll. Für mehrere Echo Geräte einfach den Block kopieren und drunter anhängen.</comment>
                                                                      <value name="VALUE">
                                                                        <block type="text" id="atpiy%H2G_IZa!oLfZd_">
                                                                          <field name="TEXT">30;Hey, es fängt gerade an zu regnen.</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </statement>
                                                                  <next>
                                                                    <block type="telegram" id="9gM_-~h%1Gj4h~^7IsFq">
                                                                      <field name="INSTANCE"></field>
                                                                      <field name="LOG"></field>
                                                                      <field name="SILENT">FALSE</field>
                                                                      <field name="PARSEMODE">default</field>
                                                                      <field name="ESCAPING">FALSE</field>
                                                                      <field name="DISABLE_WEB_PAGE_PREVIEW">FALSE</field>
                                                                      <value name="MESSAGE">
                                                                        <shadow type="text" id="16%7eWeUx^=[]wcA]DYd">
                                                                          <field name="TEXT">text</field>
                                                                        </shadow>
                                                                        <block type="text_join" id="6e7En|$yufE3)riC1o{L">
                                                                          <mutation items="2"></mutation>
                                                                          <value name="ADD0">
                                                                            <block type="variables_get" id="p-iCge:`Dm)$5wDc7w%5">
                                                                              <field name="VAR" id="Px*`UM+[bBTnRrkz7ahY">msg</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="ADD1">
                                                                            <block type="time_get" id="ce|f=6BC@ZChs$je={xL">
                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                              <field name="OPTION">hh:mm</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </statement>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </statement>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                    </block>
                                  </next>
                                </block>
                                <block type="comment" id="]#;fUXsqP;An.q2Ca+dQ" x="513" y="688">
                                  <field name="COMMENT">Verzögerung um ...</field>
                                </block>
                                <block type="comment" id=";q{hIgl39F;$bEv%B#PP" x="613" y="788">
                                  <field name="COMMENT">Falls die Var. auf 10 Sek. dann timeout auf 30 Sek.</field>
                                  <next>
                                    <block type="comment" id="E%XhYYjw|S]V;$IUgBQ#">
                                      <field name="COMMENT">Falls die Var. auf 30 Sek. dann timeout auf 10 Sek.</field>
                                    </block>
                                  </next>
                                </block>
                                <block type="comment" id="?cC[Mlaf2uS3FQ*gp:jF" x="638" y="888">
                                  <field name="COMMENT">Falls der Sensor Regen meldet</field>
                                </block>
                                <block type="comment" id="7END()XIOq(@M~:0@=/~" x="638" y="1163">
                                  <field name="COMMENT">Falls sich die Meldung ändert ...</field>
                                </block>
                              </xml>
                              
                              Chris76eC Offline
                              Chris76eC Offline
                              Chris76e
                              wrote on last edited by
                              #25

                              @sushibomba

                              Danke 👍

                              S 1 Reply Last reply
                              0
                              • Chris76eC Chris76e

                                @sushibomba

                                Danke 👍

                                S Offline
                                S Offline
                                Sushibomba
                                wrote on last edited by
                                #26

                                @chris76e

                                Gerne doch 😉

                                Chris76eC 1 Reply Last reply
                                0
                                • S Sushibomba

                                  @chris76e

                                  Gerne doch 😉

                                  Chris76eC Offline
                                  Chris76eC Offline
                                  Chris76e
                                  wrote on last edited by
                                  #27

                                  @sushibomba

                                  Kann es sein das da ein Fehler drin ist?

                                  Muss da nicht bei "Stop" timeout2 rein? Damit funktioniert es beim mir, mit Stop delay kommen die Meldungen ohne verzögerung an.

                                  Screenshot 2023-07-21 202751.jpg

                                  G S 2 Replies Last reply
                                  0
                                  • S Sushibomba

                                    @chris76e
                                    Klaro 🙂

                                    <xml xmlns="https://developers.google.com/blockly/xml">
                                      <variables>
                                        <variable id="YM#%4ryA|zg=hJxPLR]9">delay</variable>
                                        <variable type="timeout" id="timeout2">timeout2</variable>
                                        <variable id="Px*`UM+[bBTnRrkz7ahY">msg</variable>
                                        <variable id="uZcvBI;$3hz:XKTG%H~a">lastMsg</variable>
                                      </variables>
                                      <block type="variables_set" id=";{/vyPH[lUJ|j@ydR+U5" x="263" y="588">
                                        <field name="VAR" id="YM#%4ryA|zg=hJxPLR]9">delay</field>
                                        <value name="VALUE">
                                          <block type="math_number" id="+}tQ;h6~%j_?ACtg|gqz">
                                            <field name="NUM">10000</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="on_ext" id="MQumz1aO.lQ;5n3mi_CK">
                                            <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="GA2V$#WqnaO=^jS}aDm}">
                                                <field name="oid">zigbee.0.00158d0009e15c4e.detected</field>
                                              </shadow>
                                            </value>
                                            <statement name="STATEMENT">
                                              <block type="timeouts_cleartimeout" id="J_e=W;xlRrG/7CC-RI6]">
                                                <field name="NAME">delay</field>
                                                <next>
                                                  <block type="timeouts_settimeout_variable" id="rY,mUnIIXAQ4V[i#XS$$">
                                                    <field name="NAME">timeout2</field>
                                                    <value name="DELAY_MS">
                                                      <shadow type="math_number" id="te*eQbAx}q,v=}EO-HEx">
                                                        <field name="NUM">1000</field>
                                                      </shadow>
                                                      <block type="variables_get" id="D$#{DMS]x+#KV1lRMlTw">
                                                        <field name="VAR" id="YM#%4ryA|zg=hJxPLR]9">delay</field>
                                                      </block>
                                                    </value>
                                                    <statement name="STATEMENT">
                                                      <block type="controls_if" id="bKIjzCMM.7E!I4!47`;!">
                                                        <mutation else="1"></mutation>
                                                        <value name="IF0">
                                                          <block type="logic_compare" id="(YeX3v|8R23Hw_)7G,M|">
                                                            <field name="OP">EQ</field>
                                                            <value name="A">
                                                              <block type="variables_get" id="aaebj(u.x23^a~|2G-@r">
                                                                <field name="VAR" id="YM#%4ryA|zg=hJxPLR]9">delay</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="math_number" id="D`wFSS%H%bDAi5Co+{9R">
                                                                <field name="NUM">10000</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <statement name="DO0">
                                                          <block type="variables_set" id="0mGZ4EPI6?.;0ylMMA_s">
                                                            <field name="VAR" id="YM#%4ryA|zg=hJxPLR]9">delay</field>
                                                            <value name="VALUE">
                                                              <block type="math_number" id="D8/B+K5Qk+J24mcB|~*r">
                                                                <field name="NUM">30000</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </statement>
                                                        <statement name="ELSE">
                                                          <block type="variables_set" id="TOGWW8xacPfv_1eELS+,">
                                                            <field name="VAR" id="YM#%4ryA|zg=hJxPLR]9">delay</field>
                                                            <value name="VALUE">
                                                              <block type="math_number" id="R}cJqg|l2Q`sV2T`0igG">
                                                                <field name="NUM">10000</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </statement>
                                                        <next>
                                                          <block type="controls_if" id="qXC,B2]hdVPPQVSG#0xz">
                                                            <mutation else="1"></mutation>
                                                            <value name="IF0">
                                                              <block type="on_source" id="xEp}O*VO~C)oX.m_17sq">
                                                                <field name="ATTR">state.val</field>
                                                              </block>
                                                            </value>
                                                            <statement name="DO0">
                                                              <block type="debug" id="GbF0aP1FWJbz6H*ylYC7">
                                                                <field name="Severity">log</field>
                                                                <value name="TEXT">
                                                                  <shadow type="text" id="E=^Vk*yCQq!2u*wB^sWw">
                                                                    <field name="TEXT">Es regnet!</field>
                                                                  </shadow>
                                                                </value>
                                                                <next>
                                                                  <block type="variables_set" id="A@nCgjPl)N%1O/+%[6KR">
                                                                    <field name="VAR" id="Px*`UM+[bBTnRrkz7ahY">msg</field>
                                                                    <value name="VALUE">
                                                                      <block type="text" id="fD?BmD)*eSZqPw$}kRvN">
                                                                        <field name="TEXT">🌧️ Es regnet seit: </field>
                                                                      </block>
                                                                    </value>
                                                                    <next>
                                                                      <block type="update" id="4bR$MR$-E|fp~hS7R$sS">
                                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                        <field name="OID">0_userdata.0.VIS.Eigene_Datenpunkte.Sensoren.Regensensor</field>
                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                        <value name="VALUE">
                                                                          <block type="text" id="$=7.8%G6.XR%p4GW_:*o">
                                                                            <field name="TEXT">Regen</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </statement>
                                                            <statement name="ELSE">
                                                              <block type="debug" id="lW0w^=/{7?y-h.k;~g+.">
                                                                <field name="Severity">log</field>
                                                                <value name="TEXT">
                                                                  <shadow type="text" id="dUdC#XW0Ofqw=;KFLFrC">
                                                                    <field name="TEXT">Es ist trocken!</field>
                                                                  </shadow>
                                                                </value>
                                                                <next>
                                                                  <block type="variables_set" id="9uo@uL`$19!v$1xicC;Y">
                                                                    <field name="VAR" id="Px*`UM+[bBTnRrkz7ahY">msg</field>
                                                                    <value name="VALUE">
                                                                      <block type="text" id="k|t_kalP`p-}MYTNx]c)">
                                                                        <field name="TEXT">⛅ Es ist trocken seit: </field>
                                                                      </block>
                                                                    </value>
                                                                    <next>
                                                                      <block type="update" id="[|(O6pJhjjLsvg_oPDY9">
                                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                        <field name="OID">0_userdata.0.VIS.Eigene_Datenpunkte.Sensoren.Regensensor</field>
                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                        <value name="VALUE">
                                                                          <block type="text" id="nz{LIn_/3w/)`Ku$XsSm">
                                                                            <field name="TEXT">Trocken</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </statement>
                                                            <next>
                                                              <block type="controls_if" id="tIrmc/NqX{h+nvyI5)Wn">
                                                                <value name="IF0">
                                                                  <block type="logic_compare" id="Hr(,J3HaZuwe6M`rgt0p">
                                                                    <field name="OP">NEQ</field>
                                                                    <value name="A">
                                                                      <block type="variables_get" id="sgPGTt^$9/-SBiXr62DZ">
                                                                        <field name="VAR" id="Px*`UM+[bBTnRrkz7ahY">msg</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <block type="variables_get" id="!?^{C=Q=H3NAi-*#}Hf`">
                                                                        <field name="VAR" id="uZcvBI;$3hz:XKTG%H~a">lastMsg</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <statement name="DO0">
                                                                  <block type="variables_set" id="Ewz8`X_80GmZpB?N/Rg*">
                                                                    <field name="VAR" id="uZcvBI;$3hz:XKTG%H~a">lastMsg</field>
                                                                    <value name="VALUE">
                                                                      <block type="variables_get" id="3PK?u-Gk3r[oK;wDIj_H">
                                                                        <field name="VAR" id="Px*`UM+[bBTnRrkz7ahY">msg</field>
                                                                      </block>
                                                                    </value>
                                                                    <next>
                                                                      <block type="controls_if" id="fw5%cK9r[$FOQY?7M{?n">
                                                                        <value name="IF0">
                                                                          <block type="logic_operation" id="IP6d{Ol89E)i}i3%|Qr/" inline="false">
                                                                            <field name="OP">AND</field>
                                                                            <value name="A">
                                                                              <block type="on_source" id=".Sad9s?yEPT6bmevg1K#">
                                                                                <field name="ATTR">state.val</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="B">
                                                                              <block type="logic_compare" id="8Ek_%muzvXq42!kbkJI%">
                                                                                <field name="OP">EQ</field>
                                                                                <value name="A">
                                                                                  <block type="get_value" id="@X,+.D[N2_XE{Wj)[!xi">
                                                                                    <field name="ATTR">val</field>
                                                                                    <field name="OID">0_userdata.0.VIS.Eigene_Datenpunkte.Tageszeit</field>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="B">
                                                                                  <block type="text" id="kgUsh/_8jM_SFV7_L4a/">
                                                                                    <field name="TEXT">Tag</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <statement name="DO0">
                                                                          <block type="control" id="JVHP0_0-HgVqE=0?:yV%">
                                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                            <field name="OID">alexa2.0.Echo-Devices.G0918309036602A9.Commands.speak</field>
                                                                            <field name="WITH_DELAY">TRUE</field>
                                                                            <field name="DELAY_MS">1</field>
                                                                            <field name="UNIT">sec</field>
                                                                            <field name="CLEAR_RUNNING">FALSE</field>
                                                                            <comment pinned="false" h="80" w="160">Hier das Echo Gerät mit speak auswählen, welches die Updates ansagen soll. Für mehrere Echo Geräte einfach den Block kopieren und drunter anhängen.</comment>
                                                                            <value name="VALUE">
                                                                              <block type="text" id="atpiy%H2G_IZa!oLfZd_">
                                                                                <field name="TEXT">30;Hey, es fängt gerade an zu regnen.</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </statement>
                                                                        <next>
                                                                          <block type="telegram" id="9gM_-~h%1Gj4h~^7IsFq">
                                                                            <field name="INSTANCE"></field>
                                                                            <field name="LOG"></field>
                                                                            <field name="SILENT">FALSE</field>
                                                                            <field name="PARSEMODE">default</field>
                                                                            <field name="ESCAPING">FALSE</field>
                                                                            <field name="DISABLE_WEB_PAGE_PREVIEW">FALSE</field>
                                                                            <value name="MESSAGE">
                                                                              <shadow type="text" id="16%7eWeUx^=[]wcA]DYd">
                                                                                <field name="TEXT">text</field>
                                                                              </shadow>
                                                                              <block type="text_join" id="6e7En|$yufE3)riC1o{L">
                                                                                <mutation items="2"></mutation>
                                                                                <value name="ADD0">
                                                                                  <block type="variables_get" id="p-iCge:`Dm)$5wDc7w%5">
                                                                                    <field name="VAR" id="Px*`UM+[bBTnRrkz7ahY">msg</field>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="ADD1">
                                                                                  <block type="time_get" id="ce|f=6BC@ZChs$je={xL">
                                                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                                    <field name="OPTION">hh:mm</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </statement>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </statement>
                                                  </block>
                                                </next>
                                              </block>
                                            </statement>
                                          </block>
                                        </next>
                                      </block>
                                      <block type="comment" id="]#;fUXsqP;An.q2Ca+dQ" x="513" y="688">
                                        <field name="COMMENT">Verzögerung um ...</field>
                                      </block>
                                      <block type="comment" id=";q{hIgl39F;$bEv%B#PP" x="613" y="788">
                                        <field name="COMMENT">Falls die Var. auf 10 Sek. dann timeout auf 30 Sek.</field>
                                        <next>
                                          <block type="comment" id="E%XhYYjw|S]V;$IUgBQ#">
                                            <field name="COMMENT">Falls die Var. auf 30 Sek. dann timeout auf 10 Sek.</field>
                                          </block>
                                        </next>
                                      </block>
                                      <block type="comment" id="?cC[Mlaf2uS3FQ*gp:jF" x="638" y="888">
                                        <field name="COMMENT">Falls der Sensor Regen meldet</field>
                                      </block>
                                      <block type="comment" id="7END()XIOq(@M~:0@=/~" x="638" y="1163">
                                        <field name="COMMENT">Falls sich die Meldung ändert ...</field>
                                      </block>
                                    </xml>
                                    
                                    DJMarc75D Online
                                    DJMarc75D Online
                                    DJMarc75
                                    wrote on last edited by
                                    #28

                                    @sushibomba bitte auch zusätzlich zum Code einen Screenshot reinsetzen - Code kann man nicht am Handy importieren 😉

                                    Lehrling seit 1975 !!!
                                    Beitrag geholfen ? dann gerne ein upvote rechts unten im Beitrag klicken ;)
                                    https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge

                                    S 1 Reply Last reply
                                    0
                                    • Chris76eC Chris76e

                                      @sushibomba

                                      Kann es sein das da ein Fehler drin ist?

                                      Muss da nicht bei "Stop" timeout2 rein? Damit funktioniert es beim mir, mit Stop delay kommen die Meldungen ohne verzögerung an.

                                      Screenshot 2023-07-21 202751.jpg

                                      G Offline
                                      G Offline
                                      Gonzokalle
                                      wrote on last edited by
                                      #29

                                      @chris76e
                                      Bei mir sieht es so aus, da wird am Anfang überprüft, ob es regnet, sonst kann es durcheinander kommen.
                                      Dank @paul53
                                      eb2f2c52-03d9-4957-a31d-538483f9f2ec-Screenshot 2023-07-21 195935.jpg

                                      A 1 Reply Last reply
                                      0
                                      • DJMarc75D DJMarc75

                                        @sushibomba bitte auch zusätzlich zum Code einen Screenshot reinsetzen - Code kann man nicht am Handy importieren 😉

                                        S Offline
                                        S Offline
                                        Sushibomba
                                        wrote on last edited by
                                        #30

                                        @djmarc75

                                        Ok sorry. Musste schnell gehen in dem Moment. Falls gewünscht stelle ich aber noch einen Screenshot ein 🙂

                                        1 Reply Last reply
                                        0
                                        • Chris76eC Chris76e

                                          @sushibomba

                                          Kann es sein das da ein Fehler drin ist?

                                          Muss da nicht bei "Stop" timeout2 rein? Damit funktioniert es beim mir, mit Stop delay kommen die Meldungen ohne verzögerung an.

                                          Screenshot 2023-07-21 202751.jpg

                                          S Offline
                                          S Offline
                                          Sushibomba
                                          wrote on last edited by
                                          #31

                                          @chris76e

                                          Ja du hast recht. Hat zwar auch so funktioniert die ganze Zeit aber richtig ist es mit dem Timeout.

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


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          758

                                          Online

                                          32.4k

                                          Users

                                          81.4k

                                          Topics

                                          1.3m

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

                                          • Don't have an account? Register

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