MQBROKER= # ip address of the MQTT broker MQPORT= # port of the MQTT broker MQUSER= # username for MQTT broker MQPWD= # password for MQTT broker MQTOPIC_P_HOUSE= # the MQTT topic for current house power MQTOPIC_P_SOLAR= # the MQTT topic for current solar power MAXIMUM_DATA_TS_DEVIATION=1 # maximum time difference which is accepted for the arrival of house power and solar power MQTT messages, default: 5 [sec] OPENDTU_ADDR=
# address of opendtu (format: http(s)://:/) OPENDTU_USER= # username for opendtu auth OPENDTU_PWD= # password for opendtu auth OPENDTU_INVERTER_SN= # serial number of the inverter to control LIMIT_CORRECTION_FACTOR=2 # correction factor for limit setting (e.g.: when only 2 strings of 4 are connected, you always need to set 2x the power), default: 1.0 LIMIT_UPDATE_INTERVAL=5 # interval in which the limit shall be updated, default: 5 [sec] DRY_RUN=0 # if the limit shall be set or not; default: 1 (0: False, 1: True) POWER_TARGET=15 # the target power consumption of the house, default: 50 [Watts] POWER_TARGET_MIN=0 # minimum percentage for the inverter output limit, default: 0.0 [%] POWER_TARGET_MAX=100 # maximum percentage for the inverter output limit, default: 100.0 [%] POWER_DAMPING_FACTOR=0.7 # damping factor for changes of the inverter output limit (between 0-1), default: 0.3 POWER_LIMIT_CHANGE_TRESHOLD=0.3 # set a treshold for the api calls: they will not be executed if the new limit isn't that much higher, default: 0.5 PYTHONUNBUFFERED=1 # for use in docker images (for fast logs, ...)