I think this is a very nicely thought out approach. I particularly like it doing allergen tracking. Obviously you're at the mercy of supplier/supply-chain integrity but if you do e.g. wind up with ground cumin contaminated with god knows what, this is what will get you where you need to be.