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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo
  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.2k

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

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

Regensensor Blockly vereinen

Geplant Angeheftet Gesperrt Verschoben Blockly
41 Beiträge 7 Kommentatoren 4.5k Aufrufe 6 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • 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
    schrieb am zuletzt editiert von
    #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 Antwort Letzte Antwort
    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
      schrieb am zuletzt editiert von
      #19

      @djmarc75 Danke dir 😉

      Chris76eC 1 Antwort Letzte Antwort
      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 Nicht stören
        HomoranH Nicht stören
        Homoran
        Global Moderator Administrators
        schrieb am zuletzt editiert von
        #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 Antwort Letzte Antwort
        0
        • S Sushibomba

          @djmarc75 Danke dir 😉

          Chris76eC Online
          Chris76eC Online
          Chris76e
          schrieb am zuletzt editiert von
          #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 Antworten Letzte Antwort
          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
            schrieb am zuletzt editiert von
            #22

            @chris76e
            Das Regensensor Blockly oder das Astro Blockly?

            Chris76eC 1 Antwort Letzte Antwort
            0
            • G Gonzokalle

              @chris76e
              Das Regensensor Blockly oder das Astro Blockly?

              Chris76eC Online
              Chris76eC Online
              Chris76e
              schrieb am zuletzt editiert von
              #23

              @gonzokalle

              Regensensor Blockly

              1 Antwort Letzte Antwort
              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
                schrieb am zuletzt editiert von
                #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 Antworten Letzte Antwort
                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 Online
                  Chris76eC Online
                  Chris76e
                  schrieb am zuletzt editiert von
                  #25

                  @sushibomba

                  Danke 👍

                  S 1 Antwort Letzte Antwort
                  0
                  • Chris76eC Chris76e

                    @sushibomba

                    Danke 👍

                    S Offline
                    S Offline
                    Sushibomba
                    schrieb am zuletzt editiert von
                    #26

                    @chris76e

                    Gerne doch 😉

                    Chris76eC 1 Antwort Letzte Antwort
                    0
                    • S Sushibomba

                      @chris76e

                      Gerne doch 😉

                      Chris76eC Online
                      Chris76eC Online
                      Chris76e
                      schrieb am zuletzt editiert von
                      #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 Antworten Letzte Antwort
                      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
                        schrieb am zuletzt editiert von
                        #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 Antwort Letzte Antwort
                        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
                          schrieb am zuletzt editiert von
                          #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 Antwort Letzte Antwort
                          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
                            schrieb am zuletzt editiert von
                            #30

                            @djmarc75

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

                            1 Antwort Letzte Antwort
                            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
                              schrieb am zuletzt editiert von
                              #31

                              @chris76e

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

                              1 Antwort Letzte Antwort
                              0
                              • G Gonzokalle

                                @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 Offline
                                A Offline
                                accessburn
                                schrieb am zuletzt editiert von
                                #32

                                @gonzokalle
                                Zwar ist das schon älter, aber was ist denn "Input / Detach"?

                                1 Antwort Letzte Antwort
                                0
                                • G Offline
                                  G Offline
                                  Gonzokalle
                                  schrieb am zuletzt editiert von
                                  #33

                                  @accessburn
                                  Das ist der Eingang von einem Shelly 1, der auf true geht, wenn der Regensensor Regen erkennt.

                                  G 1 Antwort Letzte Antwort
                                  0
                                  • G Gonzokalle

                                    @accessburn
                                    Das ist der Eingang von einem Shelly 1, der auf true geht, wenn der Regensensor Regen erkennt.

                                    G Offline
                                    G Offline
                                    Gonzokalle
                                    schrieb am zuletzt editiert von
                                    #34

                                    @gonzokalle
                                    Sieht jetzt etwas anders aus.

                                    00c2f14f-8846-4937-a897-0c82a6bd1ae2-image.png

                                    ad94515b-6cba-4a41-8585-e5fac27ddb11-image.png

                                    A 2 Antworten Letzte Antwort
                                    0
                                    • G Gonzokalle

                                      @gonzokalle
                                      Sieht jetzt etwas anders aus.

                                      00c2f14f-8846-4937-a897-0c82a6bd1ae2-image.png

                                      ad94515b-6cba-4a41-8585-e5fac27ddb11-image.png

                                      A Offline
                                      A Offline
                                      accessburn
                                      schrieb am zuletzt editiert von
                                      #35

                                      @gonzokalle

                                      Wärst du so lieb mir das zu exportieren?
                                      Nachdem ich gestern 600 Telegramnachrichten bekommen habe ist mir die sache etwas zu doof geworden hahaha

                                      G 1 Antwort Letzte Antwort
                                      0
                                      • A accessburn

                                        @gonzokalle

                                        Wärst du so lieb mir das zu exportieren?
                                        Nachdem ich gestern 600 Telegramnachrichten bekommen habe ist mir die sache etwas zu doof geworden hahaha

                                        G Offline
                                        G Offline
                                        Gonzokalle
                                        schrieb am zuletzt editiert von
                                        #36

                                        @accessburn
                                        Da hat es aber viel geregnet bei euch. 😊

                                        <xml xmlns="https://developers.google.com/blockly/xml">
                                          <variables>
                                            <variable id="ODxvCYx}qY[p[9jsAhzT">es_ist_trocken</variable>
                                            <variable id="hd#kKs8k^qI]2V25M6Ae">Nachricht</variable>
                                            <variable type="timeout" id="delay_bis_trocken">delay_bis_trocken</variable>
                                            <variable id="n!cC=1(RbCOt^R%Gf(/0">letzte_Nachricht</variable>
                                          </variables>
                                          <block type="comment" id="*!c.Sow7PxOKs$;_:bK}" x="-362" y="62">
                                            <field name="COMMENT">Überprüfe Regensensor</field>
                                            <next>
                                              <block type="variables_set" id="?`yMl;F^2@8}G.15%M!y">
                                                <field name="VAR" id="ODxvCYx}qY[p[9jsAhzT">es_ist_trocken</field>
                                                <value name="VALUE">
                                                  <block type="logic_ternary" id="?1G=pLXLEaoyH$QRNnoR">
                                                    <value name="IF">
                                                      <block type="get_value" id="^otDxS1wp1n,P#hbk6B(">
                                                        <field name="ATTR">val</field>
                                                        <field name="OID">shelly.0.SHSW-1#4C752532AA51#1.Relay0.Input</field>
                                                      </block>
                                                    </value>
                                                    <value name="THEN">
                                                      <block type="logic_boolean" id="=06r_yipleAnPEN2_#;T">
                                                        <field name="BOOL">FALSE</field>
                                                      </block>
                                                    </value>
                                                    <value name="ELSE">
                                                      <block type="logic_boolean" id="{:h|/cfcK.Kl`l(_.4$P">
                                                        <field name="BOOL">TRUE</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="on_ext" id="rG[][A*.K0=!t];vZd?@">
                                                    <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="|/Pm%8pv2kIZO~focF%.">
                                                        <field name="oid">shelly.0.SHSW-1#4C752532AA51#1.Relay0.Input</field>
                                                      </shadow>
                                                    </value>
                                                    <statement name="STATEMENT">
                                                      <block type="controls_if" id="SbW-,0(h7a_hiczSO-:j">
                                                        <mutation else="1"></mutation>
                                                        <value name="IF0">
                                                          <block type="logic_negate" id="CqRSX^?zPf*iQ,S,vbRs">
                                                            <value name="BOOL">
                                                              <block type="on_source" id="n%pDUFxB@Vp$P7DfIBjh">
                                                                <field name="ATTR">state.val</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <statement name="DO0">
                                                          <block type="timeouts_cleartimeout" id="Km`o:(%50uo28fht5{w!">
                                                            <field name="NAME">delay_bis_trocken</field>
                                                            <next>
                                                              <block type="comment" id="6LqT}[k3wZ!z2.DF0EI-">
                                                                <field name="COMMENT">Zeit bis es wieder trocken ist</field>
                                                                <next>
                                                                  <block type="timeouts_settimeout" id="A{u/vt+sCFpW]QOau)#=">
                                                                    <field name="NAME">delay_bis_trocken</field>
                                                                    <field name="DELAY">15</field>
                                                                    <field name="UNIT">min</field>
                                                                    <statement name="STATEMENT">
                                                                      <block type="variables_set" id="0Vv3(Kv$xTHsF|Q^cZd_">
                                                                        <field name="VAR" id="ODxvCYx}qY[p[9jsAhzT">es_ist_trocken</field>
                                                                        <value name="VALUE">
                                                                          <block type="logic_boolean" id="%v!J)Qdr^stU%3V7lxM-">
                                                                            <field name="BOOL">TRUE</field>
                                                                          </block>
                                                                        </value>
                                                                        <next>
                                                                          <block type="update" id="G=amHyETm_k;}V/@@uOX">
                                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                            <field name="OID">0_userdata.0.Wetter.Regensensor_Logikwert</field>
                                                                            <field name="WITH_DELAY">FALSE</field>
                                                                            <value name="VALUE">
                                                                              <block type="logic_boolean" id="i~E1!p=LD~HRt$rH!%aK">
                                                                                <field name="BOOL">FALSE</field>
                                                                              </block>
                                                                            </value>
                                                                            <next>
                                                                              <block type="update" id="Rkt#~6)hCbcyLx^o*eEo">
                                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                <field name="OID">0_userdata.0.Wetter.Regensensor_Zeichenkette</field>
                                                                                <field name="WITH_DELAY">FALSE</field>
                                                                                <value name="VALUE">
                                                                                  <block type="text" id="`08k!o5aX:ubxpq*8~(0">
                                                                                    <field name="TEXT">Trocken</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </next>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </statement>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </statement>
                                                        <statement name="ELSE">
                                                          <block type="timeouts_cleartimeout" id="/Oy6#Ac,+t~/1C?e}YXQ">
                                                            <field name="NAME">delay_bis_trocken</field>
                                                            <next>
                                                              <block type="controls_if" id="0Om_vjd+ooJEAqcZ=sAl">
                                                                <value name="IF0">
                                                                  <block type="variables_get" id="%;UkX[+uDe!Uz@:;tS?`">
                                                                    <field name="VAR" id="ODxvCYx}qY[p[9jsAhzT">es_ist_trocken</field>
                                                                  </block>
                                                                </value>
                                                                <statement name="DO0">
                                                                  <block type="variables_set" id="fU.j:m-Q%?UPCa=h*eKH">
                                                                    <field name="VAR" id="ODxvCYx}qY[p[9jsAhzT">es_ist_trocken</field>
                                                                    <value name="VALUE">
                                                                      <block type="logic_boolean" id="fNaCxetV!6?54NbM}R]U">
                                                                        <field name="BOOL">FALSE</field>
                                                                      </block>
                                                                    </value>
                                                                    <next>
                                                                      <block type="update" id="oy$#HPA?$BH0)(Q*zk8+">
                                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                        <field name="OID">0_userdata.0.Wetter.Regensensor_Logikwert</field>
                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                        <value name="VALUE">
                                                                          <block type="logic_boolean" id="ikQ-^Uu`YUYif4j)rsh:">
                                                                            <field name="BOOL">TRUE</field>
                                                                          </block>
                                                                        </value>
                                                                        <next>
                                                                          <block type="controls_if" id="aK5Ml]^HoGOrpKV^eu3.">
                                                                            <mutation else="1"></mutation>
                                                                            <value name="IF0">
                                                                              <block type="logic_compare" id="DS*0sc]21]5[%O]-6APr">
                                                                                <field name="OP">GT</field>
                                                                                <value name="A">
                                                                                  <block type="get_value" id="czifB+mY[3C-{9Z#lxnH">
                                                                                    <field name="ATTR">val</field>
                                                                                    <field name="OID">jeelink.0.LaCrosse_2.temp</field>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="B">
                                                                                  <block type="math_number" id="2X#%uS[?a2Nsg:+b!#6d">
                                                                                    <field name="NUM">2</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                            <statement name="DO0">
                                                                              <block type="update" id="-o9xO;F(8?Mb*@ES[Ty-">
                                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                <field name="OID">0_userdata.0.Wetter.Regensensor_Zeichenkette</field>
                                                                                <field name="WITH_DELAY">FALSE</field>
                                                                                <value name="VALUE">
                                                                                  <block type="text" id="#6P4Fx6IVEb=6BT*J7O9">
                                                                                    <field name="TEXT">Regen</field>
                                                                                  </block>
                                                                                </value>
                                                                                <next>
                                                                                  <block type="comment" id="!IPzjY:,D-mfAU6reK5S">
                                                                                    <field name="COMMENT">Meldung über Alexa nur am Tag</field>
                                                                                    <next>
                                                                                      <block type="controls_if" id="W5xY+eG6.(,KrjHh$m|5">
                                                                                        <value name="IF0">
                                                                                          <block type="logic_compare" id="zO@YIo1=y3*Q%N5hGa?a">
                                                                                            <field name="OP">EQ</field>
                                                                                            <value name="A">
                                                                                              <block type="get_value" id="-AUC1;q3FJQeVAfYjgn/">
                                                                                                <field name="ATTR">val</field>
                                                                                                <field name="OID">0_userdata.0.Zeiten.Tageszeit</field>
                                                                                              </block>
                                                                                            </value>
                                                                                            <value name="B">
                                                                                              <block type="text" id="J$L!Fh5W^/R_1F{M+IgM">
                                                                                                <field name="TEXT">Tag</field>
                                                                                              </block>
                                                                                            </value>
                                                                                          </block>
                                                                                        </value>
                                                                                        <statement name="DO0">
                                                                                          <block type="control" id="ruk,T?KNofER[Bhpx-bo">
                                                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                                            <field name="OID">alexa2.0.Echo-Devices.a12592da4dc64069926aa26ce626e6dc.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>
                                                                                            <value name="VALUE">
                                                                                              <block type="text" id="u?262)+1SigcQ+Gmi=n1">
                                                                                                <field name="TEXT">30; Es fängt an zu regnen</field>
                                                                                              </block>
                                                                                            </value>
                                                                                          </block>
                                                                                        </statement>
                                                                                      </block>
                                                                                    </next>
                                                                                  </block>
                                                                                </next>
                                                                              </block>
                                                                            </statement>
                                                                            <statement name="ELSE">
                                                                              <block type="update" id="%`2:9wUxTRP1#opwDNgt">
                                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                <field name="OID">0_userdata.0.Wetter.Regensensor_Zeichenkette</field>
                                                                                <field name="WITH_DELAY">FALSE</field>
                                                                                <value name="VALUE">
                                                                                  <block type="text" id="kiBjreoy45Z92P?/Va0(">
                                                                                    <field name="TEXT">Schnee</field>
                                                                                  </block>
                                                                                </value>
                                                                                <next>
                                                                                  <block type="comment" id="KQ*0NYUB.iBV)bX-`||j">
                                                                                    <field name="COMMENT">Meldung über Alexa nur am Tag</field>
                                                                                    <next>
                                                                                      <block type="controls_if" id="CMj}rky%4-F3.1@u,7_3">
                                                                                        <value name="IF0">
                                                                                          <block type="logic_compare" id="Hsn)7#~aysxU}ktCABZt">
                                                                                            <field name="OP">EQ</field>
                                                                                            <value name="A">
                                                                                              <block type="get_value" id=";ixl2YeU-;~6aXl~:awC">
                                                                                                <field name="ATTR">val</field>
                                                                                                <field name="OID">0_userdata.0.Zeiten.Tageszeit</field>
                                                                                              </block>
                                                                                            </value>
                                                                                            <value name="B">
                                                                                              <block type="text" id="C{Oe9K5s7Ql*~Hc8-Zbt">
                                                                                                <field name="TEXT">Tag</field>
                                                                                              </block>
                                                                                            </value>
                                                                                          </block>
                                                                                        </value>
                                                                                        <statement name="DO0">
                                                                                          <block type="control" id="UUmR$8a=q$NLnlTot^ah">
                                                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                                            <field name="OID">alexa2.0.Echo-Devices.a12592da4dc64069926aa26ce626e6dc.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>
                                                                                            <value name="VALUE">
                                                                                              <block type="text" id="JIXZ285Ws2_`@t_ET(WQ" collapsed="true">
                                                                                                <field name="TEXT">30; Schneeflöckchen, Weißröckchen, Wann kommst du geschneit, Du wohnst in den Wolken, Dein Weg ist so weit</field>
                                                                                              </block>
                                                                                            </value>
                                                                                          </block>
                                                                                        </statement>
                                                                                      </block>
                                                                                    </next>
                                                                                  </block>
                                                                                </next>
                                                                              </block>
                                                                            </statement>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </statement>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </statement>
                                                      </block>
                                                    </statement>
                                                    <next>
                                                      <block type="on_ext" id="$p0Z36LH%.LD+er?LJQd">
                                                        <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="w28naSLFcq6bb+(?MLw:">
                                                            <field name="oid">0_userdata.0.Wetter.Regensensor_Zeichenkette</field>
                                                          </shadow>
                                                        </value>
                                                        <statement name="STATEMENT">
                                                          <block type="controls_if" id="F.`xjm:FSEEW5nve[;;0">
                                                            <mutation elseif="2"></mutation>
                                                            <value name="IF0">
                                                              <block type="logic_compare" id="S(;QVSfD#2$6.{|4v6DX">
                                                                <field name="OP">EQ</field>
                                                                <value name="A">
                                                                  <block type="get_value" id="m^Ge=cjhnX:j(E?JS1v^">
                                                                    <field name="ATTR">val</field>
                                                                    <field name="OID">0_userdata.0.Wetter.Regensensor_Zeichenkette</field>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="text" id="3G|~L-f0k6c5S73)]aZY">
                                                                    <field name="TEXT">Trocken</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <statement name="DO0">
                                                              <block type="variables_set" id="pI-S+?h{daGe-(/3S9=Q">
                                                                <field name="VAR" id="hd#kKs8k^qI]2V25M6Ae">Nachricht</field>
                                                                <value name="VALUE">
                                                                  <block type="text" id="Vhb$d2!^W6@ec5-SRSDn">
                                                                    <field name="TEXT">⛅ Es ist trocken seit</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </statement>
                                                            <value name="IF1">
                                                              <block type="logic_compare" id="({YyVpB@ngnFWeZ~sT6=">
                                                                <field name="OP">EQ</field>
                                                                <value name="A">
                                                                  <block type="get_value" id="|o*T6WS`Rn[@yYI,ysaa">
                                                                    <field name="ATTR">val</field>
                                                                    <field name="OID">0_userdata.0.Wetter.Regensensor_Zeichenkette</field>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="text" id="#Fo=?J=;@]+7pN_F`V4z">
                                                                    <field name="TEXT">Regen</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <statement name="DO1">
                                                              <block type="variables_set" id="YxvYr!*cH;/8i=4@mi!a">
                                                                <field name="VAR" id="hd#kKs8k^qI]2V25M6Ae">Nachricht</field>
                                                                <value name="VALUE">
                                                                  <block type="text" id="Z~@09w.3)4J:Rd~b!qHG">
                                                                    <field name="TEXT">🌧️ Es regnet seit</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </statement>
                                                            <value name="IF2">
                                                              <block type="logic_compare" id="R_rH3,Tp].cX03Rfz-vt">
                                                                <field name="OP">EQ</field>
                                                                <value name="A">
                                                                  <block type="get_value" id="hD0*L:21Z,fkx(R*;N3}">
                                                                    <field name="ATTR">val</field>
                                                                    <field name="OID">0_userdata.0.Wetter.Regensensor_Zeichenkette</field>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="text" id="ht@nU4s*,+^t~pm`-o(H">
                                                                    <field name="TEXT">Schnee</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <statement name="DO2">
                                                              <block type="variables_set" id="ENiFf;R3n%TEm~x*IU}s">
                                                                <field name="VAR" id="hd#kKs8k^qI]2V25M6Ae">Nachricht</field>
                                                                <value name="VALUE">
                                                                  <block type="text" id="B~{~N(F--KjcV!+=3*mX">
                                                                    <field name="TEXT">🌧️ Es schneit seit</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </statement>
                                                            <next>
                                                              <block type="controls_if" id="BVbq+RbB9a3qP;(;AZPz">
                                                                <value name="IF0">
                                                                  <block type="logic_compare" id="R)A#gw=6ID;VQb5=AUR|">
                                                                    <field name="OP">NEQ</field>
                                                                    <value name="A">
                                                                      <block type="variables_get" id="+q{BE6X^TcpcW$U~LRWA">
                                                                        <field name="VAR" id="hd#kKs8k^qI]2V25M6Ae">Nachricht</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <block type="variables_get" id="~5mfj,uSlFMTW+%}Y6@#">
                                                                        <field name="VAR" id="n!cC=1(RbCOt^R%Gf(/0">letzte_Nachricht</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <statement name="DO0">
                                                                  <block type="variables_set" id=")wP:cOH%4L@Zt2|OCOQT">
                                                                    <field name="VAR" id="n!cC=1(RbCOt^R%Gf(/0">letzte_Nachricht</field>
                                                                    <value name="VALUE">
                                                                      <block type="variables_get" id="IH8Wag_=j+1~:i796=*-">
                                                                        <field name="VAR" id="hd#kKs8k^qI]2V25M6Ae">Nachricht</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </statement>
                                                                <next>
                                                                  <block type="telegram" id="C}bV(5^/ne_|nXoL@I)=">
                                                                    <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="t;6i^#QC##l{aAL!Wj.0">
                                                                        <field name="TEXT">text</field>
                                                                      </shadow>
                                                                      <block type="variables_get" id="(VI:mT#,5g@)MH,n/,W;">
                                                                        <field name="VAR" id="hd#kKs8k^qI]2V25M6Ae">Nachricht</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="CHATID">
                                                                      <block type="text" id=";6Sk8MqJ?tvn_{%XM~[~">
                                                                        <field name="TEXT">123456789</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </statement>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </xml>
                                        
                                        A 1 Antwort Letzte Antwort
                                        0
                                        • G Gonzokalle

                                          @accessburn
                                          Da hat es aber viel geregnet bei euch. 😊

                                          <xml xmlns="https://developers.google.com/blockly/xml">
                                            <variables>
                                              <variable id="ODxvCYx}qY[p[9jsAhzT">es_ist_trocken</variable>
                                              <variable id="hd#kKs8k^qI]2V25M6Ae">Nachricht</variable>
                                              <variable type="timeout" id="delay_bis_trocken">delay_bis_trocken</variable>
                                              <variable id="n!cC=1(RbCOt^R%Gf(/0">letzte_Nachricht</variable>
                                            </variables>
                                            <block type="comment" id="*!c.Sow7PxOKs$;_:bK}" x="-362" y="62">
                                              <field name="COMMENT">Überprüfe Regensensor</field>
                                              <next>
                                                <block type="variables_set" id="?`yMl;F^2@8}G.15%M!y">
                                                  <field name="VAR" id="ODxvCYx}qY[p[9jsAhzT">es_ist_trocken</field>
                                                  <value name="VALUE">
                                                    <block type="logic_ternary" id="?1G=pLXLEaoyH$QRNnoR">
                                                      <value name="IF">
                                                        <block type="get_value" id="^otDxS1wp1n,P#hbk6B(">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">shelly.0.SHSW-1#4C752532AA51#1.Relay0.Input</field>
                                                        </block>
                                                      </value>
                                                      <value name="THEN">
                                                        <block type="logic_boolean" id="=06r_yipleAnPEN2_#;T">
                                                          <field name="BOOL">FALSE</field>
                                                        </block>
                                                      </value>
                                                      <value name="ELSE">
                                                        <block type="logic_boolean" id="{:h|/cfcK.Kl`l(_.4$P">
                                                          <field name="BOOL">TRUE</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="on_ext" id="rG[][A*.K0=!t];vZd?@">
                                                      <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="|/Pm%8pv2kIZO~focF%.">
                                                          <field name="oid">shelly.0.SHSW-1#4C752532AA51#1.Relay0.Input</field>
                                                        </shadow>
                                                      </value>
                                                      <statement name="STATEMENT">
                                                        <block type="controls_if" id="SbW-,0(h7a_hiczSO-:j">
                                                          <mutation else="1"></mutation>
                                                          <value name="IF0">
                                                            <block type="logic_negate" id="CqRSX^?zPf*iQ,S,vbRs">
                                                              <value name="BOOL">
                                                                <block type="on_source" id="n%pDUFxB@Vp$P7DfIBjh">
                                                                  <field name="ATTR">state.val</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <statement name="DO0">
                                                            <block type="timeouts_cleartimeout" id="Km`o:(%50uo28fht5{w!">
                                                              <field name="NAME">delay_bis_trocken</field>
                                                              <next>
                                                                <block type="comment" id="6LqT}[k3wZ!z2.DF0EI-">
                                                                  <field name="COMMENT">Zeit bis es wieder trocken ist</field>
                                                                  <next>
                                                                    <block type="timeouts_settimeout" id="A{u/vt+sCFpW]QOau)#=">
                                                                      <field name="NAME">delay_bis_trocken</field>
                                                                      <field name="DELAY">15</field>
                                                                      <field name="UNIT">min</field>
                                                                      <statement name="STATEMENT">
                                                                        <block type="variables_set" id="0Vv3(Kv$xTHsF|Q^cZd_">
                                                                          <field name="VAR" id="ODxvCYx}qY[p[9jsAhzT">es_ist_trocken</field>
                                                                          <value name="VALUE">
                                                                            <block type="logic_boolean" id="%v!J)Qdr^stU%3V7lxM-">
                                                                              <field name="BOOL">TRUE</field>
                                                                            </block>
                                                                          </value>
                                                                          <next>
                                                                            <block type="update" id="G=amHyETm_k;}V/@@uOX">
                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                              <field name="OID">0_userdata.0.Wetter.Regensensor_Logikwert</field>
                                                                              <field name="WITH_DELAY">FALSE</field>
                                                                              <value name="VALUE">
                                                                                <block type="logic_boolean" id="i~E1!p=LD~HRt$rH!%aK">
                                                                                  <field name="BOOL">FALSE</field>
                                                                                </block>
                                                                              </value>
                                                                              <next>
                                                                                <block type="update" id="Rkt#~6)hCbcyLx^o*eEo">
                                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                  <field name="OID">0_userdata.0.Wetter.Regensensor_Zeichenkette</field>
                                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                                  <value name="VALUE">
                                                                                    <block type="text" id="`08k!o5aX:ubxpq*8~(0">
                                                                                      <field name="TEXT">Trocken</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </next>
                                                                            </block>
                                                                          </next>
                                                                        </block>
                                                                      </statement>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </statement>
                                                          <statement name="ELSE">
                                                            <block type="timeouts_cleartimeout" id="/Oy6#Ac,+t~/1C?e}YXQ">
                                                              <field name="NAME">delay_bis_trocken</field>
                                                              <next>
                                                                <block type="controls_if" id="0Om_vjd+ooJEAqcZ=sAl">
                                                                  <value name="IF0">
                                                                    <block type="variables_get" id="%;UkX[+uDe!Uz@:;tS?`">
                                                                      <field name="VAR" id="ODxvCYx}qY[p[9jsAhzT">es_ist_trocken</field>
                                                                    </block>
                                                                  </value>
                                                                  <statement name="DO0">
                                                                    <block type="variables_set" id="fU.j:m-Q%?UPCa=h*eKH">
                                                                      <field name="VAR" id="ODxvCYx}qY[p[9jsAhzT">es_ist_trocken</field>
                                                                      <value name="VALUE">
                                                                        <block type="logic_boolean" id="fNaCxetV!6?54NbM}R]U">
                                                                          <field name="BOOL">FALSE</field>
                                                                        </block>
                                                                      </value>
                                                                      <next>
                                                                        <block type="update" id="oy$#HPA?$BH0)(Q*zk8+">
                                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                          <field name="OID">0_userdata.0.Wetter.Regensensor_Logikwert</field>
                                                                          <field name="WITH_DELAY">FALSE</field>
                                                                          <value name="VALUE">
                                                                            <block type="logic_boolean" id="ikQ-^Uu`YUYif4j)rsh:">
                                                                              <field name="BOOL">TRUE</field>
                                                                            </block>
                                                                          </value>
                                                                          <next>
                                                                            <block type="controls_if" id="aK5Ml]^HoGOrpKV^eu3.">
                                                                              <mutation else="1"></mutation>
                                                                              <value name="IF0">
                                                                                <block type="logic_compare" id="DS*0sc]21]5[%O]-6APr">
                                                                                  <field name="OP">GT</field>
                                                                                  <value name="A">
                                                                                    <block type="get_value" id="czifB+mY[3C-{9Z#lxnH">
                                                                                      <field name="ATTR">val</field>
                                                                                      <field name="OID">jeelink.0.LaCrosse_2.temp</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="B">
                                                                                    <block type="math_number" id="2X#%uS[?a2Nsg:+b!#6d">
                                                                                      <field name="NUM">2</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                              <statement name="DO0">
                                                                                <block type="update" id="-o9xO;F(8?Mb*@ES[Ty-">
                                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                  <field name="OID">0_userdata.0.Wetter.Regensensor_Zeichenkette</field>
                                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                                  <value name="VALUE">
                                                                                    <block type="text" id="#6P4Fx6IVEb=6BT*J7O9">
                                                                                      <field name="TEXT">Regen</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <next>
                                                                                    <block type="comment" id="!IPzjY:,D-mfAU6reK5S">
                                                                                      <field name="COMMENT">Meldung über Alexa nur am Tag</field>
                                                                                      <next>
                                                                                        <block type="controls_if" id="W5xY+eG6.(,KrjHh$m|5">
                                                                                          <value name="IF0">
                                                                                            <block type="logic_compare" id="zO@YIo1=y3*Q%N5hGa?a">
                                                                                              <field name="OP">EQ</field>
                                                                                              <value name="A">
                                                                                                <block type="get_value" id="-AUC1;q3FJQeVAfYjgn/">
                                                                                                  <field name="ATTR">val</field>
                                                                                                  <field name="OID">0_userdata.0.Zeiten.Tageszeit</field>
                                                                                                </block>
                                                                                              </value>
                                                                                              <value name="B">
                                                                                                <block type="text" id="J$L!Fh5W^/R_1F{M+IgM">
                                                                                                  <field name="TEXT">Tag</field>
                                                                                                </block>
                                                                                              </value>
                                                                                            </block>
                                                                                          </value>
                                                                                          <statement name="DO0">
                                                                                            <block type="control" id="ruk,T?KNofER[Bhpx-bo">
                                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                                              <field name="OID">alexa2.0.Echo-Devices.a12592da4dc64069926aa26ce626e6dc.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>
                                                                                              <value name="VALUE">
                                                                                                <block type="text" id="u?262)+1SigcQ+Gmi=n1">
                                                                                                  <field name="TEXT">30; Es fängt an zu regnen</field>
                                                                                                </block>
                                                                                              </value>
                                                                                            </block>
                                                                                          </statement>
                                                                                        </block>
                                                                                      </next>
                                                                                    </block>
                                                                                  </next>
                                                                                </block>
                                                                              </statement>
                                                                              <statement name="ELSE">
                                                                                <block type="update" id="%`2:9wUxTRP1#opwDNgt">
                                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                  <field name="OID">0_userdata.0.Wetter.Regensensor_Zeichenkette</field>
                                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                                  <value name="VALUE">
                                                                                    <block type="text" id="kiBjreoy45Z92P?/Va0(">
                                                                                      <field name="TEXT">Schnee</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <next>
                                                                                    <block type="comment" id="KQ*0NYUB.iBV)bX-`||j">
                                                                                      <field name="COMMENT">Meldung über Alexa nur am Tag</field>
                                                                                      <next>
                                                                                        <block type="controls_if" id="CMj}rky%4-F3.1@u,7_3">
                                                                                          <value name="IF0">
                                                                                            <block type="logic_compare" id="Hsn)7#~aysxU}ktCABZt">
                                                                                              <field name="OP">EQ</field>
                                                                                              <value name="A">
                                                                                                <block type="get_value" id=";ixl2YeU-;~6aXl~:awC">
                                                                                                  <field name="ATTR">val</field>
                                                                                                  <field name="OID">0_userdata.0.Zeiten.Tageszeit</field>
                                                                                                </block>
                                                                                              </value>
                                                                                              <value name="B">
                                                                                                <block type="text" id="C{Oe9K5s7Ql*~Hc8-Zbt">
                                                                                                  <field name="TEXT">Tag</field>
                                                                                                </block>
                                                                                              </value>
                                                                                            </block>
                                                                                          </value>
                                                                                          <statement name="DO0">
                                                                                            <block type="control" id="UUmR$8a=q$NLnlTot^ah">
                                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                                              <field name="OID">alexa2.0.Echo-Devices.a12592da4dc64069926aa26ce626e6dc.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>
                                                                                              <value name="VALUE">
                                                                                                <block type="text" id="JIXZ285Ws2_`@t_ET(WQ" collapsed="true">
                                                                                                  <field name="TEXT">30; Schneeflöckchen, Weißröckchen, Wann kommst du geschneit, Du wohnst in den Wolken, Dein Weg ist so weit</field>
                                                                                                </block>
                                                                                              </value>
                                                                                            </block>
                                                                                          </statement>
                                                                                        </block>
                                                                                      </next>
                                                                                    </block>
                                                                                  </next>
                                                                                </block>
                                                                              </statement>
                                                                            </block>
                                                                          </next>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </statement>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </statement>
                                                        </block>
                                                      </statement>
                                                      <next>
                                                        <block type="on_ext" id="$p0Z36LH%.LD+er?LJQd">
                                                          <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="w28naSLFcq6bb+(?MLw:">
                                                              <field name="oid">0_userdata.0.Wetter.Regensensor_Zeichenkette</field>
                                                            </shadow>
                                                          </value>
                                                          <statement name="STATEMENT">
                                                            <block type="controls_if" id="F.`xjm:FSEEW5nve[;;0">
                                                              <mutation elseif="2"></mutation>
                                                              <value name="IF0">
                                                                <block type="logic_compare" id="S(;QVSfD#2$6.{|4v6DX">
                                                                  <field name="OP">EQ</field>
                                                                  <value name="A">
                                                                    <block type="get_value" id="m^Ge=cjhnX:j(E?JS1v^">
                                                                      <field name="ATTR">val</field>
                                                                      <field name="OID">0_userdata.0.Wetter.Regensensor_Zeichenkette</field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <block type="text" id="3G|~L-f0k6c5S73)]aZY">
                                                                      <field name="TEXT">Trocken</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                              <statement name="DO0">
                                                                <block type="variables_set" id="pI-S+?h{daGe-(/3S9=Q">
                                                                  <field name="VAR" id="hd#kKs8k^qI]2V25M6Ae">Nachricht</field>
                                                                  <value name="VALUE">
                                                                    <block type="text" id="Vhb$d2!^W6@ec5-SRSDn">
                                                                      <field name="TEXT">⛅ Es ist trocken seit</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </statement>
                                                              <value name="IF1">
                                                                <block type="logic_compare" id="({YyVpB@ngnFWeZ~sT6=">
                                                                  <field name="OP">EQ</field>
                                                                  <value name="A">
                                                                    <block type="get_value" id="|o*T6WS`Rn[@yYI,ysaa">
                                                                      <field name="ATTR">val</field>
                                                                      <field name="OID">0_userdata.0.Wetter.Regensensor_Zeichenkette</field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <block type="text" id="#Fo=?J=;@]+7pN_F`V4z">
                                                                      <field name="TEXT">Regen</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                              <statement name="DO1">
                                                                <block type="variables_set" id="YxvYr!*cH;/8i=4@mi!a">
                                                                  <field name="VAR" id="hd#kKs8k^qI]2V25M6Ae">Nachricht</field>
                                                                  <value name="VALUE">
                                                                    <block type="text" id="Z~@09w.3)4J:Rd~b!qHG">
                                                                      <field name="TEXT">🌧️ Es regnet seit</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </statement>
                                                              <value name="IF2">
                                                                <block type="logic_compare" id="R_rH3,Tp].cX03Rfz-vt">
                                                                  <field name="OP">EQ</field>
                                                                  <value name="A">
                                                                    <block type="get_value" id="hD0*L:21Z,fkx(R*;N3}">
                                                                      <field name="ATTR">val</field>
                                                                      <field name="OID">0_userdata.0.Wetter.Regensensor_Zeichenkette</field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <block type="text" id="ht@nU4s*,+^t~pm`-o(H">
                                                                      <field name="TEXT">Schnee</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                              <statement name="DO2">
                                                                <block type="variables_set" id="ENiFf;R3n%TEm~x*IU}s">
                                                                  <field name="VAR" id="hd#kKs8k^qI]2V25M6Ae">Nachricht</field>
                                                                  <value name="VALUE">
                                                                    <block type="text" id="B~{~N(F--KjcV!+=3*mX">
                                                                      <field name="TEXT">🌧️ Es schneit seit</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </statement>
                                                              <next>
                                                                <block type="controls_if" id="BVbq+RbB9a3qP;(;AZPz">
                                                                  <value name="IF0">
                                                                    <block type="logic_compare" id="R)A#gw=6ID;VQb5=AUR|">
                                                                      <field name="OP">NEQ</field>
                                                                      <value name="A">
                                                                        <block type="variables_get" id="+q{BE6X^TcpcW$U~LRWA">
                                                                          <field name="VAR" id="hd#kKs8k^qI]2V25M6Ae">Nachricht</field>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <block type="variables_get" id="~5mfj,uSlFMTW+%}Y6@#">
                                                                          <field name="VAR" id="n!cC=1(RbCOt^R%Gf(/0">letzte_Nachricht</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                  <statement name="DO0">
                                                                    <block type="variables_set" id=")wP:cOH%4L@Zt2|OCOQT">
                                                                      <field name="VAR" id="n!cC=1(RbCOt^R%Gf(/0">letzte_Nachricht</field>
                                                                      <value name="VALUE">
                                                                        <block type="variables_get" id="IH8Wag_=j+1~:i796=*-">
                                                                          <field name="VAR" id="hd#kKs8k^qI]2V25M6Ae">Nachricht</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </statement>
                                                                  <next>
                                                                    <block type="telegram" id="C}bV(5^/ne_|nXoL@I)=">
                                                                      <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="t;6i^#QC##l{aAL!Wj.0">
                                                                          <field name="TEXT">text</field>
                                                                        </shadow>
                                                                        <block type="variables_get" id="(VI:mT#,5g@)MH,n/,W;">
                                                                          <field name="VAR" id="hd#kKs8k^qI]2V25M6Ae">Nachricht</field>
                                                                        </block>
                                                                      </value>
                                                                      <value name="CHATID">
                                                                        <block type="text" id=";6Sk8MqJ?tvn_{%XM~[~">
                                                                          <field name="TEXT">123456789</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </statement>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </xml>
                                          
                                          A Offline
                                          A Offline
                                          accessburn
                                          schrieb am zuletzt editiert von accessburn
                                          #37

                                          @gonzokalle Mega! Danke... ich versuch das mal an meine Zwecke anzupassen. Nee, ich hab nur bei Nebel oder zartem nieseln einen ständigen Wechsel zwischen true und false im DP und dann jedesmal einen Push bekommen 😄

                                          G 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          735

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

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

                                          • Du hast noch kein Konto? Registrieren

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