diff -r 8b56f1b4e7ec -r 4091d4fe217f thermferm/simulator.c --- a/thermferm/simulator.c Wed Jul 25 14:18:39 2018 +0200 +++ b/thermferm/simulator.c Wed Jul 25 20:08:13 2018 +0200 @@ -31,6 +31,8 @@ int SIMcooling = 0; int SIMheating = 0; +int SIMfan = 0; +int SIMlight = 0; #ifdef HAVE_WIRINGPI_H @@ -124,6 +126,7 @@ // Cheap trick, just follow slowly the air temp. simulator->beer_temperature += ((simulator->air_temperature - simulator->beer_temperature) / 500.0); simulator->air_temperature += ((simulator->beer_temperature - simulator->air_temperature) / 2500.0); + simulator->chiller_temperature = simulator->cooler_temp; // Libk these if ((seconds % 15) == 0) syslog(LOG_NOTICE, "air=%.3f beer=%.3f heater=%.3f cooler=%.3f", simulator->air_temperature, simulator->beer_temperature,