// accumulating in the water on the roof even while we vacillate.
//
// Having replaced the valve assembly in 2024, the new input sensor
- // seems to be reading *lower* than the output by about 0.2°C, so we
+ // seems to be reading *lower* than the output by about 0.1°C, so we
// end up pumping heat into the sky, especially in the evenings. So
// we now make the correction in the opposite direction.
- intemp += 0.2;
+ intemp += 0.1;
if (outtemp == intemp)
return;
if (id(valve_output).state == want_state) {
ESP_LOGD("control_valve", "Leaving valve %s", want_state ? "ON" : "OFF");
- if (!want_state && id(pool_pump).state && now > id(control_valve_last_change) + 1800) {
+ if (!want_state && id(pool_pump).state && now > id(control_valve_last_change) + 600) {
auto t = id(sntp_time).now();
if (t.is_valid() && t.hour >= 17) {
- ESP_LOGD("control_value", "Cold for half an hour. Turning pump off for the night");
+ ESP_LOGD("control_value", "Cold for ten minutes. Turning pump off for the night");
id(pool_pump).turn_off();
}
}