Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. [WLED] LED streifen (WS2812B,WS2811,SK6812,APA102) bedienen

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [WLED] LED streifen (WS2812B,WS2811,SK6812,APA102) bedienen

    This topic has been deleted. Only users with topic management privileges can see it.
    • Dutchman
      Dutchman Developer Most Active Administrators last edited by

      ich werde es mir heute im laufe des Tages mal anschauen .... der Zufall will das ich mein gehauene fuer den 3D-Drucker fertig hab, 3 mal raten welche Beleuchtung da rein muss und dan einmal raten was nach neuen Flaschen mi neuster version gerade nich geht.

      Grr.... to be continued

      Ich muss mal mit aircookie quatschen das wir abhaenigkeien besser managen 🙂

      1 Reply Last reply Reply Quote 0
      • R
        Radi last edited by

        Hallo,

        hat hier schonmal jemand versucht mit WLED einen Sunrise/Sunset über Blockly zu programmieren. Mein Problem, ich möchte meine Fische sanft wecken bzw. ins Bett schicken ;-). Ich möchte also von RGB 0,0,255 (sattes Blau) mit 5% Helligkeit nach RGB 255,200,128 ( bei mir ein warmes Weiß) mit voller Helligkeit fahren. Das Ganze soll sich über ca. 20 Minuten hinziehen.
        ein erster Versuch sah so aus: Sunset.jpg
        Dabei blendet er allerdings nur nach ablauf der Zeit ziemlich abrupt auf die Zielfarbe um. Eine Helligkeitssteuerung ist hier noch nicht dabei.

        Zweiter Versuch: Sunrise.jpg
        Hier passiert leider gar nichts.
        Die Zeiten und der Trigger sind momentan noch zum probieren.
        Sollte jemand ein paar funktionsfähige Codeschnipsel haben, würde ich mich über diese freuen. Falls jemand meint, der Beitrag wäre im Blockly Unterforum besser aufgehoben, bitte verschieben.

        Dank im Voraus
        Ralf

        1 Reply Last reply Reply Quote 0
        • R
          Radi last edited by Radi

          Es hat eine ganze Weile gedauert, aber letztendlich funktioniert es jetzt grundsätzlich. Der Farbverlauf verträgt sicher noch eine Verbesserung, aber grundsätzlich komme ich jetzt vom Start zum Ziel und zurück.
          Anbei der Code:

          <xml xmlns="http://www.w3.org/1999/xhtml">
            <variables>
              <variable type="" id="rEZM[;nV=?aT}l;AJd#6">r</variable>
              <variable type="" id="Pih),Z6J[dcpm1}qj(2x">g</variable>
              <variable type="" id="40mI78o@E}~/#Gobr`4Q">b</variable>
              <variable type="" id="l7l#a#k^~Pjx46`82:p.">h</variable>
              <variable type="undefined" id="heller">heller</variable>
              <variable type="undefined" id="Dunkler">Dunkler</variable>
            </variables>
            <block type="on_ext" id=",E}{m;M-;5yOv1h+bbp?" x="588" y="88">
              <mutation items="1"></mutation>
              <field name="CONDITION">any</field>
              <field name="ACK_CONDITION"></field>
              <value name="OID0">
                <shadow type="field_oid" id=".ViSgbEz%v[T%uKdKw{x">
                  <field name="oid">hm-rpc.0.BidCoS-RF.1.PRESS_SHORT</field>
                </shadow>
              </value>
              <statement name="STATEMENT">
                <block type="variables_set" id="X+tPV8,q4II-1H5Fdn+^">
                  <field name="VAR" id="rEZM[;nV=?aT}l;AJd#6" variabletype="">r</field>
                  <value name="VALUE">
                    <block type="math_number" id="/+u7;nb3ECpH*y%*qMX)">
                      <field name="NUM">0</field>
                    </block>
                  </value>
                  <next>
                    <block type="variables_set" id="4,g!w((_oJDP_kQz?p-B">
                      <field name="VAR" id="Pih),Z6J[dcpm1}qj(2x" variabletype="">g</field>
                      <value name="VALUE">
                        <block type="math_number" id="U#)@C1z],Wl,rg$+uj[Z">
                          <field name="NUM">0</field>
                        </block>
                      </value>
                      <next>
                        <block type="variables_set" id="erd`D=#,NYp}`Ir{iUe6">
                          <field name="VAR" id="40mI78o@E}~/#Gobr`4Q" variabletype="">b</field>
                          <value name="VALUE">
                            <block type="math_number" id="su|)O~^DtJfWWa;W7wUJ">
                              <field name="NUM">255</field>
                            </block>
                          </value>
                          <next>
                            <block type="variables_set" id="Bmo~|Ka}wITFF^{.M}*e">
                              <field name="VAR" id="l7l#a#k^~Pjx46`82:p." variabletype="">h</field>
                              <value name="VALUE">
                                <block type="math_number" id="0ah)paKKw;WgMLpc1=/z">
                                  <field name="NUM">5</field>
                                </block>
                              </value>
                              <next>
                                <block type="debug" id="Jn7gn;:,$amfghE@oD@o">
                                  <field name="Severity">log</field>
                                  <value name="TEXT">
                                    <shadow type="text" id="s3W6Tr?R#:q(CtE+OA19">
                                      <field name="TEXT">Tastendruck erkannt</field>
                                    </shadow>
                                  </value>
                                  <next>
                                    <block type="controls_if" id="vN#G}/-nW:A,)[tF=d4u">
                                      <value name="IF0">
                                        <block type="logic_operation" id="QxnB+Il,AgTM;IT?ig_a">
                                          <field name="OP">AND</field>
                                          <value name="A">
                                            <block type="logic_compare" id="|lm,)tyUq:PJxvs6K^4-">
                                              <field name="OP">EQ</field>
                                              <value name="A">
                                                <block type="get_value" id="_!#uR`19NW,||+~N:n|`">
                                                  <field name="ATTR">val</field>
                                                  <field name="OID">hm-rpc.0.BidCoS-RF.1.PRESS_SHORT</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="logic_boolean" id="!#:ATQ_CHr(mep9oGDs1">
                                                  <field name="BOOL">TRUE</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="logic_compare" id="pJ(IY=w[M;X]XdNkO@5{">
                                              <field name="OP">NEQ</field>
                                              <value name="A">
                                                <block type="variables_get" id=".(RLL/$AXa[.}PkWR/,i">
                                                  <field name="VAR" id="rEZM[;nV=?aT}l;AJd#6" variabletype="">r</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="math_number" id=",-V.W{;l?anBEd0T6A:5">
                                                  <field name="NUM">255</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO0">
                                        <block type="timeouts_clearinterval" id="^?EH^QpwM^uwnb~[O]3@">
                                          <field name="NAME">heller</field>
                                          <next>
                                            <block type="debug" id="-,Ra|D+xXqNAe^2(idX|">
                                              <field name="Severity">log</field>
                                              <value name="TEXT">
                                                <shadow type="text" id="r2v9,~w)[#?(/X?SM0]^">
                                                  <field name="TEXT">testgestartet</field>
                                                </shadow>
                                              </value>
                                              <next>
                                                <block type="timeouts_setinterval" id="??AyJR=FApCY`jLvPo7#">
                                                  <field name="NAME">heller</field>
                                                  <field name="INTERVAL">5000</field>
                                                  <field name="UNIT">ms</field>
                                                  <statement name="STATEMENT">
                                                    <block type="debug" id="7Sh~`:_5v_svn?*Hffj=">
                                                      <field name="Severity">log</field>
                                                      <value name="TEXT">
                                                        <shadow type="text" id="XNHB~dQFmCR87;Rz|hep">
                                                          <field name="TEXT">test</field>
                                                        </shadow>
                                                        <block type="text_join" id="w#2utt?z]/JeLc5qYqe7">
                                                          <mutation items="5"></mutation>
                                                          <value name="ADD0">
                                                            <block type="variables_get" id="r#vA%ie@XKPP6F~IKmF@">
                                                              <field name="VAR" id="rEZM[;nV=?aT}l;AJd#6" variabletype="">r</field>
                                                            </block>
                                                          </value>
                                                          <value name="ADD1">
                                                            <block type="text" id="8MtRVjpXsQ7f%#X*X2Z~">
                                                              <field name="TEXT">,</field>
                                                            </block>
                                                          </value>
                                                          <value name="ADD2">
                                                            <block type="variables_get" id="M:2/o2DR|Ko!a(VCt61u">
                                                              <field name="VAR" id="Pih),Z6J[dcpm1}qj(2x" variabletype="">g</field>
                                                            </block>
                                                          </value>
                                                          <value name="ADD3">
                                                            <block type="text" id="{#:xe9:hEh,0,vVFu1bG">
                                                              <field name="TEXT">,</field>
                                                            </block>
                                                          </value>
                                                          <value name="ADD4">
                                                            <block type="variables_get" id="!]WC~Z5/qbiEQPjyb9ZE">
                                                              <field name="VAR" id="40mI78o@E}~/#Gobr`4Q" variabletype="">b</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="control" id="2K;.picr?i*lz=-%^rvc">
                                                          <mutation delay_input="false"></mutation>
                                                          <field name="OID">wled.0.807d3a693dea.seg.0.col.0</field>
                                                          <field name="WITH_DELAY">FALSE</field>
                                                          <value name="VALUE">
                                                            <block type="text_join" id="rY4*Myk!$;33Qh7xX}%O">
                                                              <mutation items="5"></mutation>
                                                              <value name="ADD0">
                                                                <block type="variables_get" id="`Rg+])g(K{OF6r$qe/ks">
                                                                  <field name="VAR" id="rEZM[;nV=?aT}l;AJd#6" variabletype="">r</field>
                                                                </block>
                                                              </value>
                                                              <value name="ADD1">
                                                                <block type="text" id="sELXJ8bj-8`z*#[By$+e">
                                                                  <field name="TEXT">,</field>
                                                                </block>
                                                              </value>
                                                              <value name="ADD2">
                                                                <block type="variables_get" id="-[NP,([$l^(kJA%4Kk9n">
                                                                  <field name="VAR" id="Pih),Z6J[dcpm1}qj(2x" variabletype="">g</field>
                                                                </block>
                                                              </value>
                                                              <value name="ADD3">
                                                                <block type="text" id="KgPtspL7sTeH$+RF$TR`">
                                                                  <field name="TEXT">,</field>
                                                                </block>
                                                              </value>
                                                              <value name="ADD4">
                                                                <block type="variables_get" id="cq.8ly6c*1m6*Xk/1iM_">
                                                                  <field name="VAR" id="40mI78o@E}~/#Gobr`4Q" variabletype="">b</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="control" id="6;=Blv_:NIu@}Cgq}Wxr">
                                                              <mutation delay_input="false"></mutation>
                                                              <field name="OID">wled.0.807d3a693dea.bri</field>
                                                              <field name="WITH_DELAY">FALSE</field>
                                                              <value name="VALUE">
                                                                <block type="variables_get" id="A,W/f`=dYDc9Zt{wXz(p">
                                                                  <field name="VAR" id="l7l#a#k^~Pjx46`82:p." variabletype="">h</field>
                                                                </block>
                                                              </value>
                                                              <next>
                                                                <block type="variables_set" id=")Q+4tW%PqNqM5zT;3ukt">
                                                                  <field name="VAR" id="rEZM[;nV=?aT}l;AJd#6" variabletype="">r</field>
                                                                  <value name="VALUE">
                                                                    <block type="math_constrain" id="za7djm@Zilwve)m6+mBR">
                                                                      <value name="VALUE">
                                                                        <shadow type="math_number" id=".xOFT:}cE?iVIrUaY+4g">
                                                                          <field name="NUM">50</field>
                                                                        </shadow>
                                                                        <block type="math_arithmetic" id="9dgq4#^R_![OK]EZ9ZJ6">
                                                                          <field name="OP">ADD</field>
                                                                          <value name="A">
                                                                            <shadow type="math_number" id="2NdeD9[8FqT8ANpu=[b1">
                                                                              <field name="NUM">1</field>
                                                                            </shadow>
                                                                            <block type="variables_get" id="gvu[Yckqt$6`{E99l6*x">
                                                                              <field name="VAR" id="rEZM[;nV=?aT}l;AJd#6" variabletype="">r</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <shadow type="math_number" id=",TWF=.N@jZir#9@R)-C%">
                                                                              <field name="NUM">1</field>
                                                                            </shadow>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <value name="LOW">
                                                                        <shadow type="math_number" id="xOG{s~J1FXY7XlPH0E.g">
                                                                          <field name="NUM">0</field>
                                                                        </shadow>
                                                                      </value>
                                                                      <value name="HIGH">
                                                                        <shadow type="math_number" id="yK/P;(#{$;|m5!/h7q{R">
                                                                          <field name="NUM">255</field>
                                                                        </shadow>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                  <next>
                                                                    <block type="debug" id="VIc;w+tNT?*Ox|1pe^jy">
                                                                      <field name="Severity">log</field>
                                                                      <value name="TEXT">
                                                                        <shadow type="text" id="n@}0mAf{d3c923^L,489">
                                                                          <field name="TEXT">test</field>
                                                                        </shadow>
                                                                        <block type="text_join" id="/O|++`c:`{xl2xNb,mt_">
                                                                          <mutation items="2"></mutation>
                                                                          <value name="ADD0">
                                                                            <block type="text" id="4zPmTcAM2m;D)C)u1kaY">
                                                                              <field name="TEXT">ROT=</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="ADD1">
                                                                            <block type="variables_get" id="qsQtY`;}n)YR|G[Y{^FI">
                                                                              <field name="VAR" id="rEZM[;nV=?aT}l;AJd#6" variabletype="">r</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <next>
                                                                        <block type="variables_set" id="B8Xmh[bU]?e10uWs81il">
                                                                          <field name="VAR" id="Pih),Z6J[dcpm1}qj(2x" variabletype="">g</field>
                                                                          <value name="VALUE">
                                                                            <block type="math_constrain" id="X=5Dxi*h!!9B~%vCwr0W">
                                                                              <value name="VALUE">
                                                                                <shadow type="math_number" id="2HUehk5=:QH.rN-w1G=A">
                                                                                  <field name="NUM">50</field>
                                                                                </shadow>
                                                                                <block type="math_arithmetic" id="4_`-Ht#yWdE1Guz}akaJ">
                                                                                  <field name="OP">ADD</field>
                                                                                  <value name="A">
                                                                                    <shadow type="math_number" id="2NdeD9[8FqT8ANpu=[b1">
                                                                                      <field name="NUM">1</field>
                                                                                    </shadow>
                                                                                    <block type="variables_get" id="OS$=BpX%3A]^ByZhPC88">
                                                                                      <field name="VAR" id="Pih),Z6J[dcpm1}qj(2x" variabletype="">g</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="B">
                                                                                    <shadow type="math_number" id="@^rA#VXeD9$|`lQnvMX=">
                                                                                      <field name="NUM">1</field>
                                                                                    </shadow>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                              <value name="LOW">
                                                                                <shadow type="math_number" id="mGTFD=cfZDAf^4Uq6n-V">
                                                                                  <field name="NUM">0</field>
                                                                                </shadow>
                                                                              </value>
                                                                              <value name="HIGH">
                                                                                <shadow type="math_number" id="t5c3{v_sT_|8.(mMVPtO">
                                                                                  <field name="NUM">200</field>
                                                                                </shadow>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <next>
                                                                            <block type="debug" id="%p^sQf:ZmHIby/OzS-da">
                                                                              <field name="Severity">log</field>
                                                                              <value name="TEXT">
                                                                                <shadow type="text" id="fh%bOQ~#-:rJ;|ME+R^(">
                                                                                  <field name="TEXT">test</field>
                                                                                </shadow>
                                                                                <block type="text_join" id="!D~)`3Z]xHJSpZ2++9$_">
                                                                                  <mutation items="2"></mutation>
                                                                                  <value name="ADD0">
                                                                                    <block type="text" id="]?3X~n({uI$[C$3b,*wF">
                                                                                      <field name="TEXT">GRÜN=</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="ADD1">
                                                                                    <block type="variables_get" id="F7$}@QvB`X33?uFpp?`D">
                                                                                      <field name="VAR" id="Pih),Z6J[dcpm1}qj(2x" variabletype="">g</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                              <next>
                                                                                <block type="variables_set" id="IwA6}VT%-7op7@)sH=vr">
                                                                                  <field name="VAR" id="40mI78o@E}~/#Gobr`4Q" variabletype="">b</field>
                                                                                  <value name="VALUE">
                                                                                    <block type="math_constrain" id="@H=1x3HTHnrhqmH,HxPl">
                                                                                      <value name="VALUE">
                                                                                        <shadow type="math_number" id="MqQepPJM}#Cz5C7JM,c0">
                                                                                          <field name="NUM">50</field>
                                                                                        </shadow>
                                                                                        <block type="math_arithmetic" id="|x;%QO#1Xeu`mqBuhs4S">
                                                                                          <field name="OP">MINUS</field>
                                                                                          <value name="A">
                                                                                            <shadow type="math_number" id="2NdeD9[8FqT8ANpu=[b1">
                                                                                              <field name="NUM">1</field>
                                                                                            </shadow>
                                                                                            <block type="variables_get" id="4|dTxrqCt/svZHr1CEcx">
                                                                                              <field name="VAR" id="40mI78o@E}~/#Gobr`4Q" variabletype="">b</field>
                                                                                            </block>
                                                                                          </value>
                                                                                          <value name="B">
                                                                                            <shadow type="math_number" id="zWKMDbsMa+|HZ3MyH$(d">
                                                                                              <field name="NUM">1</field>
                                                                                            </shadow>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                      <value name="LOW">
                                                                                        <shadow type="math_number" id="kKgi81(t+sZ05IwKzztk">
                                                                                          <field name="NUM">128</field>
                                                                                        </shadow>
                                                                                      </value>
                                                                                      <value name="HIGH">
                                                                                        <shadow type="math_number" id="BL?-7HR=J(rewrs%:^~p">
                                                                                          <field name="NUM">255</field>
                                                                                        </shadow>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                  <next>
                                                                                    <block type="debug" id="i[E^pqPujdK-CYk{[2%c">
                                                                                      <field name="Severity">log</field>
                                                                                      <value name="TEXT">
                                                                                        <shadow type="text" id="tSgWuUK*Dd!%%g.mBT+[">
                                                                                          <field name="TEXT">test</field>
                                                                                        </shadow>
                                                                                        <block type="text_join" id="Is`_-h$Y5eR2,98i5b$~">
                                                                                          <mutation items="2"></mutation>
                                                                                          <value name="ADD0">
                                                                                            <block type="text" id="@`+]#gsaIkW{1?oalkXC">
                                                                                              <field name="TEXT">BLAU=</field>
                                                                                            </block>
                                                                                          </value>
                                                                                          <value name="ADD1">
                                                                                            <block type="variables_get" id="iK{`EwJ9u*`MJ#=r?~iy">
                                                                                              <field name="VAR" id="40mI78o@E}~/#Gobr`4Q" variabletype="">b</field>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                      <next>
                                                                                        <block type="variables_set" id=",0trA{)2A$bmN(`G`!#G">
                                                                                          <field name="VAR" id="l7l#a#k^~Pjx46`82:p." variabletype="">h</field>
                                                                                          <value name="VALUE">
                                                                                            <block type="math_constrain" id="Rnw2!?_T0Co]b!OUMC{[">
                                                                                              <value name="VALUE">
                                                                                                <shadow type="math_number" id="7H*ydKSXSz?4UpN93DzE">
                                                                                                  <field name="NUM">50</field>
                                                                                                </shadow>
                                                                                                <block type="math_arithmetic" id="r3rQDF@Sklq8/O*GnmmL">
                                                                                                  <field name="OP">ADD</field>
                                                                                                  <value name="A">
                                                                                                    <shadow type="math_number" id="2NdeD9[8FqT8ANpu=[b1">
                                                                                                      <field name="NUM">1</field>
                                                                                                    </shadow>
                                                                                                    <block type="variables_get" id="AWPH8;eS-](ho3-fEOdx">
                                                                                                      <field name="VAR" id="l7l#a#k^~Pjx46`82:p." variabletype="">h</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="B">
                                                                                                    <shadow type="math_number" id="I3uew]ZB!`}m-eunr,Y?">
                                                                                                      <field name="NUM">1</field>
                                                                                                    </shadow>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                              <value name="LOW">
                                                                                                <shadow type="math_number" id="[{-FFDBt8jd4](6?tSaL">
                                                                                                  <field name="NUM">5</field>
                                                                                                </shadow>
                                                                                              </value>
                                                                                              <value name="HIGH">
                                                                                                <shadow type="math_number" id="cE6iyD1{IZ@H#T4)IPF[">
                                                                                                  <field name="NUM">128</field>
                                                                                                </shadow>
                                                                                              </value>
                                                                                            </block>
                                                                                          </value>
                                                                                          <next>
                                                                                            <block type="debug" id="+M|w0YU*n58e$byV,~`n">
                                                                                              <field name="Severity">log</field>
                                                                                              <value name="TEXT">
                                                                                                <shadow type="text" id="Q;?%-j#g4!qHs@NKzCoW">
                                                                                                  <field name="TEXT">test</field>
                                                                                                </shadow>
                                                                                                <block type="text_join" id="YHAvPFMwn_3qx@;fZgN=">
                                                                                                  <mutation items="2"></mutation>
                                                                                                  <value name="ADD0">
                                                                                                    <block type="text" id="tE/{^!L`P}n1+7CXX[GD">
                                                                                                      <field name="TEXT">Helligkeit=</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="ADD1">
                                                                                                    <block type="variables_get" id="8^TM+4OW]LhKqo^xr7v^">
                                                                                                      <field name="VAR" id="l7l#a#k^~Pjx46`82:p." variabletype="">h</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                              <next>
                                                                                                <block type="controls_if" id="V~1q1rF.:VyYx*mtqMQJ">
                                                                                                  <value name="IF0">
                                                                                                    <block type="logic_compare" id="88){hlD]ICoIfGWg.!i2">
                                                                                                      <field name="OP">EQ</field>
                                                                                                      <value name="A">
                                                                                                        <block type="variables_get" id="pK.v)w*bw%g2`P!C|xt)">
                                                                                                          <field name="VAR" id="rEZM[;nV=?aT}l;AJd#6" variabletype="">r</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <value name="B">
                                                                                                        <block type="math_number" id="elri}9%P%IX7.L--D8jD">
                                                                                                          <field name="NUM">255</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <statement name="DO0">
                                                                                                    <block type="timeouts_clearinterval" id=".guL9TJZFf8@g5cXB9hz">
                                                                                                      <field name="NAME">heller</field>
                                                                                                    </block>
                                                                                                  </statement>
                                                                                                </block>
                                                                                              </next>
                                                                                            </block>
                                                                                          </next>
                                                                                        </block>
                                                                                      </next>
                                                                                    </block>
                                                                                  </next>
                                                                                </block>
                                                                              </next>
                                                                            </block>
                                                                          </next>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </statement>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </statement>
            </block>
            <block type="on_ext" id="SD+NRabR-iG]^%=k$WND" x="-412" y="213">
              <mutation items="1"></mutation>
              <field name="CONDITION">any</field>
              <field name="ACK_CONDITION"></field>
              <value name="OID0">
                <shadow type="field_oid" id="p^IK^-}/-._2-/G9*rU)">
                  <field name="oid">hm-rpc.0.BidCoS-RF.1.PRESS_LONG</field>
                </shadow>
              </value>
              <statement name="STATEMENT">
                <block type="variables_set" id="!o0_q+?J$!`6flCIH3bN">
                  <field name="VAR" id="rEZM[;nV=?aT}l;AJd#6" variabletype="">r</field>
                  <value name="VALUE">
                    <block type="math_number" id="N.d+*S;7!,?63(DeI@B]">
                      <field name="NUM">255</field>
                    </block>
                  </value>
                  <next>
                    <block type="variables_set" id="3D*YMcW6TrS,QU5@DpI2">
                      <field name="VAR" id="Pih),Z6J[dcpm1}qj(2x" variabletype="">g</field>
                      <value name="VALUE">
                        <block type="math_number" id="[Sxt)~9ofm8]3{WJA1g-">
                          <field name="NUM">200</field>
                        </block>
                      </value>
                      <next>
                        <block type="variables_set" id="xQP1b7{47,1rP:2aE^Nq">
                          <field name="VAR" id="40mI78o@E}~/#Gobr`4Q" variabletype="">b</field>
                          <value name="VALUE">
                            <block type="math_number" id="?}*@tV!4@hf8fmn0o^n?">
                              <field name="NUM">128</field>
                            </block>
                          </value>
                          <next>
                            <block type="variables_set" id="!xQ{].39x{`-orXV8c!C">
                              <field name="VAR" id="l7l#a#k^~Pjx46`82:p." variabletype="">h</field>
                              <value name="VALUE">
                                <block type="math_number" id="n;%oKwZ4hDr[y2hr{^4Y">
                                  <field name="NUM">128</field>
                                </block>
                              </value>
                              <next>
                                <block type="debug" id="l@?9emhIPmK+$b2SCS3u">
                                  <field name="Severity">log</field>
                                  <value name="TEXT">
                                    <shadow type="text" id="||~I*80APo)IO2G(gdp}">
                                      <field name="TEXT">Tastendruck erkannt</field>
                                    </shadow>
                                  </value>
                                  <next>
                                    <block type="controls_if" id="J;0dgWb#48P0lp{?_krP">
                                      <value name="IF0">
                                        <block type="logic_operation" id="Sn7v}8K2d,PjBm$^_z3^">
                                          <field name="OP">AND</field>
                                          <value name="A">
                                            <block type="logic_compare" id="MR]`xQDnSCG,[kkps,LZ">
                                              <field name="OP">EQ</field>
                                              <value name="A">
                                                <block type="get_value" id="5ZG|eeQ@G6Mfb6_u0=1Y">
                                                  <field name="ATTR">val</field>
                                                  <field name="OID">hm-rpc.0.BidCoS-RF.1.PRESS_LONG</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="logic_boolean" id="cu|@1`n+z4STD:aIoMH.">
                                                  <field name="BOOL">TRUE</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="logic_compare" id="2+nq;+P@u4]0UN%:@NKX">
                                              <field name="OP">EQ</field>
                                              <value name="A">
                                                <block type="variables_get" id="s!g~wjCok,?C`$jDraSh">
                                                  <field name="VAR" id="rEZM[;nV=?aT}l;AJd#6" variabletype="">r</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="math_number" id="-2)|zd|ud)xz)W+J[nk4">
                                                  <field name="NUM">255</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO0">
                                        <block type="timeouts_clearinterval" id="LUc.3L7Slf3uqA#.M/$Z">
                                          <field name="NAME">Dunkler</field>
                                          <next>
                                            <block type="debug" id="`!i_`W1ta32rLOELPlYB">
                                              <field name="Severity">log</field>
                                              <value name="TEXT">
                                                <shadow type="text" id="L+1,4!N`N|:4%851I`_h">
                                                  <field name="TEXT">testgestartet</field>
                                                </shadow>
                                              </value>
                                              <next>
                                                <block type="timeouts_setinterval" id="c6MCxO%yQ3(8W#E(3:(*">
                                                  <field name="NAME">Dunkler</field>
                                                  <field name="INTERVAL">5000</field>
                                                  <field name="UNIT">ms</field>
                                                  <statement name="STATEMENT">
                                                    <block type="debug" id="D/,w)w/GxP%}#~yb,})[">
                                                      <field name="Severity">log</field>
                                                      <value name="TEXT">
                                                        <shadow type="text" id="XNHB~dQFmCR87;Rz|hep">
                                                          <field name="TEXT">test</field>
                                                        </shadow>
                                                        <block type="text_join" id="tM+07,4H4HI$rp6o^-|]">
                                                          <mutation items="5"></mutation>
                                                          <value name="ADD0">
                                                            <block type="variables_get" id="_CG4G5/evtCLkYE)f3-H">
                                                              <field name="VAR" id="rEZM[;nV=?aT}l;AJd#6" variabletype="">r</field>
                                                            </block>
                                                          </value>
                                                          <value name="ADD1">
                                                            <block type="text" id="Aa{%$NGYQ.=,.jFW2`#+">
                                                              <field name="TEXT">,</field>
                                                            </block>
                                                          </value>
                                                          <value name="ADD2">
                                                            <block type="variables_get" id="3-;//i(1_J,qfUh$QL}]">
                                                              <field name="VAR" id="Pih),Z6J[dcpm1}qj(2x" variabletype="">g</field>
                                                            </block>
                                                          </value>
                                                          <value name="ADD3">
                                                            <block type="text" id="|chx1.]dzE-8{e|DuBE!">
                                                              <field name="TEXT">,</field>
                                                            </block>
                                                          </value>
                                                          <value name="ADD4">
                                                            <block type="variables_get" id="3;v}}ZO;nrz,XdyQ4/b|">
                                                              <field name="VAR" id="40mI78o@E}~/#Gobr`4Q" variabletype="">b</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="control" id="P)a/*Hl,#6/:6MBSVH]o">
                                                          <mutation delay_input="false"></mutation>
                                                          <field name="OID">wled.0.807d3a693dea.seg.0.col.0</field>
                                                          <field name="WITH_DELAY">FALSE</field>
                                                          <value name="VALUE">
                                                            <block type="text_join" id="+nHqdBOSo9pJKBQ;XXks">
                                                              <mutation items="5"></mutation>
                                                              <value name="ADD0">
                                                                <block type="variables_get" id="b#FRZl+cGfL3!pukz-br">
                                                                  <field name="VAR" id="rEZM[;nV=?aT}l;AJd#6" variabletype="">r</field>
                                                                </block>
                                                              </value>
                                                              <value name="ADD1">
                                                                <block type="text" id="LjA{A?e[MLKTZvt:fB%m">
                                                                  <field name="TEXT">,</field>
                                                                </block>
                                                              </value>
                                                              <value name="ADD2">
                                                                <block type="variables_get" id="Hm;$7X4UJw1ZK:szsaei">
                                                                  <field name="VAR" id="Pih),Z6J[dcpm1}qj(2x" variabletype="">g</field>
                                                                </block>
                                                              </value>
                                                              <value name="ADD3">
                                                                <block type="text" id="AB5TQ5P}l-:RB/L/`.~6">
                                                                  <field name="TEXT">,</field>
                                                                </block>
                                                              </value>
                                                              <value name="ADD4">
                                                                <block type="variables_get" id="L(?a2asji[uGyE^}tbJO">
                                                                  <field name="VAR" id="40mI78o@E}~/#Gobr`4Q" variabletype="">b</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="control" id="Ucs;R6L8NwfVWeb24.uW">
                                                              <mutation delay_input="false"></mutation>
                                                              <field name="OID">wled.0.807d3a693dea.bri</field>
                                                              <field name="WITH_DELAY">FALSE</field>
                                                              <value name="VALUE">
                                                                <block type="variables_get" id="B,ixb}/5X$+,X[=L#qb6">
                                                                  <field name="VAR" id="l7l#a#k^~Pjx46`82:p." variabletype="">h</field>
                                                                </block>
                                                              </value>
                                                              <next>
                                                                <block type="variables_set" id="/;7Ma0,S8l_^T;/]^nK?">
                                                                  <field name="VAR" id="rEZM[;nV=?aT}l;AJd#6" variabletype="">r</field>
                                                                  <value name="VALUE">
                                                                    <block type="math_constrain" id=":.v$=IK{N(go1({qwKA(">
                                                                      <value name="VALUE">
                                                                        <shadow type="math_number" id=".xOFT:}cE?iVIrUaY+4g">
                                                                          <field name="NUM">50</field>
                                                                        </shadow>
                                                                        <block type="math_arithmetic" id="P2He`,s.9}NPtNl2`(by">
                                                                          <field name="OP">MINUS</field>
                                                                          <value name="A">
                                                                            <shadow type="math_number" id="2NdeD9[8FqT8ANpu=[b1">
                                                                              <field name="NUM">1</field>
                                                                            </shadow>
                                                                            <block type="variables_get" id="Q,UO}4Wc!n)FA]j/xOlm">
                                                                              <field name="VAR" id="rEZM[;nV=?aT}l;AJd#6" variabletype="">r</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <shadow type="math_number" id="T,I4+}fl*[9yP)5c:.#w">
                                                                              <field name="NUM">1</field>
                                                                            </shadow>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <value name="LOW">
                                                                        <shadow type="math_number" id="g:#8Zj5eI}7A7S,dBj(!">
                                                                          <field name="NUM">0</field>
                                                                        </shadow>
                                                                      </value>
                                                                      <value name="HIGH">
                                                                        <shadow type="math_number" id="uAdZRPC!^CNzXU{=Jy-f">
                                                                          <field name="NUM">255</field>
                                                                        </shadow>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                  <next>
                                                                    <block type="debug" id="5f/[dcck?xlqb^VOi~t:">
                                                                      <field name="Severity">log</field>
                                                                      <value name="TEXT">
                                                                        <shadow type="text" id="n@}0mAf{d3c923^L,489">
                                                                          <field name="TEXT">test</field>
                                                                        </shadow>
                                                                        <block type="text_join" id="2vro5q*yle#*K^-:qvlJ">
                                                                          <mutation items="2"></mutation>
                                                                          <value name="ADD0">
                                                                            <block type="text" id="UGXA;Q1@Np`Pu7LpF+lj">
                                                                              <field name="TEXT">ROT=</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="ADD1">
                                                                            <block type="variables_get" id="VE^.}0zItp^u{Mf.iLV=">
                                                                              <field name="VAR" id="rEZM[;nV=?aT}l;AJd#6" variabletype="">r</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <next>
                                                                        <block type="variables_set" id="*GmIImPvw8vodKa/`lho">
                                                                          <field name="VAR" id="Pih),Z6J[dcpm1}qj(2x" variabletype="">g</field>
                                                                          <value name="VALUE">
                                                                            <block type="math_constrain" id="_8!(vol3FvfHP+%Wj2Wd">
                                                                              <value name="VALUE">
                                                                                <shadow type="math_number" id="2HUehk5=:QH.rN-w1G=A">
                                                                                  <field name="NUM">50</field>
                                                                                </shadow>
                                                                                <block type="math_arithmetic" id="9?MKb:anSOlQ8wgMk9Dh">
                                                                                  <field name="OP">MINUS</field>
                                                                                  <value name="A">
                                                                                    <shadow type="math_number" id="2NdeD9[8FqT8ANpu=[b1">
                                                                                      <field name="NUM">1</field>
                                                                                    </shadow>
                                                                                    <block type="variables_get" id="nhUEvih9Q-ZC?$~:3CZI">
                                                                                      <field name="VAR" id="Pih),Z6J[dcpm1}qj(2x" variabletype="">g</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="B">
                                                                                    <shadow type="math_number" id="$/vEyzF|In6Yxk5;`@3N">
                                                                                      <field name="NUM">1</field>
                                                                                    </shadow>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                              <value name="LOW">
                                                                                <shadow type="math_number" id="`EZ5P4]5/+rbW,S;Y_,%">
                                                                                  <field name="NUM">0</field>
                                                                                </shadow>
                                                                              </value>
                                                                              <value name="HIGH">
                                                                                <shadow type="math_number" id="q2vD~)`sr`s;^6Za3aWJ">
                                                                                  <field name="NUM">200</field>
                                                                                </shadow>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <next>
                                                                            <block type="debug" id="J3.o;gUY2{M(u{C)d!U*">
                                                                              <field name="Severity">log</field>
                                                                              <value name="TEXT">
                                                                                <shadow type="text" id="fh%bOQ~#-:rJ;|ME+R^(">
                                                                                  <field name="TEXT">test</field>
                                                                                </shadow>
                                                                                <block type="text_join" id="6u17_!|j?V6q1T`Rt9Pi">
                                                                                  <mutation items="2"></mutation>
                                                                                  <value name="ADD0">
                                                                                    <block type="text" id="wREq%.Dr3M6[W66D2?cR">
                                                                                      <field name="TEXT">GRÜN=</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="ADD1">
                                                                                    <block type="variables_get" id="6~94xBQnMdH__;E;)~;o">
                                                                                      <field name="VAR" id="Pih),Z6J[dcpm1}qj(2x" variabletype="">g</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                              <next>
                                                                                <block type="variables_set" id="z)quVP7PE`)XK0[FwSf-">
                                                                                  <field name="VAR" id="40mI78o@E}~/#Gobr`4Q" variabletype="">b</field>
                                                                                  <value name="VALUE">
                                                                                    <block type="math_constrain" id="~5q#gT8W5.hIg_B4%)5#">
                                                                                      <value name="VALUE">
                                                                                        <shadow type="math_number" id="MqQepPJM}#Cz5C7JM,c0">
                                                                                          <field name="NUM">50</field>
                                                                                        </shadow>
                                                                                        <block type="math_arithmetic" id="Y0P3]D=fbpGKqD-c.6%)">
                                                                                          <field name="OP">ADD</field>
                                                                                          <value name="A">
                                                                                            <shadow type="math_number" id="2NdeD9[8FqT8ANpu=[b1">
                                                                                              <field name="NUM">1</field>
                                                                                            </shadow>
                                                                                            <block type="variables_get" id="0#HD8{azLw/T8N^C=hu|">
                                                                                              <field name="VAR" id="40mI78o@E}~/#Gobr`4Q" variabletype="">b</field>
                                                                                            </block>
                                                                                          </value>
                                                                                          <value name="B">
                                                                                            <shadow type="math_number" id="Gh]@-~lS`**7qlhd]Z=S">
                                                                                              <field name="NUM">1</field>
                                                                                            </shadow>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                      <value name="LOW">
                                                                                        <shadow type="math_number" id="57$#_iNRxQwzmk^)2#Zn">
                                                                                          <field name="NUM">128</field>
                                                                                        </shadow>
                                                                                      </value>
                                                                                      <value name="HIGH">
                                                                                        <shadow type="math_number" id="@qfR{svYpK,bDfG/[p@f">
                                                                                          <field name="NUM">255</field>
                                                                                        </shadow>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                  <next>
                                                                                    <block type="debug" id="d/H6P3cOm+1=rfONnmvX">
                                                                                      <field name="Severity">log</field>
                                                                                      <value name="TEXT">
                                                                                        <shadow type="text" id="tSgWuUK*Dd!%%g.mBT+[">
                                                                                          <field name="TEXT">test</field>
                                                                                        </shadow>
                                                                                        <block type="text_join" id="5t/tbC_|^f|.0}(]W%On">
                                                                                          <mutation items="2"></mutation>
                                                                                          <value name="ADD0">
                                                                                            <block type="text" id="KqM{o}]];h=_@/zc%v+q">
                                                                                              <field name="TEXT">BLAU=</field>
                                                                                            </block>
                                                                                          </value>
                                                                                          <value name="ADD1">
                                                                                            <block type="variables_get" id="}S*/?X%Tmoxhd94V1(uy">
                                                                                              <field name="VAR" id="40mI78o@E}~/#Gobr`4Q" variabletype="">b</field>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                      <next>
                                                                                        <block type="variables_set" id="{pXea_h^asZJ.+)y)!NB">
                                                                                          <field name="VAR" id="l7l#a#k^~Pjx46`82:p." variabletype="">h</field>
                                                                                          <value name="VALUE">
                                                                                            <block type="math_constrain" id="Gg;p$yV/RAhE/fjTHOPQ">
                                                                                              <value name="VALUE">
                                                                                                <shadow type="math_number" id="7H*ydKSXSz?4UpN93DzE">
                                                                                                  <field name="NUM">50</field>
                                                                                                </shadow>
                                                                                                <block type="math_arithmetic" id="V?39!4CK*EIdjdLgqU?L">
                                                                                                  <field name="OP">MINUS</field>
                                                                                                  <value name="A">
                                                                                                    <shadow type="math_number" id="2NdeD9[8FqT8ANpu=[b1">
                                                                                                      <field name="NUM">1</field>
                                                                                                    </shadow>
                                                                                                    <block type="variables_get" id="4~6Paqq4{yTf(HsZQ@sg">
                                                                                                      <field name="VAR" id="l7l#a#k^~Pjx46`82:p." variabletype="">h</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="B">
                                                                                                    <shadow type="math_number" id="_ccXo2ub#UbQOhNrwu8z">
                                                                                                      <field name="NUM">1</field>
                                                                                                    </shadow>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                              <value name="LOW">
                                                                                                <shadow type="math_number" id="An,$|*21,+a;H#v:a{o{">
                                                                                                  <field name="NUM">5</field>
                                                                                                </shadow>
                                                                                              </value>
                                                                                              <value name="HIGH">
                                                                                                <shadow type="math_number" id="MHPSbTzjm1k(Y_yhY[46">
                                                                                                  <field name="NUM">128</field>
                                                                                                </shadow>
                                                                                              </value>
                                                                                            </block>
                                                                                          </value>
                                                                                          <next>
                                                                                            <block type="debug" id="Q59dL8p+~N|m.,x_U=v|">
                                                                                              <field name="Severity">log</field>
                                                                                              <value name="TEXT">
                                                                                                <shadow type="text" id="Q;?%-j#g4!qHs@NKzCoW">
                                                                                                  <field name="TEXT">test</field>
                                                                                                </shadow>
                                                                                                <block type="text_join" id="yg].iIkCxt6`-V.|;(_:">
                                                                                                  <mutation items="2"></mutation>
                                                                                                  <value name="ADD0">
                                                                                                    <block type="text" id="VF^GMw;1t|oXDX@/z4`4">
                                                                                                      <field name="TEXT">Helligkeit=</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="ADD1">
                                                                                                    <block type="variables_get" id="lW_R%0%#Zx6Do)9N_k6K">
                                                                                                      <field name="VAR" id="l7l#a#k^~Pjx46`82:p." variabletype="">h</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                              <next>
                                                                                                <block type="controls_if" id="D5#+Bk6fh=#6swui237U">
                                                                                                  <value name="IF0">
                                                                                                    <block type="logic_compare" id="xt8pidqWubt4%i/-J6:W">
                                                                                                      <field name="OP">EQ</field>
                                                                                                      <value name="A">
                                                                                                        <block type="variables_get" id="dNACM?R/~x#+Kh8?.m.E">
                                                                                                          <field name="VAR" id="rEZM[;nV=?aT}l;AJd#6" variabletype="">r</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <value name="B">
                                                                                                        <block type="math_number" id="AfbH(ZQ2u:2LJ%3kz7r/">
                                                                                                          <field name="NUM">0</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <statement name="DO0">
                                                                                                    <block type="timeouts_clearinterval" id="U]hZ5z%jb-B/uD.V%O~Y">
                                                                                                      <field name="NAME">Dunkler</field>
                                                                                                    </block>
                                                                                                  </statement>
                                                                                                </block>
                                                                                              </next>
                                                                                            </block>
                                                                                          </next>
                                                                                        </block>
                                                                                      </next>
                                                                                    </block>
                                                                                  </next>
                                                                                </block>
                                                                              </next>
                                                                            </block>
                                                                          </next>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </statement>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </statement>
            </block>
          </xml>
          
          

          Falls noch wer Vorschläge zur Verbesserung des Farbverlaufs hat, her damit.

          Ralf

          Issi 1 Reply Last reply Reply Quote 0
          • Issi
            Issi Developer @Radi last edited by Issi

            @Radi bitte korrigiere dein Script Export da fehlt ein teil ohne den kann man es nicht importieren
            Screenshot_31.png
            und für das nächste mal eine kleine Info wen du ein blockly exportierst brauchst du den Code nicht per Hand markieren du kannst auch die Schaltfläche nutzen dann hast du den ganzen Code kopiert und dann kann dieser Fehler nicht mehr passieren Screenshot_33.png

            1 Reply Last reply Reply Quote 0
            • R
              Radi last edited by

              @Issi habe den Export auf die von dir erläuterte Art und Weise hier herein kopiert. Wer weis, was ich da noch verfummelt habe😰 . Ich machs heute Nachmittag nochmal.

              R 1 Reply Last reply Reply Quote 0
              • R
                Radi @Radi last edited by

                So, habe es im originalen Beitrag von mir aktualisiert. Das Problem lag nicht beim kopieren, sondern der Einfügefunktion. Die ist alles Andere als selbsterklärend. Noch einen Zeilenumbruch eingefügt und dann wars ok. War mir beim Lesen meines Beitrages aber nicht aufgefallen.

                1 Reply Last reply Reply Quote 0
                • Dutchman
                  Dutchman Developer Most Active Administrators @Chaot last edited by

                  @Chaot sagte in [WLED] LED streifen (WS2812B,WS2811,SK6812,APA102) bedienen:

                  ochmal Datenpunkt geschrieben und
                  wled.0 2020-03-03 21:34:47.355 error (26393) Read Data error : TypeError: Cannot read property 'info' of undefined

                  Der Fehler wird bei allen Stripes gesetzt.

                  ich kan diesen error mit WLED 0.9.1 nicht reproduzieren.

                  Ich habe wohl im chat mit Daniel feststellen koennen das es eine WLED version gab (Firmware!) die diesen Fehler verursacht, sollte das bei euch der fall sein bitte update auf die originale 0.9.1 !

                  https://github.com/Aircoookie/WLED/releases
                  https://github.com/Aircoookie/WLED/releases/download/v0.9.1/WLED_0.9.1_ESP8266.bin

                  Dan muss bei euch der "Security & Updates" tab so aussehen :

                  Schermafbeelding 2020-03-17 om 15.30.48.png

                  Steht dort nicht WLED version 0.9.1 UND "Server message: WLED 0.9.1 (build 2002222) OK"

                  Dan habt ihr die FALSCHE firmware !

                  Chaot 2 Replies Last reply Reply Quote 0
                  • Chaot
                    Chaot @Dutchman last edited by

                    @Dutchman Bei mir taucht der Fehler beharrlich auf.
                    Ganz speziell wenn ich den ESP01 nutze.
                    Ich denke mal das ich versuchen werde einen Wemos zu nehmen und das Ganze nochmals zu testen. Mit 2 identischen ESP01 und der letzten Firmware. Auch mit beiden Versionen (full und OTA).
                    Da ich in den nächsten Tagen Zeit habe werde ich mir das jetzt mal genauer anschauen ob ich das an irgendwas festmachen kann.

                    1 Reply Last reply Reply Quote 0
                    • joergeli
                      joergeli @Dutchman last edited by

                      @Dutchman
                      Hi,
                      ist es wirklich normal, daß der WLED-Adapter sich im Lauf der Zeit überproportional viel RAM greift?
                      OK, bei anderen Adaptern ändert sich auch mal geringfügig was, aber WLED "gönnt sich" innerhalb von 4 Tagen ca. 200 MB RAM.
                      Ich starte den WLED-Adapter dann neu und dann sind es so ca. 45 MB, was dann langsam wieder ansteigt.
                      Ansonsten funktioniert der Adapter bei mir einwandrei.

                      Chaot S 2 Replies Last reply Reply Quote 0
                      • Chaot
                        Chaot @joergeli last edited by

                        @joergeli Wow.Jetzt wo du es sagst. 286 MB

                        1 Reply Last reply Reply Quote 0
                        • S
                          stefande @joergeli last edited by

                          @joergeli

                          Das ist mir auch schon aufgefallen.
                          Der WLED-Adapter belegt bei mir den meisten Speicher.

                          Dutchman 1 Reply Last reply Reply Quote 0
                          • Chaot
                            Chaot @Dutchman last edited by

                            @Dutchman
                            Ich habe jetzt alle auf 100% aktueller Firmware und den ESP01 komplett rausgenommen.
                            Den Adapter gestoppt.
                            Alle Datenpunkte gelöscht
                            Den Adapter gestartet
                            und das:

                            wled.0	2020-03-17 21:52:44.692	error	(31808) Read Data error : TypeError: Cannot read property 'info' of null
                            wled.0	2020-03-17 21:52:44.502	warn	(31808) State attribute definition missing for + Connection
                            host.ioBroker	2020-03-17 21:52:43.022	info	instance system.adapter.wled.0 started with pid 31808
                            
                            Dutchman 1 Reply Last reply Reply Quote 0
                            • Dutchman
                              Dutchman Developer Most Active Administrators @Chaot last edited by

                              @Chaot sagte in [WLED] LED streifen (WS2812B,WS2811,SK6812,APA102) bedienen:

                              @Dutchman
                              Ich habe jetzt alle auf 100% aktueller Firmware und den ESP01 komplett rausgenommen.
                              Den Adapter gestoppt.
                              Alle Datenpunkte gelöscht
                              Den Adapter gestartet
                              und das:

                              danke, ich kan den Fehler eingrenzen sieht so als wen die api nicht immer sauber reagiert.
                              Ich baue dazu noch extra error handling ein...

                              Dutchman 1 Reply Last reply Reply Quote 1
                              • Dutchman
                                Dutchman Developer Most Active Administrators last edited by Dutchman

                                version 0.1.6 is freigegeben 🙂
                                jetzt könnt ihr die färben auch per HEX steuern praktisch für color picken usw.

                                Schermafbeelding 2020-03-17 om 22.45.17.png

                                viel spass damit !

                                1 Reply Last reply Reply Quote 1
                                • Dutchman
                                  Dutchman Developer Most Active Administrators @Dutchman last edited by Dutchman

                                  @Dutchman sagte in [WLED] LED streifen (WS2812B,WS2811,SK6812,APA102) bedienen:

                                  @Chaot sagte in [WLED] LED streifen (WS2812B,WS2811,SK6812,APA102) bedienen:

                                  @Dutchman
                                  Ich habe jetzt alle auf 100% aktueller Firmware und den ESP01 komplett rausgenommen.
                                  Den Adapter gestoppt.
                                  Alle Datenpunkte gelöscht
                                  Den Adapter gestartet
                                  und das:

                                  danke, ich kan den Fehler eingrenzen sieht so als wen die api nicht immer sauber reagiert.
                                  Ich baue dazu noch extra error handling ein...

                                  Ehm..... besser gesagt ich habe ihn gefunden und behoben 🙂

                                  Schermafbeelding 2020-03-17 om 23.04.42.png

                                  Chaot 1 Reply Last reply Reply Quote 1
                                  • Chaot
                                    Chaot @Dutchman last edited by

                                    @Dutchman
                                    Ok, bei manuellen schreiben auf den ESP01 bekomme ich jetzt keinen Fehler sondern nur eine warnung:

                                    wled.0	2020-03-17 23:10:33.383	warn	(376) API call error, will retry in shedule interval !
                                    wled.0	2020-03-17 23:10:25.932	warn	(376) API call error, will retry in shedule interval !
                                    wled.0	2020-03-17 23:10:14.420	warn	(376) API call error, will retry in shedule interval !
                                    wled.0	2020-03-17 23:10:08.462	warn	(376) API call error, will retry in shedule interval !
                                    wled.0	2020-03-17 23:07:31.329	warn	(376) API call error, will retry in shedule interval !
                                    
                                    Dutchman 1 Reply Last reply Reply Quote 0
                                    • Dutchman
                                      Dutchman Developer Most Active Administrators @Chaot last edited by Dutchman

                                      @Chaot sagte in [WLED] LED streifen (WS2812B,WS2811,SK6812,APA102) bedienen:

                                      Ok, bei manuellen schreiben auf den ESP01 bekomme ich jetzt keinen Fehler sondern nur eine warnung:

                                      das ist correct, ich vermute das der esp nicht schnell genug reagiert und darum die daten sind.
                                      Daher die Fehlermeldung die werte werte dan im Intervall erneut abgefragt.

                                      kan die Fehlermeldung auch komplett weck lassen aber dan sieht man nicht was passiert finde ich eigentlich uncool oder ?

                                      Chaot 1 Reply Last reply Reply Quote 0
                                      • Chaot
                                        Chaot @Dutchman last edited by

                                        @Dutchman Ne. Passt schon so. Ich kann ja wenn alles norm läuft einfach den Log Level höher setzen und gut.

                                        Dutchman 1 Reply Last reply Reply Quote 0
                                        • Dutchman
                                          Dutchman Developer Most Active Administrators @Chaot last edited by

                                          @Chaot sagte in [WLED] LED streifen (WS2812B,WS2811,SK6812,APA102) bedienen:

                                          @Dutchman Ne. Passt schon so. Ich kann ja wenn alles norm läuft einfach den Log Level höher setzen und gut.

                                          nee man sollte manchmal einfach ins bett gehen ....

                                          Schermafbeelding 2020-03-18 om 09.16.25.png

                                          Chaot 1 Reply Last reply Reply Quote 1
                                          • Chaot
                                            Chaot @Dutchman last edited by

                                            @Dutchman Ok, Fehlermeldung weg, Warnmeldung weg. Manuelle Eingabe funktioniert.

                                            Danke - Top Job.

                                            P.S. Der Speicherbedarf scheint aktuell auch nicht mehr anzusteigen.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            1.0k
                                            Online

                                            31.7k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            adapater adapter neu hier test testen tester wled
                                            73
                                            655
                                            131919
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo