openhems.main.OpenHEMSApplication
- class openhems.main.OpenHEMSApplication(yamlConfFilepath: str, *, port=0, logfilepath='', inDocker=False)
This class is the main class to manage OpenHEMS as independant application.
Methods
__init__(yamlConfFilepath, *[, port, ...])getLogger()Return logger
getNetworkFromConfiguration(logger, configurator)Method to instantiate a network from a ConfigurationManager
loadYamlConfiguration(configurator, ...)Load YAML configuration, over load it with a secret file if exists.
run()Run wall OpenHEMS Application
runManagementServer([event])Run core server (Smart part) without the webserver part.
runWebServer()Run just the webserver part.