Closed T81 closed 1 year ago
It seems that 60s is the least time the controller stays on. Any confirmation?
It may be linked to the keep_alive parameter.
I think you are right. I thought that the timings (on/off) were respected regardless of the keep_alive setting, that only affects the time the controller retriggers. I set keep_alive to 1 second. Any implications doing that?
I have confirmed that this was the issue. I've tested that again while having set the keep_alive parameter at 1 second. The output of the controller is 1.4 Having set the pwm parameter to 00:15:00 (900 seconds) it should have been 1.4/100*900 = 12.6 that means 13 seconds heating, taking account the 1 second update interval from the keep_alive parameter. The heater stays on indeed for 13 seconds Out of curiosity, what happens when setting keep_alive parameter to 0?
Since keep_alive
is a generic_thermostat
configuration variable, I suppose setting it to 0
will render the control unusable
Describe the bug The percentage of calculated output does not reflect the time the heater remains on.
Config:
For example, a calculated output of 2.8, should have to switch the thermostat on for 2.8/100*900 = 25.2 seconds Instead, the switch remains on for 60s, that is a pwm cycle of ~35.7 minutes.
To Reproduce Check the computed output and compare with the time the switch remains on
Expected behavior Calculated output e.g
output: 10
should be 10% ofpwm
setting