For Devember2021, I am going to setup some RGB Christmas lights for my cubicle at work. I’ll be using a string of WS2811 lights, and probably an ESP32. I plan on having the lights connect to a server to check what their state should be. Ideally, they will change between various patterns and be able to be controlled in multiple ways.
Ideas for controlling the lights:
Obviously, I should be able to have a web site that controls the lights, and displays their current mode. I think it would also be cool to have a phone number setup that could also be used to control the lights. I may come up with more interesting ways of controlling the lights, and am open to ideas.
I’ll post a git reop link at some point soon, once I’ve had some time to start working on the project. I’m still in the idea and planning stage.
Current Status
So far, I’ve only been playing with the Neo Pixels. I have a few basic lighting modes, each as their own function. I have the ESP32 cycling though all of the functions in a loop, and the lights working. The ESP32 is just connected to a breadboard, and is powered by a USB port on my computer. The lights have their own 5V power supply, to prevent pulling too much current over USB.
Next Steps
Right now, I’m thinking that I’ll have the ESP32 check a web server to see what it’s state should be, and then call the corresponding function. I think this will be easy enough to accomplish, although I would like of like to push the state to the the device rather than pulling for a new status. I’m just not sure how I would push the state to the device, in a way where I wouldn’t have to open any additional ports on the firewall. Feel free to tell me how this should be done.
Goals for Later
I’d like to build this into a box at some point, and power everything off of one power cable. I’m thinking it would be nice to have a 3D printed box with a USB C port on it.