detects door open and sends web request, but flip flops when door is open...