-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESP32-C3 becomes unresponsible after a couple of days #4347
Comments
Is this an issue only after you upgraded to 0.15 ? What version was it previously stable on? |
I used the 0.14.4 for about a week after i bought the controller, but had an issue with presets, which were actually fixed with the 0.15, so i directly started using 0.15.0-b6 (which already had these unresponsible issues) |
This could be a hardware related issue as well: please try this: add a large 1000uF capacitor to both 5V input and 3.3V rail on the ESP and report if the issue persists. |
hi, thanks for that tip, i will try it on my devides since i got the same problem but not just with the C3 but also with s2 and some esp32 dev boards |
I think this issue more likely is related to an underlying problem with the ESPAsyncWebServer dependency. @AdmiralRaccoon, are you using Home Assistant by any chance? HA can be pretty aggressive in its polling and open many concurrent conenctions to the WLED device, which might lock it up. See me-no-dev/ESPAsyncWebServer#157 and me-no-dev/ESPAsyncWebServer#1116 This is still easy to reproduce with a synthetic load:
Increasing concurrency, |
So might this be something for the HA WLED Integration Developer to look at and do something about polling interval? |
I've been working on some upgrades to the web server components to better handle concurrency and excessive load in #4119 -- the underlying AsyncTCP library melts down rather dramatically if its event queue overflows. While the code there will probably improve load related problems for C3s, I've still got some unresolved issues in low memory environments such as S2s. |
I have been having the same issue, and yes im using home assistant |
What happened?
I´ve already read that the ESP32-C3 is not the best solution, but maybe it´s a bug anyway causing the issue:
After a couple of days, the device because unresponsible within Home Assistant as well as pinging it / access to the WebUI. Even pressing the button for toggeling won´t work. I have to remove power to get it working again, and then it will work again for the next 3-5 days.
I will notice when it stops working in the morning, as it supposed to wake me up in the morning.
To Reproduce Bug
Waiting several days
Expected Behavior
Working 24/7
Install Method
Binary from WLED.me
What version of WLED?
WLED 0.15.0-b7
Which microcontroller/board are you seeing the problem on?
ESP32-C3
Relevant log/trace output
No response
Anything else?
It´s a WLED Slim LED Strip Controller from Athom:
https://de.athom.tech/blank-1/wled-slim-led-strip-controller
It´s doesn´t get hot
WIFI sleep is disabled
WIFI TX Power is at 8.5 dBm (that was the default)
Code of Conduct
The text was updated successfully, but these errors were encountered: