Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. loverz

    NEWS

    • Monatsrückblick – September 2025

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    L
    • Profile
    • Following 0
    • Followers 0
    • Topics 50
    • Posts 989
    • Best 40
    • Groups 2

    loverz

    @loverz

    Starter

    47
    Reputation
    171
    Profile views
    989
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    loverz Follow
    Pro Starter

    Best posts made by loverz

    • RE: Adaptive Lighting [Sonne nachempfinden] Hue/Deconz

      Anschließend kommt für jeden Raum bzw. Lichtkanal ein weiteres Script, welches die oben errechnete Prozentzahl in Farbtemperatur und Helligkeitswerte umsetzt.
      Beide Werte sind über Variablen flexibel gehalten:

      5c1c90d4-a41e-444c-a749-e9b4ca59f82b-image.png

      <xml xmlns="https://developers.google.com/blockly/xml">
        <variables>
          <variable id="*J0h3H66Lh}#=mGt_6a^">Bri_Min</variable>
          <variable id="e:JnT/oK4RY;sPEkIUYX">Bri_Max</variable>
          <variable id="CD{frOx_JbK|vHvuDF]2">Bri_Range</variable>
          <variable id="{T7[V,ECyB(9og{b+p:X">CT_Min</variable>
          <variable id="dZ,bS.XNJ-3AMtu%%,h!">CT_Max</variable>
          <variable id="X`aPNAeyFPieq]{n]n,U">CT_Range</variable>
          <variable id="x2]0EQHx.{G(t5jpYMB(">Manuell_geändert</variable>
          <variable type="timeout" id="timeout">timeout</variable>
          <variable type="timeout" id="timeout2">timeout2</variable>
          <variable id="V2hgWi%p{Cg/]taWHI7L">Bri_Wert</variable>
          <variable id="ufM?rs80G4T5E;Ypwa*U">Ct_Wert</variable>
        </variables>
        <block type="variables_set" id="iG(m-4AnPjp4@S5K{Jq^" x="-110" y="-496">
          <field name="VAR" id="*J0h3H66Lh}#=mGt_6a^">Bri_Min</field>
          <value name="VALUE">
            <block type="math_number" id="XQu[2=#}jQ-/Ut5_*BD%">
              <field name="NUM">120</field>
            </block>
          </value>
          <next>
            <block type="variables_set" id="G;UEOv3Dn8C,U4FGb.};">
              <field name="VAR" id="e:JnT/oK4RY;sPEkIUYX">Bri_Max</field>
              <value name="VALUE">
                <block type="math_number" id="IpS{RSo,PuIgv{k86Pv:">
                  <field name="NUM">255</field>
                </block>
              </value>
              <next>
                <block type="variables_set" id="ue+N4uN4hHhrZaqW5Z[L">
                  <field name="VAR" id="CD{frOx_JbK|vHvuDF]2">Bri_Range</field>
                  <value name="VALUE">
                    <block type="math_arithmetic" id="J}V,~UIA_,{?w(@e$OO7">
                      <field name="OP">MINUS</field>
                      <value name="A">
                        <shadow type="math_number" id="APwH?QMe2;z1;L(Q=?Eg">
                          <field name="NUM">1</field>
                        </shadow>
                        <block type="variables_get" id="jvKIZ(X@|:{Rl/@XcxKB">
                          <field name="VAR" id="e:JnT/oK4RY;sPEkIUYX">Bri_Max</field>
                        </block>
                      </value>
                      <value name="B">
                        <shadow type="math_number" id="nWE42l$QEP%AgrFN*Dmv">
                          <field name="NUM">1</field>
                        </shadow>
                        <block type="variables_get" id="|R^pN#v8#bM|fxg];t1X">
                          <field name="VAR" id="*J0h3H66Lh}#=mGt_6a^">Bri_Min</field>
                        </block>
                      </value>
                    </block>
                  </value>
                  <next>
                    <block type="variables_set" id="}DH+Jtry+-K$|O44?Tj%">
                      <field name="VAR" id="{T7[V,ECyB(9og{b+p:X">CT_Min</field>
                      <value name="VALUE">
                        <block type="math_number" id=";dzEp;?ajXB}*IwFJ@W9">
                          <field name="NUM">153</field>
                        </block>
                      </value>
                      <next>
                        <block type="variables_set" id="U/3^4:7YbQedHtXz7Tn[">
                          <field name="VAR" id="dZ,bS.XNJ-3AMtu%%,h!">CT_Max</field>
                          <value name="VALUE">
                            <block type="math_number" id="-n#rV.6|YePb~FOc*:FZ">
                              <field name="NUM">500</field>
                            </block>
                          </value>
                          <next>
                            <block type="variables_set" id="{N;BUJkv*6:TBWT!k@7Y">
                              <field name="VAR" id="X`aPNAeyFPieq]{n]n,U">CT_Range</field>
                              <value name="VALUE">
                                <block type="math_arithmetic" id="KLZN@_w8C-$YZK2.U?@z">
                                  <field name="OP">MINUS</field>
                                  <value name="A">
                                    <shadow type="math_number">
                                      <field name="NUM">1</field>
                                    </shadow>
                                    <block type="variables_get" id="!6CtB*6;U(vQsmi}{:#o">
                                      <field name="VAR" id="dZ,bS.XNJ-3AMtu%%,h!">CT_Max</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <shadow type="math_number">
                                      <field name="NUM">1</field>
                                    </shadow>
                                    <block type="variables_get" id="/1#7xUt?aGh[@X4zF$MX">
                                      <field name="VAR" id="{T7[V,ECyB(9og{b+p:X">CT_Min</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <next>
                                <block type="variables_set" id="A1V5^sVP,8fq78J=~u:0">
                                  <field name="VAR" id="x2]0EQHx.{G(t5jpYMB(">Manuell_geändert</field>
                                  <value name="VALUE">
                                    <block type="logic_boolean" id="6TYAXN]#uXFk{hBL3+0v">
                                      <field name="BOOL">FALSE</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="on_ext" id="lXQ]Rr;z.{-:KaK%rEY0">
                                      <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="Nh-WGE+f@?!qWssL:?rK">
                                          <field name="oid">knx.0.EG.Beleuchtung.Wohnzimmer_Spots_Status</field>
                                        </shadow>
                                      </value>
                                      <statement name="STATEMENT">
                                        <block type="variables_set" id="U.0^KUV#*6l|=AU_,(rZ">
                                          <field name="VAR" id="x2]0EQHx.{G(t5jpYMB(">Manuell_geändert</field>
                                          <value name="VALUE">
                                            <block type="logic_boolean" id="A`u%Up/:x6,{$k@l$H~[">
                                              <field name="BOOL">FALSE</field>
                                            </block>
                                          </value>
                                        </block>
                                      </statement>
                                      <next>
                                        <block type="on_ext" id="~EyeLk{*i%#d^CQ}kKx*">
                                          <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="Ox6)8L7R7#*hw/+u;+sR">
                                              <field name="oid">deconz.0.Groups.2.bri</field>
                                            </shadow>
                                          </value>
                                          <statement name="STATEMENT">
                                            <block type="timeouts_settimeout" id="fgcQj53%vKO?+zc#X#};">
                                              <field name="NAME">timeout</field>
                                              <field name="DELAY">500</field>
                                              <field name="UNIT">ms</field>
                                              <statement name="STATEMENT">
                                                <block type="controls_if" id="Y%t8~nAV(#,:$_iEO1y#">
                                                  <value name="IF0">
                                                    <block type="logic_compare" id="eA;WUt;qZ0DU8#2h$8U{">
                                                      <field name="OP">NEQ</field>
                                                      <value name="A">
                                                        <block type="get_value" id="Iyc^)Sx!Cd8zuJXmX$iO">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">deconz.0.Groups.2.bri</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="variables_get" id="COA@Lw[XMu~7Y%!0.XCX">
                                                          <field name="VAR" id="V2hgWi%p{Cg/]taWHI7L">Bri_Wert</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <statement name="DO0">
                                                    <block type="variables_set" id="R:.D9_=WOg:)A^gl.:_)">
                                                      <field name="VAR" id="x2]0EQHx.{G(t5jpYMB(">Manuell_geändert</field>
                                                      <value name="VALUE">
                                                        <block type="logic_boolean" id="4$:^Wx?.%`_`7B`fKFo^">
                                                          <field name="BOOL">TRUE</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </statement>
                                                </block>
                                              </statement>
                                            </block>
                                          </statement>
                                          <next>
                                            <block type="on_ext" id="COwNtKk`9i/sAE@5-F:e">
                                              <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="}sB/!swok.o/BG*v|~oS">
                                                  <field name="oid">deconz.0.Groups.2.ct</field>
                                                </shadow>
                                              </value>
                                              <statement name="STATEMENT">
                                                <block type="timeouts_settimeout" id="Z%S)i[O}4iy@_kI4;BNJ">
                                                  <field name="NAME">timeout2</field>
                                                  <field name="DELAY">500</field>
                                                  <field name="UNIT">ms</field>
                                                  <statement name="STATEMENT">
                                                    <block type="controls_if" id="D.0EA,VI,1cA(!Yog.Z}">
                                                      <value name="IF0">
                                                        <block type="logic_compare" id="A(,;$3uc#dO%h#Io5WuN">
                                                          <field name="OP">NEQ</field>
                                                          <value name="A">
                                                            <block type="get_value" id="7lI8tQYES*!dfzn|eW~M">
                                                              <field name="ATTR">val</field>
                                                              <field name="OID">deconz.0.Groups.2.ct</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="variables_get" id="_uPIPD2aK]uK)q,bOg4X">
                                                              <field name="VAR" id="ufM?rs80G4T5E;Ypwa*U">Ct_Wert</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <statement name="DO0">
                                                        <block type="variables_set" id="pkI3:5c@7*bJdVd%LP7c">
                                                          <field name="VAR" id="x2]0EQHx.{G(t5jpYMB(">Manuell_geändert</field>
                                                          <value name="VALUE">
                                                            <block type="logic_boolean" id="VcO.3$|3wN8qavb3g5*D">
                                                              <field name="BOOL">TRUE</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </statement>
                                                    </block>
                                                  </statement>
                                                </block>
                                              </statement>
                                              <next>
                                                <block type="on_ext" id="~,t!T)CXOH7+oJCzYj,7">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                                  <field name="CONDITION">ne</field>
                                                  <field name="ACK_CONDITION"></field>
                                                  <value name="OID0">
                                                    <shadow type="field_oid" id="?]eX`%1I*OhZe`8B5ini">
                                                      <field name="oid">knx.0.EG.Beleuchtung.Wohnzimmer_Spots_Status</field>
                                                    </shadow>
                                                  </value>
                                                  <value name="OID1">
                                                    <shadow type="field_oid" id="dN{1][PSlqC~Af?t*,@h">
                                                      <field name="oid">javascript.0.Variablen.Beleuchtung.Adaptive_Lighting.Sonnenstand</field>
                                                    </shadow>
                                                  </value>
                                                  <statement name="STATEMENT">
                                                    <block type="controls_if" id="~mZ+a!WQzv=Lgim9LMGi">
                                                      <value name="IF0">
                                                        <block type="logic_compare" id="nss].$u!Yzb(W/|KtYtD">
                                                          <field name="OP">EQ</field>
                                                          <value name="A">
                                                            <block type="variables_get" id="jJ/@?D`z#*rU]X`nF;tt">
                                                              <field name="VAR" id="x2]0EQHx.{G(t5jpYMB(">Manuell_geändert</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="logic_boolean" id="OU{^h8GzE?X0^]!a~AW,">
                                                              <field name="BOOL">FALSE</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <statement name="DO0">
                                                        <block type="controls_if" id="P1s$-9o39nIH[o4kdRZ;">
                                                          <value name="IF0">
                                                            <block type="logic_compare" id="T$qWaA,tgb!z?rei#yKp">
                                                              <field name="OP">EQ</field>
                                                              <value name="A">
                                                                <block type="get_value" id="4Uk:+R%d}%$R1unThDQ$">
                                                                  <field name="ATTR">val</field>
                                                                  <field name="OID">javascript.0.Variablen.Beleuchtung.Adaptive_Lighting.Sonnenstand</field>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block type="math_number" id="j21*t3tw9G/Rbg35L9T~">
                                                                  <field name="NUM">0</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <statement name="DO0">
                                                            <block type="control" id="@6MMqUWUU0Pn{f{;7QpS">
                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                              <field name="OID">deconz.0.Groups.2.bri</field>
                                                              <field name="WITH_DELAY">FALSE</field>
                                                              <value name="VALUE">
                                                                <block type="math_number" id=",8yGREmBQW+@y2?r!7BK">
                                                                  <field name="NUM">55</field>
                                                                </block>
                                                              </value>
                                                              <next>
                                                                <block type="control" id="09H.*Y;63gW9_,~PDgXM">
                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                  <field name="OID">deconz.0.Groups.2.ct</field>
                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                  <value name="VALUE">
                                                                    <block type="math_number" id=".cH?b99jp:v$sb0qrd:x">
                                                                      <field name="NUM">500</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </statement>
                                                          <next>
                                                            <block type="comment" id="ar!erVw{2(aKvrb.6l0}">
                                                              <field name="COMMENT">Sonnenaufsstieg</field>
                                                              <next>
                                                                <block type="controls_if" id="fUL)t;Hh-FI~GTlaNS-Y">
                                                                  <value name="IF0">
                                                                    <block type="logic_operation" id="DiVkFx-eH(_!UzQxdIMZ" inline="false">
                                                                      <field name="OP">AND</field>
                                                                      <value name="A">
                                                                        <block type="logic_compare" id="8-R{GsUgd3JEb(/)35tl">
                                                                          <field name="OP">GTE</field>
                                                                          <value name="A">
                                                                            <block type="get_value" id="7Fs-Af3-.`QT~PP9n?fi">
                                                                              <field name="ATTR">val</field>
                                                                              <field name="OID">javascript.0.Variablen.Beleuchtung.Adaptive_Lighting.Sonnenstand</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block type="math_number" id="9(=J@Cy~B.kgF1*fU?*+">
                                                                              <field name="NUM">1</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <block type="logic_compare" id="S]YTD!A_OxV#cY8~zFj%">
                                                                          <field name="OP">LTE</field>
                                                                          <value name="A">
                                                                            <block type="get_value" id="+l2$1)8.pfWwT]Ds_hFs">
                                                                              <field name="ATTR">val</field>
                                                                              <field name="OID">javascript.0.Variablen.Beleuchtung.Adaptive_Lighting.Sonnenstand</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block type="math_number" id="!7^cGd^fMZ1ByXNALLoe">
                                                                              <field name="NUM">50</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                  <statement name="DO0">
                                                                    <block type="variables_set" id="HHZ.IkyjM?-IyiSwpe8{">
                                                                      <field name="VAR" id="V2hgWi%p{Cg/]taWHI7L">Bri_Wert</field>
                                                                      <value name="VALUE">
                                                                        <block type="math_arithmetic" id="d!;IYMSYGMC{hx5Y`fV9">
                                                                          <field name="OP">ADD</field>
                                                                          <value name="A">
                                                                            <shadow type="math_number" id="k1n1u#,mgTPYO;g$jr=b">
                                                                              <field name="NUM">1</field>
                                                                            </shadow>
                                                                            <block type="math_arithmetic" id=";!v[R.GpIG?TIU(,6CdG">
                                                                              <field name="OP">MULTIPLY</field>
                                                                              <value name="A">
                                                                                <shadow type="math_number" id="]},v%.M=e)(bs~zy9]tD">
                                                                                  <field name="NUM">1</field>
                                                                                </shadow>
                                                                                <block type="get_value" id="sq~$gkN5r(!xb|i.DT`}">
                                                                                  <field name="ATTR">val</field>
                                                                                  <field name="OID">javascript.0.Variablen.Beleuchtung.Adaptive_Lighting.Sonnenstand</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <shadow type="math_number" id="Aj;-V!{jbOJm0$Sg*Zt-">
                                                                                  <field name="NUM">1</field>
                                                                                </shadow>
                                                                                <block type="math_arithmetic" id="1M:(uKY#Kvm4+nIad2HR">
                                                                                  <field name="OP">DIVIDE</field>
                                                                                  <value name="A">
                                                                                    <shadow type="math_number" id="[,iV)mF7wQca6;Okprrm">
                                                                                      <field name="NUM">1</field>
                                                                                    </shadow>
                                                                                    <block type="variables_get" id="%Br+ZRQ(6O5wXeka~n[?">
                                                                                      <field name="VAR" id="CD{frOx_JbK|vHvuDF]2">Bri_Range</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="B">
                                                                                    <shadow type="math_number" id="vc5{okmD@$H}+a1OOJ*p">
                                                                                      <field name="NUM">50</field>
                                                                                    </shadow>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <shadow type="math_number" id="jyfzI0p6Cf{noDZq;^Ec">
                                                                              <field name="NUM">1</field>
                                                                            </shadow>
                                                                            <block type="variables_get" id="rDV~Y^Jgj4*E3s=I*+Z/">
                                                                              <field name="VAR" id="*J0h3H66Lh}#=mGt_6a^">Bri_Min</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <next>
                                                                        <block type="control" id="H9^]?~RUha6bH?m7XM?T">
                                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                          <field name="OID">deconz.0.Groups.2.bri</field>
                                                                          <field name="WITH_DELAY">FALSE</field>
                                                                          <value name="VALUE">
                                                                            <block type="variables_get" id="S[l|V=o94%kQN5N,5}L.">
                                                                              <field name="VAR" id="V2hgWi%p{Cg/]taWHI7L">Bri_Wert</field>
                                                                            </block>
                                                                          </value>
                                                                          <next>
                                                                            <block type="variables_set" id="kjyYq$9sR37Sj4tRvz`X">
                                                                              <field name="VAR" id="ufM?rs80G4T5E;Ypwa*U">Ct_Wert</field>
                                                                              <value name="VALUE">
                                                                                <block type="math_arithmetic" id=":dxTHM*=kS~mv_B2m:/:">
                                                                                  <field name="OP">MINUS</field>
                                                                                  <value name="A">
                                                                                    <shadow type="math_number" id="`7M.sjsQml%)eBq~|^#]">
                                                                                      <field name="NUM">1</field>
                                                                                    </shadow>
                                                                                    <block type="variables_get" id="6*`mEsdc^f%`nY;(DR:j">
                                                                                      <field name="VAR" id="dZ,bS.XNJ-3AMtu%%,h!">CT_Max</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="B">
                                                                                    <shadow type="math_number" id="3JK=DkAreEcpiycVS~l)">
                                                                                      <field name="NUM">1</field>
                                                                                    </shadow>
                                                                                    <block type="math_arithmetic" id="|2YZ*W#I.q%Wsct.ZX{#">
                                                                                      <field name="OP">MULTIPLY</field>
                                                                                      <value name="A">
                                                                                        <shadow type="math_number">
                                                                                          <field name="NUM">1</field>
                                                                                        </shadow>
                                                                                        <block type="get_value" id="Rs+?~]~v#_J}fFshx)5A">
                                                                                          <field name="ATTR">val</field>
                                                                                          <field name="OID">javascript.0.Variablen.Beleuchtung.Adaptive_Lighting.Sonnenstand</field>
                                                                                        </block>
                                                                                      </value>
                                                                                      <value name="B">
                                                                                        <shadow type="math_number">
                                                                                          <field name="NUM">1</field>
                                                                                        </shadow>
                                                                                        <block type="math_arithmetic" id="HHoxZK!B.+Jw2=TG]5Tw">
                                                                                          <field name="OP">DIVIDE</field>
                                                                                          <value name="A">
                                                                                            <shadow type="math_number">
                                                                                              <field name="NUM">1</field>
                                                                                            </shadow>
                                                                                            <block type="variables_get" id="ptQ.JgsmRDmYA8KJ_IRX">
                                                                                              <field name="VAR" id="X`aPNAeyFPieq]{n]n,U">CT_Range</field>
                                                                                            </block>
                                                                                          </value>
                                                                                          <value name="B">
                                                                                            <shadow type="math_number" id="Ho3=[E$8%L#;Q}XsvMj;">
                                                                                              <field name="NUM">50</field>
                                                                                            </shadow>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                              <next>
                                                                                <block type="control" id="q:4W[+h;I}U!55o2uhkH">
                                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                  <field name="OID">deconz.0.Groups.2.ct</field>
                                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                                  <value name="VALUE">
                                                                                    <block type="variables_get" id="D3#z`]V,rJ:tE-ni3.C2">
                                                                                      <field name="VAR" id="ufM?rs80G4T5E;Ypwa*U">Ct_Wert</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </next>
                                                                            </block>
                                                                          </next>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </statement>
                                                                  <next>
                                                                    <block type="comment" id=",Pf.Vw(liQJ!BH:gIQ1v">
                                                                      <field name="COMMENT">Sonnenabstieg</field>
                                                                      <next>
                                                                        <block type="controls_if" id="Q.t_t:U1o-Uu*vACgR}G">
                                                                          <value name="IF0">
                                                                            <block type="logic_operation" id="N?#8n/MKOyn=i:pecPS4" inline="false">
                                                                              <field name="OP">AND</field>
                                                                              <value name="A">
                                                                                <block type="logic_compare" id="J)Xo*LT?f@;U}aqBtsKv">
                                                                                  <field name="OP">GT</field>
                                                                                  <value name="A">
                                                                                    <block type="get_value" id="bu$)^y%MeFI#KjJ(fMaS">
                                                                                      <field name="ATTR">val</field>
                                                                                      <field name="OID">javascript.0.Variablen.Beleuchtung.Adaptive_Lighting.Sonnenstand</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="B">
                                                                                    <block type="math_number" id="3JP}o_#x#$9[seRgJ/+_">
                                                                                      <field name="NUM">50</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="logic_compare" id="Goi7K,(5%1r*q%h@`dZ9">
                                                                                  <field name="OP">LTE</field>
                                                                                  <value name="A">
                                                                                    <block type="get_value" id="fGT-Xoy%:T8cXS!nmx`n">
                                                                                      <field name="ATTR">val</field>
                                                                                      <field name="OID">javascript.0.Variablen.Beleuchtung.Adaptive_Lighting.Sonnenstand</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="B">
                                                                                    <block type="math_number" id="PxfYr@*.{f7xPVT;nx8X">
                                                                                      <field name="NUM">100</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <statement name="DO0">
                                                                            <block type="variables_set" id="^jL)phF.CDX]C_!lZ]Z_">
                                                                              <field name="VAR" id="V2hgWi%p{Cg/]taWHI7L">Bri_Wert</field>
                                                                              <value name="VALUE">
                                                                                <block type="math_arithmetic" id="vwt=toWnxEEl^*17@}e0">
                                                                                  <field name="OP">MINUS</field>
                                                                                  <value name="A">
                                                                                    <shadow type="math_number" id="o:Cv,{Cx6W`AYFi`pxWO">
                                                                                      <field name="NUM">1</field>
                                                                                    </shadow>
                                                                                    <block type="variables_get" id="#r/B=#eCG6MQt4PDZ-|u">
                                                                                      <field name="VAR" id="e:JnT/oK4RY;sPEkIUYX">Bri_Max</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="B">
                                                                                    <shadow type="math_number" id="Vs*lrt~Ir?,)m@KKCV5b">
                                                                                      <field name="NUM">1</field>
                                                                                    </shadow>
                                                                                    <block type="math_arithmetic" id="5pmtZ,!}7UrM+rxQphRZ">
                                                                                      <field name="OP">MULTIPLY</field>
                                                                                      <value name="A">
                                                                                        <shadow type="math_number" id="V9bN`eN;=-Itw0`4o;BU">
                                                                                          <field name="NUM">1</field>
                                                                                        </shadow>
                                                                                        <block type="math_arithmetic" id="IjKZrJd7?@[.}SXUWlMK">
                                                                                          <field name="OP">MINUS</field>
                                                                                          <value name="A">
                                                                                            <shadow type="math_number">
                                                                                              <field name="NUM">1</field>
                                                                                            </shadow>
                                                                                            <block type="get_value" id="v-QqsH{uDd:daX=[a9PS">
                                                                                              <field name="ATTR">val</field>
                                                                                              <field name="OID">javascript.0.Variablen.Beleuchtung.Adaptive_Lighting.Sonnenstand</field>
                                                                                            </block>
                                                                                          </value>
                                                                                          <value name="B">
                                                                                            <shadow type="math_number" id="Z1!Z@wE|1_;vHa!=QB|(">
                                                                                              <field name="NUM">50</field>
                                                                                            </shadow>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                      <value name="B">
                                                                                        <shadow type="math_number">
                                                                                          <field name="NUM">1</field>
                                                                                        </shadow>
                                                                                        <block type="math_arithmetic" id="4g!Q}{G_w4E.,@mdV^bE">
                                                                                          <field name="OP">DIVIDE</field>
                                                                                          <value name="A">
                                                                                            <shadow type="math_number">
                                                                                              <field name="NUM">1</field>
                                                                                            </shadow>
                                                                                            <block type="variables_get" id="Mm}2C~7-Tj!eB8,F*K%h">
                                                                                              <field name="VAR" id="CD{frOx_JbK|vHvuDF]2">Bri_Range</field>
                                                                                            </block>
                                                                                          </value>
                                                                                          <value name="B">
                                                                                            <shadow type="math_number" id="I$oR~%1OmFGQ]~zUjKe@">
                                                                                              <field name="NUM">50</field>
                                                                                            </shadow>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                              <next>
                                                                                <block type="control" id="W+$f+:DZ/wBH:enXT#eN">
                                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                  <field name="OID">deconz.0.Groups.2.bri</field>
                                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                                  <value name="VALUE">
                                                                                    <block type="variables_get" id="QH)p#6$Q-uF#72[i}.H3">
                                                                                      <field name="VAR" id="V2hgWi%p{Cg/]taWHI7L">Bri_Wert</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <next>
                                                                                    <block type="variables_set" id="VL$cj%CVjKgvU;(8;QpN">
                                                                                      <field name="VAR" id="ufM?rs80G4T5E;Ypwa*U">Ct_Wert</field>
                                                                                      <value name="VALUE">
                                                                                        <block type="math_arithmetic" id="-q[5CA/u%FU[K8xqv~N[">
                                                                                          <field name="OP">ADD</field>
                                                                                          <value name="A">
                                                                                            <shadow type="math_number">
                                                                                              <field name="NUM">1</field>
                                                                                            </shadow>
                                                                                            <block type="math_arithmetic" id="q7t69L{xHQ9-cOc,[Nkj">
                                                                                              <field name="OP">MULTIPLY</field>
                                                                                              <value name="A">
                                                                                                <shadow type="math_number" id="@54C+*wz*VNBL$E()$6{">
                                                                                                  <field name="NUM">1</field>
                                                                                                </shadow>
                                                                                                <block type="math_arithmetic" id="8Mr!,G)f4gTk(`12L8xt">
                                                                                                  <field name="OP">MINUS</field>
                                                                                                  <value name="A">
                                                                                                    <shadow type="math_number" id="Nfs%6qN-5yvVbIFJJX|F">
                                                                                                      <field name="NUM">1</field>
                                                                                                    </shadow>
                                                                                                    <block type="get_value" id="2=~:71+a;WLc+EiTsWRU">
                                                                                                      <field name="ATTR">val</field>
                                                                                                      <field name="OID">javascript.0.Variablen.Beleuchtung.Adaptive_Lighting.Sonnenstand</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="B">
                                                                                                    <shadow type="math_number" id="/61FKH|L+TpcmbgdGQE;">
                                                                                                      <field name="NUM">50</field>
                                                                                                    </shadow>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                              <value name="B">
                                                                                                <shadow type="math_number">
                                                                                                  <field name="NUM">1</field>
                                                                                                </shadow>
                                                                                                <block type="math_arithmetic" id="D4TqY5_l`5[c#q10deWZ">
                                                                                                  <field name="OP">DIVIDE</field>
                                                                                                  <value name="A">
                                                                                                    <shadow type="math_number">
                                                                                                      <field name="NUM">1</field>
                                                                                                    </shadow>
                                                                                                    <block type="variables_get" id="ai#wPBw;hVG0h]NDhc_`">
                                                                                                      <field name="VAR" id="X`aPNAeyFPieq]{n]n,U">CT_Range</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="B">
                                                                                                    <shadow type="math_number" id="!NrAh=A@8u,UC0l.]w@p">
                                                                                                      <field name="NUM">50</field>
                                                                                                    </shadow>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                            </block>
                                                                                          </value>
                                                                                          <value name="B">
                                                                                            <shadow type="math_number">
                                                                                              <field name="NUM">1</field>
                                                                                            </shadow>
                                                                                            <block type="variables_get" id="^/o$5cL8%Ko79/S|!aes">
                                                                                              <field name="VAR" id="{T7[V,ECyB(9og{b+p:X">CT_Min</field>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                      <next>
                                                                                        <block type="control" id="hF2Y5nm6970v7D1w]0S]">
                                                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                          <field name="OID">deconz.0.Groups.2.ct</field>
                                                                                          <field name="WITH_DELAY">FALSE</field>
                                                                                          <value name="VALUE">
                                                                                            <block type="variables_get" id=",R{Vw?9WhsvAtE=@N)+?">
                                                                                              <field name="VAR" id="ufM?rs80G4T5E;Ypwa*U">Ct_Wert</field>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </next>
                                                                                    </block>
                                                                                  </next>
                                                                                </block>
                                                                              </next>
                                                                            </block>
                                                                          </statement>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </next>
                                                            </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>
      </xml>
      
      posted in ioBroker Allgemein
      L
      loverz
    • RE: Test Adapter KNX v1.0.x

      also ich hab mir nun mal meine RAW-Werte für die vom KNX Adapter erstellten Objekte angeschaut und ich muss sagen: Katastrophe!

      Keine Ahnung, nach welchem Schema die Objekte erstellt werden, aber oft sind bei Schalt-Adressen Read/Write = false, oder bei Status Adressen der Read-Wert = false, oder mal sind gar keine Read/Write Werte vorhanden...

      Hab jetzt weitgehend mal händisch geändert was ich konnte.

      Ich meine ich bin ja froh, dass KNX überhaupt funktioniert, aber professionell ist das nicht, eher eine Bastellösung...

      posted in Tester
      L
      loverz
    • RE: Backitup - kopiert nicht auf NAS

      Keine Ahnung, ob das noch jemand interessiert, aber ich hab es auch bei QNAP hinbekommen:

      Host: IP (ohne Slash oder sonstwas, Bsp: 192.168.178.2)
      Pfad: mit anführendem Slash [kein Backslash!] Bsp: /Backup/ioBroker

      Außerdem habe ich noch den Haken bei Mount als root (sudo) aktiviert und den Benutzernamen eingetragen, der auf dem NAS Schreibrechte für den angegebenen Pfad hat.

      Nun funktioniert es. Dateien wurden auf NAS angelegt:
      40942225-346b-4835-843f-247fac746637-image.png

      posted in ioBroker Allgemein
      L
      loverz
    • RE: Test Adapter KNX v2.x

      @loverz sagte in Test Adapter KNX v2.x:

      @garfonso sagte in Test Adapter KNX v2.x:

      @loverz said in Test Adapter KNX v2.x:

      -Pakete pro Sekunde zu gering?

      Pakete pro Sekunde könnte eher zu hoch sein. Bei "zu gering" würde es nur länger dauern bis der Befehl ankommt. Bei zu hoch werden zu viele auf einmal verschickt und dabei gehen welche verloren -> Befehle werden nicht ausgeführt (allerdings vermutlich nur teilweise).

      @loverz said in Test Adapter KNX v2.x:

      -Verknüpfung von "aktuelle Position" und "Position anfahren" über die GA-Tools?

      Passt denn die Verknüpfung?
      Du kannst auch mal die read/write flags von den ioBroker Objekten prüfen.

      Hatte die Pakete auf 30 (Standard), bin testweise auf 50, oder gar 100 hoch, brachte alles keine Änderung.
      Werde nun mal reduzieren.
      Habe das MDT IP Gateway, vielleicht weiß jemand wieviele Pakete das etwa packt.

      Hab die Verknüpfung noch nicht geändert, hatte das in den Vorgängerversionen des Adapters gemacht, brachte aber keine Änderung.
      Die read write Flags passen. Die sind über die GA-Tools des Adapters eingestellt:

      -Aktuelle Position: lesen=true, schreiben=false, aktualisieren=false
      -Position anfahren: lesen=false, schreiben=true, aktualisieren=false

      Was mich am meisten wundert: Wieso geht es, wenn ich die Rollos einzeln bzw. manuell triggere, wenn ich aber zu Sonnenuntergang oder Dämmerung automatisiert fahren lasse kommen die rückgemeldeten Positionen nicht im iobroker an.

      Ich tippe aktuell auf das erste mit den Paketen pro Sekunde, kann mir aber gleichzeitig nicht vorstellen, dass 30 pro Sekunde zu viel sind.
      Schon gar nicht, weil mit der alten Adapterversion 1.0.20 alles so gut funktioniert hat 😣

      Werde weiter probieren müssen 😞

      Edit: Konnte nun glaube ich rausfinden, dass es an der Anzahl Röllläden liegt, die gleichzeitig bewegt werden.
      Irgendwann ab 8 Stück steigt der Adapter anscheinend aus und nimmt keine Rückmeldungen vom KNX Bus mehr an, komischerweise auch dann, wenn ich die Rollläden jeweils mit 5 Sekunden Verzögerung fahren lasse.
      Es spielt dabei anscheinend keine Rolle, ob ich 10 Pakete pro Sekunde, oder 300 in den Adaptereinstellungen einstelle.
      Ehrlich gesagt merke ich dabei aber auch keinen Geschwindigkeitsunterschied, dass Pakete verzögert würden o.Ä.
      Das Log ist übrigens auch leer 😞

      Ich habe den Fehler bezüglich der nicht rückgemeldeten Rollo-Positionen nun endlich in Zusammenarbeit mit @chefkoch009 gefunden.
      Der Fehler tritt ab Version 1.0.20 auf und lag an folgender Ursache:

      Ich habe im Zuge meiner Rollo-Steuerung-Scripte eine Gruppenadresse beschrieben, die in der ETS keine Verknüpfung hat. Hab diese Quasi als Variable verwendet.
      Das ist zwar möglich, aber der Adapter wartet hier vergeblich auf eine Rückmeldung (Acknowledge) von dieser Gruppenadresse, was zur Folge hat, dass der Adapter dann für etwa 20 Sekunden keine Telegramme vom KNX Bus mehr aufnimmt und diese verwirft!
      Bei mir waren das die immer wieder fehlenden Rollo-Positionen!

      @chefkoch009 schaut, ob er hier eine Verbesserung in den Adapter einbauen kann.

      Bis dahin: Denkt daran, dass leere bzw. nicht verknüpfte Gruppenadressen Probleme bereiten können.
      Ich habe diese nun bei mir gelöscht und als Variable in den iobroker Objekten angelegt. Ist sowieso die saubere Lösung.

      @lessthanmore zur Info. Es hatte nichts mit der von die genannten "Pärchenbildung" zu tun, wie hier beschrieben:
      https://forum.iobroker.net/topic/26167/test-adapter-knx-v1-0-x/633

      posted in Tester
      L
      loverz
    • RE: Yet another HomeKit adapter

      @Hiltex beim Chrome das gleiche Problem.
      Ätzend, wenn man mehrere Sachen einprogrammieren möchte.

      Der Adapter scheint entwicklungstechnisch relativ tod zu sein.
      Kamen schon lange keine Updates mehr.
      Schade, vorallem, da Alternativlos!

      posted in ioBroker Allgemein
      L
      loverz
    • RE: Bei IFTTT im Cloudadapter wird keine Url angezeigt

      @dslraser ja das hat er mir angezeigt, aber ich selbst hab ihn erst heute gefunden.
      Da er mir weitergeholfen hat, aber unvollständig war, dachte ich ergänze ich ihn für den nächsten.

      Ich weiß sowieso nicht, wieso das überhaupt relevant ist. Man kann doch auch über alte Themen diskutieren 🙂

      posted in Error/Bug
      L
      loverz
    • RE: Adaptive Lighting [Sonne nachempfinden] Hue/Deconz

      sooo hab nochmal gebastelt und nun eine für mich sehr gute Lösung gefunden, welche ich mit euch teilen möchte:

      Am Script welches den Sonnenverlauf von 0-100% darstellt hat sich nichts geändert:

      c51124e1-6100-4875-9269-a490eb328990-image.png

      <xml xmlns="https://developers.google.com/blockly/xml">
        <variables>
          <variable id="XDQa1(i@(RfxIe8Kx4V6">Minuten_Sonnenaufgang</variable>
          <variable id="`mwRBI?c:^D+*NiMXm#i">Minuten_Sonnenuntergang</variable>
          <variable id="SM|y}d]n:UvOxoI8L[(g">Sonne_Minutenspanne</variable>
          <variable id="/1T?^~g{_jFs+4|{rbg!">Position_Minutenspanne</variable>
          <variable id="qOk+z!p_/]Uu:2V:y,n5">Prozent_Sonnenverlauf</variable>
        </variables>
        <block type="schedule" id="mPL|$^F:)O/a,?c}_{9o" x="87" y="-187">
          <field name="SCHEDULE">*/30 * * * * *</field>
          <statement name="STATEMENT">
            <block type="controls_if" id="2ONtlu/@IL[*a1:X/Vj)">
              <value name="IF0">
                <block type="time_compare_ex" id=":x[EYY%LYGBBGuQP)vS)">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true" actual_time="true"></mutation>
                  <field name="USE_ACTUAL_TIME">TRUE</field>
                  <field name="OPTION">not between</field>
                  <value name="START_TIME">
                    <shadow type="text" id="`h]yLl-{FL.KYd%FIpx1">
                      <field name="TEXT">12:00</field>
                    </shadow>
                    <block type="time_astro" id="diCspd_,=MNygrN1f|{@">
                      <field name="TYPE">sunrise</field>
                      <field name="OFFSET">0</field>
                    </block>
                  </value>
                  <value name="END_TIME">
                    <shadow type="text" id="pML.t1T`Xg8*3TN0qJ}I">
                      <field name="TEXT">18:00</field>
                    </shadow>
                    <block type="time_astro" id="#KmV^Wk:RUw.Edt.e-`V">
                      <field name="TYPE">nauticalDusk</field>
                      <field name="OFFSET">0</field>
                    </block>
                  </value>
                </block>
              </value>
              <statement name="DO0">
                <block type="control" id="a:-C|LTW-WcB:g^j2H!?">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                  <field name="OID">javascript.0.Variablen.Beleuchtung.Adaptive_Lighting.Sonnenstand</field>
                  <field name="WITH_DELAY">FALSE</field>
                  <value name="VALUE">
                    <block type="math_number" id="$,z;Ek4:8`@Wp1=3xeoJ">
                      <field name="NUM">0</field>
                    </block>
                  </value>
                </block>
              </statement>
              <next>
                <block type="controls_if" id=",HdX.v@YotZ/pc?Usk}A">
                  <value name="IF0">
                    <block type="time_compare_ex" id="^)8}CSNFgRFFuB_Pd?M]">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true" actual_time="true"></mutation>
                      <field name="USE_ACTUAL_TIME">TRUE</field>
                      <field name="OPTION">between</field>
                      <value name="START_TIME">
                        <shadow type="text" id="0jw(|_l$YlGJ0u9b|6q-">
                          <field name="TEXT">12:00</field>
                        </shadow>
                        <block type="time_astro" id="1_4TjVnMi)GFiGSD{ci;">
                          <field name="TYPE">sunrise</field>
                          <field name="OFFSET">0</field>
                        </block>
                      </value>
                      <value name="END_TIME">
                        <shadow type="text" id="E|8ZkERhB}j567R(D6Qf">
                          <field name="TEXT">18:00</field>
                        </shadow>
                        <block type="time_astro" id="6;(sB3%j/.b:$FN|PAQQ">
                          <field name="TYPE">nauticalDusk</field>
                          <field name="OFFSET">0</field>
                        </block>
                      </value>
                    </block>
                  </value>
                  <statement name="DO0">
                    <block type="variables_set" id="}kD([|K,~+,F9$=l6?^q">
                      <field name="VAR" id="XDQa1(i@(RfxIe8Kx4V6">Minuten_Sonnenaufgang</field>
                      <value name="VALUE">
                        <block type="convert_from_date" id="8_2qNN5;bP@dVtA5*tcI">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                          <field name="OPTION">mid</field>
                          <value name="VALUE">
                            <block type="time_astro" id="@i}+$@zhOu!`or`;R#rT">
                              <field name="TYPE">sunrise</field>
                              <field name="OFFSET">0</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <next>
                        <block type="variables_set" id="fqFEJBa!Ec[k/0{uZxpJ">
                          <field name="VAR" id="`mwRBI?c:^D+*NiMXm#i">Minuten_Sonnenuntergang</field>
                          <value name="VALUE">
                            <block type="convert_from_date" id=":#}AN4hkrR`(zKg(@j|4">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                              <field name="OPTION">mid</field>
                              <value name="VALUE">
                                <block type="time_astro" id="4Ag`pjz6i%}P_#YFS2OV">
                                  <field name="TYPE">nauticalDusk</field>
                                  <field name="OFFSET">0</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <next>
                            <block type="variables_set" id="9iM`s)($k0#J51!U0W.?">
                              <field name="VAR" id="SM|y}d]n:UvOxoI8L[(g">Sonne_Minutenspanne</field>
                              <value name="VALUE">
                                <block type="math_arithmetic" id="yn1jRBiwr7{L_n~d},Q{">
                                  <field name="OP">MINUS</field>
                                  <value name="A">
                                    <shadow type="math_number" id="[pe;Vn88dKwgCmHZk*V{">
                                      <field name="NUM">1</field>
                                    </shadow>
                                    <block type="variables_get" id="bdoxH$hMqlck=JV!Ip~!">
                                      <field name="VAR" id="`mwRBI?c:^D+*NiMXm#i">Minuten_Sonnenuntergang</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <shadow type="math_number" id="]9Yl.[e=/brmgZtS#zQp">
                                      <field name="NUM">1</field>
                                    </shadow>
                                    <block type="variables_get" id="]VA}c+NBr%LExuzO;B^-">
                                      <field name="VAR" id="XDQa1(i@(RfxIe8Kx4V6">Minuten_Sonnenaufgang</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <next>
                                <block type="variables_set" id="I:2%^9Zf+%E{s/z0,tnE">
                                  <field name="VAR" id="/1T?^~g{_jFs+4|{rbg!">Position_Minutenspanne</field>
                                  <value name="VALUE">
                                    <block type="math_arithmetic" id="ZaT42Ly@u.y^B10ug@A9">
                                      <field name="OP">MINUS</field>
                                      <value name="A">
                                        <shadow type="math_number" id="5pHM#qmx+ftLMm%d(Yh5">
                                          <field name="NUM">1</field>
                                        </shadow>
                                        <block type="time_get" id="`{^B5crk=c55IJec:BXY">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                          <field name="OPTION">mid</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <shadow type="math_number" id="GP`4mNtJ5OxW/sQ_1{f,">
                                          <field name="NUM">1</field>
                                        </shadow>
                                        <block type="variables_get" id="Kl4_R:xV7xSW}KL,se`V">
                                          <field name="VAR" id="XDQa1(i@(RfxIe8Kx4V6">Minuten_Sonnenaufgang</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="variables_set" id="g?a?{5H/d@_DEaDZD3mu">
                                      <field name="VAR" id="qOk+z!p_/]Uu:2V:y,n5">Prozent_Sonnenverlauf</field>
                                      <value name="VALUE">
                                        <block type="math_rndfixed" id="$A%?_QqE@Z-W#,]w07/l">
                                          <field name="n">1</field>
                                          <value name="x">
                                            <shadow type="math_number" id="TgD^jp6c]`4rEls}T$GD">
                                              <field name="NUM">3.1234</field>
                                            </shadow>
                                            <block type="math_arithmetic" id="N.fqj#8YW!vUk_f!vX6B">
                                              <field name="OP">MULTIPLY</field>
                                              <value name="A">
                                                <shadow type="math_number" id="#M1s5*6jq%!unvmL8:R{">
                                                  <field name="NUM">1</field>
                                                </shadow>
                                                <block type="math_arithmetic" id="gK)IxvE4QkW1hVAT8#iA">
                                                  <field name="OP">DIVIDE</field>
                                                  <value name="A">
                                                    <shadow type="math_number" id="c-Ha;xI}VYu[/+s^@8zi">
                                                      <field name="NUM">1</field>
                                                    </shadow>
                                                    <block type="variables_get" id="/vM(GDHjO?lj[Tznf{7e">
                                                      <field name="VAR" id="/1T?^~g{_jFs+4|{rbg!">Position_Minutenspanne</field>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <shadow type="math_number" id="PP0gN$ZR=^|C2|=24UZN">
                                                      <field name="NUM">1</field>
                                                    </shadow>
                                                    <block type="variables_get" id="+hZ:BMGKl:{:hwj[V1(y">
                                                      <field name="VAR" id="SM|y}d]n:UvOxoI8L[(g">Sonne_Minutenspanne</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <shadow type="math_number" id="*1vY_(]7f~x(t|`e+/PF">
                                                  <field name="NUM">100</field>
                                                </shadow>
                                              </value>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="control" id="M[i[xQlZ;H)am.n]d-ZX">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">javascript.0.Variablen.Beleuchtung.Adaptive_Lighting.Sonnenstand</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="variables_get" id="@mnD+2LW#`87g@;o:Cj|">
                                              <field name="VAR" id="qOk+z!p_/]Uu:2V:y,n5">Prozent_Sonnenverlauf</field>
                                            </block>
                                          </value>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </statement>
                </block>
              </next>
            </block>
          </statement>
        </block>
      </xml>
      <xml xmlns="https://developers.google.com/blockly/xml">
        <variables>
          <variable id="XDQa1(i@(RfxIe8Kx4V6">Minuten_Sonnenaufgang</variable>
          <variable id="`mwRBI?c:^D+*NiMXm#i">Minuten_Sonnenuntergang</variable>
          <variable id="SM|y}d]n:UvOxoI8L[(g">Sonne_Minutenspanne</variable>
          <variable id="/1T?^~g{_jFs+4|{rbg!">Position_Minutenspanne</variable>
          <variable id="qOk+z!p_/]Uu:2V:y,n5">Prozent_Sonnenverlauf</variable>
        </variables>
        <block type="schedule" id="mPL|$^F:)O/a,?c}_{9o" x="87" y="-187">
          <field name="SCHEDULE">*/30 * * * * *</field>
          <statement name="STATEMENT">
            <block type="controls_if" id="2ONtlu/@IL[*a1:X/Vj)">
              <value name="IF0">
                <block type="time_compare_ex" id=":x[EYY%LYGBBGuQP)vS)">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true" actual_time="true"></mutation>
                  <field name="USE_ACTUAL_TIME">TRUE</field>
                  <field name="OPTION">not between</field>
                  <value name="START_TIME">
                    <shadow type="text" id="`h]yLl-{FL.KYd%FIpx1">
                      <field name="TEXT">12:00</field>
                    </shadow>
                    <block type="time_astro" id="diCspd_,=MNygrN1f|{@">
                      <field name="TYPE">sunrise</field>
                      <field name="OFFSET">0</field>
                    </block>
                  </value>
                  <value name="END_TIME">
                    <shadow type="text" id="pML.t1T`Xg8*3TN0qJ}I">
                      <field name="TEXT">18:00</field>
                    </shadow>
                    <block type="time_astro" id="#KmV^Wk:RUw.Edt.e-`V">
                      <field name="TYPE">nauticalDusk</field>
                      <field name="OFFSET">0</field>
                    </block>
                  </value>
                </block>
              </value>
              <statement name="DO0">
                <block type="control" id="a:-C|LTW-WcB:g^j2H!?">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                  <field name="OID">javascript.0.Variablen.Beleuchtung.Adaptive_Lighting.Sonnenstand</field>
                  <field name="WITH_DELAY">FALSE</field>
                  <value name="VALUE">
                    <block type="math_number" id="$,z;Ek4:8`@Wp1=3xeoJ">
                      <field name="NUM">0</field>
                    </block>
                  </value>
                </block>
              </statement>
              <next>
                <block type="controls_if" id=",HdX.v@YotZ/pc?Usk}A">
                  <value name="IF0">
                    <block type="time_compare_ex" id="^)8}CSNFgRFFuB_Pd?M]">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true" actual_time="true"></mutation>
                      <field name="USE_ACTUAL_TIME">TRUE</field>
                      <field name="OPTION">between</field>
                      <value name="START_TIME">
                        <shadow type="text" id="0jw(|_l$YlGJ0u9b|6q-">
                          <field name="TEXT">12:00</field>
                        </shadow>
                        <block type="time_astro" id="1_4TjVnMi)GFiGSD{ci;">
                          <field name="TYPE">sunrise</field>
                          <field name="OFFSET">0</field>
                        </block>
                      </value>
                      <value name="END_TIME">
                        <shadow type="text" id="E|8ZkERhB}j567R(D6Qf">
                          <field name="TEXT">18:00</field>
                        </shadow>
                        <block type="time_astro" id="6;(sB3%j/.b:$FN|PAQQ">
                          <field name="TYPE">nauticalDusk</field>
                          <field name="OFFSET">0</field>
                        </block>
                      </value>
                    </block>
                  </value>
                  <statement name="DO0">
                    <block type="variables_set" id="}kD([|K,~+,F9$=l6?^q">
                      <field name="VAR" id="XDQa1(i@(RfxIe8Kx4V6">Minuten_Sonnenaufgang</field>
                      <value name="VALUE">
                        <block type="convert_from_date" id="8_2qNN5;bP@dVtA5*tcI">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                          <field name="OPTION">mid</field>
                          <value name="VALUE">
                            <block type="time_astro" id="@i}+$@zhOu!`or`;R#rT">
                              <field name="TYPE">sunrise</field>
                              <field name="OFFSET">0</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <next>
                        <block type="variables_set" id="fqFEJBa!Ec[k/0{uZxpJ">
                          <field name="VAR" id="`mwRBI?c:^D+*NiMXm#i">Minuten_Sonnenuntergang</field>
                          <value name="VALUE">
                            <block type="convert_from_date" id=":#}AN4hkrR`(zKg(@j|4">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                              <field name="OPTION">mid</field>
                              <value name="VALUE">
                                <block type="time_astro" id="4Ag`pjz6i%}P_#YFS2OV">
                                  <field name="TYPE">nauticalDusk</field>
                                  <field name="OFFSET">0</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <next>
                            <block type="variables_set" id="9iM`s)($k0#J51!U0W.?">
                              <field name="VAR" id="SM|y}d]n:UvOxoI8L[(g">Sonne_Minutenspanne</field>
                              <value name="VALUE">
                                <block type="math_arithmetic" id="yn1jRBiwr7{L_n~d},Q{">
                                  <field name="OP">MINUS</field>
                                  <value name="A">
                                    <shadow type="math_number" id="[pe;Vn88dKwgCmHZk*V{">
                                      <field name="NUM">1</field>
                                    </shadow>
                                    <block type="variables_get" id="bdoxH$hMqlck=JV!Ip~!">
                                      <field name="VAR" id="`mwRBI?c:^D+*NiMXm#i">Minuten_Sonnenuntergang</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <shadow type="math_number" id="]9Yl.[e=/brmgZtS#zQp">
                                      <field name="NUM">1</field>
                                    </shadow>
                                    <block type="variables_get" id="]VA}c+NBr%LExuzO;B^-">
                                      <field name="VAR" id="XDQa1(i@(RfxIe8Kx4V6">Minuten_Sonnenaufgang</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <next>
                                <block type="variables_set" id="I:2%^9Zf+%E{s/z0,tnE">
                                  <field name="VAR" id="/1T?^~g{_jFs+4|{rbg!">Position_Minutenspanne</field>
                                  <value name="VALUE">
                                    <block type="math_arithmetic" id="ZaT42Ly@u.y^B10ug@A9">
                                      <field name="OP">MINUS</field>
                                      <value name="A">
                                        <shadow type="math_number" id="5pHM#qmx+ftLMm%d(Yh5">
                                          <field name="NUM">1</field>
                                        </shadow>
                                        <block type="time_get" id="`{^B5crk=c55IJec:BXY">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                          <field name="OPTION">mid</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <shadow type="math_number" id="GP`4mNtJ5OxW/sQ_1{f,">
                                          <field name="NUM">1</field>
                                        </shadow>
                                        <block type="variables_get" id="Kl4_R:xV7xSW}KL,se`V">
                                          <field name="VAR" id="XDQa1(i@(RfxIe8Kx4V6">Minuten_Sonnenaufgang</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="variables_set" id="g?a?{5H/d@_DEaDZD3mu">
                                      <field name="VAR" id="qOk+z!p_/]Uu:2V:y,n5">Prozent_Sonnenverlauf</field>
                                      <value name="VALUE">
                                        <block type="math_rndfixed" id="$A%?_QqE@Z-W#,]w07/l">
                                          <field name="n">1</field>
                                          <value name="x">
                                            <shadow type="math_number" id="TgD^jp6c]`4rEls}T$GD">
                                              <field name="NUM">3.1234</field>
                                            </shadow>
                                            <block type="math_arithmetic" id="N.fqj#8YW!vUk_f!vX6B">
                                              <field name="OP">MULTIPLY</field>
                                              <value name="A">
                                                <shadow type="math_number" id="#M1s5*6jq%!unvmL8:R{">
                                                  <field name="NUM">1</field>
                                                </shadow>
                                                <block type="math_arithmetic" id="gK)IxvE4QkW1hVAT8#iA">
                                                  <field name="OP">DIVIDE</field>
                                                  <value name="A">
                                                    <shadow type="math_number" id="c-Ha;xI}VYu[/+s^@8zi">
                                                      <field name="NUM">1</field>
                                                    </shadow>
                                                    <block type="variables_get" id="/vM(GDHjO?lj[Tznf{7e">
                                                      <field name="VAR" id="/1T?^~g{_jFs+4|{rbg!">Position_Minutenspanne</field>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <shadow type="math_number" id="PP0gN$ZR=^|C2|=24UZN">
                                                      <field name="NUM">1</field>
                                                    </shadow>
                                                    <block type="variables_get" id="+hZ:BMGKl:{:hwj[V1(y">
                                                      <field name="VAR" id="SM|y}d]n:UvOxoI8L[(g">Sonne_Minutenspanne</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <shadow type="math_number" id="*1vY_(]7f~x(t|`e+/PF">
                                                  <field name="NUM">100</field>
                                                </shadow>
                                              </value>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="control" id="M[i[xQlZ;H)am.n]d-ZX">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">javascript.0.Variablen.Beleuchtung.Adaptive_Lighting.Sonnenstand</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="variables_get" id="@mnD+2LW#`87g@;o:Cj|">
                                              <field name="VAR" id="qOk+z!p_/]Uu:2V:y,n5">Prozent_Sonnenverlauf</field>
                                            </block>
                                          </value>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </statement>
                </block>
              </next>
            </block>
          </statement>
        </block>
      </xml>
      
      
      posted in ioBroker Allgemein
      L
      loverz
    • RE: Yet another HomeKit adapter

      @dtp da sehe ich fast alles genau andersrum:
      Apple TV ist für mich DAS Streaming Gerät schlechthin.
      Die Home App total easy, übersichtlich, flott und in der Family geliebt 🙂

      posted in ioBroker Allgemein
      L
      loverz
    • RE: deconz-instanz verbindung zur phoscon-app klappt nicht

      @jey-cee sehr interessant, denn bei mir war da nie etwas eingetragen.
      Heute habe ich die Einstellungen wegen etwas anderem geöfnet und bin ohne speichern (!) raus, ab dann war der Deconz Adapter gelb...

      Erst nachdem ich 443 eingetragen habe, ist er wieder grün geworden.

      posted in ioBroker Allgemein
      L
      loverz
    • RE: Ambilight mit Philips Hue verbinden

      @opossum ich vermute dass ein Firmwareupdate vom TV schuld ist, und Phoscon absichtlich nicht mehr unterstützt wird.
      Hab da bei Github was gelesen.

      posted in Skripten / Logik
      L
      loverz

    Latest posts made by loverz

    • RE: Yet another HomeKit adapter

      @techmo Probier mal das:

      https://www.perplexity.ai/search/b81993f6-a4ae-4638-9086-86004c04f0c7

      posted in ioBroker Allgemein
      L
      loverz
    • RE: Yet another HomeKit adapter

      @techmo hast du die Instanz vorher gestoppt vor dem kopieren?

      posted in ioBroker Allgemein
      L
      loverz
    • RE: Yet another HomeKit adapter

      @techmo das ist eine sehr gute Frage.
      Ich denke das einfachste wird sein zuerst eine leere, zweite Instanz im ioBroker anzulegen und dann mit WinSCP auf das Dateisystem vom ioBroker zu gehen und dort zu die Daten von der ersten Instanz in die zweite kopieren.
      Anschließend musst du der zweiten Instanz auf jeden Fall eine eigene Mac Adresse geben, damit sie sich in der Home App von der anderen unterscheidet.

      Wenn das so nicht geht, dann wäre vlt. eine Idee Backitup auszutricken, indem man ihm vorgaukelt, dass das Backup nicht von der ersten, sondern der zweiten instanz ist.

      posted in ioBroker Allgemein
      L
      loverz
    • RE: Adapter: ioBroker.unifi

      @hiltex guter Hinweis mit dem Access-Hub im Schaltschrank.
      Wenn ich alle Leitungen in den Verteiler ziehe, dann bin ich maximal flexibel. So kann ich per KNX/ioBroker oder per Unify steuern, wie es am besten passt bzw. funktioniert.

      Das mit der Tür wird tatsächlich so gemacht, es wird ein elektrisches Motorschloss beinhalten.

      posted in ioBroker Allgemein
      L
      loverz
    • RE: Adapter: ioBroker.unifi

      @qlink ja das ist klar 🐶

      ioBroker ist bei mir natürlich gesetzt.

      Man könnte es auch andersrum sagen: Vorteil wäre Unabhängig von Ubiquity 😉

      Von der Reaktionszeit ist das wahrscheinlich unerheblich.
      Türkontakte und Motorschloss kann ich ebenfalls per ioBroker/KNX realisieren.

      Vorteil vom Doorhub sind die Leitungsstrecken denke ich, dann muss ich nur PoE an die Tür ziehen.

      posted in ioBroker Allgemein
      L
      loverz
    • RE: Adapter: ioBroker.unifi

      @warp735 super, danke für die Info.

      Frage mich, ob es irgendwelche Vorteile bringen würde, wenn ich die Tür doch per Unify öffne mit dem Doorhub:
      https://eu.store.ui.com/eu/en/category/door-access-hub/products/ua-hub-door

      posted in ioBroker Allgemein
      L
      loverz
    • RE: Adapter: ioBroker.unifi

      @qlink auch für die erfolgreiche Authentifizierung?

      Es ist sehr wichtig, dass ich erkennen kann, ob ein PIN richtig eingegeben wurde, oder die Gesichtserkennung erfolgreich war.

      posted in ioBroker Allgemein
      L
      loverz
    • RE: Adapter: ioBroker.unifi

      @jackdaniel klingt gut.
      Ich richte also in der Dream Machine einen "Alarm" bei erfolgreicher Authentifizierung ein.
      Dieser sendet dann einen (wichtig: Netzwerk-internen) Webhook an meinen ioBroker, welcher diesen per Simple-API-Adapter auswertet.

      Hab ich das richtig verstanden?
      Dann sollte das ja ziemlich zuverlässig funktionieren.

      posted in ioBroker Allgemein
      L
      loverz
    • RE: Adapter: ioBroker.unifi

      Kann mir jemand sagen, ob man über den Unify Adapter ein Objekt erhält, das eine erfolgreiche Authentifizierung anzeigt?

      Brauche Info in ioBroker, wenn jemand die korrekte PIN eingegeben hat, ein korrekter NFC Tag präsentiert wurde, oder sich jemand per Gesichtserkennung erfolgreich authentifiziert hat.

      Würde dann gerne die Türe per ioBroker (KNX-Adapter) öffnen.

      Als Türklingel peile ich die neue G6 Pro Entry an:
      https://store.ui.com/us/en/category/cameras-doorbells/collections/doorbell-entry/products/uvc-g6-pro-entry

      posted in ioBroker Allgemein
      L
      loverz
    • RE: Wetterdaten abrufen per API-Call mit dem Javascript Adapter

      @ro75 es wäre cool, wenn ein Entwickler hier einen neuen Adapter basteln könnte.

      posted in Skripten / Logik
      L
      loverz
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo