added periodic watering controlled by commands from serial