Main program for monitoring the coffee percolator