NEWS
[WLED] LED streifen (WS2812B,WS2811,SK6812,APA102) bedienen
-
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
-
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
@Radi bitte korrigiere dein Script Export da fehlt ein teil ohne den kann man es nicht importieren

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
-
@Issi habe den Export auf die von dir erläuterte Art und Weise hier herein kopiert. Wer weis, was ich da noch verfummelt habe:cold_sweat: . Ich machs heute Nachmittag nochmal.
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.
-
@Dutchman
Ich bin jetzt mit dem neuen Streifen auf 0.9.0 runter.wled.0 2020-03-03 21:29:30.457 error (26393) Read Data error : TypeError: Cannot read property 'info' of undefined wled.0 2020-03-03 21:29:22.941 error (26393) Read Data error : TypeError: Cannot read property 'info' of undefined wled.0 2020-03-03 21:29:15.078 error (26393) Read Data error : TypeError: Cannot read property 'info' of undefined wled.0 2020-03-03 21:28:59.618 error (26393) Read Data error : TypeError: Cannot read property 'info' of undefined wled.0 2020-03-03 21:28:13.806 error (26393) Read Data error : TypeError: Cannot read property 'info' of undefined wled.0 2020-03-03 21:26:36.651 error (26393) Read Data error : TypeError: Cannot read property 'info' of null wled.0 2020-03-03 21:26:36.643 error (26393) Read Data error : TypeError: Cannot read property 'info' of null wled.0 2020-03-03 21:26:36.426 warn (26393) State attribute definition missing for + Connection host.ioBroker 2020-03-03 21:26:35.035 info instance system.adapter.wled.0 started with pid 2639321:26 Adapterstart
21:28 auf WLED Instanz Schraubenschlüssel (ohne Veränderungen)
21:29 In Objekte den Datenpunkt "wled.0.cc50e304f753.seg.0.ix" geschrieben (mehrfach und jedes mal Fehler im LOGJetzt lange Pause ohne Fehler im Log.
Nochmal Datenpunkt geschrieben undwled.0 2020-03-03 21:34:47.355 error (26393) Read Data error : TypeError: Cannot read property 'info' of undefinedDer Fehler wird bei allen Stripes gesetzt. Jedes mal wenn ich einen Datenpunkt manuell schreibe.
Update:
Ich kann jetzt sicher nachvollziehen das dieFehlermeldung nur beim Schreiben eines Datenpunkts kommt.@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 undefinedDer 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.binDan muss bei euch der "Security & Updates" tab so aussehen :

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 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 undefinedDer 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.binDan muss bei euch der "Security & Updates" tab so aussehen :

Steht dort nicht WLED version 0.9.1 UND "Server message: WLED 0.9.1 (build 2002222) OK"
Dan habt ihr die FALSCHE firmware !
@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. -
@joergeli sagte in [WLED] LED streifen (WS2812B,WS2811,SK6812,APA102) bedienen:
Solch eine hohe RAM-Nutzung konnte ich bei keinem anderen ioBroker-Adapter feststellen.
Liegt da evtl. ein Memory-Leak, oder ähnliches vor?soweit ich beurteilen kan sind das nur Reservierungen also alle normal :)
@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. -
@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. -
@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 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 undefinedDer 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.binDan muss bei euch der "Security & Updates" tab so aussehen :

Steht dort nicht WLED version 0.9.1 UND "Server message: WLED 0.9.1 (build 2002222) OK"
Dan habt ihr die FALSCHE firmware !
@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
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@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... -
version 0.1.6 is freigegeben :)
jetzt könnt ihr die färben auch per HEX steuern praktisch für color picken usw.
viel spass damit !
-
@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 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 :)

-
@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 :)

@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
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 !@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 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 ?
-
@Dutchman Ne. Passt schon so. Ich kann ja wenn alles norm läuft einfach den Log Level höher setzen und gut.
@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 ....

-
@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 ....

-
@Dutchman Ok, Fehlermeldung weg, Warnmeldung weg. Manuelle Eingabe funktioniert.
Danke - Top Job.
P.S. Der Speicherbedarf scheint aktuell auch nicht mehr anzusteigen.
@Chaot sagte in [WLED] LED streifen (WS2812B,WS2811,SK6812,APA102) bedienen:
P.S. Der Speicherbedarf scheint aktuell auch nicht mehr anzusteigen.
doch aber auch das problem habe ich dank @Jey-Cee lokalisieren können und werde heute ne version 0.1.9 nachreichen :)
-
Das ist mir auch schon aufgefallen.
Der WLED-Adapter belegt bei mir den meisten Speicher.@joergeli sagte in [WLED] LED streifen (WS2812B,WS2811,SK6812,APA102) bedienen:
@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 sagte in [WLED] LED streifen (WS2812B,WS2811,SK6812,APA102) bedienen:
@joergeli Wow.Jetzt wo du es sagst. 286 MB
@stefande sagte in [WLED] LED streifen (WS2812B,WS2811,SK6812,APA102) bedienen:
Das ist mir auch schon aufgefallen.
Der WLED-Adapter belegt bei mir den meisten Speicher.Na dan hoffe ich mal das sich dieses problem mit 0.1.9 verabschiedet hat ! :dog2:
