I am currently working on a project with my Raspberry Pi.... I would like to be able to control 5 different lights at the same time, but only one of the lights will be on at a time. In theory, I would be able to change the status of my system and only 1 light would be lit at a time. If I change my system's status from #1 to #2, light #1 would turn off and light #2 would turn on, etc etc.
I have already set up my webserver on the RPI to listen for when I change the status of proposed light system, but I need a compact way of controlling the lights. I have already seen this to control the power of the lights but I plan on putting these lights in a enclosure. Therefore, 5 of those power cables would be extremely bulky... I have asked around for some ideas (S.E. DIY, S.E. Electric, and on a few other forums) for direction of this project and I came across this insane Christmas light setup which showed the use of Solid State Relays.
I also just came across this website which provides quite the walkthrough on wiring the RPI (pin schema) and software that supports controlling it.
Should I use Solid State Relays for a multiple light control system controlled from my RPI ? or is there a whole different approach to this ?
If need be, I can provide some diagrams of what I would like to do.