This item can show you when you door has been opened, closed, and if the door has stayed open for an allotted amount of time.
This is a small motor driver based around the L298 dual, H-bridge and the BeagleBone Black. It was typed up in Python.
I have been working out of a book and I thought of adding some extra oomph.