Closed asonjay90 closed 3 years ago
I am having this issue as well. I get frame invalid when trying to sync from wled to esphome light effects. I have tried both wled_notify and WARLS protocol in wled 0.10.0 and 0.10.2. Running esphome 1.15.2. When I sync from wled devices I receive [wled_light_effect:067]: Frame: Invalid (size=29, first 0x00) and 0x01 (when using WARLS). It appears to be a bug in wled_light_effect but I cant easily troubleshoot. Have you tried to sync from wled?
I have make a PR
@d-two which version of Hyperion do you use? Do you use hyperion.ng? I cannot find the 'protocol' setting in hyperion.ng and can therefore not get this to work.
Is there something I can do in order to get this to work before the pull request comes through?
@d-two which version of Hyperion do you use? Do you use hyperion.ng? I cannot find the 'protocol' setting in hyperion.ng and can therefore not get this to work.
Is there something I can do in order to get this to work before the pull request comes through?
This is not working for Hyperion.NG only for the first version of Hyperion...
This is not working for Hyperion.NG only for the first version of Hyperion...
Too bad... I tried your PR (https://github.com/esphome/esphome/pull/1339) now the second time and wondered why I always ended up with [wled_light_effect:067]: Frame: Invalid
errors the PR actually should fix.
Do you @d-two know what's needed to make this also work with Hyperion.NG?
Still the same issue when using official wled firmware.
[20:58:56][D][wled_light_effect:067]: Frame: Invalid (size=44, first=0xFF).
[20:59:25][D][wled_light_effect:067]: Frame: Invalid (size=44, first=0xFF).
For Hyperion you can just easily use E1.31 to output?
I do experience issues syncing my led strip trough the WLED sync..
"Frame: Invalid (size=29, first=0x00)."
Operating environment/Installation (Hass.io/Docker/pip/etc.):
Hass.io
ESP (ESP32/ESP8266, Board/Sonoff):
NodeMCU - ESP8266
ESPHome version (latest production, beta, dev branch)
beta, dev
Affected component:
wled https://beta.esphome.io/components/light/index.html#wled
Description of problem: I am unable to get Hyperion to successfully output to a nodeMCU setup with esphome (beta) using the wled component. Its not immediately clear if this is supported, however it is explicitly mentioned in the WLED documentation: https://github.com/Aircoookie/WLED/wiki/UDP-Realtime-Control (which is also called out in the wled_light_effect.cpp#L17
Using protocol 0 and type udp (or udpraw), I am unable to get the LEDs to turn on. The following is endlessly seen in the log while the Hyperion server is enabled. Stopping the Hyperion service results in this messages no longer being written to the log, so I am confident I have this setup correctly.
[23:41:30][D][wled_light_effect:067]: Frame: Invalid (size=894, first=0x00).
Problem-relevant YAML-configuration entries:
The YAML is shortened to the relevant parts.
Logs (if applicable):
Additional information and things you've tried:
This is my Hyperion device config:
I have 298 leds setup, so I am clearly only including the relevant part here.
https://hyperion-project.org/wiki/UDP-Device Looking at Hyperion documentation, its clear the expected information is being sent for protocol 0:
298 LEDs * 3 bytes per LED = 894
Additionally, i know I have this (somewhat) working correctly as when I use protocol 2 (DRGB) I am able to get the leds to light the expected color. However the refresh rate is extremely slow (1fps) and the leds flash funky colors in between transitions.