I once overengineered a LED lighting controller using a RaspberryPi Zero W.
This is what is left of it:
Also I made a PCB that had the relays mirrored in the layout. Luckily the standoffs were tall enough so
there was enough space under the PCB for mounting them the mirrored way.
There are 3 relays controlled by the RaspberryPi. The one on the right could switch an 230 VAC light bulb.
The one on the left is for switching all four constant current LED drivers at once. The LEDs had temperature sensors attached,
so the third relay was used to turn on a fan to cool the LEDs in case they got too hot (never happend).
All of this was controlled by a php application (the actual highlight of this build) running on the RaspberryPi which
I sadly lost since git was an alien concept to me back then...