I have a couple closets in my basement that I have outfitted with a fluorescent light attached to a motion sensor (this one). The idea was that when you open the closet door, the light comes on automatically (and turns off automatically when you close it).
The first problem I ran into was trying to use a light with an electronic ballast, which didn't work at all. After reading the instructions I found that you have to use a light with a magnetic ballast.
So, i replaced the light with one that has a a magnetic ballast, and now it comes on just fine when the door is opened. After closing the door and waiting a minute or so the light should turn off. But instead of turning off it just begins to flicker very rapidly.
Any one have any ideas about what might be causing that or what I might have done wrong? Or any personal experience with fluorescent lights that will work with a motion sensor?
I thought about just using an incandescent light instead, but seems that code doesn't allow incandescent lights in closets.