# HG changeset patch # User Matt Johnston # Date 1447169103 -28800 # Node ID 50a0e2d7d9e303bc26f70eabd6e4dc93cd213783 # Parent 4632018d1c80ce9922667d7b7878831100565890 more logging of overshoot diff -r 4632018d1c80 -r 50a0e2d7d9e3 py/fridge.py --- a/py/fridge.py Tue Nov 10 21:10:57 2015 +0800 +++ b/py/fridge.py Tue Nov 10 23:25:03 2015 +0800 @@ -99,7 +99,9 @@ if not params.nowort and wort is not None: if wort - overshoot < params.fridge_setpoint: - L("wort has cooled enough, %(wort)f" % locals() ) + max_div = self.OVERSHOOT_MAX_DIV + overshoot_factor = params.overshoot_factor + L("wort has cooled enough, %(wort)fº (overshoot %(overshoot)fº = %(overshoot_factor)f * min(%(on_time)f) / %(max_div)f)" % locals() ) turn_off = True elif fridge is not None and fridge < fridge_min: W("fridge off fallback, fridge %(fridge)f, min %(fridge_min)f" % locals())