flow sensor automation