I worked at a company making a project to auto detect poopy diapers (help new parents change them quicker and track schedules — unclear if there's real benefit but anyway). It turned out to be surprisingly hard to differentiate poop from other organic odors, like coffee.
Anyway, I could see better auto olfactory sensors having applications outside of food.