Enhance web server to handle schedule updates and configuration loading
This commit is contained in:
+544
-393
File diff suppressed because it is too large
Load Diff
@@ -198,5 +198,5 @@ print("Press Ctrl+C to stop\n")
|
|||||||
# Main monitoring loop
|
# Main monitoring loop
|
||||||
while True:
|
while True:
|
||||||
run_monitors(monitors)
|
run_monitors(monitors)
|
||||||
web_server.check_requests(sensors, ac_monitor, heater_monitor)
|
web_server.check_requests(sensors, ac_monitor, heater_monitor, schedule_monitor)
|
||||||
time.sleep(0.1)
|
time.sleep(0.1)
|
||||||
Reference in New Issue
Block a user