At my house it tends to be warm in the day but cool at night. We like to leave our windows open at night but we have a neighbor that smokes occasionally. We really dislike the smoke smell coming into the house so often just leave stuff shut. I want to work on a home automation project to automatically open the windows when the outside temp drops below the inside temp. The problem is I want to try and find a way to tell if the neighbor is smoking and have it shut the windows (or not open them).
Does anyone know of a sensor that I might use to detect when the neighbor is smoking? Obviously something like a smoke detector won’t work since it is not tons of smoke but if I can smell it I was hoping there is a sensor that could monitor and detect it.