Put together optical procedures. There are many proprietary optical smoke measurement units like the 'nephelometer' or even the 'aethalometer' which use a number of various optical procedures, such as more than one wavelength of light, inside an individual instrument and use an algorithm to provide a very good estimate https://broadfar.com/heated-tobacco-shaping-a-safer-sustainable-smoking-future/