I have been trying to find a link once again, but still no success. Please share the link with us @nickrout as you were able to find it somehow while the rest of us where not.
@fillwe @skvarnas @cooljimy84: I have not been able to create any ESPHome
light effects myself that are worth mentioning. Pretty much just copying, pasting, modifying the examples from the esphome website. However, there is a project on github called WLED
, which features (as of today) 79 different effects and 46 palettes out of the box.
I have flashed it to a nodeMCU
and connected a WS2812
LED string (1 meter, 60 LEDs, running on 5V and <1A). There are pros and cons with this
PROs
- large amount of effects
- really nice effects
- “customized versions” of effects (sorry, not a native speaker… I mean that you can use an effect such as
scanner
, which is similar to the ESPHome scanner: all leds off except one, that one will move around the LED strip. You can define what color your want to use for this. Also you can set a “secondary color” for effects with two customizable colors)
- palettes (see below)
CONs
- currently mqtt control isn’t the greatest
- not easily integratable with Home Assistant (due to mqtt control)
- unstable wifi (at least for me); I had ESPHome on that very nodeMCU and in the exact place (= distance to WiFi router) and it worked fine. The WLED, however, constantly loses WiFi connection, and sometimes does not re-connect to WiFi until unplugging it and plugging it back in
The main CON imho is that the device was -unlike the ESPHome- not designed to work flawlessly with Home Assistant (or I am just incapable of setting it up correctly, which is possible as well). While you can control the effects fine, there is no simple way to also control the palettes. That wouldn’t be see bad, but there are some other settings (circling through effects and/or palettes, if I understand correctly) that “overwrite” manual changes. For example, I set the strip to one particular effect when turning on. When I then change the effect and / or static color, it will eventually disconnect from WiFi and -if it manages to reconnect- start with that first effect instead of saving it’s current state.
When you control the device via it’s webUI, it works fine. You can set effects, pair them with palettes (or use regular colors), change brightness, etc. etc. just as you’d expect. Only when it loses connection you are pretty much screwed. I have this in the bedroom and need to unplug it at night to assure that it won’t randomly turn on in the middle of the night.
Fortunately there is a “but”. It seems like the developer and some enthusiasts are currently working on better Home Assistant integration!! You can find the github issue here. There is also a fork of the project, which I have yet to test to see whether that one works more reliably. Please keep in mind that at least the constant disconnecting might be due to my personal WiFi setup (though I wouldn’t understand this because the ESPHome worked fine using the exact same hardware and being placed in the exact same location).
Maybe this helps some of you. I am still interested in custom ESPHome light effects, but if they manage to integrate WLED better into Home Assistant, I will use that for my LEDs. ESPHome is great for other things (just as Tasmota is), but the out-of-the-box features of WLED are really amazing - it just needs to work more reliably and I’ll flash it to all my LED controllers