diff --git a/src/exporter.py b/src/exporter.py index 99f6661..e365c45 100644 --- a/src/exporter.py +++ b/src/exporter.py @@ -9,7 +9,7 @@ import asyncio import goodwe -print("\nGOODWE DATA EXPORTER v1.1.0\n") +print("\nGOODWE DATA EXPORTER v1.2.0\n") def checkArgs(argv): @@ -17,18 +17,20 @@ def checkArgs(argv): global POLLING_INTERVAL global INVERTER_IP global ENERGY_PRICE + global PV_POWER # set default values EXPORTER_PORT = 8787 POLLING_INTERVAL = 30 ENERGY_PRICE = 0.15 + PV_POWER = 5670 INVERTER_IP = "" # help - arg_help = "{0} --port --interval --inverter --energy-price ".format(argv[0]) + arg_help = "{0} --port --interval --inverter --energy-price --PVpower