This door sensor powers on if the door opens and maintains powered until data (over wifi) is sent, shuts itself down after detecting the is door closed - not fully working yet / WIP

WIP: Transistor does not keep circuit powered, detection of door close not working yet. See for resolution of issues.