openhems.server.OpenHEMSServer
- class openhems.server.OpenHEMSServer(mylogger, network, serverConf: ConfigurationManager, allowSleep=False)
- This is the server thread witch aim to centralize information
and take right deccisions to optimize consumption
Methods
__init__(mylogger, network, serverConf[, ...])check()"
decrementTime(duration)Decrement time from all objects neither the type (Thanks Python ;) )
getSchedule()Return scheduled planning.
loop([now])It's the content of each loop.
registerDecrementTime(node[, register])Register a node witch will decrement time.
run([loopDelay])Run an infinite loop