smoothing pot input

Googling arund I found this smoothing algorithm.

It's an "exponentially weighted moving average" or EMWA (missing the proper initialization as skyjumper mentioned).