CO2 detector providing multi gas detection