I just wanted to update this project, I had to take a break for a while Since then I decided to change the programming direction and thanks to @Ric and @bko I was able to complete the programming, and now I just need some help to complete the html/javascript.
Here is that thread - Peristaltic Doser - Doser set amount over 24hr period