I want to control bathroom light by using Magnetic Reed Switch (Sensor). When enters inside light should be ON & after coming out light should be OFF.
closed as off-topic by Machavity, Tyson, ThreePhaseEel, Daniel Griscom, The Evil Greebo Jun 26 '18 at 19:07
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions seeking product or service recommendations are off-topic because they tend to become obsolete quickly. Instead, describe your situation and the specific problem you're trying to solve." – Machavity, Tyson, ThreePhaseEel, Daniel Griscom, The Evil Greebo
As mentioned, constructing something from loose parts is often a local code violation. The common solution to this issue now is easier to implement, it's called an "occupancy sensor" that is built into the switch. it uses Passive Infra-Red (PIR) sensors that detect if a human (or animal) is in the room giving off heat and moving. They will have a timer built-in as well so that if you don't move for a few minutes, it doesn't go dark on you. Search for a "PIR occupancy sensor" that is available wherever you are located.