Skip to content

WLED Matrix glitching beyond 'max' brightness when sending http pixel updates #5366

@DaverDavids

Description

@DaverDavids

What happened?

I have a python script that updates pixels on my WLED matrix display by http json calls. I was having reliability issues and realized that sometimes, when sending pixel updates to the display, it will flash random pixels super bright for a split second... if the USB power supply isn't extra powerful, the esp32 crashes due to low voltage.

This is a four output set using parallel i2s, 1024 LEDs total, target 42fps. Each output has a 330-350mA limiter set and 'brightness factor' is set down to 10%. I can turn the display all white and turn the brightness to max, and it won't crash, I have the brightness properly limited. But the glitch seems to disregard the hard brightness limit and if enough pixels are randomly part of the glitch, it will crash due to power draw.

I'm running an alpha build because at the time I made this display, this build corrected another bug issue I was having. WLED 0.16.0-alpha (2511210).

I've attached pictures as well as the code I'm using to update it, in case it's relevant. Thanks for your help.

Is there any log I can include to see what WLED is doing when it updates? Network capture? Not sure what would help.

To Reproduce Bug

I'm not sure this bug is reproducible in other environments. It happens when my code sends pixel updates and it doesn't happen every time.

Expected Behavior

Display shouldn't show pixels that weren't drawn to it, and hard brightness limit should be respected in all updates.

Install Method

Binary from WLED.me

What version of WLED?

WLED 0.16.0-alpha (2511210)

Which microcontroller/board are you seeing the problem on?

ESP32

Relevant log/trace output

Anything else?

matrix_server.py

Image
wledflash.mp4

Code of Conduct

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    cannot reproduceDevelopers are not able reproduce. Might be fixed already, or report is missing important detailshardware(Likely) Setup-specific issue, e.g. flickering LEDsuse-as-isexpected behaviour, not a bug, no change planned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions