diff -r 96e30a3a3980 -r 1885d0c75c48 main/task_ds18b20.c --- a/main/task_ds18b20.c Mon Jun 21 19:04:10 2021 +0200 +++ b/main/task_ds18b20.c Tue Jun 22 22:21:09 2021 +0200 @@ -26,6 +26,7 @@ float Fake_MLT = 18.90; float Fake_HLT = 18.70; +extern double Output; #endif static const char *TAG = "task_ds18b20"; @@ -218,8 +219,12 @@ } // If plate is hotter then the water with a offset so that cooling later works. if (Plate_MLT > (Fake_MLT + 5.0)) { - if (Fake_MLT < 100.05) - Fake_MLT += SAMPLE_PERIOD * 0.000001 * (Plate_MLT - Fake_MLT); + if (Fake_MLT < 100.05) { + if (equipment.Hendi) + Fake_MLT += SAMPLE_PERIOD * 0.000001 * (Plate_MLT - Fake_MLT) * (Output / 255.0) * 2; + else + Fake_MLT += SAMPLE_PERIOD * 0.000001 * (Plate_MLT - Fake_MLT); + } } // Allways loose heat to the air if (Fake_MLT > 16.0) {