Plastic housing for detecting device