Bewaesserungsanlage/main.py

12 lines
444 B
Python
Raw Normal View History

2022-08-15 23:58:07 +02:00
from Webserver import startWebserver
from ZoneManager import ZoneManager
from SystemSettings import SystemSettings
from FileIO import FileIO
if __name__ == "__main__":
systemSettings = SystemSettings(dataDir="/Data", multiZoneIrrigation=True)
fileIO = FileIO(systemSettings)
zoneManager = ZoneManager(systemSettings=systemSettings, fileIO=fileIO)
startWebserver(port=80, zoneManager=zoneManager)
print("webserver started")