From: Martin Mares Date: Mon, 1 Apr 2024 10:18:17 +0000 (+0200) Subject: burrow-auto: Meditation hack X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=76a6019d3dfac094eb959bcb28eac612d7c64dca;p=home-hw.git burrow-auto: Meditation hack --- diff --git a/auto/burrow-auto b/auto/burrow-auto index 0585430..28b7c85 100755 --- a/auto/burrow-auto +++ b/auto/burrow-auto @@ -154,7 +154,9 @@ def auto_loft_fan(): lt = st.get_sensor_avg("temp/loft") out = st.get_sensor_avg('air/outside-intake') - if lt is None or out is None: + if st.hour in range(21, 24) or st.hour in range(6, 10): + fs = 0 + elif lt is None or out is None: fs = 0 elif st.hysteresis('lf_out_cold', out, 5, 6) < 0: fs = 0