-
-
Notifications
You must be signed in to change notification settings - Fork 31.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
Wled integration cause wled lag every ~10s #90676
Comments
Hey there @frenck, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) wled documentation |
i had a feeling it wasnt running smooth and now i cannot unsee... same issue |
Same for me. I have disabled many wled entity which seems to help but now the integration fails to connect to wled about 10mn after reboot, restart the integration and it works 10mn, then nothing |
Same problem here but even worse. Polling of WLED data from HomeAssistant integration causes the WLED controller to freeze LED output for a moment. As I'm using TM1814 stripes this leads to a sudden red flash, as the stripe loses the data signal and switches to demo mode. As soon as I remove the integration from HA the red flashes/freezes are completely gone. This is already being discussed on the WLED github: |
I don't remember where I post that but there is a workaround, you can set the timing you want for polling in wled integration in HA, wled is still controllable but will not report external change to HA fastly (depending of the time you set for polling) |
I already raised the value for the scan_interval setting in configuration.yaml manually to 300 seconds. It's a small improvement as the red flash only happens every 5 minutes, but no solution. I'm not quite sure if this might indeed be something to rather fix in the WLED firmware than in the HA component... |
It's more from ha side or python wled library because wled app works great. Ha do too many request it's why it's freezing, wled struggle to answer. |
Switching to MQTT integration does indeed appear to address or greatly improve the issue. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Problem is still present |
Can you share your mqtt config in ha to integrate weld ? Since we cannot use auto discovery in last weld version for ha mqtt don't know which topic to add |
I've been struggling with this "flashing red" issue for the past couple weeks. I've added data boosters, power injection and triple checked all my wiring. I happened upon this open issue and sure enough removing the WLED integration and restarting fixed the problem. I'm running the latest HA and the latest WLED with TM1814 puck lights at 12 volts. The controller is a Planet Laterna ESP32 board, but also was failing on a DIG-Quad. I do have MQTT somewhat controlling the board now and that works fine. |
I have noticed the same using a DIG-quad as well with Quindor's ESP32 chip and 12V TM1814 outdoor string lights. Initially I thought it was a noise on the data line issue from a power supply problem. In order to rule that out, I used some filtering capacitors on the power lines going to the DIG-quad. That did not seem to help. Thanks to this thread, I disabled this WLED instance in HA, and rebooted HA. I have NOT noticed this "flashing red" issue since doing so. It has only been about 8 hours, but it was doing way too regularly previously, though it didn't appear to be in any particular cadence. I'm keeping an eye on this thread to see any fixes that may be posted. |
Hi, I have the same problem but I am not able to raise the scan interval in the configuration.yaml. @msfuture can you please provide your configuration? |
Hello, Just found this thread... I did not realize that HA integration could generate such behaviour... I may try the MQTT control suggested above... |
I am also affected by this. Dig-Quad from QuinLED and TM1814 24V. Happened with both the original WLED and QuinLED firmwares (13.x and 14.x). |
Same issue here with WLED and ESP32. |
Could the up-stream WED project implement xTaskCreatePinnedToCore() code to utilize the ESP32 2 cores?
Would this fix the issue? Here is an overview of pinned to core: |
Hi guys! I have the same problem, but when I use the switch from the integration, the device reacts immediately. |
Some have mentioned that switching from the WLED Integration interface to a MQTT interface causes the white flashing to go away. Here are some experiments with MQTT and my results. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
After the discovery of this annoying bug, I removed all my wled integrations from HA... I updated WLED to 15.0-b2 audioreactive and my HA is always up to date. I confirm that the LAG every 10-12 seconds is still there. Removing the integration, the lag stops right away. For me, WLED is not yet fully compatible with HA... |
I'd love to see the actual numbers on that. @frenck |
Hey guys I have the same issue, searching through the wohle www I couldnt find a solution. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
The problem
The Wled integration in HA is causing lag every ~10s on my wled ruinning on esp32c3 (tested on esp32s3 and same problem). This is very notticeable when using ledfx.
Disableing Wled integration and reboot HA system (it seems not completely off otherwise) and lag disappear.
Wled 0.14.b19 but problem already present on 0.13
What version of Home Assistant Core has the issue?
core-2023.3.6
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Wled
Link to integration documentation on our website
https://www.home-assistant.io/integrations/wled/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: