How to reset sensor history seen by PIDs?


When switching from one process to another (or testing different settings for tuning PIDs), I often wish I could force the PIDs to ignore the sensor history which is otherwise providing irrelevant input (from previous process or previous settings) via the filtered error, integral and derivative.

With the old brewpi firmware, I could just cycle the power on the spark. With the new firmware this doesn’t seem to work. I’m guessing the data store is now in persistent memory somewhere. I actually like this feature (makes resets less disruptive when integral is important for controlling an active fermentation), but it would be nice to be able to manually reset the history. Even better would be the ability to choose initial integral values when you need the PID to hit the ground running.

Is this currently possible? If so, would it be possible to implement?