So... my family goes a little crazy with holiday decorations. For the 2021 Christmas I was told I need to make some folding wooden "Christmas Trees" to add to the "tree farm" we already have as part of the decorations. The frame is simple and nothing too special.
But the lights on them... Those I wanted to be a bit more interesting. So I turned to WS2812 pixel strings. Right now the plan is 50-100 pixels per tree depending on the size of the tree. I wrote a simple Arduino sketch to control them using an ESP32, couple sets of colors and movement patterns to pick from. But then I realized I could do more...
So now I have a couple color sets to choose from (all single color, 4 colors, rainbow, etc...) and motions (all colors shift one way, whole sections change color, etc...) all built in. But I also made it have a simple webserver that not only provide the entire status of everything (in html and JSON) but it can respond to commands sent to it. So that allows it to have every single LED set whichever color, control overall brightness, select which motion, select one of the pre-set color sets, etc... I also switched it to an ESP8266 so it would be cheaper and smaller. Plus added OTA and web-update capabilities so I can change the ESP's programming easily.
To top that off I made a driver for Hubitat that can read/send all those commands to control it. The only problem one so far from my Hubitat driver is setting individual LED colors, because it requires 4 parameters (LED, R, G, and B). But everything else is working well. I even figured out how to make it set the whole set of pixels to be a specific color temperature or such.
All this will be posted on my website (and the Hubitat driver posted as a project here) in the near future once I clean them up some more. If anyone has any general ideas for features that would also be handy.