Skip to content

Individual segment turn off turns them dim rather than off, after update to 0.14.0-b3 on ESP32 #3265

Closed

Description

@ingestre

What happened?

After update to 0.14.0-b3, when I issue the command to turn segments off - the LED's dont turn off completely, but instead go very dim. If I run the command a second time they turn off fully.

This seems to happen if I use the Toggle segment command as well.

Downgrading back to 0.14.0-b1 fixes this issue.

To Reproduce Bug

API Command I use to turn all segments on as follows

{"on":true,"bri":255,"transition":7,"mainseg":0,"seg":[{"id":0,"start":0,"stop":49,"grp":1,"spc":0,"of":0,"on":true,"frz":false,"bri":255,"cct":127,"col":[[255,183,115,0],[0,0,0,0],[0,0,0,0]],"fx":0,"sx":128,"ix":128,"pal":0,"sel":true,"rev":false,"mi":false},{"id":1,"start":49,"stop":176,"grp":1,"spc":0,"of":0,"on":true,"frz":false,"bri":255,"cct":127,"col":[[255,183,115,0],[0,0,0,0],[0,0,0,0]],"fx":0,"sx":128,"ix":128,"pal":0,"sel":true,"rev":false,"mi":false},{"id":2,"start":176,"stop":244,"grp":1,"spc":0,"of":0,"on":true,"frz":false,"bri":255,"cct":127,"col":[[255,183,115,0],[0,0,0,0],[0,0,0,0]],"fx":0,"sx":128,"ix":128,"pal":0,"sel":true,"rev":false,"mi":false},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0}]}

API Command I use to turn all segments off as follows

{"seg":[{"id":0,"start":0,"stop":49,"grp":1,"spc":0,"of":0,"on":false,"frz":false},{"id":1,"start":49,"stop":176,"grp":1,"spc":0,"of":0,"on":false,"frz":false},{"id":2,"start":176,"stop":244,"grp":1,"spc":0,"of":0,"on":false,"frz":false}]}

API Command I use to toggle a segment as follows

{"seg":[{"id":2,"on":"t","col":[[255,183,115,0],[0,0,0,0],[0,0,0,0]]}]}

Expected Behavior

Running the toggle command turns the third segment dim and on rather than off and on

Install Method

Binary from WLED.me

What version of WLED?

WLED 0.14.0-b3 (build 2306210)

Which microcontroller/board are you seeing the problem on?

ESP32

Relevant log/trace output

No response

Anything else?

GUI peek seems to show the LED's as off when they are dim.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. blazoncek commented on Jun 23, 2023

    @blazoncek
    Contributor

    Please try 2 different settings: transition set to 0 and transition set to 1s and report back.

  2. ingestre commented on Jun 23, 2023

    @ingestre
    Author

    With transition set to 0 the toggle command and the off command seems to do nothing. LED's remain lit.

    With transition set to 1s (10) the off command turns the LED's dim, and the toggle command toggles betweeen on and dim.

    Hope this helps.

  3. added
    confirmed
    on Jun 23, 2023
  4. blazoncek commented on Jun 23, 2023

    @blazoncek
    Contributor

    One more question: Are you seeing this behaviour only with Solid effect?

  5. ingestre commented on Jun 23, 2023

    @ingestre
    Author

    No - Other effects seem to exhibit it also.

    I tried it with the following setting which sets "Fire 2012" (fx66) on segments 1 & 3

    {"on":true,"bri":128,"transition":7,"mainseg":0,"seg":[{"id":0,"start":0,"stop":49,"grp":1,"spc":0,"of":0,"on":true,"frz":false,"bri":255,"cct":127,"col":[[0,0,0,0],[0,0,0,0],[0,0,0,0]],"fx":66,"sx":128,"ix":128,"pal":35,"sel":false,"rev":false,"mi":false},{"id":1,"start":49,"stop":176,"grp":1,"spc":0,"of":0,"on":true,"frz":false,"bri":255,"cct":127,"col":[[255,183,115,0],[0,0,0,0],[0,0,0,0]],"fx":0,"sx":128,"ix":128,"pal":35,"sel":true,"rev":true,"mi":true},{"id":2,"start":176,"stop":244,"grp":1,"spc":0,"of":0,"on":true,"frz":false,"bri":255,"cct":127,"col":[[255,160,0,0],[0,0,0,0],[0,0,0,0]],"fx":66,"sx":128,"ix":128,"pal":0,"sel":false,"rev":true,"mi":false},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0}]}

    I then used the following API code to toggle segment 3

    {"seg":[{"id":2,"on":"t"}]}

    When I toggle the segment off the animation halts on that segment, but the LED's that are lit go dim rather than off. (The animation normally only lights one side of the segment to simulating fire coming from that side)

    When I toggle again the animation starts and the LED's go back to usual brightness

  6. added a commit that references this issue on Jun 23, 2023
  7. added
    fixed in source
    on Jun 23, 2023
  8. arunankam commented on Jun 26, 2023

    @arunankam

    Same issue... LED's dim instead of turning off.

  9. blazoncek commented on Jun 26, 2023

    @blazoncek
    Contributor

    @arunankam as you can see from above this is fixed in the source. Will be available in next release.

  10. ingestre commented on Aug 13, 2023

    @ingestre
    Author

    Just installed the latest release [v0.14.0-b4 "Hoshi"] and I can confirm that upon initial inspection the bug appears fixed.

    Thank you @blazoncek for your prompt attention, and all the developers for your hard work.

  11. blazoncek commented on Aug 13, 2023

    @blazoncek
    Contributor

    Please close then.

  12. ingestre commented on Aug 13, 2023

    @ingestre
    Author

    Closed as fixed.

  13. added a commit that references this issue on Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugconfirmedfixed in source

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions