I took this even further, put air purifiers in most rooms and hooked them up to air quality sensors.
Mostly they run on the very quiet setting (or not at all), but they’ll automatically spin up if someone cooks, farts, opens a window or hits a vape pen.
Also add a CO2 sensor (not CO, carbon monoxide, but carbon dioxide). It is staggering how much CO2 is emitted when sitting in a room working and which literally makes your mind react slower and make you more dumb, essentially.