CO2 and TPA81 sensor