mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-27 20:56:35 +00:00
parent
a381da3a39
commit
430396832f
@ -428,6 +428,14 @@ void ThermostatCtrState(uint8_t ctr_output)
|
|||||||
break;
|
break;
|
||||||
// Ramp-up controller (predictive)
|
// Ramp-up controller (predictive)
|
||||||
case CTR_RAMP_UP:
|
case CTR_RAMP_UP:
|
||||||
|
// If ramp-up off time counter has been initialized
|
||||||
|
// AND ramp-up off time counter value reached
|
||||||
|
if ((Thermostat[ctr_output].time_ctr_checkpoint != 0) &&
|
||||||
|
(TasmotaGlobal.uptime >= Thermostat[ctr_output].time_ctr_checkpoint)) {
|
||||||
|
// Reset times
|
||||||
|
Thermostat[ctr_output].time_ctr_checkpoint = 0;
|
||||||
|
Thermostat[ctr_output].timestamp_rampup_start = TasmotaGlobal.uptime;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
#ifdef USE_PI_AUTOTUNING
|
#ifdef USE_PI_AUTOTUNING
|
||||||
// PI autotune
|
// PI autotune
|
||||||
|
Loading…
x
Reference in New Issue
Block a user