Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] WS2812b Problem mit den Tasmota Commands

    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

    [gelöst] WS2812b Problem mit den Tasmota Commands

    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      Torsten_MG last edited by Torsten_MG

      Hallo Leute,

      ich habe an einem NodeMCU einen WS2812b Streifen mit 30 LED's. Ich kann die LED's problemlos mit z. B. LED1 40,45,50 einzeln ansteuern und mit Color 40,45,50 alle gleichzeitig. Nur ich komme mit der Beschreibung im github nicht klar, wie z.B. das mit dem Rainbow Effekt oder dem Candle Effekt funktionieren soll.
      Kann mir da bitte mal jemand die Kommandos komplett aufschreiben?

      Vielen Dank!

      1 Reply Last reply Reply Quote 0
      • Bluelinux
        Bluelinux last edited by

        Guten Morgen,

        die Liste mit den Befehlen wirst du ja kennen oder? Das sind erst mal die Befehle die du direkt in der Konsole eingeben kannst. Wenn du aber die befehle via http://192.0.0.0 (deine Ip vom LED Streifen) dann kann ich dir hier den Beitrag link empfehlen oder aber auch diesen Youtuber.... Viel Erfolg


        Command Parameters
        Channel<x> 0..100 = set PWM channel dimmer value from 0 to 100%
        Color Show color setting (hex or decimal depending on SetOption17)
        r,g,b = set color by decimal value (0..255)
        #CWWW = set hex color value for CT lights
        #RRGGBB = set hex color value for RGB lights
        #RRGGBBWW = set hex color value for RGBW lights
        #RRGGBBCWWW = set hex color value for RGBCCT lights (5 PWM channels)
        Set color to
        1 = red
        2 = green
        3 = blue
        4 = orange
        5 = light green
        6 = light blue
        7 = amber
        8 = cyan
        9 = purple
        10 = yellow
        11 = pink
        12 = white (using RGB channels)

        • = next color
        • = previous color
          Color2 Same as Color but adjust to current Dimmer value
          Color3 #RRGGBB = set seconds clock hand hex color value (only in Scheme 5)
          Color4 #RRGGBB = set minutes clock hand hex color value (only in Scheme 5)
          Color5 #RRGGBB = set hour clock hand hex color value (only in Scheme 5)
          Color6 #RRGGBB = set clock hour marker hex color value (only in Scheme 5)
          CT 153..500 = set color temperature from 153 (cold) to 500 (warm) for CT lights
        • = increase CT value by 10
        • = decrease CT value by 10
          Dimmer 0..100 = set dimmer value from 0 to 100%
        • = increase by 10
        • = decrease by 10
          Fade 0 = do not use fade (default)
          1 = use fade
          HsbColor <hue>,<sat>,<bri> = set color by hue, saturation and brightness
          HsbColor1 0..360 = set hue
          HsbColor2 0..100 = set saturation
          HsbColor3 0..100 = set brightness
          Led<x> #RRGGBB = set Led<x> hex color value where <x> is the pixel number (aplies only to addressable LEDs)
          LedTable 0 = do not use LED gamma correction (default prior to 6.5.0.9)
          1 = use gamma correction (default)
          Pixels 1..512 = set amount of pixels in strip or ring and reset Rotation (applies only to addressable LEDs)
          Rotation <value> = set amount of pixels to rotate (up to Pixels value) (applies only to addressable LEDs)
          Scheme Light effects
        • = next scheme
        • = previous scheme
          0 = single color for LED light (default)
          1 = start wake up sequence (same as Wakeup)
          2 = cycle up through colors using Speed option
          3 = cycle down through colors using Speed option
          4 = random cycle through colors using Speed and Fade
          The following schemes are usable only with addressable LEDs, e.g. WS281X, Neopixel
          5 = clock mode (example)
          6 = candlelight pattern
          7 = RGB pattern
          8 = Christmas pattern
          9 = Hannukah pattern
          10 = Kwanzaa pattern
          11 = rainbow pattern
          12 = fire pattern
          Speed 1..20 = set fade speed from fast 1 to very slow 20
        • = increase speed
        • = decrease speed
          Wakeup Start wake up sequence from OFF to stored Dimmer value
          0..100 = Start wake up sequence from OFF to provided Dimmer value
          WakeupDuration 1..3600 = set wake up duration in seconds
          White 1..100 = set white channel brightness in single white channel lights (single W or RGBW lights)
          Width1 0..4 = set LED group width (only in Scheme 6 - 12)
          Width2 0..30 = set width of the seconds clock hand (only in Scheme 5)
          Width3 0..30 = set width of the minutes clock hand (only in Scheme 5)
          Width4 0..30 = set width of the hour clock hand (only in Scheme 5)
          See also SetOption15 - Set PWM control
          SetOption16 - Reverse Clock Scheme direction
          SetOption17 - Show Color string as hex or decimal
          SetOption20 - Update of Dimmer/Color/CT without turning power on
          SetOption37 - Color remapping for led channels
        1 Reply Last reply Reply Quote 0
        • T
          Torsten_MG last edited by

          Irgendwie bin ich zu blöd dafür.

          Ich habe jetzt mal den Befehl

          http://192.168.178.103/cm?cmnd=backlog%20blinktime%2010;blinkcount%205;power%203
          

          (IP angepasst!)

          von der Seite https://forum.creationx.de/forum/index.php?thread/428-befehle-über-http/ ausprobiert.

          Im Browser wird mir dann folgendes angezeigt:

          {"WARNING":"Enable weblog 2 if response expected"}
          
          Glasfaser 1 Reply Last reply Reply Quote 0
          • Glasfaser
            Glasfaser @Torsten_MG last edited by Glasfaser

            @Torsten_MG

            Der Befehl funktioniert an der Steckdose/ Relais , es wird fröhlich an/aus geschaltet.

            Die Meldung kannst du bei Firefox vernachlässigen , es wird trotzdem der Befehl ausgeführt.

            led.JPG

            Wie auch Bluelinux , kann ich Dir die Seite sehr empfehlen.

            Oder Link Text

            1 Reply Last reply Reply Quote 0
            • T
              Torsten_MG last edited by Torsten_MG

              so, habe es jetzt hinbekommen.

              Und zwar steuer ich die LED´s normalerweise mit z.B.: http://192.168.178.103/cm?cmnd=Led5 40,0,0 an.

              Wenn ich dann z.B. Scheme 11 in die Console schreibe oder über den Browser, passiert nix.

              Wenn ich aber zuerst einen Color-Befehl z.B. Color 1 eingebe und dann Scheme 11, dann funktioniert der Rainbow-Effekt und auch die anderen Scheme werden angenommen.

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

              Support us

              ioBroker
              Community Adapters
              Donate
              FAQ Cloud / IOT
              HowTo: Node.js-Update
              HowTo: Backup/Restore
              Downloads
              BLOG

              961
              Online

              31.9k
              Users

              80.1k
              Topics

              1.3m
              Posts

              tasmota ws2812b
              3
              5
              4275
              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