Used Arduino to control 8 outlets. Lights happen to be on arches made from conduit. Arduino and relays were bought off Amazon for around $20. Outlets cost $1 each and some scrap wire to hook it all together. The schematics are in the video, just pause when you need them.
Here is the sketch I used for the Arduino Nano: [ Ссылка ]
Ещё видео!