Inspired by an accident in its own offices, the company created air quality monitors fit for industrial and home use.