Python code to handle Food Alert Raspberry Pi project