I am in the process of building an automated lighting system for a bathroom in my home. The goal is to have the string of light turned on when the bathroom door is closed and nobody is in the room, and then have the lights turn off when someone enters the room. I want to have 3 failsafe's to make sure the lights do not come on when someone is in the room. As of right now, I've got an SPST-NO magnetic door switch to allow power through the line when the door is closed but I need some sort of an occupancy sensor to make sure that nobody is in the room before the light turns on. The sensor also needs to immediately switch to an open position with no delay when the sensor detects motion. If anyone knows of any products that will accommodate this please let me know!
Thank you.
Thank you.