Smart sensors will detect environmental pollution at the speed of light 1