Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. [gelöst] Markise Wind-Regenabhängig einfahren

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    [gelöst] Markise Wind-Regenabhängig einfahren

    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      ticaki Developer @guergen last edited by

      @guergen
      Hast du denn keine Fehler im Log dazu?

      G 1 Reply Last reply Reply Quote 0
      • G
        guergen @ticaki last edited by

        @ticaki natürlich nicht, das Script bricht einfach nur ab, sobald ich den originalen Windwert ändere

        T 1 Reply Last reply Reply Quote 0
        • T
          ticaki Developer @guergen last edited by

          @guergen
          Du müsstest schon etwas mitteilsamer sein 🙂 Orginalen Windwert ist für dich sicherlich eine Definition. Aber ist das ein Datenpunkt? Enthält der Datenpunkt einen string? Wenn ja, hat der das Format "5.5"oder "5,5" oder sind nicht Zahlenwerte drin?

          G 1 Reply Last reply Reply Quote 0
          • G
            guergen @ticaki last edited by guergen

            @ticaki Der originale Windwert, der vom wiffi-wz kommt ist vom "type": "number", ich glaube ja, dass das falsch ist, da kommt ja 5.5, also eine Zahl mit Punkt.
            Ist das ein String oder eine Zahl?
            Wenn ich mir ander Adapter ansehe ist das da auch eine Zahl!

            1 Reply Last reply Reply Quote 0
            • G
              guergen last edited by

              So, edgültig funktionfähig... es lag daran, dass ich die Werte der Weterstation zu Fuß geändert habe zum Test, deshalb hat sich das komplette Script zerlegt.
              Habe noch ein paar Optionen mit eingebaut, wie Windschläge, damit die Markise nicht sofort beim ersten Windstoss einfährt.
              Bei Interesse bitte melden, dann stelle ich das Script hier komplett rein!

              G 1 Reply Last reply Reply Quote 0
              • G
                gerald123 @guergen last edited by

                @guergen Hallo @guergen ,
                Ich habe Interesse an deinem Skript, könntest du es mir zur Verfügung stellen.
                Danke

                G 1 Reply Last reply Reply Quote 0
                • G
                  guergen @gerald123 last edited by

                  @gerald123 kann ich gerne, werde es senden, sobald ich wieder daheim bin

                  G 1 Reply Last reply Reply Quote 0
                  • G
                    gerald123 @guergen last edited by

                    @guergen super, danke schon mal

                    G 1 Reply Last reply Reply Quote 0
                    • G
                      guergen @gerald123 last edited by guergen

                      @gerald123 Hier das komplette Script:

                      <xml xmlns="https://developers.google.com/blockly/xml">
                        <variables>
                          <variable id="d{d8z4H76b.cOnlO{DP@">Windschläge</variable>
                          <variable id="P_8{jfKCq~k!`U5jlg40">max Windschlag</variable>
                          <variable id="x+ERQ{6dAh|@-{Pa+7|j">maximaler Wind kurz</variable>
                          <variable id="QzO,0wl/OW{ztEUDCD{Q">maximaler Wind lang</variable>
                          <variable id="?9^kBdmn*FptT9[UYICa">Regenwert</variable>
                          <variable id="jbwSOR%lXc8Y!|6k@6}%">Elevation Einfahren</variable>
                          <variable type="timeout" id="timeoutRegen">timeoutRegen</variable>
                          <variable id="lBF`+SLae%,+BJ,:Bm-F">Elevation Ausfahren</variable>
                          <variable type="timeout" id="timeoutWindschlag">timeoutWindschlag</variable>
                          <variable id="fB6sV7{-K;8~YLQ^p*z9">Lautstaerke speichern Automatik</variable>
                          <variable id="K|uMaq6@P_c`_I+ZwDz7">Lautstaerke speichern Wind</variable>
                          <variable type="timeout" id="timeoutSonne">timeoutSonne</variable>
                          <variable type="timeout" id="timeoutWind">timeoutWind</variable>
                        </variables>
                        <block type="variables_set" id="TO]*DMFq;T]s9x7h7w63" x="63" y="-1487">
                          <field name="VAR" id="d{d8z4H76b.cOnlO{DP@">Windschläge</field>
                          <value name="VALUE">
                            <block type="math_number" id="d0H+ljv4+phS6218jm;r">
                              <field name="NUM">0</field>
                            </block>
                          </value>
                          <next>
                            <block type="variables_set" id="na$gQ8rFkxO^ITB9N@;o">
                              <field name="VAR" id="P_8{jfKCq~k!`U5jlg40">max Windschlag</field>
                              <value name="VALUE">
                                <block type="math_number" id="Ncd]pS0yx~2xWcIQ|@[-">
                                  <field name="NUM">4</field>
                                </block>
                              </value>
                              <next>
                                <block type="variables_set" id="Lf8yv|eW=h4u!]Jx%$EZ">
                                  <field name="VAR" id="x+ERQ{6dAh|@-{Pa+7|j">maximaler Wind kurz</field>
                                  <value name="VALUE">
                                    <block type="math_number" id="7KQNE1Wjf3gpmo1SN(f}">
                                      <field name="NUM">7.5</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="variables_set" id="!)A2RAI_L.TvyYD^[WfS">
                                      <field name="VAR" id="QzO,0wl/OW{ztEUDCD{Q">maximaler Wind lang</field>
                                      <value name="VALUE">
                                        <block type="math_number" id="*1]@PRACUr%-}m}?*K}`">
                                          <field name="NUM">5.9</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="variables_set" id="*=ac-Sl6R(tzH_gon89C">
                                          <field name="VAR" id="?9^kBdmn*FptT9[UYICa">Regenwert</field>
                                          <value name="VALUE">
                                            <block type="math_number" id="zb]j6ZIy@Ydt-Jz4Yks;">
                                              <field name="NUM">5</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="variables_set" id="N3-:7;$C[y3!N~{(YT1w">
                                              <field name="VAR" id="jbwSOR%lXc8Y!|6k@6}%">Elevation Einfahren</field>
                                              <value name="VALUE">
                                                <block type="math_number" id="8fa)dEZCC@tn6}fA$D3Z">
                                                  <field name="NUM">10</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="variables_set" id="4?J*RjvPX3IIg%j?yYPS">
                                                  <field name="VAR" id="lBF`+SLae%,+BJ,:Bm-F">Elevation Ausfahren</field>
                                                  <value name="VALUE">
                                                    <block type="math_number" id="SIy7_MNIb|Q8%}Q7S[{e">
                                                      <field name="NUM">25</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="control" id="@N7~?2:d+J5f^}5Qr935">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                      <field name="OID">0_userdata.0.Markise.Windschläge</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="math_number" id="pZ%2@X?X3+GBd10CT7XW">
                                                          <field name="NUM">0</field>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="control" id="Y%-(#4Ek3%x#Jg035h@V">
                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                          <field name="OID">0_userdata.0.Markise.Regensperrzeit</field>
                                                          <field name="WITH_DELAY">FALSE</field>
                                                          <value name="VALUE">
                                                            <block type="logic_boolean" id="`.#]Ce?QO~`0B4B)crfk">
                                                              <field name="BOOL">FALSE</field>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="control" id="h@/WS6hL?vKsuw5]jhJX">
                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                              <field name="OID">0_userdata.0.Markise.Windsperrzeit</field>
                                                              <field name="WITH_DELAY">FALSE</field>
                                                              <value name="VALUE">
                                                                <block type="logic_boolean" id="0=I6r9r/[dNg`+sYL(WR">
                                                                  <field name="BOOL">FALSE</field>
                                                                </block>
                                                              </value>
                                                              <next>
                                                                <block type="comment" id="OSEm|08[lmv2fG`+C%NS">
                                                                  <field name="COMMENT">Regen &amp; Wind &amp; Elevation Einfahren</field>
                                                                  <next>
                                                                    <block type="on_ext" id="Kjs3jm,w5D;F^~-)g7UF">
                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" items="3"></mutation>
                                                                      <field name="CONDITION">ne</field>
                                                                      <field name="ACK_CONDITION"></field>
                                                                      <value name="OID0">
                                                                        <shadow type="field_oid" id="Fa`IaTnlA{vU^=_)_|/~">
                                                                          <field name="oid">0_userdata.0.Markise.Regensperrzeit</field>
                                                                        </shadow>
                                                                      </value>
                                                                      <value name="OID1">
                                                                        <shadow type="field_oid" id="{$M9?ezHK@8(KH*uw/k#">
                                                                          <field name="oid">0_userdata.0.Markise.Windsperrzeit</field>
                                                                        </shadow>
                                                                      </value>
                                                                      <value name="OID2">
                                                                        <shadow type="field_oid" id="j^R{8T_W=staF^EY8S^I">
                                                                          <field name="oid">wiffi-wz.0.root.192_168_1_142.w_elevation</field>
                                                                        </shadow>
                                                                      </value>
                                                                      <statement name="STATEMENT">
                                                                        <block type="controls_if" id="hwK?j(R:=|y8}ok3p*Lt">
                                                                          <value name="IF0">
                                                                            <block type="logic_operation" id="W,rbX#3K$|Uvvhz;426E" inline="false">
                                                                              <field name="OP">AND</field>
                                                                              <value name="A">
                                                                                <block type="logic_compare" id="$BNzj]}N5Y3kizj?G;xf">
                                                                                  <field name="OP">NEQ</field>
                                                                                  <value name="A">
                                                                                    <block type="get_value" id="_R0H1#^Z9+Ym7rR,jk~p">
                                                                                      <field name="ATTR">val</field>
                                                                                      <field name="OID">shelly.0.SHSW-25#112ED9#1.Shutter.Position</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="B">
                                                                                    <block type="math_number" id="1g+Ns/pchZx-WmqYsd(U">
                                                                                      <field name="NUM">0</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="logic_operation" id="5$XJ:Vl6*vEJpyi:g/dm" inline="false">
                                                                                  <field name="OP">OR</field>
                                                                                  <value name="A">
                                                                                    <block type="logic_operation" id="eaNtglttra!E+7+rWQab" inline="false">
                                                                                      <field name="OP">OR</field>
                                                                                      <value name="A">
                                                                                        <block type="logic_compare" id="@h4ItA3_xCi`7(nN@nJ/">
                                                                                          <field name="OP">EQ</field>
                                                                                          <value name="A">
                                                                                            <block type="get_value" id="ma5nSn77blU+l-k4`q(F">
                                                                                              <field name="ATTR">val</field>
                                                                                              <field name="OID">0_userdata.0.Markise.Regensperrzeit</field>
                                                                                            </block>
                                                                                          </value>
                                                                                          <value name="B">
                                                                                            <block type="logic_boolean" id="Y~JabJ1$Ee=B,`r-7LWp">
                                                                                              <field name="BOOL">TRUE</field>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                      <value name="B">
                                                                                        <block type="logic_compare" id="ay8UnR^#s;+ysDw?w?J8">
                                                                                          <field name="OP">EQ</field>
                                                                                          <value name="A">
                                                                                            <block type="get_value" id="BQGp,YU7v35Bptp3IUyH">
                                                                                              <field name="ATTR">val</field>
                                                                                              <field name="OID">0_userdata.0.Markise.Windsperrzeit</field>
                                                                                            </block>
                                                                                          </value>
                                                                                          <value name="B">
                                                                                            <block type="logic_boolean" id="UvZUaJtO]0_s[I(bDYYt">
                                                                                              <field name="BOOL">TRUE</field>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="B">
                                                                                    <block type="logic_compare" id="*BpJ=y]d?Z.1TM}r-Zid">
                                                                                      <field name="OP">LTE</field>
                                                                                      <value name="A">
                                                                                        <block type="get_value" id="D.)E@:i-s(*!S@pDm8Q{">
                                                                                          <field name="ATTR">val</field>
                                                                                          <field name="OID">wiffi-wz.0.root.192_168_1_142.w_elevation</field>
                                                                                        </block>
                                                                                      </value>
                                                                                      <value name="B">
                                                                                        <block type="variables_get" id="MJAjy`HeVUXag}TG=|O*">
                                                                                          <field name="VAR" id="jbwSOR%lXc8Y!|6k@6}%">Elevation Einfahren</field>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <statement name="DO0">
                                                                            <block type="control" id="XOUs9TQBHm/|/KtwEE$`">
                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                              <field name="OID">shelly.0.SHSW-25#112ED9#1.Shutter.Position</field>
                                                                              <field name="WITH_DELAY">FALSE</field>
                                                                              <value name="VALUE">
                                                                                <block type="math_number" id="I#r1hUFKJ;o}.?ay9wKH">
                                                                                  <field name="NUM">0</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </statement>
                                                                        </block>
                                                                      </statement>
                                                                      <next>
                                                                        <block type="comment" id="ku`,I1y4gp}N_$vvs9R$">
                                                                          <field name="COMMENT">Ohne Sonne nach 10 Minuten einfahren</field>
                                                                          <next>
                                                                            <block type="on" id="p4~Ym@vwLMhA0bfYbX9M">
                                                                              <field name="OID">wiffi-wz.0.root.192_168_1_142.w_sonne_scheint</field>
                                                                              <field name="CONDITION">ne</field>
                                                                              <field name="ACK_CONDITION"></field>
                                                                              <statement name="STATEMENT">
                                                                                <block type="timeouts_cleartimeout" id="PnjAuOpO3M%_6qd4z#zU">
                                                                                  <field name="NAME">Windschläge</field>
                                                                                  <next>
                                                                                    <block type="controls_if" id="MK8?~Tx}/)rU7wGOvNLy">
                                                                                      <value name="IF0">
                                                                                        <block type="logic_operation" id="}bRA6RO-t2EkCTssp~^^" inline="false">
                                                                                          <field name="OP">AND</field>
                                                                                          <value name="A">
                                                                                            <block type="logic_compare" id="=~4X7W0waiY4d=G(!a+I">
                                                                                              <field name="OP">NEQ</field>
                                                                                              <value name="A">
                                                                                                <block type="get_value" id="P%Mj3),|?)i(kW4]MBnV">
                                                                                                  <field name="ATTR">val</field>
                                                                                                  <field name="OID">shelly.0.SHSW-25#112ED9#1.Shutter.Position</field>
                                                                                                </block>
                                                                                              </value>
                                                                                              <value name="B">
                                                                                                <block type="math_number" id="*`(|.2ul:YqYoX|qRjJ{">
                                                                                                  <field name="NUM">0</field>
                                                                                                </block>
                                                                                              </value>
                                                                                            </block>
                                                                                          </value>
                                                                                          <value name="B">
                                                                                            <block type="logic_compare" id="~SB/C][HHAQ?OL|;6~YP">
                                                                                              <field name="OP">EQ</field>
                                                                                              <value name="A">
                                                                                                <block type="get_value" id="d]{U*5tkdCm%a(bhqE8{">
                                                                                                  <field name="ATTR">val</field>
                                                                                                  <field name="OID">wiffi-wz.0.root.192_168_1_142.w_sonne_scheint</field>
                                                                                                </block>
                                                                                              </value>
                                                                                              <value name="B">
                                                                                                <block type="logic_boolean" id="hwHG77VHSW*QRR$oL~pz">
                                                                                                  <field name="BOOL">FALSE</field>
                                                                                                </block>
                                                                                              </value>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                      <statement name="DO0">
                                                                                        <block type="timeouts_settimeout" id="CZ|Qg,M8u(4V]]SbEK6j">
                                                                                          <field name="NAME">timeoutSonne</field>
                                                                                          <field name="DELAY">5</field>
                                                                                          <field name="UNIT">min</field>
                                                                                          <statement name="STATEMENT">
                                                                                            <block type="control" id=")!(#t}6Hm*8)#HJYewEF">
                                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                              <field name="OID">shelly.0.SHSW-25#112ED9#1.Shutter.Position</field>
                                                                                              <field name="WITH_DELAY">FALSE</field>
                                                                                              <value name="VALUE">
                                                                                                <block type="math_number" id="CWbe#vF,iL^oG.ox,Y^!">
                                                                                                  <field name="NUM">0</field>
                                                                                                </block>
                                                                                              </value>
                                                                                              <next>
                                                                                                <block type="debug" id="^?1%$lFf;7ab9OcLD;kg">
                                                                                                  <field name="Severity">warn</field>
                                                                                                  <value name="TEXT">
                                                                                                    <shadow type="text" id="}6!q*8MiIvBdKuOLso?Z">
                                                                                                      <field name="TEXT">Sonne seit 5 Minuten weg</field>
                                                                                                    </shadow>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </next>
                                                                                            </block>
                                                                                          </statement>
                                                                                        </block>
                                                                                      </statement>
                                                                                    </block>
                                                                                  </next>
                                                                                </block>
                                                                              </statement>
                                                                              <next>
                                                                                <block type="comment" id="Eovr*MP9z?PCz^#T=,to">
                                                                                  <field name="COMMENT">Open-sperre bei Regen/Windsperre</field>
                                                                                  <next>
                                                                                    <block type="on_ext" id="XXN(5MXt}]QsyA|mNYt@">
                                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                                                                      <field name="CONDITION">true</field>
                                                                                      <field name="ACK_CONDITION"></field>
                                                                                      <value name="OID0">
                                                                                        <shadow type="field_oid" id="cM=oAxP||XW=V~smSYx2">
                                                                                          <field name="oid">0_userdata.0.Markise.Taste_Open</field>
                                                                                        </shadow>
                                                                                      </value>
                                                                                      <statement name="STATEMENT">
                                                                                        <block type="controls_if" id="F$ro-Jo?7c:.-L^d,`xs">
                                                                                          <value name="IF0">
                                                                                            <block type="logic_operation" id="EaqK:UE_%cWldsu?=8d." inline="false">
                                                                                              <field name="OP">AND</field>
                                                                                              <value name="A">
                                                                                                <block type="logic_compare" id="Ho4@ya)~;x0mr~}p?~Y}">
                                                                                                  <field name="OP">EQ</field>
                                                                                                  <value name="A">
                                                                                                    <block type="get_value" id="3k1avVFD#Pg}~b`J?-,U">
                                                                                                      <field name="ATTR">val</field>
                                                                                                      <field name="OID">0_userdata.0.Markise.Regensperrzeit</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="B">
                                                                                                    <block type="logic_boolean" id="Fp5Ao3@BKc|kH1u`ZzJf">
                                                                                                      <field name="BOOL">FALSE</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                              <value name="B">
                                                                                                <block type="logic_compare" id="AT57Aocz8czHGyVikc[n">
                                                                                                  <field name="OP">EQ</field>
                                                                                                  <value name="A">
                                                                                                    <block type="get_value" id="u`jRS*@j;W;l4Ph.89Cw">
                                                                                                      <field name="ATTR">val</field>
                                                                                                      <field name="OID">0_userdata.0.Markise.Windsperrzeit</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="B">
                                                                                                    <block type="logic_boolean" id="BeBzio$@J%}cnD1fr$Qd">
                                                                                                      <field name="BOOL">FALSE</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                            </block>
                                                                                          </value>
                                                                                          <statement name="DO0">
                                                                                            <block type="control" id=")`sZC8XcMPRdx)}Itg;4">
                                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                              <field name="OID">shelly.0.SHSW-25#112ED9#1.Shutter.state</field>
                                                                                              <field name="WITH_DELAY">FALSE</field>
                                                                                              <value name="VALUE">
                                                                                                <block type="text" id="GsR5bbH*/k,I8I7vh:I~">
                                                                                                  <field name="TEXT">open</field>
                                                                                                </block>
                                                                                              </value>
                                                                                            </block>
                                                                                          </statement>
                                                                                        </block>
                                                                                      </statement>
                                                                                    </block>
                                                                                  </next>
                                                                                </block>
                                                                              </next>
                                                                            </block>
                                                                          </next>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                        <block type="comment" id=";CGAQ$zn27XktV*CO2GX" x="838" y="-1487">
                          <field name="COMMENT">Regensperre</field>
                          <next>
                            <block type="on_ext" id="NNSX2~uR~OO`U3hkx).3">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                              <field name="CONDITION">any</field>
                              <field name="ACK_CONDITION"></field>
                              <value name="OID0">
                                <shadow type="field_oid" id="3WA.wRL)udwUVX|v9-I{">
                                  <field name="oid">wiffi-wz.0.root.192_168_1_142.w_regenmelder</field>
                                </shadow>
                              </value>
                              <value name="OID1">
                                <shadow type="field_oid" id="J=cJl7moSi}|4.alq+Pq">
                                  <field name="oid">wiffi-wz.0.root.192_168_1_142.w_regensensor_wert</field>
                                </shadow>
                              </value>
                              <statement name="STATEMENT">
                                <block type="controls_if" id="8h.f$~!i,2uz#m5DnJ7O">
                                  <value name="IF0">
                                    <block type="logic_operation" id="HzMc!qz)iofY%5VA2C,!" inline="false">
                                      <field name="OP">OR</field>
                                      <value name="A">
                                        <block type="logic_compare" id="t@^OnveKj^`%zPnc}kZZ">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                            <block type="get_value" id=".!~ldFAJNNKc%0A(KLff">
                                              <field name="ATTR">val</field>
                                              <field name="OID">wiffi-wz.0.root.192_168_1_142.w_regenmelder</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="logic_boolean" id="~C/gX4-xVWNfSwS)G{*^">
                                              <field name="BOOL">TRUE</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="logic_compare" id="16qov8DqR-6sT`60by]Y">
                                          <field name="OP">GT</field>
                                          <value name="A">
                                            <block type="get_value" id="T~I+WOG)aNPx%,:5}--1">
                                              <field name="ATTR">val</field>
                                              <field name="OID">wiffi-wz.0.root.192_168_1_142.w_regensensor_wert</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="variables_get" id="I@q549TwO9jp{^rMzzNx">
                                              <field name="VAR" id="?9^kBdmn*FptT9[UYICa">Regenwert</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <statement name="DO0">
                                    <block type="control" id="V1CeX_T#AU-Rf5Ez.b$=">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                      <field name="OID">0_userdata.0.Markise.Regensperrzeit</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="logic_boolean" id="j)8|Q?Sf:A/%4dcC3F:u">
                                          <field name="BOOL">TRUE</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="timeouts_cleartimeout" id="}O!w3HH5M2GWT(g@0WEu">
                                          <field name="NAME">timeoutSonne</field>
                                          <next>
                                            <block type="timeouts_settimeout" id="0K3w|+UE_DyYUx]~Yht.">
                                              <field name="NAME">timeoutRegen</field>
                                              <field name="DELAY">15</field>
                                              <field name="UNIT">min</field>
                                              <statement name="STATEMENT">
                                                <block type="control" id=".Lj$GkL*bTsW5PUqkS`w">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">0_userdata.0.Markise.Regensperrzeit</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="logic_boolean" id="Jap)SMG8UG1y+E6Gs/T!">
                                                      <field name="BOOL">FALSE</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </statement>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </statement>
                                </block>
                              </statement>
                              <next>
                                <block type="comment" id="{8Io7Z{h+gNFWMTHM_UC">
                                  <field name="COMMENT">Windsperre</field>
                                  <next>
                                    <block type="on_ext" id="`E)er[L46T7O[oh*7YXl">
                                      <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=";,o%O;4K6$YeX$hd$@@C">
                                          <field name="oid">wiffi-wz.0.root.192_168_1_142.w_wind_spitze</field>
                                        </shadow>
                                      </value>
                                      <statement name="STATEMENT">
                                        <block type="controls_if" id="oGR.UwGi)i7@H{[n.^I-">
                                          <value name="IF0">
                                            <block type="logic_operation" id="Q7G7dsKC@,6Tg3Oh_z1a" inline="false">
                                              <field name="OP">OR</field>
                                              <value name="A">
                                                <block type="logic_operation" id="0kqn2RY=NVY3!L5XtOeN" inline="false">
                                                  <field name="OP">AND</field>
                                                  <value name="A">
                                                    <block type="logic_compare" id="4j}JMO9~3CHkX2Ec~yDE">
                                                      <field name="OP">GTE</field>
                                                      <value name="A">
                                                        <block type="get_value" id="BBWTbQ)5rj*/y2cJg#-3">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">wiffi-wz.0.root.192_168_1_142.w_wind_spitze</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="variables_get" id="/4kSKX+Xse./*H4f~:.{">
                                                          <field name="VAR" id="QzO,0wl/OW{ztEUDCD{Q">maximaler Wind lang</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block type="logic_compare" id="2FXnT0/x{]rfRvgC:eAK">
                                                      <field name="OP">GT</field>
                                                      <value name="A">
                                                        <block type="get_value" id="$qP_GB1q;o2.E*cSL^3S">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">shelly.0.SHSW-25#112ED9#1.Shutter.Position</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="math_number" id="s?pgqmVo3C{m/9t2_DT(">
                                                          <field name="NUM">25</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="logic_operation" id="4.BL9/(@K9_]H`@V1H9O" inline="false">
                                                  <field name="OP">AND</field>
                                                  <value name="A">
                                                    <block type="logic_compare" id="GI)}Ca0:y=GfEDxz.DFy">
                                                      <field name="OP">GTE</field>
                                                      <value name="A">
                                                        <block type="get_value" id="28Kt3-fQGird|]v9xE@H">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">wiffi-wz.0.root.192_168_1_142.w_wind_spitze</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="variables_get" id="C4kfF*v_IxrI6OtBbXOg">
                                                          <field name="VAR" id="x+ERQ{6dAh|@-{Pa+7|j">maximaler Wind kurz</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block type="logic_compare" id="[n|Wr91ri9?SMHSX]@ZZ">
                                                      <field name="OP">LTE</field>
                                                      <value name="A">
                                                        <block type="get_value" id="UFU[UX#~hqET#g%u*7D7">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">shelly.0.SHSW-25#112ED9#1.Shutter.Position</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="math_number" id="ww5mt/5TP7ja=s5]Ty;7">
                                                          <field name="NUM">25</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <statement name="DO0">
                                            <block type="math_change" id="Up/xfwc7V,~wy+P7L0kb">
                                              <field name="VAR" id="d{d8z4H76b.cOnlO{DP@">Windschläge</field>
                                              <value name="DELTA">
                                                <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="2*9u3^bQ^9Di6mgUhB93">
                                                  <field name="NUM">1</field>
                                                </shadow>
                                                <block type="math_number" id="M%=])p[E}5c/KeX|n0pM">
                                                  <field name="NUM">1</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="debug" id="4XBC1t/QKF~IcRW)2NMa">
                                                  <field name="Severity">warn</field>
                                                  <value name="TEXT">
                                                    <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="|2dM7v::czS!*#F-T)Hr">
                                                      <field name="TEXT">Windsperre 5 Min</field>
                                                    </shadow>
                                                    <block type="text_join" id="g;PUb3m2f2#s*+V-JPC-">
                                                      <mutation items="2"></mutation>
                                                      <value name="ADD0">
                                                        <block type="text" id="Z.uWLz@=E_8KoJtk_9tp">
                                                          <field name="TEXT">Windschläge: </field>
                                                        </block>
                                                      </value>
                                                      <value name="ADD1">
                                                        <block type="variables_get" id="GaiGVBv^XDH$q=?:wbNa">
                                                          <field name="VAR" id="d{d8z4H76b.cOnlO{DP@">Windschläge</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="control" id="{~(y,/3,%ufK.E~7Ljht">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                      <field name="OID">0_userdata.0.Markise.Windschläge</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="variables_get" id="Ht:J%AS[BM7v,`HYAJ?V">
                                                          <field name="VAR" id="d{d8z4H76b.cOnlO{DP@">Windschläge</field>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="timeouts_cleartimeout" id="o:j-pvyB4Csc=18C|mtr">
                                                          <field name="NAME">timeoutRegen</field>
                                                          <next>
                                                            <block type="timeouts_settimeout" id="0RCcu(A{yy.+N[wK}i@j">
                                                              <field name="NAME">timeoutWindschlag</field>
                                                              <field name="DELAY">90</field>
                                                              <field name="UNIT">sec</field>
                                                              <statement name="STATEMENT">
                                                                <block type="variables_set" id="qPo=Cy{hG:bTn|]Q;~?5">
                                                                  <field name="VAR" id="d{d8z4H76b.cOnlO{DP@">Windschläge</field>
                                                                  <value name="VALUE">
                                                                    <block type="math_number" id="I^;c`q:2yE;PMu%[P[w!">
                                                                      <field name="NUM">0</field>
                                                                    </block>
                                                                  </value>
                                                                  <next>
                                                                    <block type="control" id="),nI@WrY,L3@nlLNzD+z">
                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                      <field name="OID">0_userdata.0.Markise.Windschläge</field>
                                                                      <field name="WITH_DELAY">FALSE</field>
                                                                      <value name="VALUE">
                                                                        <block type="math_number" id="a(frXzYJcqfhnQu-Y3Fd">
                                                                          <field name="NUM">0</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </statement>
                                                              <next>
                                                                <block type="comment" id="9)n7W!vsZ2-f~q.EQBjM">
                                                                  <field name="COMMENT">Echo/Telegram-Ausgabe</field>
                                                                  <next>
                                                                    <block type="controls_if" id="0Cs_)uQtMOb@v{oShzQ_" disabled="true">
                                                                      <mutation elseif="1"></mutation>
                                                                      <value name="IF0">
                                                                        <block type="logic_operation" id="?]/8IJb4D~@~w7z?rx^V" inline="false">
                                                                          <field name="OP">AND</field>
                                                                          <value name="A">
                                                                            <block type="logic_compare" id="Fp7zYKX3d)]Xv}y/ti`t">
                                                                              <field name="OP">EQ</field>
                                                                              <value name="A">
                                                                                <block type="get_value" id="T.?6JKVvE;D$_b{|Wf|H">
                                                                                  <field name="ATTR">val</field>
                                                                                  <field name="OID">0_userdata.0.Anwesenheit.Jemand_da</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="logic_boolean" id="F:$zVM~:4z0f;T@ccWZ_">
                                                                                  <field name="BOOL">FALSE</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block type="logic_compare" id="=?gak]b:!/S`.!8%vM2M">
                                                                              <field name="OP">GT</field>
                                                                              <value name="A">
                                                                                <block type="get_value" id="n^Jk6LjOBS9H+y90K9w.">
                                                                                  <field name="ATTR">val</field>
                                                                                  <field name="OID">shelly.0.SHSW-25#112ED9#1.Shutter.Position</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="math_number" id="4E5bh`.Oj5Dbpt)]9A:V">
                                                                                  <field name="NUM">6</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <statement name="DO0">
                                                                        <block type="telegram" id="[^P;B[eNR*G1Qs82EQgK">
                                                                          <field name="INSTANCE"></field>
                                                                          <field name="LOG"></field>
                                                                          <field name="SILENT">FALSE</field>
                                                                          <field name="PARSEMODE">default</field>
                                                                          <value name="MESSAGE">
                                                                            <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="IrTYgSa,Fxani(YQ6}8`">
                                                                              <field name="TEXT">Markise Automatikbetrieb 75 %</field>
                                                                            </shadow>
                                                                            <block type="text_join" id="UIuZArZMH{qJWrpIh[N0">
                                                                              <mutation items="2"></mutation>
                                                                              <value name="ADD0">
                                                                                <block type="text" id="8E9}BSZr@yc=s:%doj2e">
                                                                                  <field name="TEXT">Windschläge: </field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="ADD1">
                                                                                <block type="variables_get" id="k~M=0bmgB`0A.-0kJ^b(">
                                                                                  <field name="VAR" id="d{d8z4H76b.cOnlO{DP@">Windschläge</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <value name="USERNAME">
                                                                            <block type="text" id="cZ0jGsa6?t?u,_6-M$j:">
                                                                              <field name="TEXT">Ralf</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </statement>
                                                                      <value name="IF1">
                                                                        <block type="logic_operation" id="9O019{,/l^TZFB1Fo-0k" inline="false">
                                                                          <field name="OP">AND</field>
                                                                          <value name="A">
                                                                            <block type="logic_compare" id="9WAK~}oZ.;~2INz0WmYa">
                                                                              <field name="OP">EQ</field>
                                                                              <value name="A">
                                                                                <block type="get_value" id="u4gy*f+u23-yF^Tz^5{.">
                                                                                  <field name="ATTR">val</field>
                                                                                  <field name="OID">0_userdata.0.Anwesenheit.Jemand_da</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="logic_boolean" id="#`6}JB,@.NM*{WEWh0?.">
                                                                                  <field name="BOOL">TRUE</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block type="logic_compare" id="U.h5e)mv!Zu1XY/q~WjJ">
                                                                              <field name="OP">GT</field>
                                                                              <value name="A">
                                                                                <block type="get_value" id="7VK3=cxCnf!aZ5WDrKRj">
                                                                                  <field name="ATTR">val</field>
                                                                                  <field name="OID">shelly.0.SHSW-25#112ED9#1.Shutter.Position</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="math_number" id="u|{nDf}^NbFqX_?Id7d:">
                                                                                  <field name="NUM">6</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <statement name="DO1">
                                                                        <block type="variables_set" id="E?N11`c~Yf}}/I{.)?w:">
                                                                          <field name="VAR" id="K|uMaq6@P_c`_I+ZwDz7">Lautstaerke speichern Wind</field>
                                                                          <value name="VALUE">
                                                                            <block type="get_value" id="0[)]xcgnE!boq][0#{w1">
                                                                              <field name="ATTR">val</field>
                                                                              <field name="OID">alexa2.0.Echo-Devices.G0-----174170RP2.Commands.speak-volume</field>
                                                                            </block>
                                                                          </value>
                                                                          <next>
                                                                            <block type="control" id=";HmpW4}0?w4?CgX0BZWj">
                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                              <field name="OID">alexa2.0.Echo-Devices.G0-----174170RP2.Commands.speak-volume</field>
                                                                              <field name="WITH_DELAY">TRUE</field>
                                                                              <field name="DELAY_MS">100</field>
                                                                              <field name="UNIT">ms</field>
                                                                              <field name="CLEAR_RUNNING">FALSE</field>
                                                                              <value name="VALUE">
                                                                                <block type="math_number" id="gY4X?EUewIz(ho|HC4J=">
                                                                                  <field name="NUM">10</field>
                                                                                </block>
                                                                              </value>
                                                                              <next>
                                                                                <block type="control" id="SBBQD5v(e4Z-g.~#m8o#">
                                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                                  <field name="OID">alexa2.0.Echo-Devices.G0-----174170RP2.Commands.speak</field>
                                                                                  <field name="WITH_DELAY">TRUE</field>
                                                                                  <field name="DELAY_MS">200</field>
                                                                                  <field name="UNIT">ms</field>
                                                                                  <field name="CLEAR_RUNNING">FALSE</field>
                                                                                  <value name="VALUE">
                                                                                    <block type="text_join" id="*ri$=DlBgcSMkOca6j^E">
                                                                                      <mutation items="2"></mutation>
                                                                                      <value name="ADD0">
                                                                                        <block type="text" id="KKpAA)zDW15N2)_$JMax">
                                                                                          <field name="TEXT">Windschläge: </field>
                                                                                        </block>
                                                                                      </value>
                                                                                      <value name="ADD1">
                                                                                        <block type="variables_get" id="WO;(uVomT8*1h7fX:c7N">
                                                                                          <field name="VAR" id="d{d8z4H76b.cOnlO{DP@">Windschläge</field>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                  <next>
                                                                                    <block type="control" id="FW_4x_Xb,90fP7vohEPq">
                                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                                      <field name="OID">alexa2.0.Echo-Devices.G0-----174170RP2.Commands.speak-volume</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="variables_get" id="r,kn~BmaEYBG8aF8![zW">
                                                                                          <field name="VAR" id="K|uMaq6@P_c`_I+ZwDz7">Lautstaerke speichern Wind</field>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </next>
                                                                                </block>
                                                                              </next>
                                                                            </block>
                                                                          </next>
                                                                        </block>
                                                                      </statement>
                                                                      <next>
                                                                        <block type="controls_if" id="ijFM%+d^Z2)ob(@G#:+c">
                                                                          <value name="IF0">
                                                                            <block type="logic_compare" id="7XSSPWLcRf^N)S]-fHF-">
                                                                              <field name="OP">GTE</field>
                                                                              <value name="A">
                                                                                <block type="variables_get" id="@fGVg)myC{1{/A-DF7hi">
                                                                                  <field name="VAR" id="d{d8z4H76b.cOnlO{DP@">Windschläge</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="variables_get" id="E}Pwk[k}IdT7-X$HRy+@">
                                                                                  <field name="VAR" id="P_8{jfKCq~k!`U5jlg40">max Windschlag</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <statement name="DO0">
                                                                            <block type="control" id="p|MfzL)v/$@{gLVS7q-9">
                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                              <field name="OID">0_userdata.0.Markise.Windsperrzeit</field>
                                                                              <field name="WITH_DELAY">FALSE</field>
                                                                              <value name="VALUE">
                                                                                <block type="logic_boolean" id="cll1BN*sM(DrJq4@t5,U">
                                                                                  <field name="BOOL">TRUE</field>
                                                                                </block>
                                                                              </value>
                                                                              <next>
                                                                                <block type="debug" id="kpMd?Wrl,;gS,8XZ4R*r">
                                                                                  <field name="Severity">warn</field>
                                                                                  <value name="TEXT">
                                                                                    <shadow type="text" id="1e,DF31|:Fjch_AJ#dAU">
                                                                                      <field name="TEXT">Windsperre 10 Min</field>
                                                                                    </shadow>
                                                                                  </value>
                                                                                  <next>
                                                                                    <block type="timeouts_cleartimeout" id="Z+x(m~qC9!KR4F1!M)hX">
                                                                                      <field name="NAME">timeoutWindschlag</field>
                                                                                      <next>
                                                                                        <block type="timeouts_settimeout" id="l:M167(Cr8C4Y{h+X=q-">
                                                                                          <field name="NAME">timeoutWind</field>
                                                                                          <field name="DELAY">10</field>
                                                                                          <field name="UNIT">min</field>
                                                                                          <statement name="STATEMENT">
                                                                                            <block type="control" id="ZK/~wJU/tXDff|c;yRGc">
                                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                              <field name="OID">0_userdata.0.Markise.Windsperrzeit</field>
                                                                                              <field name="WITH_DELAY">FALSE</field>
                                                                                              <value name="VALUE">
                                                                                                <block type="logic_boolean" id="b|qkAa{UB@CX(]=6o1a`">
                                                                                                  <field name="BOOL">FALSE</field>
                                                                                                </block>
                                                                                              </value>
                                                                                              <next>
                                                                                                <block type="variables_set" id="nbEHzf.SJJkU8EdY}#{1">
                                                                                                  <field name="VAR" id="d{d8z4H76b.cOnlO{DP@">Windschläge</field>
                                                                                                  <value name="VALUE">
                                                                                                    <block type="math_number" id="dRyTldjub8`|LvH0I#(@">
                                                                                                      <field name="NUM">0</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <next>
                                                                                                    <block type="control" id="T2~FaSI#3u0U[6P5Grj0">
                                                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                      <field name="OID">0_userdata.0.Markise.Windschläge</field>
                                                                                                      <field name="WITH_DELAY">FALSE</field>
                                                                                                      <value name="VALUE">
                                                                                                        <block type="math_number" id="tW;2POQ@V6=v4`:=?0bv">
                                                                                                          <field name="NUM">0</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <next>
                                                                                                        <block type="debug" id="TO.uijG;5_xuxlb9k7zC">
                                                                                                          <field name="Severity">warn</field>
                                                                                                          <value name="TEXT">
                                                                                                            <shadow type="text" id="ci)+/28a+`oaLRnt,z_b">
                                                                                                              <field name="TEXT">Windsperre beendet</field>
                                                                                                            </shadow>
                                                                                                          </value>
                                                                                                        </block>
                                                                                                      </next>
                                                                                                    </block>
                                                                                                  </next>
                                                                                                </block>
                                                                                              </next>
                                                                                            </block>
                                                                                          </statement>
                                                                                        </block>
                                                                                      </next>
                                                                                    </block>
                                                                                  </next>
                                                                                </block>
                                                                              </next>
                                                                            </block>
                                                                          </statement>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </statement>
                                        </block>
                                      </statement>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                        <block type="comment" id="MBk6W)Hs^U_}76h7X4)F" x="1588" y="-1487">
                          <field name="COMMENT">Täglich auf Automatikbetrieb stellen</field>
                          <next>
                            <block type="schedule" id="3Kw=xYW)$xa[||AywDBL">
                              <field name="SCHEDULE">0 6 * * *</field>
                              <statement name="STATEMENT">
                                <block type="control" id="5}M8vLlQ,2s*%uS?b?UI">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                  <field name="OID">0_userdata.0.Markise.Automatik</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="logic_boolean" id="75[b-.dOXEnGw5BG/LQM">
                                      <field name="BOOL">TRUE</field>
                                    </block>
                                  </value>
                                </block>
                              </statement>
                              <next>
                                <block type="comment" id=",RU$oaF;=QCCH?wc4$ly">
                                  <field name="COMMENT">Automatikbetrieb</field>
                                  <next>
                                    <block type="schedule" id="%R~@}MFDw(YSio3R5DB|">
                                      <field name="SCHEDULE">*/5 7-21 * * *</field>
                                      <statement name="STATEMENT">
                                        <block type="controls_if" id="ZyVo@,]VvAWnzR]lXqWt">
                                          <value name="IF0">
                                            <block type="logic_operation" id="v(J51?iUSx|+TQ=DzD+i" inline="false">
                                              <field name="OP">AND</field>
                                              <value name="A">
                                                <block type="logic_operation" id="Qimi_h,euIHM6d!{P:)F" inline="false">
                                                  <field name="OP">AND</field>
                                                  <value name="A">
                                                    <block type="logic_compare" id="Mt@ynkY?:n0#/IMMv^d$">
                                                      <field name="OP">EQ</field>
                                                      <value name="A">
                                                        <block type="get_value" id="jBnQv6Qg6MMOf|,W8*!E">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">0_userdata.0.Markise.Automatik</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="logic_boolean" id="9LDGe/msksxWW;DzHXJb">
                                                          <field name="BOOL">TRUE</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block type="logic_compare" id="bjrQ{ALAUOt0YUnipCJc">
                                                      <field name="OP">EQ</field>
                                                      <value name="A">
                                                        <block type="get_value" id="^I)|+SZAHEMl{#/~hflu">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">0_userdata.0.Markise.Regensperrzeit</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="logic_boolean" id="PU=:[GeCQ]_(j:Bvr4=l">
                                                          <field name="BOOL">FALSE</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="logic_operation" id="Re/^`=!v+$HFsD`;H,.S" inline="false">
                                                  <field name="OP">AND</field>
                                                  <value name="A">
                                                    <block type="logic_compare" id="TcoYn2_cLL#%^iXS2Ow[">
                                                      <field name="OP">EQ</field>
                                                      <value name="A">
                                                        <block type="get_value" id="fa6Sf#^~RhucFdFG=k+{">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">0_userdata.0.Markise.Windsperrzeit</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="logic_boolean" id="a8A6eV,rm:HRDpeQcxoP">
                                                          <field name="BOOL">FALSE</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block type="logic_operation" id="VGu=v#v4/i9Wu,B`}Pi5" inline="false">
                                                      <field name="OP">AND</field>
                                                      <value name="A">
                                                        <block type="logic_operation" id="F_4oX}GCvQBLX3s|PQmw" inline="false">
                                                          <field name="OP">AND</field>
                                                          <value name="A">
                                                            <block type="logic_compare" id="{5{R6]OF43u}YsLIS$o-">
                                                              <field name="OP">GT</field>
                                                              <value name="A">
                                                                <block type="get_value" id="-T@o-odxqA`-TBmEk.:P">
                                                                  <field name="ATTR">val</field>
                                                                  <field name="OID">wiffi-wz.0.root.192_168_1_142.w_elevation</field>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block type="variables_get" id="NI(OMsA,nq78..SlaBx`">
                                                                  <field name="VAR" id="lBF`+SLae%,+BJ,:Bm-F">Elevation Ausfahren</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="logic_compare" id=")LuB8(tgnLq[.44Tgg,h">
                                                              <field name="OP">EQ</field>
                                                              <value name="A">
                                                                <block type="get_value" id=";Gi/5ka@={}3M1[!=^BC">
                                                                  <field name="ATTR">val</field>
                                                                  <field name="OID">wiffi-wz.0.root.192_168_1_142.w_sonne_scheint</field>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block type="logic_boolean" id="yWAi2gWSS^=k,TK.:-B%">
                                                                  <field name="BOOL">TRUE</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="logic_operation" id="Lw~J;N/d~kD?zn_Vc{O)" inline="false">
                                                          <field name="OP">AND</field>
                                                          <value name="A">
                                                            <block type="logic_compare" id="4$*YsadF?aWump;p/[Z-">
                                                              <field name="OP">LT</field>
                                                              <value name="A">
                                                                <block type="get_value" id="uB3|0i}Fi5]Q}ECU;gP,">
                                                                  <field name="ATTR">val</field>
                                                                  <field name="OID">shelly.0.SHSW-25#112ED9#1.Shutter.Position</field>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block type="get_value" id="8zwvn1Q$J8U}|hN`h?}c">
                                                                  <field name="ATTR">val</field>
                                                                  <field name="OID">0_userdata.0.Markise.Ausfahrlaenge</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="logic_operation" id="(wm_#0p7`Z(n,22df|fi" inline="false">
                                                              <field name="OP">AND</field>
                                                              <value name="A">
                                                                <block type="logic_compare" id="lZN{Ka!AY8IAZIJ5%Ehh">
                                                                  <field name="OP">GTE</field>
                                                                  <value name="A">
                                                                    <block type="get_value" id="TSJ1X%g_fm:%wG;)JlyA">
                                                                      <field name="ATTR">val</field>
                                                                      <field name="OID">wiffi-wz.0.root.192_168_1_142.w_temperatur</field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <block type="math_number" id="-3LA2mo=W9:QKjIu5_T2">
                                                                      <field name="NUM">18</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block type="logic_compare" id="KDBw)S$;07mh$Hhcgu+Q">
                                                                  <field name="OP">EQ</field>
                                                                  <value name="A">
                                                                    <block type="get_value" id="kbKL^^aI3yiXSXGZGJuy">
                                                                      <field name="ATTR">val</field>
                                                                      <field name="OID">0_userdata.0.Markise.Sommerbetrieb</field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <block type="logic_boolean" id="R|LvFEE,qP|1#51ZPj5{">
                                                                      <field name="BOOL">TRUE</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <statement name="DO0">
                                            <block type="control" id="]j)tvw^AY8[Je#g$H+}L">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">shelly.0.SHSW-25#112ED9#1.Shutter.Position</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="get_value" id="slMf|/YKSJ|Q(6i{Bj[x">
                                                  <field name="ATTR">val</field>
                                                  <field name="OID">0_userdata.0.Markise.Ausfahrlaenge</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="debug" id="!LQo((Dl7vq0!?^S,4[m">
                                                  <field name="Severity">warn</field>
                                                  <value name="TEXT">
                                                    <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="s6)XPn#|G^ezfxf[sFdw">
                                                      <field name="TEXT">Automatikbetrieb Markise 75 %</field>
                                                    </shadow>
                                                    <block type="text_join" id="yN^,GZHq5hF%7$U!P5/s">
                                                      <mutation items="3"></mutation>
                                                      <value name="ADD0">
                                                        <block type="text" id="b6^@wcd5iEN!xp[q}J(2">
                                                          <field name="TEXT">Markise Automatikbetrieb: </field>
                                                        </block>
                                                      </value>
                                                      <value name="ADD1">
                                                        <block type="get_value" id="a[s],NW/6FMY3lF;m=}p">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">0_userdata.0.Markise.Ausfahrlaenge</field>
                                                        </block>
                                                      </value>
                                                      <value name="ADD2">
                                                        <block type="text" id="=FtV|)q[n+.Vc2A#OPeJ">
                                                          <field name="TEXT"> %</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="comment" id="U?HSlj{AUO?]$|sl05iY">
                                                      <field name="COMMENT">Echo/Telegram-Ausgabe</field>
                                                      <next>
                                                        <block type="controls_if" id="C!F!Rx0dQDgyaksB$J.e">
                                                          <mutation else="1"></mutation>
                                                          <value name="IF0">
                                                            <block type="logic_compare" id="WC;dsg?0Dh~dDK%re{R0">
                                                              <field name="OP">EQ</field>
                                                              <value name="A">
                                                                <block type="get_value" id=";Gwk#/E0xpCF^x1dR^w@">
                                                                  <field name="ATTR">val</field>
                                                                  <field name="OID">0_userdata.0.Anwesenheit.Jemand_da</field>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block type="logic_boolean" id=";;^i558=_GJRAo=kCS5|">
                                                                  <field name="BOOL">FALSE</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <statement name="DO0">
                                                            <block type="telegram" id="@mSn1^3-o8(-ZWEDr?P5">
                                                              <field name="INSTANCE"></field>
                                                              <field name="LOG"></field>
                                                              <field name="SILENT">FALSE</field>
                                                              <field name="PARSEMODE">default</field>
                                                              <value name="MESSAGE">
                                                                <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="IrTYgSa,Fxani(YQ6}8`">
                                                                  <field name="TEXT">Markise Automatikbetrieb 75 %</field>
                                                                </shadow>
                                                                <block type="text_join" id="F5@g(9vBidgAQ*$a(MNV">
                                                                  <mutation items="3"></mutation>
                                                                  <value name="ADD0">
                                                                    <block type="text" id="%{cdMk]lqcz:Q+VRG(n8">
                                                                      <field name="TEXT">Markise Automatikbetrieb: </field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="ADD1">
                                                                    <block type="get_value" id="eFem:7dqb_T=/6yId$ss">
                                                                      <field name="ATTR">val</field>
                                                                      <field name="OID">0_userdata.0.Markise.Ausfahrlaenge</field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="ADD2">
                                                                    <block type="text" id=".z^yuBbi8wH2BuiH[|i/">
                                                                      <field name="TEXT"> %</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                              <value name="USERNAME">
                                                                <block type="text" id="Wm0d!wUzA_@It/CL,?Qk">
                                                                  <field name="TEXT">Ralf</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </statement>
                                                          <statement name="ELSE">
                                                            <block type="variables_set" id="?8EDFi53!ksp`U(5}ZRJ">
                                                              <field name="VAR" id="fB6sV7{-K;8~YLQ^p*z9">Lautstaerke speichern Automatik</field>
                                                              <value name="VALUE">
                                                                <block type="get_value" id="J[=Mx=]a}f!jA%aV{l1c">
                                                                  <field name="ATTR">val</field>
                                                                  <field name="OID">alexa2.0.Echo-Devices.G0-----174170RP2.Commands.speak-volume</field>
                                                                </block>
                                                              </value>
                                                              <next>
                                                                <block type="control" id="LhL6~S;z/wn29t(SHJjS">
                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                  <field name="OID">alexa2.0.Echo-Devices.G0-----174170RP2.Commands.speak-volume</field>
                                                                  <field name="WITH_DELAY">TRUE</field>
                                                                  <field name="DELAY_MS">500</field>
                                                                  <field name="UNIT">ms</field>
                                                                  <field name="CLEAR_RUNNING">FALSE</field>
                                                                  <value name="VALUE">
                                                                    <block type="math_number" id="^CScNcJX)aOQZQFi4mrS">
                                                                      <field name="NUM">10</field>
                                                                    </block>
                                                                  </value>
                                                                  <next>
                                                                    <block type="control" id="x-cR%g]x;K8S4u;WdvHk">
                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                      <field name="OID">alexa2.0.Echo-Devices.G0-----174170RP2.Commands.speak</field>
                                                                      <field name="WITH_DELAY">TRUE</field>
                                                                      <field name="DELAY_MS">2</field>
                                                                      <field name="UNIT">sec</field>
                                                                      <field name="CLEAR_RUNNING">FALSE</field>
                                                                      <value name="VALUE">
                                                                        <block type="text_join" id="=LoH)Sw=Y#_.g?)!^9gL">
                                                                          <mutation items="3"></mutation>
                                                                          <value name="ADD0">
                                                                            <block type="text" id="zC0-$30r=7}r9W1*(hi`">
                                                                              <field name="TEXT">Markise Automatikbetrieb: </field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="ADD1">
                                                                            <block type="get_value" id="vC!{pA8skBnolW`+izhl">
                                                                              <field name="ATTR">val</field>
                                                                              <field name="OID">0_userdata.0.Markise.Ausfahrlaenge</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="ADD2">
                                                                            <block type="text" id="D97vZLC22G);nagSslW3">
                                                                              <field name="TEXT"> %</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <next>
                                                                        <block type="control" id=";Qs#k-(o+N?n8Vljo@!=">
                                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                          <field name="OID">alexa2.0.Echo-Devices.G0-----174170RP2.Commands.speak-volume</field>
                                                                          <field name="WITH_DELAY">TRUE</field>
                                                                          <field name="DELAY_MS">5</field>
                                                                          <field name="UNIT">sec</field>
                                                                          <field name="CLEAR_RUNNING">FALSE</field>
                                                                          <value name="VALUE">
                                                                            <block type="variables_get" id="RwR3swEFE/).;}|ezsFC">
                                                                              <field name="VAR" id="fB6sV7{-K;8~YLQ^p*z9">Lautstaerke speichern Automatik</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </statement>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </statement>
                                        </block>
                                      </statement>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </xml>
                      
                      G 1 Reply Last reply Reply Quote 1
                      • G
                        gerald123 @guergen last edited by

                        @guergen Dankeschön, jetzt werde ich es mal duchgehen ob ich es verstehe 👍

                        G 2 Replies Last reply Reply Quote 0
                        • G
                          guergen @gerald123 last edited by

                          @gerald123 Wenn Du Fragen hast, frag.... Da ich es selbst gebaut habe ist es zwar etwas überladen, aber ich weiss, dass es zuverlässig läuft!

                          1 Reply Last reply Reply Quote 0
                          • G
                            guergen @gerald123 last edited by

                            @gerald123 Läuft? Verstanden?

                            G 1 Reply Last reply Reply Quote 0
                            • G
                              gerald123 @guergen last edited by

                              @guergen Habe es gestern auf meine Datenpunkte angepasst und der erste Testlauf ist super gelaufen.
                              Werde es noch weiter beobachten und mich dann noch mal melden.
                              Jetzt schon mal ein Danke für das super Skript!

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

                              Support us

                              ioBroker
                              Community Adapters
                              Donate

                              697
                              Online

                              31.9k
                              Users

                              80.3k
                              Topics

                              1.3m
                              Posts

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