The use of IoT principles to reduce food waste in the kitchen