I want to have two switches (preferably in the same box) that control two separate runs of LED lights, both powered by a single Allanson power supply:
I plan to switch the lights by breaking the 12V negative leg of each light run (tell me if this is a bad idea).
I believe that when both LED light runs are off:
- The power supply shouldn't be powered by the mains because it has no load and could be damaged
- Even if point 1 is wrong, the power supply needlessly consumes power
Based on these assumptions, I want both switches to also switch the 120V hot powering the power supply. Therefore, the power supply should be off if BOTH switches are off, and on if EITHER switch is on.
What parts and wiring configuration is needed to accomplish this?
I'm in the United States.
I read this question which describes a double pole switch; however the research I've done gives me the strong impression having 120V and 12V in the same box is not permitted.
Edit: Local building codes prohibit low- and high-voltage from coexisting in the same box, even if both use conductors rated for the highest voltage. Now what?