Weatherproof Box for Wireless Tag for mailbox door

This box and lid keep water out of the indoors-only motion sensor tag http://wirelesstag.net/ that signals when the door is opened or closed.
There is a custom bracket screwed to the hinge along the front of the door (part of a repair of the door, in this case), which bends around the edge of the door and provides a place to cement this box. The box is ABS, 3D printed, so acetone cements it well.
This method keeps the tag outside the box, for a stronger signal.