|
|
|
|
|
by georgemcbay
4486 days ago
|
|
Pretty cool, but why reed switches on the door instead of a passive IR detector with a timeout? Neither is perfect, but the PIR doesn't rely on people to remember not to close the door when leaving (which I assume is how they determine actual occupancy?). You could wire the same PIR to also control the light on/off state, so if someone is having an epic poop but not moving too much you can be pretty sure they'll move to make the light go on if they hit the timeout. |
|
Partial writeup: http://www.stavros.io/posts/control-rf-devices-with-arduino/