If you're worried about pollutants or chemical attacks, you could surround your home with sophisticated (and expensive) detectors. In a few years, you might be able to do the job with specially engineered plants that instantly change color in the presence of a harmful substance.