NEWS
Skript mit WLED und Online Status
-
Hallo Leute,
ich hoffe Ihr könnt mir weiterhelfen, ich bin am verzweifeln.
Ich habe folgendes Problem mit meinem Skript.Ich wollte mehrere WLED Controller, entweder per "set preset" oder direkt mit Farbeinstellung und Dimmung einschalten. Das Problem ist , ich schalte die Controller erst mit Strom und dann gehen sie online. Ich habe es schon über mehrere Trigger probiert, leider wird das skript nicht komplett ausgeführt.
Gibt es eine maximal Anzahl an ausführbaren Funktion in einem Skript ?
Vielleicht kann mir jemand, das Skript etwas umbauen, vielen Dank für eure Hilfe.</xml>wled_skript.txt
-
Hallo Leute,
ich hoffe Ihr könnt mir weiterhelfen, ich bin am verzweifeln.
Ich habe folgendes Problem mit meinem Skript.Ich wollte mehrere WLED Controller, entweder per "set preset" oder direkt mit Farbeinstellung und Dimmung einschalten. Das Problem ist , ich schalte die Controller erst mit Strom und dann gehen sie online. Ich habe es schon über mehrere Trigger probiert, leider wird das skript nicht komplett ausgeführt.
Gibt es eine maximal Anzahl an ausführbaren Funktion in einem Skript ?
Vielleicht kann mir jemand, das Skript etwas umbauen, vielen Dank für eure Hilfe.</xml>wled_skript.txt
@maik5066 sagte in Skript mit WLED und Online Status:
Das Problem ist , ich schalte die Controller erst mit Strom und dann gehen sie online
und dann dauert es.....bis sie anspechbar sind!
Also keine gute Idee -
@maik5066 sagte in Skript mit WLED und Online Status:
Das Problem ist , ich schalte die Controller erst mit Strom und dann gehen sie online
und dann dauert es.....bis sie anspechbar sind!
Also keine gute Idee -
@maik5066 und was hast du jetzt speziell für Probleme?
Was genau passiert (nicht)?Wie sieht das Skript aus?
https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge/1
-
Hallo Leute,
ich hoffe Ihr könnt mir weiterhelfen, ich bin am verzweifeln.
Ich habe folgendes Problem mit meinem Skript.Ich wollte mehrere WLED Controller, entweder per "set preset" oder direkt mit Farbeinstellung und Dimmung einschalten. Das Problem ist , ich schalte die Controller erst mit Strom und dann gehen sie online. Ich habe es schon über mehrere Trigger probiert, leider wird das skript nicht komplett ausgeführt.
Gibt es eine maximal Anzahl an ausführbaren Funktion in einem Skript ?
Vielleicht kann mir jemand, das Skript etwas umbauen, vielen Dank für eure Hilfe.</xml>wled_skript.txt
@maik5066 sagte in Skript mit WLED und Online Status:
schalte die Controller erst mit Strom und dann gehen sie online
weiß zwar nicht welchen Controller du verwendest, sinniger wäre es aber, mittels Relais, die Stripes an/aus zu schalten und dein Controller selbst bleibt on
-
@maik5066 und was hast du jetzt speziell für Probleme?
Was genau passiert (nicht)?Wie sieht das Skript aus?
https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge/1
@homoran
Entschuldige ich bin erst neu, er schreibt die Datenpunkte mit Farbe und dimmung nicht. Ich wollte den Online Status mit falls: prüfe ob online und dann mache : steure Farbe und Dimmung und diese werte schreibt er nicht mehr in einem Skript wled_skript.txtIch habe dir das Skript als TXT angehangen.
-
@maik5066 sagte in Skript mit WLED und Online Status:
Ich habe dir das Skript als TXT angehangen.
das xml nutzt mir am Handy nichts.
deswegen steht im verlinkten Thread
Bei Blocklys bitte immer einen Screenshot des Blocklys, damit man auch ohne Zugriff auf eine ioBroker Installation helfen kann. Den XML Export zusätzlich in code-tags und ggf. Spoiler posten.
-
@maik5066 sagte in Skript mit WLED und Online Status:
Ich habe dir das Skript als TXT angehangen.
das xml nutzt mir am Handy nichts.
deswegen steht im verlinkten Thread
Bei Blocklys bitte immer einen Screenshot des Blocklys, damit man auch ohne Zugriff auf eine ioBroker Installation helfen kann. Den XML Export zusätzlich in code-tags und ggf. Spoiler posten.

<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable type="interval" id="Intervall">Intervall</variable> </variables> <block type="on" id="`@mfc^ejQ8QyU{c0S(D$" x="-507" y="-400"> <field name="OID">0_userdata.0.Datenpunkte.Licht.Erdgeschoss_Ambiente.Erdgeschoss_Ambiente</field> <field name="CONDITION">any</field> <field name="ACK_CONDITION"></field> <statement name="STATEMENT"> <block type="controls_if" id="?cCW{!d#-r@hsdJ,pG7Y"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="$35V6)M`{NM=?HnZImC!"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="Wm0gvk]I|A5b2p?][%#P"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Datenpunkte.Licht.Erdgeschoss_Ambiente.Erdgeschoss_Ambiente</field> </block> </value> <value name="B"> <block type="logic_boolean" id="}wj3)OcuSWu7^bw.w*%I"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="$SIc7unZ4arb;@`{hGy)"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Erdgeschoss.Esszimmer.Esszimmer_LED.ON</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="5{Fc8oKr~Aqng#tT.?x7"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id="At{$N?TW1)4nS9.R;*aN"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Erdgeschoss.Kueche.Kueche_LED.ON</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="84=[T3P}6FG(9,FuN2,u"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id="Z5H6{IzIKyB%QqXDOgB="> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Erdgeschoss.Kueche.Licht_herd.ON</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="o`SG8diE+/$h#7~Nq.6y"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id="Hy4FeT,v$k[Tm]*NhGkE"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Erdgeschoss.Wohnzimmer.Wohnzimmer_LED.ON_SET</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="S4wSkQm`(4-okM;h{034"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id="XWIMS7^!3e-l!hM6cHh("> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Erdgeschoss.Kueche.Licht_herd.ON</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="{xdgup=@F*=-eMfCfmIr"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id="vra|W$o~z^+]T-.UkRoC"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Erdgeschoss.Wohnzimmer.Wohnzimmer_Lampe.ON</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="=7AiE,Hf70uJ~u9bxjq="> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="update" id="cT|[4=[+^]@cK.n-P;sY"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Erdgeschoss.Wohnzimmer.Wohnzimmer_Lampe.DIMMER</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="Al2Mwu6X;8qogs1bTO/~"> <field name="NUM">50</field> </block> </value> <next> <block type="control" id="s7m`k-V]*+:*|DwXT}`g"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Erdgeschoss.Wohnzimmer.Wohnzimmer_Lampe.RGB</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="SoJkA:3Ki@7q~Ko3Z+*D"> <field name="TEXT">#7883ff</field> </block> </value> <next> <block type="control" id="=lTu?8{DU!9F0beM~1#i"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">wled.0.4cebd610703f.ps</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="nG:E{CY6)%Ty]pZQ3a.k"> <field name="NUM">4</field> </block> </value> <next> <block type="timeouts_setinterval" id="o:t^ngdZC`t:/1)CSjGF"> <field name="NAME">Intervall</field> <field name="INTERVAL">8</field> <field name="UNIT">sec</field> <statement name="STATEMENT"> <block type="controls_if" id="Jn@q3)XzR0LOQpm70+E$"> <value name="IF0"> <block type="logic_compare" id="@tVQ*.*$X:Wx(`tr2K;1"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="imF8_f%I/TJJLL%,wTE@"> <field name="ATTR">val</field> <field name="OID">wled.0.0cb815b8b20c._info._online</field> </block> </value> <value name="B"> <block type="logic_boolean" id="Crypq(B4/,=4Mg77vmzA"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="4S3/h07BCaIo)[U=)ywr"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">wled.0.0cb815b8b20c.seg.0.col.0_HEX</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="g@c-oHB+c,WBAb0#jR(*"> <field name="TEXT">#7883ff</field> </block> </value> <next> <block type="control" id="8%?|2:[_u-D0!m%fV9?F"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">wled.0.0cb815b8b20c.bri</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="5LAQ?7Qj[J])u,lT1vkM"> <field name="NUM">5</field> </block> </value> </block> </next> </block> </statement> <next> <block type="controls_if" id="L-8Lr90%Z6OqSW9iMD(X"> <value name="IF0"> <block type="logic_compare" id="tN-V;j|~-q$o:sI9!1uK"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="#*SWesgg]ns-_~rT):Pt"> <field name="ATTR">val</field> <field name="OID">wled.0.bcff4d3da988._info._online</field> </block> </value> <value name="B"> <block type="logic_boolean" id="N*IdiuiS}hjLNF;:XDS}"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="ui9*kHGT.L^T;.JAe+@_"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">wled.0.bcff4d3debe0.seg.0.on</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="E;-XPa2P1U)!_Or6rRy]"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="control" id="=;Bu{Utut2YpYT[4[NXi"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">wled.0.bcff4d3e23a9.seg.0.on</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="iqUjeqzVch:ZwVi8YUxZ"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="control" id="$ZQjjd$,dZ6.|)_0$UyW"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">wled.0.bcff4d3da988.seg.0.col.0_HEX</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="KBxK4H-GnhCvKE^.;}$$"> <field name="TEXT">#7883ff</field> </block> </value> <next> <block type="control" id=".?2B`BI8?*vU=WwzS~f+"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">wled.0.bcff4d3da988.bri</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="O#t#t1;CZW95e:I,n%nX"> <field name="NUM">10</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </statement> <next> <block type="controls_if" id="?:x_mfRx|7$~TUc8#vX-"> <value name="IF0"> <block type="logic_compare" id="Jn8DIjQ:nlep?+/cm?Rb"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="~J6,2]v86_$9r#3OpYXk"> <field name="ATTR">val</field> <field name="OID">wled.0.4cebd60c2e6f._info._online</field> </block> </value> <value name="B"> <block type="logic_boolean" id="]pz_c)2Q0=RJi)OQJ%Cz"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id=")$=5_(CM$j6sW.o+L;xh"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">wled.0.4cebd60c2e6f.seg.0.col.0_HEX</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="6|h8v+-x2D#^g`I#wn:h"> <field name="TEXT">#7883ff</field> </block> </value> <next> <block type="control" id="O0F7OVis1W%W1PxswbLT"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">wled.0.4cebd60c2e6f.bri</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="i;si@bS5_DQ*iewPRx|:"> <field name="NUM">20</field> </block> </value> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> <statement name="ELSE"> <block type="control" id=",NDdTx4,Pg:cVK*Djk4q"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Erdgeschoss.Kueche.Kueche_LED.ON</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="pf#=EQkMS{i@E`.xM-S:"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="control" id="^XVW4ui#5Bml~oO0Z*x3"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Erdgeschoss.Kueche.Licht_herd.ON</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="lePA[LhUG0}+3Zj9!L@I"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="control" id=".cjNj|yPqcZx=0XyhMWu"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Erdgeschoss.Wohnzimmer.Wohnzimmer_Lampe.ON</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="QL4vK.)#o4LQHV2Y)_Po"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="control" id="1jUQMBKe#E)p8FGDFOw%"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Erdgeschoss.Wohnzimmer.Wohnzimmer_LED.ON_SET</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="50t]!o1sBlO/PROv;=9/"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="control" id="8/J4`hQ~:2g=Db.S12R!"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Erdgeschoss.Esszimmer.Esszimmer_LED.ON</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id=":,T{bu]Fq)T5r^H![0]e"> <field name="BOOL">FALSE</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </statement> </block> </xml> -

<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable type="interval" id="Intervall">Intervall</variable> </variables> <block type="on" id="`@mfc^ejQ8QyU{c0S(D$" x="-507" y="-400"> <field name="OID">0_userdata.0.Datenpunkte.Licht.Erdgeschoss_Ambiente.Erdgeschoss_Ambiente</field> <field name="CONDITION">any</field> <field name="ACK_CONDITION"></field> <statement name="STATEMENT"> <block type="controls_if" id="?cCW{!d#-r@hsdJ,pG7Y"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="$35V6)M`{NM=?HnZImC!"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="Wm0gvk]I|A5b2p?][%#P"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Datenpunkte.Licht.Erdgeschoss_Ambiente.Erdgeschoss_Ambiente</field> </block> </value> <value name="B"> <block type="logic_boolean" id="}wj3)OcuSWu7^bw.w*%I"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="$SIc7unZ4arb;@`{hGy)"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Erdgeschoss.Esszimmer.Esszimmer_LED.ON</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="5{Fc8oKr~Aqng#tT.?x7"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id="At{$N?TW1)4nS9.R;*aN"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Erdgeschoss.Kueche.Kueche_LED.ON</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="84=[T3P}6FG(9,FuN2,u"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id="Z5H6{IzIKyB%QqXDOgB="> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Erdgeschoss.Kueche.Licht_herd.ON</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="o`SG8diE+/$h#7~Nq.6y"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id="Hy4FeT,v$k[Tm]*NhGkE"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Erdgeschoss.Wohnzimmer.Wohnzimmer_LED.ON_SET</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="S4wSkQm`(4-okM;h{034"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id="XWIMS7^!3e-l!hM6cHh("> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Erdgeschoss.Kueche.Licht_herd.ON</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="{xdgup=@F*=-eMfCfmIr"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id="vra|W$o~z^+]T-.UkRoC"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Erdgeschoss.Wohnzimmer.Wohnzimmer_Lampe.ON</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="=7AiE,Hf70uJ~u9bxjq="> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="update" id="cT|[4=[+^]@cK.n-P;sY"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Erdgeschoss.Wohnzimmer.Wohnzimmer_Lampe.DIMMER</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="Al2Mwu6X;8qogs1bTO/~"> <field name="NUM">50</field> </block> </value> <next> <block type="control" id="s7m`k-V]*+:*|DwXT}`g"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Erdgeschoss.Wohnzimmer.Wohnzimmer_Lampe.RGB</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="SoJkA:3Ki@7q~Ko3Z+*D"> <field name="TEXT">#7883ff</field> </block> </value> <next> <block type="control" id="=lTu?8{DU!9F0beM~1#i"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">wled.0.4cebd610703f.ps</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="nG:E{CY6)%Ty]pZQ3a.k"> <field name="NUM">4</field> </block> </value> <next> <block type="timeouts_setinterval" id="o:t^ngdZC`t:/1)CSjGF"> <field name="NAME">Intervall</field> <field name="INTERVAL">8</field> <field name="UNIT">sec</field> <statement name="STATEMENT"> <block type="controls_if" id="Jn@q3)XzR0LOQpm70+E$"> <value name="IF0"> <block type="logic_compare" id="@tVQ*.*$X:Wx(`tr2K;1"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="imF8_f%I/TJJLL%,wTE@"> <field name="ATTR">val</field> <field name="OID">wled.0.0cb815b8b20c._info._online</field> </block> </value> <value name="B"> <block type="logic_boolean" id="Crypq(B4/,=4Mg77vmzA"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="4S3/h07BCaIo)[U=)ywr"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">wled.0.0cb815b8b20c.seg.0.col.0_HEX</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="g@c-oHB+c,WBAb0#jR(*"> <field name="TEXT">#7883ff</field> </block> </value> <next> <block type="control" id="8%?|2:[_u-D0!m%fV9?F"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">wled.0.0cb815b8b20c.bri</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="5LAQ?7Qj[J])u,lT1vkM"> <field name="NUM">5</field> </block> </value> </block> </next> </block> </statement> <next> <block type="controls_if" id="L-8Lr90%Z6OqSW9iMD(X"> <value name="IF0"> <block type="logic_compare" id="tN-V;j|~-q$o:sI9!1uK"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="#*SWesgg]ns-_~rT):Pt"> <field name="ATTR">val</field> <field name="OID">wled.0.bcff4d3da988._info._online</field> </block> </value> <value name="B"> <block type="logic_boolean" id="N*IdiuiS}hjLNF;:XDS}"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="ui9*kHGT.L^T;.JAe+@_"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">wled.0.bcff4d3debe0.seg.0.on</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="E;-XPa2P1U)!_Or6rRy]"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="control" id="=;Bu{Utut2YpYT[4[NXi"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">wled.0.bcff4d3e23a9.seg.0.on</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="iqUjeqzVch:ZwVi8YUxZ"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="control" id="$ZQjjd$,dZ6.|)_0$UyW"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">wled.0.bcff4d3da988.seg.0.col.0_HEX</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="KBxK4H-GnhCvKE^.;}$$"> <field name="TEXT">#7883ff</field> </block> </value> <next> <block type="control" id=".?2B`BI8?*vU=WwzS~f+"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">wled.0.bcff4d3da988.bri</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="O#t#t1;CZW95e:I,n%nX"> <field name="NUM">10</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </statement> <next> <block type="controls_if" id="?:x_mfRx|7$~TUc8#vX-"> <value name="IF0"> <block type="logic_compare" id="Jn8DIjQ:nlep?+/cm?Rb"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="~J6,2]v86_$9r#3OpYXk"> <field name="ATTR">val</field> <field name="OID">wled.0.4cebd60c2e6f._info._online</field> </block> </value> <value name="B"> <block type="logic_boolean" id="]pz_c)2Q0=RJi)OQJ%Cz"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id=")$=5_(CM$j6sW.o+L;xh"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">wled.0.4cebd60c2e6f.seg.0.col.0_HEX</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="6|h8v+-x2D#^g`I#wn:h"> <field name="TEXT">#7883ff</field> </block> </value> <next> <block type="control" id="O0F7OVis1W%W1PxswbLT"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">wled.0.4cebd60c2e6f.bri</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="i;si@bS5_DQ*iewPRx|:"> <field name="NUM">20</field> </block> </value> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> <statement name="ELSE"> <block type="control" id=",NDdTx4,Pg:cVK*Djk4q"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Erdgeschoss.Kueche.Kueche_LED.ON</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="pf#=EQkMS{i@E`.xM-S:"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="control" id="^XVW4ui#5Bml~oO0Z*x3"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Erdgeschoss.Kueche.Licht_herd.ON</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="lePA[LhUG0}+3Zj9!L@I"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="control" id=".cjNj|yPqcZx=0XyhMWu"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Erdgeschoss.Wohnzimmer.Wohnzimmer_Lampe.ON</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="QL4vK.)#o4LQHV2Y)_Po"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="control" id="1jUQMBKe#E)p8FGDFOw%"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Erdgeschoss.Wohnzimmer.Wohnzimmer_LED.ON_SET</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="50t]!o1sBlO/PROv;=9/"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="control" id="8/J4`hQ~:2g=Db.S12R!"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Erdgeschoss.Esszimmer.Esszimmer_LED.ON</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id=":,T{bu]Fq)T5r^H![0]e"> <field name="BOOL">FALSE</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </statement> </block> </xml>@maik5066 Danke!
fehlen da Zeilen/Blöcke?
Ausschnitte helfen nicht wirklich um ein Skript nachzuvollziehen und einen Fehler zu finden. -
@maik5066 Danke!
fehlen da Zeilen/Blöcke?
Ausschnitte helfen nicht wirklich um ein Skript nachzuvollziehen und einen Fehler zu finden. -
Entschuldige der blöden Nachfrage aber wie kann ich das Skript als jpg exportieren und nicht als screenshot
@maik5066 Screenshot ist doch ok!
jpg nutzt mir am Handy auch nix.ggf paarmal auf (-) klicken zum verkleinern. Aber nicht zu oft ;-)
ich vermisse die Verzögerung/ Pause nach dem anschalten
-
@maik5066 Screenshot ist doch ok!
jpg nutzt mir am Handy auch nix.ggf paarmal auf (-) klicken zum verkleinern. Aber nicht zu oft ;-)
ich vermisse die Verzögerung/ Pause nach dem anschalten
-
@maik5066 Danke! das h7lft!
da ist keine Verzögerung, statt dessen ein Intervall.
außerden aktualisierst du beteits vorher den Dimmer statt ihn zu steuern.
auch die anderen Steuerbefehle können nicht wirken, da sie zeitgleich mit on gesendet wrden (vorausgesetzt on ist power on der controller -
@maik5066 Danke! das h7lft!
da ist keine Verzögerung, statt dessen ein Intervall.
außerden aktualisierst du beteits vorher den Dimmer statt ihn zu steuern.
auch die anderen Steuerbefehle können nicht wirken, da sie zeitgleich mit on gesendet wrden (vorausgesetzt on ist power on der controller -
@maik5066 sagte in Skript mit WLED und Online Status:
ich habe jetzte eine Pause davor geschalten
und was ist mit den Befehlen zum dimmen und RGB und preset?
die bekommt der Controller doch auch nicht mit -
@maik5066 sagte in Skript mit WLED und Online Status:
ich habe jetzte eine Pause davor geschalten
und was ist mit den Befehlen zum dimmen und RGB und preset?
die bekommt der Controller doch auch nicht mit -
es werden mehre Controller geschalten, die Dimmer und RGB vor der Prüfung der Online Status sind dauerhaft Online.

die 2 Steuerung ON/OFF sind für 2 Segmente die ich abschalte, diese werden nicht mit RGB und Dimmer geschalten
@maik5066 sagte in Skript mit WLED und Online Status:
die Dimmer und RGB vor der Prüfung der Online Status sind dauerhaft Online.
dann aber den Dimmer steuern, nicht aktualisieren!
wie läuft es denn jetzt?
-
@maik5066 sagte in Skript mit WLED und Online Status:
die Dimmer und RGB vor der Prüfung der Online Status sind dauerhaft Online.
dann aber den Dimmer steuern, nicht aktualisieren!
wie läuft es denn jetzt?
-
@homoran
Danke dir, das habe ich jetzt angepasst. Ich habe mir mehrere Signale eingefügt um zu prüfen wo das Skript hängt er kommt nur bis WLED1 dann hängt er
@maik5066 Du solltest Namen in den Objekten vergeben!
Solange die IDs alle gleich heißen kann man ichts nachvollziehen!was ist der Unterschied zum zweiten falls?
-
@maik5066 Du solltest Namen in den Objekten vergeben!
Solange die IDs alle gleich heißen kann man ichts nachvollziehen!was ist der Unterschied zum zweiten falls?
@homoran sagte in Skript mit WLED und Online Status:
Du solltest Namen in den Objekten vergeben!
wenn man es importiert sieht man es
aber ich weiß....handy

Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden

