I recently added a new member to my team. Doug is a Raspberry Pi that lives near my router. Unfortunately Doug will not quite open my door for me (yet) but he will notify me when my door opens or my door closes. The entire process is very flexible, but is a team effort.
How does Doug do it? Doug uses a reed switch to detect if the door is open or closed.