Rip off a piece of aluminum foil to fit over the smoke detector and around its sides. Wrap the piece of aluminum foil around the smoke detector. It should stay by itself, but if it doesn't, wrap a large rubber band around it.