Text this: Implementation of an IoT-based Threshold Method for a Food Hazardous Substance Detection Tool