# HG changeset patch # User Michiel Broek # Date 1500929728 -7200 # Node ID bd1ea64ae484b375ab85fbf336ffc0ecdfc1566a # Parent eca3813c21ee635dfb22f8b7d28bd53f588f2f7c Changed extreme PID control from 5to 8 degrees. diff -r eca3813c21ee -r bd1ea64ae484 thermferm/thermferm.c --- a/thermferm/thermferm.c Sun Jul 23 12:12:58 2017 +0200 +++ b/thermferm/thermferm.c Mon Jul 24 22:55:28 2017 +0200 @@ -1631,7 +1631,7 @@ /* * Prevent extreme heating */ - if ((unit->mode == UNITMODE_BEER) && ((unit->air_temperature / 1000.0) > (unit->PID_heat->Input + 5.0))) { + if ((unit->mode == UNITMODE_BEER) && ((unit->air_temperature / 1000.0) > (unit->PID_heat->Input + 8.0))) { unit->PID_heat->OutP = 0.0; } if (debug) @@ -1648,7 +1648,7 @@ /* * Prevent extreme cooling */ - if ((unit->mode == UNITMODE_BEER) && ((unit->air_temperature / 1000.0) < (unit->PID_cool->Input - 5.0))) { + if ((unit->mode == UNITMODE_BEER) && ((unit->air_temperature / 1000.0) < (unit->PID_cool->Input - 8.0))) { unit->PID_cool->OutP = 0.0; } /*