ESP 32 crahes using homeassistant

Hi, im using WLED on an ESP 32. After i connected it to homeassistant with the default integration, i can see my device and all of my segments (4). I can switch every segment individually in the device tab. But if im trying to make an scene for example with my segments, the esp is crashing and i have to reboot it by replugging it. I think the problem is, that homeassistant is sending to the 4 segments at the same time. I tried it without scenes at it wasnt a problem. Further more after i restarted the ESP, all of the scenes are deleted.
Thank you for reading and maybe helping me.

1 Like

I have a similar issue.
WLED 0.14.1
Dig quad board
24vdc power supply and 24vdc LEDS with surplus power to run everything on max brightness.
RGBW LED strip requires 0.14+ to swap G&W LEDs for correct order.
Cables sized appropriately.
Five segments in presets.
Calling presets from WLED app is fine.
Calling presets from HA (in the form of scenes) crashes ESP32. Set up a HA controlled outlet to cycle power supply when ESP32 has crashed. Not ideal as lights go off.
Have tried 2 ESP32’s ( standard with dig-quad and AE+mic) with the same result.
Was able to call presets from HA on 0.14.0. Crashed only a couple of times. However 0.14.1 crashes 100% of the time when calling presets.
My temporary work around is to call WLED power on from HA, with brightness adjusted to suit the time of the evening. It will maintain the last preset when switched on. This keeps the lights switching on and off and works flawlessly, however, it’s not enough to perform complex automations with presets.
Happy to discuss and compare issues to provide as much info to get a fix in place.

At the moment, i use an extra automation that do the segments into my wanted state via the light service. And in the automations, i would normally use the scenes (like my lightswitch), i trigger this automation.

I am having the same issue, has anyone figured out what’s going on with this? I just posted this which details my woes with this: Failure to communicate with wled api

AFAIK this is a known issue: HA sends too many requests, overloading the ESP and I think it is not something that can be solved by WLED at the moment as it is a core functionality from Espressif that causes the crash. You need to take this to the HA guys. Not 100% sure this is accurate info.

I have not faced an issue in a while as i do not really use the integration but mostly use mqtt , still multiple guys have reported that ( some on esp8266 ) and disabling polling seems to solve the issue or at least reduce it

To disable polling click the 3 dots next to the device in the WLED integration page, then select
system options