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

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. [gelöst] Intervalle gegeneinander sperren

NEWS

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

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

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

[gelöst] Intervalle gegeneinander sperren

Scheduled Pinned Locked Moved Blockly
25 Posts 5 Posters 2.2k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Online
    G Online
    Gonzokalle
    wrote on last edited by Gonzokalle
    #1

    Guten Morgen,
    ich habe bei meiner Fassadenbeleuchtung gestern noch eine Dimmfunktion eingebaut.
    Beim Testen hat es auch funktioniert.
    Heute morgen hat die Helligkeit immer zwischen 95 % und 100 % gewechselt.
    Ich denke mal, das beide Intervalle gleichzeitig gearbeitet haben.
    Wie kann ich das unterbinden?

    6f68af14-5494-4e0a-88f2-b298cee8d6f5-image.png

    <xml xmlns="https://developers.google.com/blockly/xml">
      <variables>
        <variable id="AD|+5T.oW**O#(NI@?Oj">manuell_hell</variable>
        <variable id="j7/Wt4V-(U5lV`t8lhSn">Schalter</variable>
        <variable type="interval" id="Intervall_dimme_hoch">Intervall_dimme_hoch</variable>
        <variable type="timeout" id="timeout_Haustür_BWM">timeout_Haustür_BWM</variable>
        <variable type="timeout" id="timeout_Haustür_manuell">timeout_Haustür_manuell</variable>
        <variable type="timeout" id="timeout_Fasssade_BWM">timeout_Fasssade_BWM</variable>
        <variable type="timeout" id="timeout_Fassade_manuell">timeout_Fassade_manuell</variable>
        <variable type="interval" id="Intervall_dimme_runter">Intervall_dimme_runter</variable>
      </variables>
      <block type="comment" id="Ff*B2h5EH_{))E,avBg+" x="288" y="-1912">
        <field name="COMMENT">Wenn Personen erkannt werden, Licht auf 100%</field>
        <next>
          <block type="comment" id="=G3SlwKQhg4A7#!Ge^yv">
            <field name="COMMENT">nach 2 Min. Licht wieder auf 5%</field>
            <next>
              <block type="on_ext" id="/ZH[hRCGcfC[^)QKrR;q">
                <mutation xmlns="http://www.w3.org/1999/xhtml" items="4"></mutation>
                <field name="CONDITION">ne</field>
                <field name="ACK_CONDITION"></field>
                <value name="OID0">
                  <shadow type="field_oid" id="mn^2S@WmC?X+2Sc#k(k;">
                    <field name="oid">zigbee.0.00158d000a839ce4.occupancy</field>
                  </shadow>
                </value>
                <value name="OID1">
                  <shadow type="field_oid" id="`N_X0gIuOcNiQ(h4:Rc7">
                    <field name="oid">reolink.0.sensor.people.state</field>
                  </shadow>
                </value>
                <value name="OID2">
                  <shadow type="field_oid" id="llS+oql?NTblT.q~(e!c">
                    <field name="oid">eusec.0.T8010N2321140533.cameras.T8113N6321140A82.motion_detected</field>
                  </shadow>
                </value>
                <value name="OID3">
                  <shadow type="field_oid" id="hP.YAMNtdL=G;U12VPK+">
                    <field name="oid">eusec.0.T8010N2321140533.cameras.T8142N6321122F99.motion_detected</field>
                  </shadow>
                </value>
                <statement name="STATEMENT">
                  <block type="controls_if" id="or)W[,9!n*#3X0F26kx@">
                    <value name="IF0">
                      <block type="logic_negate" id="p.N5wkzagtQLf@+_+$`o">
                        <value name="BOOL">
                          <block type="variables_get" id="rDmf/}D04}on-ZL-l-NO">
                            <field name="VAR" id="AD|+5T.oW**O#(NI@?Oj">manuell_hell</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="controls_if" id="_q?vqV_25+T9#mamA~C5">
                        <value name="IF0">
                          <block type="logic_operation" id="njT6yz%8+33f:/g$?BC," inline="false">
                            <field name="OP">AND</field>
                            <value name="A">
                              <block type="logic_multi_or" id=";=nx.pNcN!8:3k}0v3NC">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" items="4"></mutation>
                                <value name="OR0">
                                  <block type="get_value" id="N|=^rCA0v/5a6ZMuotkw">
                                    <field name="ATTR">val</field>
                                    <field name="OID">zigbee.0.00158d000a839ce4.occupancy</field>
                                  </block>
                                </value>
                                <value name="OR1">
                                  <block type="get_value" id="-2g-7N#8@+M7?dn94Xo?">
                                    <field name="ATTR">val</field>
                                    <field name="OID">reolink.0.sensor.people.state</field>
                                  </block>
                                </value>
                                <value name="OR2">
                                  <block type="get_value" id="~a=c$^xOYo4:LE``B#6s">
                                    <field name="ATTR">val</field>
                                    <field name="OID">eusec.0.T8010N2321140533.cameras.T8113N6321140A82.motion_detected</field>
                                  </block>
                                </value>
                                <value name="OR3">
                                  <block type="get_value" id="oeeR.u_f$BWzTAl,LLVp">
                                    <field name="ATTR">val</field>
                                    <field name="OID">eusec.0.T8010N2321140533.cameras.T8142N6321122F99.motion_detected</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_compare" id=";c{W0O;/Y[p:jImgUxFl">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="get_value" id="b_,zwO2_ELGB,|ZUDklC">
                                    <field name="ATTR">val</field>
                                    <field name="OID">0_userdata.0.Zeiten.Sonnenaufgang-Sonnenuntergang</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="text" id="?RB[T;kxcN:jjf?EX]5Y">
                                    <field name="TEXT">Nacht</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="variables_set" id="EpHk!!FQROUfM-%I5sK,">
                            <field name="VAR" id="j7/Wt4V-(U5lV`t8lhSn">Schalter</field>
                            <value name="VALUE">
                              <block type="get_value" id="=k_C3J/%[)ZLUYLZIf$|">
                                <field name="ATTR">val</field>
                                <field name="OID">shelly.0.SHDM-2#E89F6D85155D#1.lights.Switch</field>
                              </block>
                            </value>
                            <next>
                              <block type="comment" id="A?KQ{waw9J8DJtI1ohSo">
                                <field name="COMMENT">Dimme Licht Fassade auf 100%</field>
                                <next>
                                  <block type="control" id="+X,X.XzQ~{K[j$sJT7=~">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">shelly.0.SHDM-2#E89F6D85155D#1.lights.Switch</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id=".MY42#{/h*zLu#e,WsSE">
                                        <field name="BOOL">TRUE</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="timeouts_setinterval" id="QkRaRxVFF(|D/iXS;;JR">
                                        <field name="NAME">Intervall_dimme_hoch</field>
                                        <field name="INTERVAL">500</field>
                                        <field name="UNIT">ms</field>
                                        <statement name="STATEMENT">
                                          <block type="controls_if" id=",EYvT4!Z+iIe4K5?po}Y">
                                            <mutation else="1"></mutation>
                                            <value name="IF0">
                                              <block type="logic_compare" id="s`d3?y(3]EMMp,F4zv:|">
                                                <field name="OP">LT</field>
                                                <value name="A">
                                                  <block type="get_value" id="4qjRsKml/fomd-4iNIOX">
                                                    <field name="ATTR">val</field>
                                                    <field name="OID">shelly.0.SHDM-2#E89F6D85155D#1.lights.brightness</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="math_number" id="b!Oz!^WQP=xT=.Wh!1L^">
                                                    <field name="NUM">100</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <statement name="DO0">
                                              <block type="control" id=",~k9qKB+QPgfe-id``[(">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                <field name="OID">shelly.0.SHDM-2#E89F6D85155D#1.lights.brightness</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="math_arithmetic" id="WF:v5O4Nrm%0Y[J|d5N7">
                                                    <field name="OP">ADD</field>
                                                    <value name="A">
                                                      <shadow type="math_number" id="vyA8}YZMd!#8sw(3tEp+">
                                                        <field name="NUM">1</field>
                                                      </shadow>
                                                      <block type="get_value" id="$Ho4[[z0GSytvLkk;r:s">
                                                        <field name="ATTR">val</field>
                                                        <field name="OID">shelly.0.SHDM-2#E89F6D85155D#1.lights.brightness</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <shadow type="math_number" id="5~)n9Y/g^iBh.6.rYb3%">
                                                        <field name="NUM">1</field>
                                                      </shadow>
                                                      <block type="math_number" id="-3zu7hN7uOFz93^BGtJI">
                                                        <field name="NUM">5</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </statement>
                                            <statement name="ELSE">
                                              <block type="timeouts_clearinterval" id="]/{Kl:F!;Vqt8$1iALbo">
                                                <field name="NAME">Intervall_dimme_hoch</field>
                                              </block>
                                            </statement>
                                          </block>
                                        </statement>
                                        <next>
                                          <block type="timeouts_cleartimeout" id="|y2F_1j@nE2U!Um9}381">
                                            <field name="NAME">timeout_Fasssade_BWM</field>
                                            <next>
                                              <block type="timeouts_settimeout" id="lxV5ih5F@%IGdzucTYha">
                                                <field name="NAME">timeout_Fasssade_BWM</field>
                                                <field name="DELAY">2</field>
                                                <field name="UNIT">min</field>
                                                <statement name="STATEMENT">
                                                  <block type="comment" id="UNfbw(:OqQ[KGYY@Kf1a">
                                                    <field name="COMMENT">Dimme Licht Fassade auf 5%</field>
                                                    <next>
                                                      <block type="timeouts_setinterval" id="jurJLogqHXDjj]O#rXZj">
                                                        <field name="NAME">Intervall_dimme_runter</field>
                                                        <field name="INTERVAL">1</field>
                                                        <field name="UNIT">sec</field>
                                                        <statement name="STATEMENT">
                                                          <block type="controls_if" id="O1Ka{H!zG;ZZp*y445WR">
                                                            <mutation else="1"></mutation>
                                                            <value name="IF0">
                                                              <block type="logic_compare" id="f@)@sLp}7So[wxO2mWCF">
                                                                <field name="OP">GT</field>
                                                                <value name="A">
                                                                  <block type="get_value" id="%oW|P-g+4nPS;Cp}[tIL">
                                                                    <field name="ATTR">val</field>
                                                                    <field name="OID">shelly.0.SHDM-2#E89F6D85155D#1.lights.brightness</field>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="math_number" id="cN@TX^@$aOsy`B]woi3?">
                                                                    <field name="NUM">5</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <statement name="DO0">
                                                              <block type="control" id="W$OIc2g=7_G#y8:K/TV]">
                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                <field name="OID">shelly.0.SHDM-2#E89F6D85155D#1.lights.brightness</field>
                                                                <field name="WITH_DELAY">FALSE</field>
                                                                <value name="VALUE">
                                                                  <block type="math_arithmetic" id="=%6z(BWBbGAU6YY$,MF|">
                                                                    <field name="OP">MINUS</field>
                                                                    <value name="A">
                                                                      <shadow type="math_number" id="vyA8}YZMd!#8sw(3tEp+">
                                                                        <field name="NUM">1</field>
                                                                      </shadow>
                                                                      <block type="get_value" id="InlVZ[J9bti}Nai88v58">
                                                                        <field name="ATTR">val</field>
                                                                        <field name="OID">shelly.0.SHDM-2#E89F6D85155D#1.lights.brightness</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <shadow type="math_number" id="5~)n9Y/g^iBh.6.rYb3%">
                                                                        <field name="NUM">1</field>
                                                                      </shadow>
                                                                      <block type="math_number" id="9^PVhi*/rd4k!vd:wFF4">
                                                                        <field name="NUM">5</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </statement>
                                                            <statement name="ELSE">
                                                              <block type="timeouts_clearinterval" id="M{M3G*~ao~$?w;aH07nS">
                                                                <field name="NAME">Intervall_dimme_runter</field>
                                                                <next>
                                                                  <block type="control" id="%_Yx%3Y/IAi8up%S|iIZ">
                                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                    <field name="OID">shelly.0.SHDM-2#E89F6D85155D#1.lights.Switch</field>
                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                    <value name="VALUE">
                                                                      <block type="variables_get" id="T^DbC3|=w66cLG~Nf].p">
                                                                        <field name="VAR" id="j7/Wt4V-(U5lV`t8lhSn">Schalter</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </statement>
                                                          </block>
                                                        </statement>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </statement>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </statement>
                      </block>
                    </statement>
                  </block>
                </statement>
                <next>
                  <block type="comment" id="vQ5z7JLGr/MjN~!Hjt5r">
                    <field name="COMMENT">BW Haustür steuert Licht Haustür</field>
                    <next>
                      <block type="on_ext" id="sxwW}6@jn6Y%}U;/A0J?">
                        <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="G[:b$mbz_N2v!q~/BqW-">
                            <field name="oid">zigbee.0.00158d000a839ce4.occupancy</field>
                          </shadow>
                        </value>
                        <statement name="STATEMENT">
                          <block type="controls_if" id="]C]}.NtZSO9EaDMN:Mxl">
                            <value name="IF0">
                              <block type="logic_operation" id="av[#$$IWsGKhPQ(tN#_:" inline="false">
                                <field name="OP">AND</field>
                                <value name="A">
                                  <block type="on_source" id="a@,RVK!|CW[VIpOX3Ati">
                                    <field name="ATTR">state.val</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_compare" id="$dN{d2XcO)!Eg-)d?$?i">
                                    <field name="OP">EQ</field>
                                    <value name="A">
                                      <block type="get_value" id="%l$djC9.[2Rb)gi/Ky~W">
                                        <field name="ATTR">val</field>
                                        <field name="OID">0_userdata.0.Zeiten.Sonnenaufgang-Sonnenuntergang</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="text" id="aG/rlL/hV.-$r}L{$kF3">
                                        <field name="TEXT">Nacht</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="control" id="KJ*i8V)#=$h~zw4SLhR%">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">shelly.0.SHSW-1#34945471DC64#1.Relay0.Switch</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id="QW=8=FLXzPtit7:%aE6E">
                                    <field name="BOOL">TRUE</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="timeouts_cleartimeout" id="gN!ceB$}AfDKO0SmC]NR">
                                    <field name="NAME">timeout_Haustür_BWM</field>
                                    <next>
                                      <block type="timeouts_settimeout" id="txsK:x$`[j4j.~-#$_H8">
                                        <field name="NAME">timeout_Haustür_BWM</field>
                                        <field name="DELAY">2</field>
                                        <field name="UNIT">min</field>
                                        <statement name="STATEMENT">
                                          <block type="control" id="Hmhwz0re:ZL5:J4oIu]#">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">shelly.0.SHSW-1#34945471DC64#1.Relay0.Switch</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="VfwL=Y{9SWa_YT(`Y7[J">
                                                <field name="BOOL">FALSE</field>
                                              </block>
                                            </value>
                                          </block>
                                        </statement>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </statement>
                          </block>
                        </statement>
                        <next>
                          <block type="comment" id="%Pr5UyGIX=agOEv(mKi4">
                            <field name="COMMENT">Licht Haustür manuell an, dann nach 10 Min. aus</field>
                            <next>
                              <block type="on_ext" id="dbM@.I%084fU8T|u[`.N">
                                <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="h3TZLX_Av^[IvwnhdN=0">
                                    <field name="oid">shelly.0.SHSW-1#34945471DC64#1.Relay0.Switch</field>
                                  </shadow>
                                </value>
                                <statement name="STATEMENT">
                                  <block type="controls_if" id="VskeuVU{%G)-}CF~Y^G1">
                                    <value name="IF0">
                                      <block type="logic_operation" id="/uNluX=y%?/e4PHs7)@*" inline="false">
                                        <field name="OP">AND</field>
                                        <value name="A">
                                          <block type="on_source" id="@0(v*%Ws=7TU3]t14i@:">
                                            <field name="ATTR">state.val</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_compare" id=".$;q~Z@gS7j%t|GnBoxz">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="on_source" id="o^eYRHAp%pTRYS]O~6-h">
                                                <field name="ATTR">state.from</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="text" id="JDR|xZi,Ba9$Nv3SwQet">
                                                <field name="TEXT">system.adapter.web.0</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="timeouts_cleartimeout" id="-j^d2I]M:J+9$e#QmfiE">
                                        <field name="NAME">timeout_Haustür_BWM</field>
                                        <next>
                                          <block type="timeouts_settimeout" id="([x.N6y*bcLjZcQ5?=%e">
                                            <field name="NAME">timeout_Haustür_manuell</field>
                                            <field name="DELAY">10</field>
                                            <field name="UNIT">min</field>
                                            <statement name="STATEMENT">
                                              <block type="control" id="1:3ZEP{zq3Tca6KUggHC">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                <field name="OID">shelly.0.SHSW-1#34945471DC64#1.Relay0.Switch</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="logic_boolean" id="[QGVEUi@@A;S]q+uO*RU">
                                                    <field name="BOOL">FALSE</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </statement>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                  </block>
                                </statement>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
      <block type="comment" id="i91ojf8}cj2PGVfzC4wj" x="1313" y="-1813">
        <field name="COMMENT">Licht von 5 Uhr bis Sonnenaufgang 5%</field>
        <next>
          <block type="schedule" id=",Jo1f;j.XVTC(MHM;+Hc">
            <field name="SCHEDULE">0 5 * * *</field>
            <statement name="STATEMENT">
              <block type="control" id="/i+(1Xg$dp-H;:UMsIhh">
                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                <field name="OID">shelly.0.SHDM-2#E89F6D85155D#1.lights.Switch</field>
                <field name="WITH_DELAY">FALSE</field>
                <value name="VALUE">
                  <block type="logic_boolean" id="H]O/D+j.Pp7uq@;Z7zMY">
                    <field name="BOOL">TRUE</field>
                  </block>
                </value>
                <next>
                  <block type="control" id="~emuxQG|E%|f*R`SU+AR">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                    <field name="OID">shelly.0.SHDM-2#E89F6D85155D#1.lights.brightness</field>
                    <field name="WITH_DELAY">FALSE</field>
                    <value name="VALUE">
                      <block type="math_number" id="0SQAt3#qX~k#6c!E.Do4">
                        <field name="NUM">5</field>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </statement>
            <next>
              <block type="astro" id="J?he7/R7ojpe)V}Q7,Z9">
                <field name="TYPE">sunrise</field>
                <field name="OFFSET">2</field>
                <statement name="STATEMENT">
                  <block type="control" id="oFF=4yApQxDe/J%+A4.r">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                    <field name="OID">shelly.0.SHDM-2#E89F6D85155D#1.lights.Switch</field>
                    <field name="WITH_DELAY">FALSE</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id="A4kTBdBaM/KViTP=7i6q">
                        <field name="BOOL">FALSE</field>
                      </block>
                    </value>
                  </block>
                </statement>
                <next>
                  <block type="comment" id="II@GOi5.2mz5t#W66l%Z">
                    <field name="COMMENT">Licht Sonnenuntergang bis 23 Uhr 5%</field>
                    <next>
                      <block type="astro" id="rVQmj-JaK@OuzOp$N91L">
                        <field name="TYPE">sunset</field>
                        <field name="OFFSET">0</field>
                        <statement name="STATEMENT">
                          <block type="control" id="N9?|LlosE}|1No}0etFM">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">shelly.0.SHDM-2#E89F6D85155D#1.lights.Switch</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="(A:Mt5Pxh]8SZ^rEo*4_">
                                <field name="BOOL">TRUE</field>
                              </block>
                            </value>
                            <next>
                              <block type="control" id=":$[|p(Shdj|eHk5sg7X+">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">shelly.0.SHDM-2#E89F6D85155D#1.lights.brightness</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="math_number" id="l7L]]mT6#7!E%305}?NO">
                                    <field name="NUM">5</field>
                                  </block>
                                </value>
                              </block>
                            </next>
                          </block>
                        </statement>
                        <next>
                          <block type="schedule" id="Uc;hmk?EXkir$SBu.9G+">
                            <field name="SCHEDULE">0 23 * * *</field>
                            <statement name="STATEMENT">
                              <block type="control" id="pav`Phd2Nqq;ix26yjwG">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">shelly.0.SHDM-2#E89F6D85155D#1.lights.Switch</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id="ibtihJ5lvLfy0fFn$kkv">
                                    <field name="BOOL">FALSE</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                            <next>
                              <block type="comment" id="-X?nu^e9WB#xJ^*c5r.4">
                                <field name="COMMENT">Licht Fassade manuell an, dann nach15 Min. aus</field>
                                <next>
                                  <block type="on_ext" id="%9VP{/c?[.zJ1~=F3Ktu">
                                    <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="fNc!P13d2$MN7kkQ3g3%">
                                        <field name="oid">shelly.0.SHDM-2#E89F6D85155D#1.lights.brightness</field>
                                      </shadow>
                                    </value>
                                    <statement name="STATEMENT">
                                      <block type="controls_if" id="[oul[3LNgyDnle_sYdnQ">
                                        <value name="IF0">
                                          <block type="logic_operation" id="!u-yrqb2!@+X1lIt([9:" inline="false">
                                            <field name="OP">AND</field>
                                            <value name="A">
                                              <block type="logic_compare" id="Sp?mNqcBL7DA0Aq#1Ij,">
                                                <field name="OP">GT</field>
                                                <value name="A">
                                                  <block type="on_source" id="RnpMH=4~l#8t0[g,aQ4f">
                                                    <field name="ATTR">state.val</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="math_number" id="OvoG+A:jM.R9]P1cH6r4">
                                                    <field name="NUM">50</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_compare" id="Jt(1Yhm@*)-Vv.-=4xBe">
                                                <field name="OP">EQ</field>
                                                <value name="A">
                                                  <block type="on_source" id="UrgCnU=KOe`U#+t#ETot">
                                                    <field name="ATTR">state.from</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="text" id="dfoBoyb*)?T04T_;bd$F">
                                                    <field name="TEXT">system.adapter.web.0</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO0">
                                          <block type="variables_set" id="%Jp5r=bNr1E$wdTF#S0?">
                                            <field name="VAR" id="AD|+5T.oW**O#(NI@?Oj">manuell_hell</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="5SG,69BG7~)pAESc:rn*">
                                                <field name="BOOL">TRUE</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="timeouts_cleartimeout" id="z)J#+,*P70@O`g^oRsRb">
                                                <field name="NAME">timeout_Fasssade_BWM</field>
                                                <next>
                                                  <block type="timeouts_settimeout" id="gDr8(2,FT-ose!=x3H,Z">
                                                    <field name="NAME">timeout_Fassade_manuell</field>
                                                    <field name="DELAY">15</field>
                                                    <field name="UNIT">min</field>
                                                    <statement name="STATEMENT">
                                                      <block type="variables_set" id="py2l,fo+6#q}b5:FBq!(">
                                                        <field name="VAR" id="AD|+5T.oW**O#(NI@?Oj">manuell_hell</field>
                                                        <value name="VALUE">
                                                          <block type="logic_boolean" id="[e8^2faCKh#vFeMyv2=V">
                                                            <field name="BOOL">FALSE</field>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="control" id="|yw|3208M~k!!=;nyDx4">
                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                            <field name="OID">shelly.0.SHDM-2#E89F6D85155D#1.lights.brightness</field>
                                                            <field name="WITH_DELAY">FALSE</field>
                                                            <value name="VALUE">
                                                              <block type="math_number" id=";avG!cDr5n7QY9t@zjJN">
                                                                <field name="NUM">5</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </statement>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </statement>
                                      </block>
                                    </statement>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </xml>
    
    CodierknechtC 1 Reply Last reply
    0
    • G Gonzokalle

      Guten Morgen,
      ich habe bei meiner Fassadenbeleuchtung gestern noch eine Dimmfunktion eingebaut.
      Beim Testen hat es auch funktioniert.
      Heute morgen hat die Helligkeit immer zwischen 95 % und 100 % gewechselt.
      Ich denke mal, das beide Intervalle gleichzeitig gearbeitet haben.
      Wie kann ich das unterbinden?

      6f68af14-5494-4e0a-88f2-b298cee8d6f5-image.png

      <xml xmlns="https://developers.google.com/blockly/xml">
        <variables>
          <variable id="AD|+5T.oW**O#(NI@?Oj">manuell_hell</variable>
          <variable id="j7/Wt4V-(U5lV`t8lhSn">Schalter</variable>
          <variable type="interval" id="Intervall_dimme_hoch">Intervall_dimme_hoch</variable>
          <variable type="timeout" id="timeout_Haustür_BWM">timeout_Haustür_BWM</variable>
          <variable type="timeout" id="timeout_Haustür_manuell">timeout_Haustür_manuell</variable>
          <variable type="timeout" id="timeout_Fasssade_BWM">timeout_Fasssade_BWM</variable>
          <variable type="timeout" id="timeout_Fassade_manuell">timeout_Fassade_manuell</variable>
          <variable type="interval" id="Intervall_dimme_runter">Intervall_dimme_runter</variable>
        </variables>
        <block type="comment" id="Ff*B2h5EH_{))E,avBg+" x="288" y="-1912">
          <field name="COMMENT">Wenn Personen erkannt werden, Licht auf 100%</field>
          <next>
            <block type="comment" id="=G3SlwKQhg4A7#!Ge^yv">
              <field name="COMMENT">nach 2 Min. Licht wieder auf 5%</field>
              <next>
                <block type="on_ext" id="/ZH[hRCGcfC[^)QKrR;q">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" items="4"></mutation>
                  <field name="CONDITION">ne</field>
                  <field name="ACK_CONDITION"></field>
                  <value name="OID0">
                    <shadow type="field_oid" id="mn^2S@WmC?X+2Sc#k(k;">
                      <field name="oid">zigbee.0.00158d000a839ce4.occupancy</field>
                    </shadow>
                  </value>
                  <value name="OID1">
                    <shadow type="field_oid" id="`N_X0gIuOcNiQ(h4:Rc7">
                      <field name="oid">reolink.0.sensor.people.state</field>
                    </shadow>
                  </value>
                  <value name="OID2">
                    <shadow type="field_oid" id="llS+oql?NTblT.q~(e!c">
                      <field name="oid">eusec.0.T8010N2321140533.cameras.T8113N6321140A82.motion_detected</field>
                    </shadow>
                  </value>
                  <value name="OID3">
                    <shadow type="field_oid" id="hP.YAMNtdL=G;U12VPK+">
                      <field name="oid">eusec.0.T8010N2321140533.cameras.T8142N6321122F99.motion_detected</field>
                    </shadow>
                  </value>
                  <statement name="STATEMENT">
                    <block type="controls_if" id="or)W[,9!n*#3X0F26kx@">
                      <value name="IF0">
                        <block type="logic_negate" id="p.N5wkzagtQLf@+_+$`o">
                          <value name="BOOL">
                            <block type="variables_get" id="rDmf/}D04}on-ZL-l-NO">
                              <field name="VAR" id="AD|+5T.oW**O#(NI@?Oj">manuell_hell</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <statement name="DO0">
                        <block type="controls_if" id="_q?vqV_25+T9#mamA~C5">
                          <value name="IF0">
                            <block type="logic_operation" id="njT6yz%8+33f:/g$?BC," inline="false">
                              <field name="OP">AND</field>
                              <value name="A">
                                <block type="logic_multi_or" id=";=nx.pNcN!8:3k}0v3NC">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" items="4"></mutation>
                                  <value name="OR0">
                                    <block type="get_value" id="N|=^rCA0v/5a6ZMuotkw">
                                      <field name="ATTR">val</field>
                                      <field name="OID">zigbee.0.00158d000a839ce4.occupancy</field>
                                    </block>
                                  </value>
                                  <value name="OR1">
                                    <block type="get_value" id="-2g-7N#8@+M7?dn94Xo?">
                                      <field name="ATTR">val</field>
                                      <field name="OID">reolink.0.sensor.people.state</field>
                                    </block>
                                  </value>
                                  <value name="OR2">
                                    <block type="get_value" id="~a=c$^xOYo4:LE``B#6s">
                                      <field name="ATTR">val</field>
                                      <field name="OID">eusec.0.T8010N2321140533.cameras.T8113N6321140A82.motion_detected</field>
                                    </block>
                                  </value>
                                  <value name="OR3">
                                    <block type="get_value" id="oeeR.u_f$BWzTAl,LLVp">
                                      <field name="ATTR">val</field>
                                      <field name="OID">eusec.0.T8010N2321140533.cameras.T8142N6321122F99.motion_detected</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <value name="B">
                                <block type="logic_compare" id=";c{W0O;/Y[p:jImgUxFl">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                    <block type="get_value" id="b_,zwO2_ELGB,|ZUDklC">
                                      <field name="ATTR">val</field>
                                      <field name="OID">0_userdata.0.Zeiten.Sonnenaufgang-Sonnenuntergang</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="text" id="?RB[T;kxcN:jjf?EX]5Y">
                                      <field name="TEXT">Nacht</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                            </block>
                          </value>
                          <statement name="DO0">
                            <block type="variables_set" id="EpHk!!FQROUfM-%I5sK,">
                              <field name="VAR" id="j7/Wt4V-(U5lV`t8lhSn">Schalter</field>
                              <value name="VALUE">
                                <block type="get_value" id="=k_C3J/%[)ZLUYLZIf$|">
                                  <field name="ATTR">val</field>
                                  <field name="OID">shelly.0.SHDM-2#E89F6D85155D#1.lights.Switch</field>
                                </block>
                              </value>
                              <next>
                                <block type="comment" id="A?KQ{waw9J8DJtI1ohSo">
                                  <field name="COMMENT">Dimme Licht Fassade auf 100%</field>
                                  <next>
                                    <block type="control" id="+X,X.XzQ~{K[j$sJT7=~">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                      <field name="OID">shelly.0.SHDM-2#E89F6D85155D#1.lights.Switch</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="logic_boolean" id=".MY42#{/h*zLu#e,WsSE">
                                          <field name="BOOL">TRUE</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="timeouts_setinterval" id="QkRaRxVFF(|D/iXS;;JR">
                                          <field name="NAME">Intervall_dimme_hoch</field>
                                          <field name="INTERVAL">500</field>
                                          <field name="UNIT">ms</field>
                                          <statement name="STATEMENT">
                                            <block type="controls_if" id=",EYvT4!Z+iIe4K5?po}Y">
                                              <mutation else="1"></mutation>
                                              <value name="IF0">
                                                <block type="logic_compare" id="s`d3?y(3]EMMp,F4zv:|">
                                                  <field name="OP">LT</field>
                                                  <value name="A">
                                                    <block type="get_value" id="4qjRsKml/fomd-4iNIOX">
                                                      <field name="ATTR">val</field>
                                                      <field name="OID">shelly.0.SHDM-2#E89F6D85155D#1.lights.brightness</field>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block type="math_number" id="b!Oz!^WQP=xT=.Wh!1L^">
                                                      <field name="NUM">100</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <statement name="DO0">
                                                <block type="control" id=",~k9qKB+QPgfe-id``[(">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">shelly.0.SHDM-2#E89F6D85155D#1.lights.brightness</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="math_arithmetic" id="WF:v5O4Nrm%0Y[J|d5N7">
                                                      <field name="OP">ADD</field>
                                                      <value name="A">
                                                        <shadow type="math_number" id="vyA8}YZMd!#8sw(3tEp+">
                                                          <field name="NUM">1</field>
                                                        </shadow>
                                                        <block type="get_value" id="$Ho4[[z0GSytvLkk;r:s">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">shelly.0.SHDM-2#E89F6D85155D#1.lights.brightness</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <shadow type="math_number" id="5~)n9Y/g^iBh.6.rYb3%">
                                                          <field name="NUM">1</field>
                                                        </shadow>
                                                        <block type="math_number" id="-3zu7hN7uOFz93^BGtJI">
                                                          <field name="NUM">5</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                </block>
                                              </statement>
                                              <statement name="ELSE">
                                                <block type="timeouts_clearinterval" id="]/{Kl:F!;Vqt8$1iALbo">
                                                  <field name="NAME">Intervall_dimme_hoch</field>
                                                </block>
                                              </statement>
                                            </block>
                                          </statement>
                                          <next>
                                            <block type="timeouts_cleartimeout" id="|y2F_1j@nE2U!Um9}381">
                                              <field name="NAME">timeout_Fasssade_BWM</field>
                                              <next>
                                                <block type="timeouts_settimeout" id="lxV5ih5F@%IGdzucTYha">
                                                  <field name="NAME">timeout_Fasssade_BWM</field>
                                                  <field name="DELAY">2</field>
                                                  <field name="UNIT">min</field>
                                                  <statement name="STATEMENT">
                                                    <block type="comment" id="UNfbw(:OqQ[KGYY@Kf1a">
                                                      <field name="COMMENT">Dimme Licht Fassade auf 5%</field>
                                                      <next>
                                                        <block type="timeouts_setinterval" id="jurJLogqHXDjj]O#rXZj">
                                                          <field name="NAME">Intervall_dimme_runter</field>
                                                          <field name="INTERVAL">1</field>
                                                          <field name="UNIT">sec</field>
                                                          <statement name="STATEMENT">
                                                            <block type="controls_if" id="O1Ka{H!zG;ZZp*y445WR">
                                                              <mutation else="1"></mutation>
                                                              <value name="IF0">
                                                                <block type="logic_compare" id="f@)@sLp}7So[wxO2mWCF">
                                                                  <field name="OP">GT</field>
                                                                  <value name="A">
                                                                    <block type="get_value" id="%oW|P-g+4nPS;Cp}[tIL">
                                                                      <field name="ATTR">val</field>
                                                                      <field name="OID">shelly.0.SHDM-2#E89F6D85155D#1.lights.brightness</field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <block type="math_number" id="cN@TX^@$aOsy`B]woi3?">
                                                                      <field name="NUM">5</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                              <statement name="DO0">
                                                                <block type="control" id="W$OIc2g=7_G#y8:K/TV]">
                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                  <field name="OID">shelly.0.SHDM-2#E89F6D85155D#1.lights.brightness</field>
                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                  <value name="VALUE">
                                                                    <block type="math_arithmetic" id="=%6z(BWBbGAU6YY$,MF|">
                                                                      <field name="OP">MINUS</field>
                                                                      <value name="A">
                                                                        <shadow type="math_number" id="vyA8}YZMd!#8sw(3tEp+">
                                                                          <field name="NUM">1</field>
                                                                        </shadow>
                                                                        <block type="get_value" id="InlVZ[J9bti}Nai88v58">
                                                                          <field name="ATTR">val</field>
                                                                          <field name="OID">shelly.0.SHDM-2#E89F6D85155D#1.lights.brightness</field>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <shadow type="math_number" id="5~)n9Y/g^iBh.6.rYb3%">
                                                                          <field name="NUM">1</field>
                                                                        </shadow>
                                                                        <block type="math_number" id="9^PVhi*/rd4k!vd:wFF4">
                                                                          <field name="NUM">5</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </statement>
                                                              <statement name="ELSE">
                                                                <block type="timeouts_clearinterval" id="M{M3G*~ao~$?w;aH07nS">
                                                                  <field name="NAME">Intervall_dimme_runter</field>
                                                                  <next>
                                                                    <block type="control" id="%_Yx%3Y/IAi8up%S|iIZ">
                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                      <field name="OID">shelly.0.SHDM-2#E89F6D85155D#1.lights.Switch</field>
                                                                      <field name="WITH_DELAY">FALSE</field>
                                                                      <value name="VALUE">
                                                                        <block type="variables_get" id="T^DbC3|=w66cLG~Nf].p">
                                                                          <field name="VAR" id="j7/Wt4V-(U5lV`t8lhSn">Schalter</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </statement>
                                                            </block>
                                                          </statement>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </statement>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </statement>
                        </block>
                      </statement>
                    </block>
                  </statement>
                  <next>
                    <block type="comment" id="vQ5z7JLGr/MjN~!Hjt5r">
                      <field name="COMMENT">BW Haustür steuert Licht Haustür</field>
                      <next>
                        <block type="on_ext" id="sxwW}6@jn6Y%}U;/A0J?">
                          <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="G[:b$mbz_N2v!q~/BqW-">
                              <field name="oid">zigbee.0.00158d000a839ce4.occupancy</field>
                            </shadow>
                          </value>
                          <statement name="STATEMENT">
                            <block type="controls_if" id="]C]}.NtZSO9EaDMN:Mxl">
                              <value name="IF0">
                                <block type="logic_operation" id="av[#$$IWsGKhPQ(tN#_:" inline="false">
                                  <field name="OP">AND</field>
                                  <value name="A">
                                    <block type="on_source" id="a@,RVK!|CW[VIpOX3Ati">
                                      <field name="ATTR">state.val</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_compare" id="$dN{d2XcO)!Eg-)d?$?i">
                                      <field name="OP">EQ</field>
                                      <value name="A">
                                        <block type="get_value" id="%l$djC9.[2Rb)gi/Ky~W">
                                          <field name="ATTR">val</field>
                                          <field name="OID">0_userdata.0.Zeiten.Sonnenaufgang-Sonnenuntergang</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="text" id="aG/rlL/hV.-$r}L{$kF3">
                                          <field name="TEXT">Nacht</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO0">
                                <block type="control" id="KJ*i8V)#=$h~zw4SLhR%">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                  <field name="OID">shelly.0.SHSW-1#34945471DC64#1.Relay0.Switch</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="logic_boolean" id="QW=8=FLXzPtit7:%aE6E">
                                      <field name="BOOL">TRUE</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="timeouts_cleartimeout" id="gN!ceB$}AfDKO0SmC]NR">
                                      <field name="NAME">timeout_Haustür_BWM</field>
                                      <next>
                                        <block type="timeouts_settimeout" id="txsK:x$`[j4j.~-#$_H8">
                                          <field name="NAME">timeout_Haustür_BWM</field>
                                          <field name="DELAY">2</field>
                                          <field name="UNIT">min</field>
                                          <statement name="STATEMENT">
                                            <block type="control" id="Hmhwz0re:ZL5:J4oIu]#">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">shelly.0.SHSW-1#34945471DC64#1.Relay0.Switch</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="VfwL=Y{9SWa_YT(`Y7[J">
                                                  <field name="BOOL">FALSE</field>
                                                </block>
                                              </value>
                                            </block>
                                          </statement>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </statement>
                            </block>
                          </statement>
                          <next>
                            <block type="comment" id="%Pr5UyGIX=agOEv(mKi4">
                              <field name="COMMENT">Licht Haustür manuell an, dann nach 10 Min. aus</field>
                              <next>
                                <block type="on_ext" id="dbM@.I%084fU8T|u[`.N">
                                  <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="h3TZLX_Av^[IvwnhdN=0">
                                      <field name="oid">shelly.0.SHSW-1#34945471DC64#1.Relay0.Switch</field>
                                    </shadow>
                                  </value>
                                  <statement name="STATEMENT">
                                    <block type="controls_if" id="VskeuVU{%G)-}CF~Y^G1">
                                      <value name="IF0">
                                        <block type="logic_operation" id="/uNluX=y%?/e4PHs7)@*" inline="false">
                                          <field name="OP">AND</field>
                                          <value name="A">
                                            <block type="on_source" id="@0(v*%Ws=7TU3]t14i@:">
                                              <field name="ATTR">state.val</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="logic_compare" id=".$;q~Z@gS7j%t|GnBoxz">
                                              <field name="OP">EQ</field>
                                              <value name="A">
                                                <block type="on_source" id="o^eYRHAp%pTRYS]O~6-h">
                                                  <field name="ATTR">state.from</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="text" id="JDR|xZi,Ba9$Nv3SwQet">
                                                  <field name="TEXT">system.adapter.web.0</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO0">
                                        <block type="timeouts_cleartimeout" id="-j^d2I]M:J+9$e#QmfiE">
                                          <field name="NAME">timeout_Haustür_BWM</field>
                                          <next>
                                            <block type="timeouts_settimeout" id="([x.N6y*bcLjZcQ5?=%e">
                                              <field name="NAME">timeout_Haustür_manuell</field>
                                              <field name="DELAY">10</field>
                                              <field name="UNIT">min</field>
                                              <statement name="STATEMENT">
                                                <block type="control" id="1:3ZEP{zq3Tca6KUggHC">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">shelly.0.SHSW-1#34945471DC64#1.Relay0.Switch</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="logic_boolean" id="[QGVEUi@@A;S]q+uO*RU">
                                                      <field name="BOOL">FALSE</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </statement>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                    </block>
                                  </statement>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </next>
        </block>
        <block type="comment" id="i91ojf8}cj2PGVfzC4wj" x="1313" y="-1813">
          <field name="COMMENT">Licht von 5 Uhr bis Sonnenaufgang 5%</field>
          <next>
            <block type="schedule" id=",Jo1f;j.XVTC(MHM;+Hc">
              <field name="SCHEDULE">0 5 * * *</field>
              <statement name="STATEMENT">
                <block type="control" id="/i+(1Xg$dp-H;:UMsIhh">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                  <field name="OID">shelly.0.SHDM-2#E89F6D85155D#1.lights.Switch</field>
                  <field name="WITH_DELAY">FALSE</field>
                  <value name="VALUE">
                    <block type="logic_boolean" id="H]O/D+j.Pp7uq@;Z7zMY">
                      <field name="BOOL">TRUE</field>
                    </block>
                  </value>
                  <next>
                    <block type="control" id="~emuxQG|E%|f*R`SU+AR">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                      <field name="OID">shelly.0.SHDM-2#E89F6D85155D#1.lights.brightness</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="math_number" id="0SQAt3#qX~k#6c!E.Do4">
                          <field name="NUM">5</field>
                        </block>
                      </value>
                    </block>
                  </next>
                </block>
              </statement>
              <next>
                <block type="astro" id="J?he7/R7ojpe)V}Q7,Z9">
                  <field name="TYPE">sunrise</field>
                  <field name="OFFSET">2</field>
                  <statement name="STATEMENT">
                    <block type="control" id="oFF=4yApQxDe/J%+A4.r">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                      <field name="OID">shelly.0.SHDM-2#E89F6D85155D#1.lights.Switch</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="logic_boolean" id="A4kTBdBaM/KViTP=7i6q">
                          <field name="BOOL">FALSE</field>
                        </block>
                      </value>
                    </block>
                  </statement>
                  <next>
                    <block type="comment" id="II@GOi5.2mz5t#W66l%Z">
                      <field name="COMMENT">Licht Sonnenuntergang bis 23 Uhr 5%</field>
                      <next>
                        <block type="astro" id="rVQmj-JaK@OuzOp$N91L">
                          <field name="TYPE">sunset</field>
                          <field name="OFFSET">0</field>
                          <statement name="STATEMENT">
                            <block type="control" id="N9?|LlosE}|1No}0etFM">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">shelly.0.SHDM-2#E89F6D85155D#1.lights.Switch</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id="(A:Mt5Pxh]8SZ^rEo*4_">
                                  <field name="BOOL">TRUE</field>
                                </block>
                              </value>
                              <next>
                                <block type="control" id=":$[|p(Shdj|eHk5sg7X+">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                  <field name="OID">shelly.0.SHDM-2#E89F6D85155D#1.lights.brightness</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="math_number" id="l7L]]mT6#7!E%305}?NO">
                                      <field name="NUM">5</field>
                                    </block>
                                  </value>
                                </block>
                              </next>
                            </block>
                          </statement>
                          <next>
                            <block type="schedule" id="Uc;hmk?EXkir$SBu.9G+">
                              <field name="SCHEDULE">0 23 * * *</field>
                              <statement name="STATEMENT">
                                <block type="control" id="pav`Phd2Nqq;ix26yjwG">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                  <field name="OID">shelly.0.SHDM-2#E89F6D85155D#1.lights.Switch</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="logic_boolean" id="ibtihJ5lvLfy0fFn$kkv">
                                      <field name="BOOL">FALSE</field>
                                    </block>
                                  </value>
                                </block>
                              </statement>
                              <next>
                                <block type="comment" id="-X?nu^e9WB#xJ^*c5r.4">
                                  <field name="COMMENT">Licht Fassade manuell an, dann nach15 Min. aus</field>
                                  <next>
                                    <block type="on_ext" id="%9VP{/c?[.zJ1~=F3Ktu">
                                      <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="fNc!P13d2$MN7kkQ3g3%">
                                          <field name="oid">shelly.0.SHDM-2#E89F6D85155D#1.lights.brightness</field>
                                        </shadow>
                                      </value>
                                      <statement name="STATEMENT">
                                        <block type="controls_if" id="[oul[3LNgyDnle_sYdnQ">
                                          <value name="IF0">
                                            <block type="logic_operation" id="!u-yrqb2!@+X1lIt([9:" inline="false">
                                              <field name="OP">AND</field>
                                              <value name="A">
                                                <block type="logic_compare" id="Sp?mNqcBL7DA0Aq#1Ij,">
                                                  <field name="OP">GT</field>
                                                  <value name="A">
                                                    <block type="on_source" id="RnpMH=4~l#8t0[g,aQ4f">
                                                      <field name="ATTR">state.val</field>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block type="math_number" id="OvoG+A:jM.R9]P1cH6r4">
                                                      <field name="NUM">50</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="logic_compare" id="Jt(1Yhm@*)-Vv.-=4xBe">
                                                  <field name="OP">EQ</field>
                                                  <value name="A">
                                                    <block type="on_source" id="UrgCnU=KOe`U#+t#ETot">
                                                      <field name="ATTR">state.from</field>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block type="text" id="dfoBoyb*)?T04T_;bd$F">
                                                      <field name="TEXT">system.adapter.web.0</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <statement name="DO0">
                                            <block type="variables_set" id="%Jp5r=bNr1E$wdTF#S0?">
                                              <field name="VAR" id="AD|+5T.oW**O#(NI@?Oj">manuell_hell</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="5SG,69BG7~)pAESc:rn*">
                                                  <field name="BOOL">TRUE</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="timeouts_cleartimeout" id="z)J#+,*P70@O`g^oRsRb">
                                                  <field name="NAME">timeout_Fasssade_BWM</field>
                                                  <next>
                                                    <block type="timeouts_settimeout" id="gDr8(2,FT-ose!=x3H,Z">
                                                      <field name="NAME">timeout_Fassade_manuell</field>
                                                      <field name="DELAY">15</field>
                                                      <field name="UNIT">min</field>
                                                      <statement name="STATEMENT">
                                                        <block type="variables_set" id="py2l,fo+6#q}b5:FBq!(">
                                                          <field name="VAR" id="AD|+5T.oW**O#(NI@?Oj">manuell_hell</field>
                                                          <value name="VALUE">
                                                            <block type="logic_boolean" id="[e8^2faCKh#vFeMyv2=V">
                                                              <field name="BOOL">FALSE</field>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="control" id="|yw|3208M~k!!=;nyDx4">
                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                              <field name="OID">shelly.0.SHDM-2#E89F6D85155D#1.lights.brightness</field>
                                                              <field name="WITH_DELAY">FALSE</field>
                                                              <value name="VALUE">
                                                                <block type="math_number" id=";avG!cDr5n7QY9t@zjJN">
                                                                  <field name="NUM">5</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </statement>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </statement>
                                        </block>
                                      </statement>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </next>
        </block>
      </xml>
      
      CodierknechtC Offline
      CodierknechtC Offline
      Codierknecht
      Developer Most Active
      wrote on last edited by
      #2

      @gonzokalle sagte in Intervalle gegeneinander sperren:

      Wie kann ich das unterbinden?

      Im einfachsten Fall mit 'ner Sperrvariablen "IntervallAktiv".
      Wenn die vom einen Intervall gesetzt wurde, darf das andere nix machen.

      "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." (Martin Fowler, "Refactoring")

      Proxmox 9.1.1 LXC|8 GB|Core i7-6700
      HmIP|ZigBee|Tasmota|Unifi
      Zabbix Certified Specialist
      Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag

      HomoranH G 2 Replies Last reply
      1
      • CodierknechtC Codierknecht

        @gonzokalle sagte in Intervalle gegeneinander sperren:

        Wie kann ich das unterbinden?

        Im einfachsten Fall mit 'ner Sperrvariablen "IntervallAktiv".
        Wenn die vom einen Intervall gesetzt wurde, darf das andere nix machen.

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

        @codierknecht sagte in Intervalle gegeneinander sperren:

        Im einfachsten Fall mit 'ner Sperrvariablen "IntervallAktiv".

        oder vor jedrm Intervall ein stop intervall, so wie @Gonzokalle das teilweise umgesetzt hat

        kein Support per PN! - Fragen im Forum stellen -
        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
        Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

        G 1 Reply Last reply
        0
        • HomoranH Homoran

          @codierknecht sagte in Intervalle gegeneinander sperren:

          Im einfachsten Fall mit 'ner Sperrvariablen "IntervallAktiv".

          oder vor jedrm Intervall ein stop intervall, so wie @Gonzokalle das teilweise umgesetzt hat

          G Online
          G Online
          Gonzokalle
          wrote on last edited by
          #4

          @homoran
          Meinst du so?
          bee93db5-5fa4-4f20-97f9-3532056cbe11-image.png

          HomoranH 1 Reply Last reply
          0
          • CodierknechtC Codierknecht

            @gonzokalle sagte in Intervalle gegeneinander sperren:

            Wie kann ich das unterbinden?

            Im einfachsten Fall mit 'ner Sperrvariablen "IntervallAktiv".
            Wenn die vom einen Intervall gesetzt wurde, darf das andere nix machen.

            G Online
            G Online
            Gonzokalle
            wrote on last edited by
            #5

            @codierknecht
            Müsste ich da das Hochdimmen und Runterdimmen sperre?

            1 Reply Last reply
            0
            • G Gonzokalle

              @homoran
              Meinst du so?
              bee93db5-5fa4-4f20-97f9-3532056cbe11-image.png

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

              @gonzokalle sagte in Intervalle gegeneinander sperren:

              Meinst du so?

              ja, das meinte ich.
              Mir kommen aber gerade Zweifel, ob es das ist was du meinst.

              was genau willst du sperren?
              Diese Änderung verhindert (nur), dass ein Intervall mehrfach gestartet wird.

              kein Support per PN! - Fragen im Forum stellen -
              Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
              Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
              der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

              G 1 Reply Last reply
              0
              • HomoranH Homoran

                @gonzokalle sagte in Intervalle gegeneinander sperren:

                Meinst du so?

                ja, das meinte ich.
                Mir kommen aber gerade Zweifel, ob es das ist was du meinst.

                was genau willst du sperren?
                Diese Änderung verhindert (nur), dass ein Intervall mehrfach gestartet wird.

                G Online
                G Online
                Gonzokalle
                wrote on last edited by
                #7

                @homoran
                Es darf wahrscheinlich nur immer ein Intervall aktiv sein, sonst steuern die gegeneinander.
                Einer sagt hoch, der andere runter.

                HomoranH 1 Reply Last reply
                0
                • G Gonzokalle

                  @homoran
                  Es darf wahrscheinlich nur immer ein Intervall aktiv sein, sonst steuern die gegeneinander.
                  Einer sagt hoch, der andere runter.

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

                  @gonzokalle dann musst du entscheiden was Vorrang haben soll und tatsächlich mit einer gewissen Hysterese, die gegenläufige Aktion unterbinden.

                  Nichtsdestoweniger sollte immer verhindert werden dass ein Intervall mehrfach gestartet wird

                  kein Support per PN! - Fragen im Forum stellen -
                  Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                  Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
                  der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                  G 1 Reply Last reply
                  1
                  • HomoranH Homoran

                    @gonzokalle dann musst du entscheiden was Vorrang haben soll und tatsächlich mit einer gewissen Hysterese, die gegenläufige Aktion unterbinden.

                    Nichtsdestoweniger sollte immer verhindert werden dass ein Intervall mehrfach gestartet wird

                    G Online
                    G Online
                    Gonzokalle
                    wrote on last edited by
                    #9

                    @homoran
                    @Codierknecht

                    Habe jetzt mal das Runterdimmen gesperrt.
                    Bin mir aber nicht sicher, dass die Anordnung so richtig ist.

                    5ffebc42-5563-4a3c-b75f-333da695377e-image.png

                    CodierknechtC 1 Reply Last reply
                    0
                    • G Gonzokalle

                      @homoran
                      @Codierknecht

                      Habe jetzt mal das Runterdimmen gesperrt.
                      Bin mir aber nicht sicher, dass die Anordnung so richtig ist.

                      5ffebc42-5563-4a3c-b75f-333da695377e-image.png

                      CodierknechtC Offline
                      CodierknechtC Offline
                      Codierknecht
                      Developer Most Active
                      wrote on last edited by
                      #10

                      @gonzokalle
                      Sollte klappen. Versuch macht klug ;-)

                      "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." (Martin Fowler, "Refactoring")

                      Proxmox 9.1.1 LXC|8 GB|Core i7-6700
                      HmIP|ZigBee|Tasmota|Unifi
                      Zabbix Certified Specialist
                      Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag

                      G 1 Reply Last reply
                      1
                      • CodierknechtC Codierknecht

                        @gonzokalle
                        Sollte klappen. Versuch macht klug ;-)

                        G Online
                        G Online
                        Gonzokalle
                        wrote on last edited by Gonzokalle
                        #11

                        @codierknecht
                        Dann werde ich mal testen.
                        Danke euch beiden

                        Läuft noch nicht ganz rund.
                        Wenn er gerade am Runterdimmen ist und eine neue Bewegung erkannt wird, lauft es langsam auf 100% hoch, weil der Hochlauf schneller ist als der Runterlauf.
                        Bei 100% wird entsperrt, dann läuft es wieder runter.😂

                        paul53P 1 Reply Last reply
                        0
                        • G Gonzokalle

                          @codierknecht
                          Dann werde ich mal testen.
                          Danke euch beiden

                          Läuft noch nicht ganz rund.
                          Wenn er gerade am Runterdimmen ist und eine neue Bewegung erkannt wird, lauft es langsam auf 100% hoch, weil der Hochlauf schneller ist als der Runterlauf.
                          Bei 100% wird entsperrt, dann läuft es wieder runter.😂

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

                          @gonzokalle sagte: Läuft noch nicht ganz rund.

                          Ich würde nur ein Intervall verwenden und mit verschiedenen "Delta" hoch- und runterdimmen. Etwa so:

                          Blockly_temp.JPG

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

                          G 2 Replies Last reply
                          1
                          • paul53P paul53

                            @gonzokalle sagte: Läuft noch nicht ganz rund.

                            Ich würde nur ein Intervall verwenden und mit verschiedenen "Delta" hoch- und runterdimmen. Etwa so:

                            Blockly_temp.JPG

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

                            @paul53
                            Das muss ich mir heute Abend mal anschauen.
                            Dankeschön

                            1 Reply Last reply
                            0
                            • paul53P paul53

                              @gonzokalle sagte: Läuft noch nicht ganz rund.

                              Ich würde nur ein Intervall verwenden und mit verschiedenen "Delta" hoch- und runterdimmen. Etwa so:

                              Blockly_temp.JPG

                              G Online
                              G Online
                              Gonzokalle
                              wrote on last edited by
                              #14

                              @paul53
                              Habe es nachgebaut und hat auch funktioniert.
                              Wollte dann noch einbauen, dass es wieder in die Schalterstellung geht wie vor den Bewegung.
                              Das geht noch nicht.
                              Bis 23 Uhr läuft das Licht mit 5%. Soll nach der Bewegung wieder auf 5%.
                              Ab 23 Uhr Licht aus. Soll nach der Bewegung wieder aus.

                              36088c8e-60bc-4131-867c-f3ca0bc85d09-image.png

                              AsgothianA 1 Reply Last reply
                              0
                              • G Gonzokalle

                                @paul53
                                Habe es nachgebaut und hat auch funktioniert.
                                Wollte dann noch einbauen, dass es wieder in die Schalterstellung geht wie vor den Bewegung.
                                Das geht noch nicht.
                                Bis 23 Uhr läuft das Licht mit 5%. Soll nach der Bewegung wieder auf 5%.
                                Ab 23 Uhr Licht aus. Soll nach der Bewegung wieder aus.

                                36088c8e-60bc-4131-867c-f3ca0bc85d09-image.png

                                AsgothianA Offline
                                AsgothianA Offline
                                Asgothian
                                Developer
                                wrote on last edited by
                                #15

                                @gonzokalle der einfachste Weg dazu ist beim abschalten des Intervalls auf die Uhrzeit zu schauen - vor 23:00 : auf 5% setzen, nach 23:00 auf 0 setzen.

                                Die andere Option ist es, da wo du aktuell den Wert des Schalters holst auch noch den Wert von "brightness" in eine variable zu speichern und dann im sonst-zwei erst die brightness und dann den Schalter Zustand wieder herzustellen.

                                A.

                                ioBroker auf RPi4 - Hardware soweit wie möglich via Zigbee.
                                "Shit don't work" ist keine Fehlermeldung, sondern ein Fluch.

                                G 1 Reply Last reply
                                0
                                • AsgothianA Asgothian

                                  @gonzokalle der einfachste Weg dazu ist beim abschalten des Intervalls auf die Uhrzeit zu schauen - vor 23:00 : auf 5% setzen, nach 23:00 auf 0 setzen.

                                  Die andere Option ist es, da wo du aktuell den Wert des Schalters holst auch noch den Wert von "brightness" in eine variable zu speichern und dann im sonst-zwei erst die brightness und dann den Schalter Zustand wieder herzustellen.

                                  A.

                                  G Online
                                  G Online
                                  Gonzokalle
                                  wrote on last edited by
                                  #16

                                  @asgothian
                                  Ich habe mal die zweite Option von dir probiert.
                                  Da ist er irgendwann bei 25% hängen geblieben.
                                  Wahrscheinlich waren es gerade mal 25% als die Brightness gesetzt wurde.

                                  Welchen Baustein meinst du bei der ersten Variante?
                                  aktuelle Zeit ist kleiner als?
                                  oder
                                  aktuelle Zeit ist zwischen?

                                  CodierknechtC 1 Reply Last reply
                                  -1
                                  • G Gonzokalle

                                    @asgothian
                                    Ich habe mal die zweite Option von dir probiert.
                                    Da ist er irgendwann bei 25% hängen geblieben.
                                    Wahrscheinlich waren es gerade mal 25% als die Brightness gesetzt wurde.

                                    Welchen Baustein meinst du bei der ersten Variante?
                                    aktuelle Zeit ist kleiner als?
                                    oder
                                    aktuelle Zeit ist zwischen?

                                    CodierknechtC Offline
                                    CodierknechtC Offline
                                    Codierknecht
                                    Developer Most Active
                                    wrote on last edited by Codierknecht
                                    #17

                                    @gonzokalle sagte in Intervalle gegeneinander sperren:

                                    Welchen Baustein meinst du bei der ersten Variante?
                                    aktuelle Zeit ist kleiner als?
                                    oder
                                    aktuelle Zeit ist zwischen?

                                    a74354d2-ca65-4652-a6c4-9c373e3e7a87-grafik.png

                                    "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." (Martin Fowler, "Refactoring")

                                    Proxmox 9.1.1 LXC|8 GB|Core i7-6700
                                    HmIP|ZigBee|Tasmota|Unifi
                                    Zabbix Certified Specialist
                                    Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag

                                    G 2 Replies Last reply
                                    0
                                    • CodierknechtC Codierknecht

                                      @gonzokalle sagte in Intervalle gegeneinander sperren:

                                      Welchen Baustein meinst du bei der ersten Variante?
                                      aktuelle Zeit ist kleiner als?
                                      oder
                                      aktuelle Zeit ist zwischen?

                                      a74354d2-ca65-4652-a6c4-9c373e3e7a87-grafik.png

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

                                      @codierknecht
                                      Danke
                                      Meinst du das so?
                                      Muss ich da noch den Schalter setzen?

                                      277cf0c0-60f0-4fd5-a8b0-734d4813cab6-image.png

                                      1 Reply Last reply
                                      0
                                      • CodierknechtC Codierknecht

                                        @gonzokalle sagte in Intervalle gegeneinander sperren:

                                        Welchen Baustein meinst du bei der ersten Variante?
                                        aktuelle Zeit ist kleiner als?
                                        oder
                                        aktuelle Zeit ist zwischen?

                                        a74354d2-ca65-4652-a6c4-9c373e3e7a87-grafik.png

                                        G Online
                                        G Online
                                        Gonzokalle
                                        wrote on last edited by
                                        #19

                                        @codierknecht
                                        Das geht so nicht.
                                        Nach "stop zyklische Ausführung Intervall" geht es gleich auf 5 %.
                                        Soll ja erst von 100%(95%) erst auf 5% dimmen.

                                        1 Reply Last reply
                                        0
                                        • paul53P Offline
                                          paul53P Offline
                                          paul53
                                          wrote on last edited by paul53
                                          #20

                                          @gonzokalle sagte: Muss ich da noch den Schalter setzen?

                                          Setze besser einen Startwert für das Hochdimmen:

                                          Blockly_temp.JPG

                                          Den Startwert werte dann in der Funktion aus:

                                          Blockly_temp.JPG

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

                                          G 1 Reply Last reply
                                          0

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

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

                                          With your input, this post could be even better 💗

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


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          558

                                          Online

                                          32.8k

                                          Users

                                          82.7k

                                          Topics

                                          1.3m

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

                                          • Don't have an account? Register

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