diff options
-rw-r--r-- | scripts/elvia.py | 2 | ||||
-rw-r--r-- | scripts/elvia_gridtariff.py | 1 | ||||
-rw-r--r-- | scripts/entsoe.py | 1 | ||||
-rw-r--r-- | scripts/nb.py | 1 |
4 files changed, 5 insertions, 0 deletions
diff --git a/scripts/elvia.py b/scripts/elvia.py index e1ea6de..dab2329 100644 --- a/scripts/elvia.py +++ b/scripts/elvia.py @@ -15,6 +15,8 @@ apiUrl = "https://elvia.azure-api.net/customer/metervalues/api/v1/metervalues" startTime = datetime.now(get_localzone()) - timedelta(days = 2) startTime = startTime.isoformat('T') +#startTime = '2023-05-23T08:16:15.408667+02:00' # <- edit for manual starttime. Like when filling in missing info. + endTime = datetime.now(get_localzone()).isoformat('T') diff --git a/scripts/elvia_gridtariff.py b/scripts/elvia_gridtariff.py index f6b64f9..43f1940 100644 --- a/scripts/elvia_gridtariff.py +++ b/scripts/elvia_gridtariff.py @@ -18,6 +18,7 @@ meteringPointId = os.environ['el_meteringPointId'] startTime = datetime.now(get_localzone()) - timedelta(days = 2) startTime = startTime.strftime('%Y-%m-%d') +#startTime = '2023-05-23' # <- edit for manual starttime. Like when filling in missing info. endTime = datetime.now(get_localzone()) + timedelta(days = 2) endTime = endTime.strftime('%Y-%m-%d') diff --git a/scripts/entsoe.py b/scripts/entsoe.py index 63308c2..b1d9270 100644 --- a/scripts/entsoe.py +++ b/scripts/entsoe.py @@ -31,6 +31,7 @@ apiUrl = "https://web-api.tp.entsoe.eu/api?securityToken=" + apiKey startTime = datetime.now(get_localzone()) - timedelta(days = 7) startTime = startTime.strftime('%Y%m%d') +#startTime = '20230523' # <- edit for manual starttime. Like when filling in missing info. endTime = datetime.now(get_localzone()) + timedelta(days = 1) endTime = endTime.strftime('%Y%m%d') diff --git a/scripts/nb.py b/scripts/nb.py index db65cf7..c3bbe40 100644 --- a/scripts/nb.py +++ b/scripts/nb.py @@ -21,6 +21,7 @@ pg_table = "nbex" startTime = datetime.now(get_localzone()) - timedelta(days = 10) startTime = startTime.strftime('%Y-%m-%d') +#startTime = '2023-05-23' # <- edit for manual starttime. Like when filling in missing info. endTime = datetime.now(get_localzone()).strftime('%Y-%m-%d') |