API

openhems.main()

Simple function to run wall OpenHEMS Application.

openhems.main.OpenHEMSApplication(...[, ...])

This class is the main class to manage OpenHEMS as independant application.

openhems.server.OpenHEMSServer(mylogger, ...)

This is the server thread witch aim to centralize information

openhems.modules.energy_strategy.offpeak_strategy.OffPeakStrategy(...)

This is in case we just base on "off-peak" range hours to control output.

openhems.modules.energy_strategy.solarnosell_strategy.SolarNoSellStrategy(...)

Could be named too NoBuy * Start the device when production > consommation + X * consommationDevice (during Y cycles?) * Stop a device if production < consommation - (1-X) * consommationDevice (during Y cycles?) If X==0 we could never sell electricity (If there is enough device consumption and the cycle duration is enough quick).