From eb8b6d7eee62eb21bc6083544116af27b1e944ce Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Thu, 9 May 2024 23:14:51 +0100 Subject: [PATCH] =?utf8?q?Input=20temp=20offset=20to=200.1=C2=B0C;=20there?= =?utf8?q?'s=20too=20much=20hysteresis=20with=200.2=C2=B0C?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Also reduce the pump-off time to ten minutes. Half an hour is much too long. --- pool.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pool.yaml b/pool.yaml index 91e1c51..1e820ca 100644 --- a/pool.yaml +++ b/pool.yaml @@ -92,10 +92,10 @@ script: // 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; @@ -105,10 +105,10 @@ script: 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(); } } -- 2.50.1