Skip to content

Brightness acts slow in DMX Effect Segment Mode #3239

@mxklb

Description

@mxklb

What happened?

When controlling WLED via DMX in "Effect Segment Mode" brightness changes are too slow. In general when using DMX consoles to send brightness changes, these changes are only applied/allowed within certain intervals. This becomes critical, especially when switching brightness channel slider off quickly (to black out DMX fixtures). This behavior makes brightness in "Effect Segment Mode" only controllable correctly, when using slow slider movements 👎

To Reproduce Bug

Activate DMX and send brightness changes to single segments using external console sliders.

Expected Behavior

Brightness should change immediately as other DMX channels do as well.

Install Method

Self-Compiled

What version of WLED?

above WLED 0.14.0-b1

Which microcontroller/board are you seeing the problem on?

ESP32

Relevant log/trace output

No response

Anything else?

Problem must occur within setOpacity:

void Segment::setOpacity(uint8_t o) {
  if (opacity == o) return;
  if (fadeTransition) startTransition(strip.getTransition()); // start transition prior to change
  opacity = o;
  stateChanged = true; // send UDP/WS broadcast
}

Maybe stateChanged = true .. TBD

Code of Conduct

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    backburnerlow priority compared to other issuesbugstaleThis issue will be closed soon because of prolonged inactivitywaiting for feedbackaddition information needed to better understand the issueworkaroundThe issue contains a workaround

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions