Use the soft brush attachment of a vacuum to clean the outside of the alarm gently. If the sensor is especially dusty or dirty, you can clean it with a can of compressed air. Cleaning the smoke detector monthly helps ensure that the sensor can work properly.