Move admin to static folder, reduce manual mode timeout to 40 seconds
This commit is contained in:
parent
e3cc1cd407
commit
6287708d8c
|
@ -127,7 +127,7 @@ class Controller:
|
|||
self._manual_mode = False
|
||||
self.manual_on = False
|
||||
self.manual_timeout = 0
|
||||
self.manual_duration = 120
|
||||
self.manual_duration = 40
|
||||
|
||||
self.humidifier_history = np.zeros(30)
|
||||
self.first_sample = False
|
||||
|
|
|
@ -71,7 +71,7 @@ async function manualModeLoop(auth) {
|
|||
manual_loop_running = true
|
||||
try {
|
||||
while (manual_mode) {
|
||||
await sleep(60*1000)
|
||||
await sleep(30*1000)
|
||||
if (manual_mode) await manualMode(auth, manual_mode)
|
||||
}
|
||||
} finally {
|
Loading…
Reference in New Issue