Well, there is Which Sensor to Choose.
I don’t think you’ll have to put the sensor outside. It obviously depends on the amount of ventilation, and the air quality generally in your city, and of course the temperature outside! Even with all the windows closed, buildings are surprisingly leaky.