# HG changeset patch # User Michiel Broek # Date 1502389970 -7200 # Node ID 2e42fdf590191e34d63afec7c696feb808f21d16 # Parent d33516eac22fb568be945024d242cf940b7bfe62 Fan off during cooling diff -r d33516eac22f -r 2e42fdf59019 thermferm/thermferm.c --- a/thermferm/thermferm.c Thu Aug 10 16:27:54 2017 +0200 +++ b/thermferm/thermferm.c Thu Aug 10 20:32:50 2017 +0200 @@ -1765,9 +1765,10 @@ /* * If there is a fan, and the unit door is closed, and the unit should be doing * something, then turn on the global fan. + * But if there is a chiller, do not turn it on if cooling. */ if (unit->fan_address) { - if (unit->door_state) { + if ((unit->door_state) && (unit->cooler_state == 0)) { if (unit->fan_wait < unit->fan_delay) { unit->fan_wait++; } else {