Closed asonjay90 closed 4 years ago
This issue was auto-closed because the issue template was not filled out. The ESPHome developers invest lots of time to maintain this project, so please at least fill out the issue template so that a bunch of standard questions don't need to be asked again each time. Thank you for taking the time to report a bug, hopefully it can be resolved soon.
Operating environment/Installation (Hass.io/Docker/pip/etc.):
Hass.io
ESP (ESP32/ESP8266, Board/Sonoff):
NodeMCU - ESP8266
Affected component:
wled
Description of problem: https://beta.esphome.io/components/light/index.html 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:
livingroom_tv_leds.yaml
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.