Timer, inputs, and states, need some help with a project for brewing beer

I think millis() could be useful..