I have an ESP32 running WS2812B lights, on a single pin, but that ESP32 is not easily accessible. I would like to make a small “control box” with a switch, a few encoders, buttons, etc, and those obviously have to run off of an ESP-type board. But instead of having to run a butt-ton of wires up above the ceiling, I was wondering if there is a way to have one ESP32 controlling the WS2812Bs, and a separate one that can host the button board, and them to work in conjunction with each other, with the button board ESP being able to control the ESP running the lights themselves?
You might make the sync feature work between the two devices.
The other option to think about is keep the ESP32 out of the ceiling altogether and just run a single data/ground line up to the lights.
Depending on distance you may get away with just a levelshifter or look in the KB on Long Data Lines.
That would be under led preferences with DDP . Also for another project we have used wled on an MCU as a button and that works but DDP is a better option for your use case
If you setup the unit with DDP then you have full control on the remote unit so anything done on the master will be reflected on the remote . Give it a shot