This has me stumped. There are lots of light switches actuated by closet doors. But I have a closet with a double bifold door (two bifolds that close towards the middle).
I can't think of, or find, any switch that can be readily mounted to this. The rail on which the doors travel make it impossible to use top switches. Switches meant for the jamb side of the door won't work because they expect the door to hinge away from the jamb, which it doesn't. Switches made for the leading edge of the door won't work because both leading edges move several feet and there is nothing else in the middle.
Some unwieldy ideas I have, but all of them have implementation issues:
- Use a motion switch. That doesn't work for my situation because the door is left open much of the time, and I want the light on whenever it's open without any timeout.
- Put a switch on the leading edge of one door, that butts against the other door when closed. But the wire to the switch would have to travel on a horseshoe-shaped track, like the cables to an elevator or a print head. That seems crazy but maybe it could work? Maybe I could even pillage a broken (but very wide) printer for the carriage?
- Use a magnetic switch. This would be easy to install! But I can't find a magnetic switch that is pre-packaged and UL approved for 120V use, and they all have exposed terminals leaving the job to me of building a safe electrical enclosure or using a relay.
Of all the above, the most approachable approach for me is the magnetic switch with a relay. The relay would go in a project box or perhaps inside a PVC junction box that I'd mount next to the receptacle where I pick up power. But this seems a bit Rube Goldberg for the purpose