]> mj.ucw.cz Git - home-hw.git/commitdiff
Auto: Winter mode
authorMartin Mares <mj@ucw.cz>
Sun, 10 Nov 2019 16:19:18 +0000 (17:19 +0100)
committerMartin Mares <mj@ucw.cz>
Sun, 10 Nov 2019 16:19:18 +0000 (17:19 +0100)
auto/burrow-auto

index 12fd420883566b82005f6e36922679132da4fdee..4dba420893cf3d4c081d5c86f0afb616fb50d441 100755 (executable)
@@ -154,7 +154,7 @@ def auto_loft_fan():
 
 def auto_circ():
     global st
-    if st.hour in range(20, 22):
+    if st.hour in range(7, 24):
         c = 1
     else:
         c = 0;
@@ -175,6 +175,11 @@ def auto_air():
     else:
         ac_off = st.hysteresis('ac_off', tmix, tie - 5, tie - 4)
 
+    # XXX: Temporarily disabled
+    house_warm = -1
+    house_hot = -1
+    ac_off = 1
+
     # Do we want to bypass the heat exchanger?
     outside_warmer = st.hysteresis('outside_warmer', diff(toi, tii), -0.5, 0.5)
     if (house_warm > 0) and (outside_warmer > 0) or \