Aircoookie / WLED

Control WS2812B and many more types of digital RGB LEDs with an ESP8266 or ESP32 over WiFi!
https://kno.wled.ge
MIT License
14.31k stars 3.05k forks source link

Power off - on restart #3866

Open michaelbaisch opened 3 months ago

michaelbaisch commented 3 months ago

What happened?

After starting the controller and opening the WebUI, simply pressing the Power button twice leads to the controller restarting and the WebUI being unresponsive. It's easy to see when I change the color, turning off fades the LEDs off, but when trying to turn on again it takes a moment and the initial default colors appears.

To Reproduce Bug

For me simply pressing the Power button twice. This is observed on the QuinLED dig2go with the audio reactive firmware. LED type "SK6812/WS2814 RGBW", Length: 60.

Expected Behavior

The current state fades in again, no restart, WebUI responsive.

Install Method

Binary from WLED.me

What version of WLED?

WLED 0.14.2 (build 2403170)

Which microcontroller/board are you seeing the problem on?

ESP32

Relevant log/trace output

No response

Anything else?

No response

Code of Conduct

michaelbaisch commented 3 months ago

I've identified the problem: The dig2go is powered via a USB-C connection. Initially, it was connected to a computer (MacBook Pro M3). When I switch to a dedicated USB-C charger, the issue disappears. I'm not exactly sure what the underlying problem is. The issue occurs the moment I try to turn it on again; it might have entered a USB power-saving mode, now requiring more power, possibly leading to a power cut? Or, it could be due to the serial port being initialized again?