About This Project
This would turn on the table fan(or a dc fan in my case) if some one enters the room and also notify me via email.The pi will get a digital input from the IR sensor and
Raspberry pi 2 model b
BC547 transistor x 1
Triggers & Alerts
Used some triggers and alerts to turn on the fan and notify me about it
Used the scheduling feature to turn off the raspberry pi at 12:00 midnight.