Problem Statement
One of my housemate's bedroom is at the first level of the house we live in. Unfortunately for him the bathroom is located at the second level. Every morning when he wakes up he has to walk up the stairs to check if the bathroom is vacant. If occupied, he has no choice but to wait outside or make his way back down. An IoT device that can tell him the occupancy status of the bathroom in the comfort of his bedroom which will help him time his trek to the bathroom every morning accordingly.
Goal
I will use a Hall effect sensor to detect if the bathroom door is open or closed. A push notification will be sent to his phone using IFTTT telling him that the bathroom is occupied when the door closes and vacant when the door opens again. He can now check the status of the bathroom in his bed without having to go up all the way to the second level. In edition an LED will indicate the occupancy status outside the bathroom for anyone else who passes by.
Parts
- Hall effect sensor x 1
- Photon x 1
- Breadboard x 1
- Jumper wires x 13
- Resistors x 4