Navigation

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

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

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

    This topic has been deleted. Only users with topic management privileges can see it.
    • JLeg
      JLeg @Homoran last edited by

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

      Und bei der Lösung mit einem "nackten" ESP (egal ob 32 oder 8266) - also ohne Levelshifter - darf die Datenleitung zwischen Stripe und ESP auch nicht länger als "sehr kurz" werden, was bei der Montage auch stören könnte

      Danke für die sehr wichtige Info

      der Cod.m hat übrigens schon einen richtigen Levelshifter eingebaut - kann man bei dem Preis aber ja auch erwarten 😉
      Leider hat er aber kein Relais oder MOSFET mit drin, d.h. der Strip schaltet nicht ab.
      Vielleicht auch nicht uninteressant zu wissen: Schaltet man einen Stripe mit z.B. 288 LEDs "dunkel" (also "aus" per Software), so laufen da immer noch 288 Controller-ICs, die alle ein paar mA Strom ziehen...

      1 Reply Last reply Reply Quote 0
      • V
        Vocaris last edited by

        Hallo WLED Gemeinde,

        ich würde gerne mal auf ein sinnvolles Script zu sprechen kommen. Ich bin im Blockly nicht so fit und noch am Anfang.
        Aktuell habe ich folgendes erstellt:

        12285ca2-a68a-4560-8cf9-58684809bc2d-image.png

        Die Umsetzung erfolgt mit 2 Fensterkontaken. Somit die Erklärung für die beiden True/False Punkte.
        Die Presets sind:
        1 = roten Laufband
        2 = Grünes Licht
        3 = weißes Laufband
        4 = weiße Spots
        5 = aus

        Soweit klappt das auch nur habe ich folgenden Anspruch:

        a) die Spots sollen nur in einem bestimmten Zeitfenster angehen. Nämlich wenn es dunkel ist. Hier könnte man ggf. mit Astrotime spielen
        b) aber sie sollen auch nur bis. z.B. 22 Uhr leuchten. Dann nicht mehr. OK hier könnte ich ggf. separat eine Trigger setzen auf 22 Uhr aus (5)...
        aber was ist, wenn nach 22 Uhr jemand die Garage bedient. Dann würden die Sport ja angehen, weil nach Astrotimer wäre es ja immer noch dunkel.
        c) Somit sollen die Sports nach 22 Uhr nur für für 5 min leuchten.

        Ok etwas schräg. Vielleicht wäre es besser in dem Script nur die Sports immer 5 min leuchten zu lassen und separat die Sport von a-b leuchten zu lassen.
        Da wäre nur die Frage. Was ist, wenn die Spots leuchten und dann die Garage fährt? Dann würde die Sport nach 5 Min ja ausgehen. Wie schafft man es, dass die "Allgemein Leuchtdauer" von z.B. 19-22 Uhr dadurch nicht beeinträchtigt wird? 🙂

        Freue mich aber auch auf Eure Script Beispiele zu dem Thema

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

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

          nur ich kaufe aus Prinzip nicht in Chinesien und am Amazonas.

          OT: Ich weiß nicht ob das einen nennenswerten Unterschied macht ob du das jetzt in China kaufst oder ELV, Conrad oder sonstwer und das dann hier teuer vertickt. Manche der "Bastelläden" arbeiten mit Aufschlägen die klar erkennbar nicht kalkuliert sind sondern dreist an die obere Schmerzgrenze gelegt wurden.
          Eine Node MCU wie oben verlinkt bei ELV für 8,09 € kostet über alibaba im 1000er Pack 0,56 €. Bei höherer Stückzahl geht das bis auf knapp 0,40 € runter. Und selbst bei Aliexpress als Endkunde zahlst du nur knapp 1,80 €.
          Wenn der Kram verzollt und normal kalkuliert ist kommt dann noch der Idealistenaufschlag von 500% drauf um das dann hier zu verticken.
          Ich beziehe aktuell meine WemosD1Mini für knapp 2 € über aliexpress. Hier habe ich sie schon für 25 € gesehen. Wie begründet sich der Preis?
          Arbeitsplätze schaffen?
          Steuern zahlen?
          Raffgierige Aktionäre und Vorstände bedienen?

          ---- Sorry - Das musste mal raus ----

          1 Reply Last reply Reply Quote 1
          • W
            warp735 @Vocaris last edited by warp735

            @vocaris

            ich habe es in etwa so wie du dir vorstellst. Habe aber sowieso schon eine "Ambientebeleuchtung" in jeder Fensterbank und das Aussenlicht hängt auch drauf. Das Ambientelicht läuft von Sonnenuntergang bis Mitternacht und von 05:00 Uhr bis Sonnenaufgang. Wenn Ambiente aktiv ist, bleiben die Spots der Garage an, sonst gehts nach m grünen Licht wieder aus.
            Zudem wechsle ich alle 30 Minuten mit verschiedenen Spots und einen kurzen Animation.

            Mit reinen Verzögerungen würde ich nicht arbeiten. Die bekommst nie mehr gestoppt. Wenn zum Beispiel während einer Verzögerung ein anderes Ereignis kommt, läuft dein Timer aber immer noch weiter.

            Anei mal meine beiden Blocklys:

            PS: meine Spots gehen so programmiert auch an, wenn die Ambientebeleuchtung angeht, aber keine Torbewegung stattfindet. Das OFF schalten zwischen den Presets habe ich, weil mir sonst der Übergang nicht gefallen hat. Ich schalte/dimme das aktuelle Preset aus/runter > wechsle > wieder hochdimmen. Dimmzeit in WLED habe ich 3000ms

            Würde lieber eine Playlist in WLED erstellen und aus ioBroker raus dann nur noch die Playlist aufrufen. Aber das habe ich noch nicht zufriedenstellend hinbekommen. Wenn in der Playlist ein &T=0 steht, ist Feierabend. Das ist natürlich doof 😞

            PPS: warum hast Du Garage auf und zu zweimal das gleiche Program? Ich seh bei dir zwischen Trigger 2 und 3 keinen Unterschied.

            Ich habe nur einen Kontakt für "Tor geschlossen" Mach also das rote Licht mit einer Verweilzeit. Aber auch um ein definiertes Ende zu erreichen.

            <xml xmlns="https://developers.google.com/blockly/xml">
              <variables>
                <variable type="timeout" id="timeout">timeout</variable>
                <variable type="timeout" id="timeout0">timeout0</variable>
                <variable type="timeout" id="timeout1">timeout1</variable>
                <variable type="timeout" id="timeout2">timeout2</variable>
                <variable type="timeout" id="timeout3">timeout3</variable>
                <variable type="timeout" id="timeout7">timeout7</variable>
                <variable type="timeout" id="timeout4">timeout4</variable>
                <variable type="timeout" id="timeout5">timeout5</variable>
                <variable type="timeout" id="timeout6">timeout6</variable>
              </variables>
              <block type="on_ext" id="?DLIE6V6fb/HHbW7w])@" x="-437" y="-537">
                <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                <field name="CONDITION">ne</field>
                <field name="ACK_CONDITION"></field>
                <value name="OID0">
                  <shadow type="field_oid" id="ROrT`$0p9~9_HGh9xnh0">
                    <field name="oid">default</field>
                  </shadow>
                  <block type="field_oid" id="lH5dTGYu#|NK,?%t[?;k">
                    <field name="oid">javascript.0.Garage.WLED.FB_open</field>
                  </block>
                </value>
                <value name="OID1">
                  <shadow type="field_oid" id="7wBBdb~NUi%dMskaw48?">
                    <field name="oid">default</field>
                  </shadow>
                  <block type="field_oid" id=":8q)VYBfN{+j-|?(]uyV">
                    <field name="oid">javascript.0.Garage.WLED.FB_close</field>
                  </block>
                </value>
                <statement name="STATEMENT">
                  <block type="timeouts_settimeout" id="]UzA:x?hp(*bA+:+@Bm/">
                    <field name="NAME">timeout</field>
                    <field name="DELAY">250</field>
                    <field name="UNIT">ms</field>
                    <statement name="STATEMENT">
                      <block type="controls_if" id="K^OBaERN3G6@1G{J*uwi">
                        <value name="IF0">
                          <block type="logic_operation" id="M3}_wf@0jd3UCeqP#v_b" inline="false">
                            <field name="OP">OR</field>
                            <value name="A">
                              <block type="logic_compare" id="A|;6$jcexJ{4V*$He}|E">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="get_value" id="iCa+rQC#^zffn-$33.ER">
                                    <field name="ATTR">val</field>
                                    <field name="OID">javascript.0.Garage.WLED.FB_open</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_boolean" id="^Cg6IJ:3EX#5ip_$bc=v">
                                    <field name="BOOL">TRUE</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_compare" id=":e=*fv(f.7+$yd{KVm{[">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="get_value" id="CWf)H,y`7Lj8loZhs!3W">
                                    <field name="ATTR">val</field>
                                    <field name="OID">javascript.0.Garage.WLED.FB_close</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_boolean" id="s@M/*2;a49_L66u=:UDL">
                                    <field name="BOOL">TRUE</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="timeouts_cleartimeout" id="mYQxj;,1Npo2uHQEV^nF">
                            <field name="NAME">timeout</field>
                            <next>
                              <block type="timeouts_cleartimeout" id="0Mo74(KfgmO?WbyAH8WF">
                                <field name="NAME">timeout0</field>
                                <next>
                                  <block type="timeouts_cleartimeout" id="7sBw[s]y@`O~3PK%usYg">
                                    <field name="NAME">timeout1</field>
                                    <next>
                                      <block type="timeouts_cleartimeout" id="QwAM]eD@EP9X/^0_?da!">
                                        <field name="NAME">timeout2</field>
                                        <next>
                                          <block type="timeouts_cleartimeout" id="nWcxE,?!?rQ8lNPy}t@+">
                                            <field name="NAME">timeout3</field>
                                            <next>
                                              <block type="timeouts_cleartimeout" id=":=v15.W!l6Q?a|E7Jh5]">
                                                <field name="NAME">timeout4</field>
                                                <next>
                                                  <block type="timeouts_cleartimeout" id="/QjSg[q)ubXi+43o(}g$">
                                                    <field name="NAME">timeout5</field>
                                                    <next>
                                                      <block type="timeouts_cleartimeout" id="v%!c,bnh7c]fRd|ad#~[">
                                                        <field name="NAME">timeout6</field>
                                                        <next>
                                                          <block type="timeouts_cleartimeout" id="IhS~rMCO`B40{yi~@Zxe">
                                                            <field name="NAME">timeout7</field>
                                                            <next>
                                                              <block type="control" id="WHR1`jTmp?Ei}d`_p;@a">
                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                <field name="OID">javascript.0.Garage.WLED.animation_door</field>
                                                                <field name="WITH_DELAY">FALSE</field>
                                                                <value name="VALUE">
                                                                  <block type="logic_boolean" id="cSV9#U+l).6_({*rs/Nz">
                                                                    <field name="BOOL">TRUE</field>
                                                                  </block>
                                                                </value>
                                                                <next>
                                                                  <block type="timeouts_settimeout" id="O,8jp]vWuQvY)SDri~LY">
                                                                    <field name="NAME">timeout0</field>
                                                                    <field name="DELAY">30</field>
                                                                    <field name="UNIT">sec</field>
                                                                    <statement name="STATEMENT">
                                                                      <block type="control" id="C%KK^ru=FCgNS`Tb5WV,">
                                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                        <field name="OID">javascript.0.Garage.WLED.animation_door</field>
                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                        <value name="VALUE">
                                                                          <block type="logic_boolean" id="H3YKpwWez:^^o6d]]B4s">
                                                                            <field name="BOOL">FALSE</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </statement>
                                                                    <next>
                                                                      <block type="control" id="qp[|G!JI570%dfX^TOT0">
                                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                        <field name="OID">wled.0.c45bbe55b3ac.ps</field>
                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                        <value name="VALUE">
                                                                          <block type="math_number" id="|,!2]xkvbs+JV/?qZ+sZ">
                                                                            <field name="NUM">3</field>
                                                                          </block>
                                                                        </value>
                                                                        <next>
                                                                          <block type="timeouts_settimeout" id="hE,B-{N^~=:5%)?,!rvG">
                                                                            <field name="NAME">timeout1</field>
                                                                            <field name="DELAY">13</field>
                                                                            <field name="UNIT">sec</field>
                                                                            <statement name="STATEMENT">
                                                                              <block type="control" id="c`wjUPVxeVCkI]XsF@YI">
                                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                <field name="OID">wled.0.c45bbe55b3ac.on</field>
                                                                                <field name="WITH_DELAY">FALSE</field>
                                                                                <value name="VALUE">
                                                                                  <block type="logic_boolean" id="{nR}3-LcktD[ckJXD$nr">
                                                                                    <field name="BOOL">FALSE</field>
                                                                                  </block>
                                                                                </value>
                                                                                <next>
                                                                                  <block type="timeouts_settimeout" id="xDL/)jk-b%vM]qB5noTZ">
                                                                                    <field name="NAME">timeout2</field>
                                                                                    <field name="DELAY">3250</field>
                                                                                    <field name="UNIT">ms</field>
                                                                                    <statement name="STATEMENT">
                                                                                      <block type="control" id="#2Y88c@UpW@[I~?!{4.3">
                                                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                        <field name="OID">wled.0.c45bbe55b3ac.ps</field>
                                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                                        <value name="VALUE">
                                                                                          <block type="math_number" id="!Zw_Os$mtP}fin)ePPH{">
                                                                                            <field name="NUM">2</field>
                                                                                          </block>
                                                                                        </value>
                                                                                        <next>
                                                                                          <block type="controls_if" id="Aq`r;7l=_{ppWDVHuT`K">
                                                                                            <mutation else="1"></mutation>
                                                                                            <value name="IF0">
                                                                                              <block type="logic_compare" id="hKQi)A34E?3@#[^$CaKV">
                                                                                                <field name="OP">EQ</field>
                                                                                                <value name="A">
                                                                                                  <block type="get_value" id="}zHXl@V?_9AI+yR.8ULX">
                                                                                                    <field name="ATTR">val</field>
                                                                                                    <field name="OID">scene.0.Haus.Ambientebeleuchtung</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="B">
                                                                                                  <block type="logic_boolean" id="67|;T4eg6%lJqx/LXtn(">
                                                                                                    <field name="BOOL">TRUE</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                              </block>
                                                                                            </value>
                                                                                            <statement name="DO0">
                                                                                              <block type="timeouts_settimeout" id="{P^QriV_PucyFRkj:^bc">
                                                                                                <field name="NAME">timeout3</field>
                                                                                                <field name="DELAY">5</field>
                                                                                                <field name="UNIT">sec</field>
                                                                                                <statement name="STATEMENT">
                                                                                                  <block type="control" id="uZ[4t5M}`hXESl!7:3X4">
                                                                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                    <field name="OID">wled.0.c45bbe55b3ac.ps</field>
                                                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                                                    <value name="VALUE">
                                                                                                      <block type="math_number" id="h*uiQ57K[^.V7py(hOaF">
                                                                                                        <field name="NUM">1</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                    <next>
                                                                                                      <block type="timeouts_settimeout" id="j9K3vMKzuUIm.f4m7hV#">
                                                                                                        <field name="NAME">timeout4</field>
                                                                                                        <field name="DELAY">5</field>
                                                                                                        <field name="UNIT">sec</field>
                                                                                                        <statement name="STATEMENT">
                                                                                                          <block type="control" id="tx*9BRBb`naW05ZGKf+x">
                                                                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                            <field name="OID">wled.0.c45bbe55b3ac.on</field>
                                                                                                            <field name="WITH_DELAY">FALSE</field>
                                                                                                            <value name="VALUE">
                                                                                                              <block type="logic_boolean" id=".yn1Z{$ugQf/vP5kee-;">
                                                                                                                <field name="BOOL">FALSE</field>
                                                                                                              </block>
                                                                                                            </value>
                                                                                                            <next>
                                                                                                              <block type="timeouts_settimeout" id="C/+3glJ[U)bu/-.Y=,@O">
                                                                                                                <field name="NAME">timeout5</field>
                                                                                                                <field name="DELAY">3500</field>
                                                                                                                <field name="UNIT">ms</field>
                                                                                                                <statement name="STATEMENT">
                                                                                                                  <block type="control" id="NG:l{SSl1h:`D^I:~:^C">
                                                                                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                                    <field name="OID">wled.0.c45bbe55b3ac.ps</field>
                                                                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                                                                    <value name="VALUE">
                                                                                                                      <block type="math_number" id="2$#yzs=Qb:N{GlbUOn$~">
                                                                                                                        <field name="NUM">4</field>
                                                                                                                      </block>
                                                                                                                    </value>
                                                                                                                    <next>
                                                                                                                      <block type="control" id="%Y|!]QXM+xF}d,;:1tP`">
                                                                                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                                                                        <field name="OID">wled.0.c45bbe55b3ac.seg.0.col.0</field>
                                                                                                                        <field name="WITH_DELAY">TRUE</field>
                                                                                                                        <field name="DELAY_MS">500</field>
                                                                                                                        <field name="UNIT">ms</field>
                                                                                                                        <field name="CLEAR_RUNNING">FALSE</field>
                                                                                                                        <value name="VALUE">
                                                                                                                          <block type="text" id="?X@T03vrJI[qoF?!P5,n">
                                                                                                                            <field name="TEXT">255,255,255,255</field>
                                                                                                                          </block>
                                                                                                                        </value>
                                                                                                                        <next>
                                                                                                                          <block type="timeouts_settimeout" id="rsWbu_E}?5^Rr{I.`4x`">
                                                                                                                            <field name="NAME">timeout6</field>
                                                                                                                            <field name="DELAY">180</field>
                                                                                                                            <field name="UNIT">sec</field>
                                                                                                                            <statement name="STATEMENT">
                                                                                                                              <block type="control" id="*vt-P=NW~%9u)MDc7F-[">
                                                                                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                                                <field name="OID">wled.0.c45bbe55b3ac.bri</field>
                                                                                                                                <field name="WITH_DELAY">FALSE</field>
                                                                                                                                <value name="VALUE">
                                                                                                                                  <block type="math_number" id="3oZ$z(aLLUBcXt@WD=S2">
                                                                                                                                    <field name="NUM">70</field>
                                                                                                                                  </block>
                                                                                                                                </value>
                                                                                                                              </block>
                                                                                                                            </statement>
                                                                                                                          </block>
                                                                                                                        </next>
                                                                                                                      </block>
                                                                                                                    </next>
                                                                                                                  </block>
                                                                                                                </statement>
                                                                                                              </block>
                                                                                                            </next>
                                                                                                          </block>
                                                                                                        </statement>
                                                                                                      </block>
                                                                                                    </next>
                                                                                                  </block>
                                                                                                </statement>
                                                                                              </block>
                                                                                            </statement>
                                                                                            <statement name="ELSE">
                                                                                              <block type="timeouts_settimeout" id="!G%O_*R_C7=6B424_B?2">
                                                                                                <field name="NAME">timeout7</field>
                                                                                                <field name="DELAY">8</field>
                                                                                                <field name="UNIT">sec</field>
                                                                                                <statement name="STATEMENT">
                                                                                                  <block type="control" id="+:u9q@ba`(Hsag,l+}H/">
                                                                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                    <field name="OID">wled.0.c45bbe55b3ac.on</field>
                                                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                                                    <value name="VALUE">
                                                                                                      <block type="logic_boolean" id="J_8nv$@,5OFm9@O)@==?">
                                                                                                        <field name="BOOL">FALSE</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                  </block>
                                                                                                </statement>
                                                                                              </block>
                                                                                            </statement>
                                                                                          </block>
                                                                                        </next>
                                                                                      </block>
                                                                                    </statement>
                                                                                  </block>
                                                                                </next>
                                                                              </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>
                            </next>
                          </block>
                        </statement>
                      </block>
                    </statement>
                  </block>
                </statement>
              </block>
            </xml>
            
            <xml xmlns="https://developers.google.com/blockly/xml">
              <variables>
                <variable type="timeout" id="timeout">timeout</variable>
                <variable type="interval" id="Intervall">Intervall</variable>
                <variable type="timeout" id="timeout1">timeout1</variable>
                <variable type="timeout" id="timeout2">timeout2</variable>
                <variable type="timeout" id="timeout3">timeout3</variable>
                <variable type="timeout" id="timeout4">timeout4</variable>
                <variable type="timeout" id="timeout5">timeout5</variable>
                <variable type="timeout" id="timeout6">timeout6</variable>
                <variable type="timeout" id="timeout7">timeout7</variable>
              </variables>
              <block type="on_ext" id="up1WMTD*xDVOVK6GWgl?" x="-462" y="388">
                <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                <field name="CONDITION">ne</field>
                <field name="ACK_CONDITION"></field>
                <value name="OID0">
                  <shadow type="field_oid" id="ULQ:#.Jhh2X5A@%i7r57">
                    <field name="oid">default</field>
                  </shadow>
                  <block type="field_oid" id="ESZg6#oOS?Ik]2*kXx4`">
                    <field name="oid">javascript.0.Garage.WLED.animation_door</field>
                  </block>
                </value>
                <value name="OID1">
                  <shadow type="field_oid" id="Qu{owDRr8A:/ixi^?KO|">
                    <field name="oid">default</field>
                  </shadow>
                  <block type="field_oid" id="$IsOkfZQ_shtX0g!iZ35">
                    <field name="oid">scene.0.Haus.Ambientebeleuchtung</field>
                  </block>
                </value>
                <statement name="STATEMENT">
                  <block type="timeouts_clearinterval" id="D*r6V+@ytZ)/msG[@m%3">
                    <field name="NAME">Intervall</field>
                    <next>
                      <block type="timeouts_cleartimeout" id=".H.Bx/NGL:BP$V$tz_KQ">
                        <field name="NAME">timeout</field>
                        <next>
                          <block type="timeouts_cleartimeout" id="7Q^3bGu`:eY9t1s=GZLR">
                            <field name="NAME">timeout1</field>
                            <next>
                              <block type="timeouts_cleartimeout" id="ZEtUEWUg/s:ldeRN)Wl[">
                                <field name="NAME">timeout2</field>
                                <next>
                                  <block type="timeouts_cleartimeout" id="y`yf)P$OVe$f6R#vMKOA">
                                    <field name="NAME">timeout3</field>
                                    <next>
                                      <block type="timeouts_cleartimeout" id="?0[sz%_r@#uRXzx:HU]A">
                                        <field name="NAME">timeout4</field>
                                        <next>
                                          <block type="timeouts_cleartimeout" id="_4rFF([W2SfqtibjYq8Z">
                                            <field name="NAME">timeout5</field>
                                            <next>
                                              <block type="timeouts_cleartimeout" id="jRHFiR3YT+F}!m`0Xo=l">
                                                <field name="NAME">timeout6</field>
                                                <next>
                                                  <block type="timeouts_cleartimeout" id="t+Lg3resGShOXEyEebF3">
                                                    <field name="NAME">timeout7</field>
                                                    <next>
                                                      <block type="timeouts_settimeout" id="U)7nqWld2gg?.BK}Q2=n">
                                                        <field name="NAME">timeout</field>
                                                        <field name="DELAY">5</field>
                                                        <field name="UNIT">min</field>
                                                        <statement name="STATEMENT">
                                                          <block type="controls_if" id="|iE$G*|8D38wF5Uc3}H+">
                                                            <mutation elseif="1"></mutation>
                                                            <value name="IF0">
                                                              <block type="logic_operation" id="4y[~jwck!-5sG17ncccC" inline="false">
                                                                <field name="OP">AND</field>
                                                                <value name="A">
                                                                  <block type="logic_compare" id="$,(VTJa3~;?tKJ2d$9*8">
                                                                    <field name="OP">EQ</field>
                                                                    <value name="A">
                                                                      <block type="get_value" id="fGnXpK9mq[5}lfA$pfQA">
                                                                        <field name="ATTR">val</field>
                                                                        <field name="OID">javascript.0.Garage.WLED.animation_door</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <block type="logic_boolean" id="a!/r4=|_s;@l2lS9:D{R">
                                                                        <field name="BOOL">FALSE</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="logic_compare" id="$q0`y%#4Cl5#=]#Z=eSo">
                                                                    <field name="OP">EQ</field>
                                                                    <value name="A">
                                                                      <block type="get_value" id="9q!*5x:Xi]@pBF*HBArx">
                                                                        <field name="ATTR">val</field>
                                                                        <field name="OID">scene.0.Haus.Ambientebeleuchtung</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <block type="logic_boolean" id="Q+H)!(g8u^yY(yk??`yF">
                                                                        <field name="BOOL">TRUE</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <statement name="DO0">
                                                              <block type="control" id="54K3br*@*([_^xVw%iJ(">
                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                <field name="OID">wled.0.c45bbe55b3ac.bri</field>
                                                                <field name="WITH_DELAY">FALSE</field>
                                                                <value name="VALUE">
                                                                  <block type="math_number" id="@IIo~AI,L#]z_iPL?a/T">
                                                                    <field name="NUM">70</field>
                                                                  </block>
                                                                </value>
                                                                <next>
                                                                  <block type="control" id="B1d:sSh2yf,xaRVYqjoH">
                                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                    <field name="OID">wled.0.c45bbe55b3ac.ps</field>
                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                    <value name="VALUE">
                                                                      <block type="math_number" id="0Rmr,|qAzOn8P$tG]$OO">
                                                                        <field name="NUM">4</field>
                                                                      </block>
                                                                    </value>
                                                                    <next>
                                                                      <block type="timeouts_setinterval" id="GvO5+o=O*A-TIx2;qLm:">
                                                                        <field name="NAME">Intervall</field>
                                                                        <field name="INTERVAL">30</field>
                                                                        <field name="UNIT">min</field>
                                                                        <statement name="STATEMENT">
                                                                          <block type="control" id="*vt-P=NW~%9u)MDc7F-[">
                                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                            <field name="OID">wled.0.c45bbe55b3ac.bri</field>
                                                                            <field name="WITH_DELAY">FALSE</field>
                                                                            <value name="VALUE">
                                                                              <block type="math_number" id="3oZ$z(aLLUBcXt@WD=S2">
                                                                                <field name="NUM">70</field>
                                                                              </block>
                                                                            </value>
                                                                            <next>
                                                                              <block type="control" id="tx*9BRBb`naW05ZGKf+x">
                                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                <field name="OID">wled.0.c45bbe55b3ac.on</field>
                                                                                <field name="WITH_DELAY">FALSE</field>
                                                                                <value name="VALUE">
                                                                                  <block type="logic_boolean" id=".yn1Z{$ugQf/vP5kee-;">
                                                                                    <field name="BOOL">FALSE</field>
                                                                                  </block>
                                                                                </value>
                                                                                <next>
                                                                                  <block type="timeouts_settimeout" id="CFMKM53F3#GY6f2~PN]N">
                                                                                    <field name="NAME">timeout1</field>
                                                                                    <field name="DELAY">2</field>
                                                                                    <field name="UNIT">sec</field>
                                                                                    <statement name="STATEMENT">
                                                                                      <block type="control" id="hGw%j~*{#Xix,_4174Ch">
                                                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                        <field name="OID">wled.0.c45bbe55b3ac.ps</field>
                                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                                        <value name="VALUE">
                                                                                          <block type="math_number" id="li+C=rn6dJrtP`FHs{8Z">
                                                                                            <field name="NUM">1</field>
                                                                                          </block>
                                                                                        </value>
                                                                                        <next>
                                                                                          <block type="timeouts_settimeout" id="0AwGUufLthmzpH1SSKHM">
                                                                                            <field name="NAME">timeout2</field>
                                                                                            <field name="DELAY">2</field>
                                                                                            <field name="UNIT">sec</field>
                                                                                            <statement name="STATEMENT">
                                                                                              <block type="control" id="J`HFpCEtwbO(hj=^JKU(">
                                                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                <field name="OID">wled.0.c45bbe55b3ac.on</field>
                                                                                                <field name="WITH_DELAY">FALSE</field>
                                                                                                <value name="VALUE">
                                                                                                  <block type="logic_boolean" id="^.X338tZ(x72jAXu.Oup">
                                                                                                    <field name="BOOL">FALSE</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <next>
                                                                                                  <block type="timeouts_settimeout" id=";wmsToV^T7[?(MF.OsT`">
                                                                                                    <field name="NAME">timeout3</field>
                                                                                                    <field name="DELAY">3</field>
                                                                                                    <field name="UNIT">sec</field>
                                                                                                    <statement name="STATEMENT">
                                                                                                      <block type="control" id="NG:l{SSl1h:`D^I:~:^C">
                                                                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                        <field name="OID">wled.0.c45bbe55b3ac.ps</field>
                                                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                                                        <value name="VALUE">
                                                                                                          <block type="math_number" id="2$#yzs=Qb:N{GlbUOn$~">
                                                                                                            <field name="NUM">5</field>
                                                                                                          </block>
                                                                                                        </value>
                                                                                                        <next>
                                                                                                          <block type="timeouts_settimeout" id="C|A+/w?D`^Z_iQXO=|}k">
                                                                                                            <field name="NAME">timeout4</field>
                                                                                                            <field name="DELAY">15</field>
                                                                                                            <field name="UNIT">min</field>
                                                                                                            <statement name="STATEMENT">
                                                                                                              <block type="control" id="rcNw1C98KpUVf[@T}d!3">
                                                                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                                <field name="OID">wled.0.c45bbe55b3ac.on</field>
                                                                                                                <field name="WITH_DELAY">FALSE</field>
                                                                                                                <value name="VALUE">
                                                                                                                  <block type="logic_boolean" id="FhSajE}8%;}yQy31_jkC">
                                                                                                                    <field name="BOOL">FALSE</field>
                                                                                                                  </block>
                                                                                                                </value>
                                                                                                                <next>
                                                                                                                  <block type="timeouts_settimeout" id="GuhaqSqVQ(iHZr]UQ;Tt">
                                                                                                                    <field name="NAME">timeout5</field>
                                                                                                                    <field name="DELAY">2</field>
                                                                                                                    <field name="UNIT">sec</field>
                                                                                                                    <statement name="STATEMENT">
                                                                                                                      <block type="control" id=";6#PCqKs4!u3;i~5z$fC">
                                                                                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                                        <field name="OID">wled.0.c45bbe55b3ac.ps</field>
                                                                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                                                                        <value name="VALUE">
                                                                                                                          <block type="math_number" id="6ni$25E7FHky%oJG;#s=">
                                                                                                                            <field name="NUM">1</field>
                                                                                                                          </block>
                                                                                                                        </value>
                                                                                                                        <next>
                                                                                                                          <block type="timeouts_settimeout" id="h,cwd:]+K*/7gP~Z77Lt">
                                                                                                                            <field name="NAME">timeout6</field>
                                                                                                                            <field name="DELAY">2</field>
                                                                                                                            <field name="UNIT">sec</field>
                                                                                                                            <statement name="STATEMENT">
                                                                                                                              <block type="control" id="_iT!=*.^EJ5)f#iQ;OB(">
                                                                                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                                                <field name="OID">wled.0.c45bbe55b3ac.on</field>
                                                                                                                                <field name="WITH_DELAY">FALSE</field>
                                                                                                                                <value name="VALUE">
                                                                                                                                  <block type="logic_boolean" id=")}w.xMXG7oE!%lS|~h]A">
                                                                                                                                    <field name="BOOL">FALSE</field>
                                                                                                                                  </block>
                                                                                                                                </value>
                                                                                                                                <next>
                                                                                                                                  <block type="timeouts_settimeout" id="[g[UR.-RC~Hr]U~0+)A(">
                                                                                                                                    <field name="NAME">timeout7</field>
                                                                                                                                    <field name="DELAY">3</field>
                                                                                                                                    <field name="UNIT">sec</field>
                                                                                                                                    <statement name="STATEMENT">
                                                                                                                                      <block type="control" id="k`k-]8s-%hpn(Z9+K}ey">
                                                                                                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                                                        <field name="OID">wled.0.c45bbe55b3ac.ps</field>
                                                                                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                                                                                        <value name="VALUE">
                                                                                                                                          <block type="math_number" id="30eS%x/fGL}kbZaWxkmA">
                                                                                                                                            <field name="NUM">4</field>
                                                                                                                                          </block>
                                                                                                                                        </value>
                                                                                                                                      </block>
                                                                                                                                    </statement>
                                                                                                                                  </block>
                                                                                                                                </next>
                                                                                                                              </block>
                                                                                                                            </statement>
                                                                                                                          </block>
                                                                                                                        </next>
                                                                                                                      </block>
                                                                                                                    </statement>
                                                                                                                  </block>
                                                                                                                </next>
                                                                                                              </block>
                                                                                                            </statement>
                                                                                                          </block>
                                                                                                        </next>
                                                                                                      </block>
                                                                                                    </statement>
                                                                                                  </block>
                                                                                                </next>
                                                                                              </block>
                                                                                            </statement>
                                                                                          </block>
                                                                                        </next>
                                                                                      </block>
                                                                                    </statement>
                                                                                  </block>
                                                                                </next>
                                                                              </block>
                                                                            </next>
                                                                          </block>
                                                                        </statement>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </statement>
                                                            <value name="IF1">
                                                              <block type="logic_compare" id="Nd:qK*nJ`t/$0l9m?J_^">
                                                                <field name="OP">EQ</field>
                                                                <value name="A">
                                                                  <block type="get_value" id="GE|YK%GXNlG[.57XgX/]">
                                                                    <field name="ATTR">val</field>
                                                                    <field name="OID">scene.0.Haus.Ambientebeleuchtung</field>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="logic_boolean" id="J,BBrC,R1FEVdkrA%`B*">
                                                                    <field name="BOOL">FALSE</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <statement name="DO1">
                                                              <block type="control" id="ggQjiyyVUEA$IBdy`aZi">
                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                <field name="OID">wled.0.c45bbe55b3ac.on</field>
                                                                <field name="WITH_DELAY">FALSE</field>
                                                                <value name="VALUE">
                                                                  <block type="logic_boolean" id="-.%H*%PaEU{-}=4-L2@J">
                                                                    <field name="BOOL">FALSE</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </statement>
                                                          </block>
                                                        </statement>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
              </block>
            </xml>
            
            1 Reply Last reply Reply Quote 0
            • da_Woody
              da_Woody last edited by

              @dutchman hmm 0.5.6 ist installiert, erkannt auch den ESP32 sofort, bekommen aber im log ununterbrochen

              wled.0
              	2021-05-28 09:10:38.615	error	Create state error = ReferenceError: initialise is not defined
              

              kann das mit dem Admin5 ReatUI zusammen hängen?

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

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

                @dutchman hmm 0.5.6 ist installiert, erkannt auch den ESP32 sofort, bekommen aber im log ununterbrochen

                wled.0
                	2021-05-28 09:10:38.615	error	Create state error = ReferenceError: initialise is not defined
                

                kann das mit dem Admin5 ReatUI zusammen hängen?

                nein du hast von git installiert da ist ein Fehler drin, bitte belasse es bei Install vom admin ich arbeite an einem update

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

                  @dutchman yes sir, yes! prost.gif

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

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

                    @dutchman yes sir, yes! prost.gif

                    Das Bier darfst aber trotzdem gerne vorbei bringen 😅

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

                      @dutchman dutch.png
                      highfive.gif

                      1 Reply Last reply Reply Quote 0
                      • I
                        io_laurent last edited by

                        Hallo zusammen und vielen Dank @Dutchman für den Adapter!

                        Kurze Frage: kann ich iobroker-Datenpunkte mit Wled darstellen?
                        Also z.B. aktuellen Internetverkehr oder die aktuelle prozentuale Prozessorauslastung des Raspis über ein Wled-Band: bis 50% Prozessorauslastung in Grün und nur die Hälfte der LEDs leuchten, bis 80% gelb und 80% der LEDs leuchten und 100% dann in Rot und alle LEDs leuchten. Sowas in der Art?

                        Vielen Dank!

                        JB_Sullivan crunchip 2 Replies Last reply Reply Quote 0
                        • JB_Sullivan
                          JB_Sullivan @io_laurent last edited by

                          @io_laurent So etwas suche ich auch noch. Leider weiß ich ebenfalls nicht so wirklich wie man das zu Stande bringt. Ich würde gerne den SoC meines e-Autos, über so eine Anzeige ausgeben. Da bekomme ich auch DP Werte von 0% - 100% rein.

                          Wenn du etwas zu dem Thema gefunden hast, darfst du das gerne hier posten 😉

                          I Chaot 2 Replies Last reply Reply Quote 0
                          • I
                            io_laurent @JB_Sullivan last edited by

                            @jb_sullivan Klar, wenn jemand auf meine Frage hier eine Antwort gepostet hat, werde ich sie hier posten😉

                            1 Reply Last reply Reply Quote 0
                            • crunchip
                              crunchip Forum Testing Most Active @io_laurent last edited by

                              @io_laurent @JB_Sullivan warum sollte das nicht gehen, man kann doch Presets und Segmente in Wled hinterlegen.
                              Entsprechend mit nem Skript , DP xy... schalte Preset XY

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

                                @jb_sullivan @io_laurent
                                Ich nutze ein Script um eine Temperatursensor als Thermometer darzustellen.
                                Im Grunde ganz einfach, aber eine Menge Schreibarbeit.

                                ThermometerWLED.txt

                                Der Datenpunkt des Temperatursensors kann im Grunde alles sein. Im WLED wird die Funktion "Percent" genutzt. Damit lässt sich das recht gut einstellen auch wenn der Strip unterschiedlich lang ist.

                                da_Woody JLeg 2 Replies Last reply Reply Quote 0
                                • I
                                  io_laurent @crunchip last edited by

                                  @crunchip Ja, das kann man natürlich machen. Aber dann "springt" die Anzeige der LEDs zwischen den verschiedenen Presets.
                                  Ich dachte da mehr an einen "aufsteigenden Farbverlauf", wenn der iobroker-DP von 5% auf 35% auf 83% auf 100% steigt, also eher so dynamisch statt sprunghaft.

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

                                    @io_laurent Schau dir mein Script mal an. Ich habe einen sich auffüllenden Balken.
                                    Einstellung am WLED Controler:
                                    Effekt: Percent
                                    Colors: Temperature (unten bei Palette)

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

                                      @chaot Werde ich mir auf jeden Fall anschauen, vielen Dank!

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

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

                                        Im Grunde ganz einfach, aber eine Menge Schreibarbeit.

                                        eher eine copy/paste orgie mit anschliessendem zahlen austausch... 😄
                                        aber für einiges verwendbar mit leinen ändeungen... 👍

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

                                          @da_woody Würde mich freuen zu hören wo du es umgesetzt hast. Vielleicht ist ja eine neue Idee für mich dabei.

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

                                            @chaot umgesetzt noch nicht, aber man könnte das latürnich auch für luftfeuchte einsetzen. mit suchen und ersetzen kann man das ja schnell an die verschiedenen DPs anpassen mit notepad++
                                            komme im moment nicht viel zum basteln. hab so viele sachen in meiner kleinen holzwerkstatt zu tun für garten und haus...
                                            z.b. unterschränke für die außenküche beim grillplatz:
                                            81376251-7c69-412d-890c-3acd01398e83-grafik.png
                                            so eine 2. türe muss ich noch bauen:
                                            58bdc490-13da-4683-9a1e-3165d4b84564-grafik.png
                                            und so weiter...

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            690
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

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