A team of scientists from Prince of Songkla University in Thailand has developed a simple, portable sensor device that can connect to a smartphone to show how much capsaicin is contained in a given chili pepper sample. https://arstechnica.com/science/2020/10/just-how-hot-is-that-pepper-new-chili-shaped-portable-device-could-tell-you/