Enhance web server to handle schedule updates and configuration loading
This commit is contained in:
parent
f4be1a7f7d
commit
2817273ba4
File diff suppressed because it is too large
Load Diff
2
main.py
2
main.py
@ -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)
|
||||||
Loading…
x
Reference in New Issue
Block a user