Goal: To create a board that sits in a fridge and monitors when the door is closed. When it is closed, it must determine whether the light goes out correctly and does not come on. If it does come on then the fridge is obviously consuming more electricity than it needs to so an alarm must sound to alert the owner.
Help: Where can I start?