Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. [gelöst] BW Licht Fassade auch manuell steuern

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    [gelöst] BW Licht Fassade auch manuell steuern

    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      Gonzokalle last edited by Gonzokalle

      Hallo, das Blockly steuert das Licht der Fassade abends und morgens mit 5% und bei Bewegung mit 100%.
      Soweit läuft alles.
      Zusätzlich würde ich das Licht über die Vis gerne für 5 oder 10 Min. mit 100% einschalten. Danach soll wieder die Automatik greifen.
      Mir fehlt da der Ansatz.

      5f781d70-7049-45f5-b59b-3e59aa224b64-image.png

      <xml xmlns="https://developers.google.com/blockly/xml">
        <variables>
          <variable id="X.BO{$N,iSXNWW/+~z5t">sperrzeit</variable>
          <variable id="j7/Wt4V-(U5lV`t8lhSn">Schalter</variable>
          <variable type="timeout" id="timeout2">timeout2</variable>
          <variable type="timeout" id="timeout">timeout</variable>
        </variables>
        <block type="comment" id="i91ojf8}cj2PGVfzC4wj" x="99" y="-1082">
          <field name="COMMENT">Licht von 5 Uhr bis Sonnenaufgang 5%</field>
          <next>
            <block type="schedule" id=",Jo1f;j.XVTC(MHM;+Hc">
              <field name="SCHEDULE">{"time":{"exactTime":true,"start":"05:00"},"period":{"days":1}}</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">0</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">{"time":{"exactTime":true,"start":"23:00"},"period":{"days":1}}</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="Ff*B2h5EH_{))E,avBg+">
                                  <field name="COMMENT">Wenn Personen erkannt werden, Licht auf 100%</field>
                                  <next>
                                    <block type="comment" id="=G3SlwKQhg4A7#!Ge^yv">
                                      <field name="COMMENT">nach 1 Min. Licht wieder auf 5%</field>
                                      <next>
                                        <block type="variables_set" id="V}ZoJ.lM,X]E,o@giG1x">
                                          <field name="VAR" id="X.BO{$N,iSXNWW/+~z5t">sperrzeit</field>
                                          <value name="VALUE">
                                            <block type="logic_boolean" id="=RSUno{=OA0f7Qpe[_*[">
                                              <field name="BOOL">FALSE</field>
                                            </block>
                                          </value>
                                          <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="mq{B{{f^*ggVLGV|^gBd">
                                                  <field name="oid">eusec.0.T8010N2321140533.cameras.T8113N6321140A82.person_detected</field>
                                                </shadow>
                                              </value>
                                              <value name="OID1">
                                                <shadow type="field_oid" id="%B9lR6BHQI;=q8.Jl{YN">
                                                  <field name="oid">eusec.0.T8010N2321140533.cameras.T8142N6321122F99.person_detected</field>
                                                </shadow>
                                              </value>
                                              <value name="OID2">
                                                <shadow type="field_oid" id="yZim/SV]8%JV;~r#aL8;">
                                                  <field name="oid">eusec.0.T8010N2321140533.cameras.T8113N6321140A82.motion_detected</field>
                                                </shadow>
                                              </value>
                                              <value name="OID3">
                                                <shadow type="field_oid" id="(eg1;[csNgr4fC$iVS,X">
                                                  <field name="oid">eusec.0.T8010N2321140533.cameras.T8142N6321122F99.motion_detected</field>
                                                </shadow>
                                              </value>
                                              <statement name="STATEMENT">
                                                <block type="controls_if" id="_q?vqV_25+T9#mamA~C5">
                                                  <value name="IF0">
                                                    <block type="logic_operation" id="2$Tunu[Fh[V$~bFIuA@j" inline="false">
                                                      <field name="OP">AND</field>
                                                      <value name="A">
                                                        <block type="logic_operation" id=".)]oLXJ]nR$OgzvT%q$9" inline="false">
                                                          <field name="OP">AND</field>
                                                          <value name="A">
                                                            <block type="logic_operation" id="ZgUg0XHAg|6_4]T5?4`D" inline="false">
                                                              <field name="OP">OR</field>
                                                              <value name="A">
                                                                <block type="logic_operation" id="{7Ch@^QeT~_WGxIZ1u1V" inline="false">
                                                                  <field name="OP">OR</field>
                                                                  <value name="A">
                                                                    <block type="logic_compare" id="k]B2-15_KYE3S$6UegE$">
                                                                      <field name="OP">EQ</field>
                                                                      <value name="A">
                                                                        <block type="get_value" id="-2g-7N#8@+M7?dn94Xo?">
                                                                          <field name="ATTR">val</field>
                                                                          <field name="OID">eusec.0.T8010N2321140533.cameras.T8113N6321140A82.person_detected</field>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <block type="logic_boolean" id=";vcE{9%t57gQ%VC0+juK">
                                                                          <field name="BOOL">TRUE</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <block type="logic_compare" id=")+[]E,l7*c8~i+Gz#vgA">
                                                                      <field name="OP">EQ</field>
                                                                      <value name="A">
                                                                        <block type="get_value" id="M%Np;oh{-aWn)QXi0?3G">
                                                                          <field name="ATTR">val</field>
                                                                          <field name="OID">eusec.0.T8010N2321140533.cameras.T8142N6321122F99.person_detected</field>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <block type="logic_boolean" id="~GSL35p9o2_ds!KH2EV+">
                                                                          <field name="BOOL">TRUE</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block type="logic_operation" id="*8uQ8?Rz$+ZCGoP.$e*i" inline="false">
                                                                  <field name="OP">OR</field>
                                                                  <value name="A">
                                                                    <block type="logic_compare" id="LM/$Z2IvZ0jP0tM~F$[)">
                                                                      <field name="OP">EQ</field>
                                                                      <value name="A">
                                                                        <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="B">
                                                                        <block type="logic_boolean" id="2YlurnU[;V;LN$]@lSEe">
                                                                          <field name="BOOL">TRUE</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <block type="logic_compare" id="uwdg=T~}GV=V.#^:n71*">
                                                                      <field name="OP">EQ</field>
                                                                      <value name="A">
                                                                        <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>
                                                                      <value name="B">
                                                                        <block type="logic_boolean" id="gDoj6cAp_os[;/_-CuV;">
                                                                          <field name="BOOL">TRUE</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                </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.Helligkeit</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>
                                                      <value name="B">
                                                        <block type="logic_negate" id="?OF^4Pu9YYn08}IP}$So">
                                                          <value name="BOOL">
                                                            <block type="variables_get" id="me@W_0vouj{F_rLSlWZQ">
                                                              <field name="VAR" id="X.BO{$N,iSXNWW/+~z5t">sperrzeit</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <statement name="DO0">
                                                    <block type="variables_set" id="H;q|x`Hj)]P7,P-uUzh6">
                                                      <field name="VAR" id="X.BO{$N,iSXNWW/+~z5t">sperrzeit</field>
                                                      <value name="VALUE">
                                                        <block type="logic_boolean" id="(,|3{}#sP+=Qc$}B7^JR">
                                                          <field name="BOOL">TRUE</field>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <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="N?%Ieo(0[#ICl{KuXM$r">
                                                              <field name="COMMENT">Licht Fasssade</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="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_number" id="-3zu7hN7uOFz93^BGtJI">
                                                                          <field name="NUM">100</field>
                                                                        </block>
                                                                      </value>
                                                                      <next>
                                                                        <block type="timeouts_settimeout" id="lxV5ih5F@%IGdzucTYha">
                                                                          <field name="NAME">timeout</field>
                                                                          <field name="DELAY">1</field>
                                                                          <field name="UNIT">min</field>
                                                                          <statement name="STATEMENT">
                                                                            <block type="variables_set" id="UU`L):o6D;srts[v*|FV">
                                                                              <field name="VAR" id="X.BO{$N,iSXNWW/+~z5t">sperrzeit</field>
                                                                              <value name="VALUE">
                                                                                <block type="logic_boolean" id="($Ietkky0tSJ8I)UNaZR">
                                                                                  <field name="BOOL">FALSE</field>
                                                                                </block>
                                                                              </value>
                                                                              <next>
                                                                                <block type="comment" id="UNfbw(:OqQ[KGYY@Kf1a">
                                                                                  <field name="COMMENT">Licht Fasssade</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>
                                                                                      <next>
                                                                                        <block type="control" id="%:PE?z/PeZ%B`Sm7B:$N">
                                                                                          <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="@s5Gr87MBT+IHyNAxlkQ">
                                                                                              <field name="NUM">5</field>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </next>
                                                                                    </block>
                                                                                  </next>
                                                                                </block>
                                                                              </next>
                                                                            </block>
                                                                          </statement>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </statement>
                                                </block>
                                              </statement>
                                              <next>
                                                <block type="comment" id="vQ5z7JLGr/MjN~!Hjt5r">
                                                  <field name="COMMENT">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.90ab96fffe2096b4.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="logic_compare" id="!2a740%Go@u=(t~h75L`">
                                                                  <field name="OP">EQ</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_boolean" id="F?5%qXxU[ju,MpVFV5Vj">
                                                                      <field name="BOOL">TRUE</field>
                                                                    </block>
                                                                  </value>
                                                                </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.Helligkeit</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_settimeout" id="txsK:x$`[j4j.~-#$_H8">
                                                                  <field name="NAME">timeout2</field>
                                                                  <field name="DELAY">1</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>
                                                          </statement>
                                                        </block>
                                                      </statement>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </next>
        </block>
      </xml>
      
      paul53 1 Reply Last reply Reply Quote 0
      • paul53
        paul53 @Gonzokalle last edited by

        @gonzokalle sagte: für 5 oder 10 Min. mit 100% einschalten. Danach soll wieder die Automatik greifen.

        Ansatz:

        Blockly_temp.JPG

        G 1 Reply Last reply Reply Quote 1
        • G
          Gonzokalle @paul53 last edited by Gonzokalle

          @paul53
          Ich habe es mal nachgebaut. Bin mir bei den timeouts und dem Textfeld nicht sicher.

          43e5451d-a779-45b4-ac42-b031b4c0f2e4-image.png

          paul53 1 Reply Last reply Reply Quote 0
          • paul53
            paul53 @Gonzokalle last edited by paul53

            @gonzokalle sagte: Bin mir bei den timeouts und dem Textfeld nicht sicher.

            Passt so.
            Nur bei "Licht Haustür" fehlt ein "stop timeout2", wenn das Licht nicht ausgehen soll, wenn innerhalb der Minute Verzögerung erneut Bewegung erkannt wird.

            G 1 Reply Last reply Reply Quote 1
            • G
              Gonzokalle @paul53 last edited by

              @paul53
              Ich denke, ich habe es verstanden. Dankeschön

              5b7fafc8-e541-4fe5-b88b-3aa192196a9f-image.png

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

                @gonzokalle
                Irgendwo hakt es noch.
                Bei einer Bewegung wird auf 100 % gestellt.
                Nach einer Minute bleibt es aber auf 100 % stehen.
                Person und Motion detcted funktionieren, die gehen nach 20 Sek. auf false.

                3b8797cf-d2c0-4be8-9a05-d814bbe43a76-image.png

                paul53 1 Reply Last reply Reply Quote 0
                • paul53
                  paul53 @Gonzokalle last edited by

                  @gonzokalle sagte: Nach einer Minute bleibt es aber auf 100 % stehen.

                  Das kann ich anhand des Skriptes nicht nachvollziehen. Logge mal die Variable brightness.

                  G 1 Reply Last reply Reply Quote 0
                  • G
                    Gonzokalle @paul53 last edited by Gonzokalle

                    @paul53
                    Meinst du so?

                    f6c34ff0-a43a-423d-8fc0-8e02f9fca223-image.png

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

                      @gonzokalle
                      Ohne den manuellen Teil geht er nach circa 75 Sek. wieder auf 5%.
                      Das wird die Zeit sein, wo der Sensor auf false geht + die eine Minute.

                      paul53 1 Reply Last reply Reply Quote 0
                      • paul53
                        paul53 @Gonzokalle last edited by

                        @gonzokalle sagte: Ohne den manuellen Teil geht er nach circa 75 Sek. wieder auf 5%.

                        Dann wird die Variable manuell_hell nicht auf false zurück gesetzt?

                        G 1 Reply Last reply Reply Quote 0
                        • G
                          Gonzokalle @paul53 last edited by

                          @paul53

                          Automatik mit dem Sensor geht jetzt. Habe mal den Ursprung vom Web Adapter genommen.
                          Manuell bleibt bei 100%
                          Wo wird denn nach dem manuellen schalten wieder auf 5% gesetzt?
                          Habe da mal etwas markiert.

                          17399725-f028-4cb7-b3fb-f6819f182d6f-image.png

                          paul53 1 Reply Last reply Reply Quote 0
                          • paul53
                            paul53 @Gonzokalle last edited by

                            @gonzokalle sagte: Habe da mal etwas markiert.

                            Ja, an der Stelle kann auf 5 % gesteuert werden. Sonst passiert es erst, nachdem Bewegung erfolgt ist.

                            G 1 Reply Last reply Reply Quote 1
                            • G
                              Gonzokalle @paul53 last edited by

                              @paul53
                              Dann haben wir es ja jetzt. 😊
                              Habe es etwas schlanker gemacht.
                              Vielleicht kann es der Eine oder Andere gebrauchen.

                              ae199d04-e97d-425d-bc8e-c1b79098e49d-image.png

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

                              Support us

                              ioBroker
                              Community Adapters
                              Donate

                              865
                              Online

                              32.0k
                              Users

                              80.4k
                              Topics

                              1.3m
                              Posts

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