Code cleanup and more conditions for debug temperature logging

The web dashboard now shows just 'history' on the graph

Actuators behind a PID now use power percentage instead of always 100%

Better protection, fixed fridge mode.

Simple temperature control in fridge mode.

Moved pid function to separate files

Better conditional PID logging

Restored blackout window

Code cleanup

Added more precision to the unit low and high black window margins. Switched to PID routine from Pid without a PhD. The PID compute routine is now in the one second loop. The switch delay times are now in seconds, 0..720.

(0) -300 -100 -10 +10 +100 +300 tip

mercurial