I've been using superglue (cyanoacrylate) to attach a small metal L-bracket to some IP65-rated ABS plastic boxes, then hanging them on a nail or screw using the metal bracket. The boxes contain battery-powered temperature sensors. This has worked great for several years for the attic and crawlspace. But the outside boxes fall off every winter. I think the metal and plastic expand and contract at different rates through the temperature swings (40C/104F summer, -10C/14F winter) causing the bond to break. Amusingly, superglue is NOT one of the recommendations given on this website (LePage's Metal Epoxy, J-B Weld, Faststeel Epoxy Putty) for Metal to Plastic.