There is a closet in the hallway of my house that is affectionately known as "The Only Hallway Closet". It stores my family's jackets, shoes, blankets, and batteries. The problem with this closet is that it doesn't have a light. Sure, we've tried those stick-on lights that they sell in infomercials, but they don't work that well and it's very easy to forget to turn them off. My dad bought a ceiling light for the closet, but it was never installed. I decided it was about time there was a permanent light source in that closet and I wanted to do it in style. I designed some sensors that detect when the door is opened and closed and will accordingly turn the closet light on and off. This blog post details everything about creating this project, including the electronics and installation.