code to read tips to save water and insert on mongo