From b2e8ec86abe8089ed5fbd1655677889b6691397f Mon Sep 17 00:00:00 2001 From: Rasmus Luha Date: Tue, 29 Apr 2025 00:25:22 +0300 Subject: add cml variables, and platform option to config --- config.py | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'config.py') diff --git a/config.py b/config.py index 684349c..86c43aa 100644 --- a/config.py +++ b/config.py @@ -1,4 +1,5 @@ -INTERACTIVE_MODE=False +INTERACTIVE_MODE=True +#PLATFORM="Nifiaskdjas" #### Nifi #### @@ -16,15 +17,18 @@ DB_URL="http://influxdb:8086/write?db=nifi_weatherData" DB_USER="admin" DB_PASS="admin" +#### Telegraf #### + +#TBA + + + +#### Over all #### ## Needed if Interactive mode turned off API_URL="https://api.open-meteo.com/v1/forecast?latitude=58.38&longitude=26.72¤t_weather=true" API_FIELDS={'temperature': '.current_weather.temperature', 'windspeed': '.current_weather.windspeed'} API_USERNAME="Placeholder" API_PASSWORD="Placehoder" -PIPELINE_SCHEDULING_PERIOD="5 sec" +PIPELINE_SCHEDULING_PERIOD="10 sec" PIPELINE_NAME="test_pipeline" - - - -#### Telegraf #### -- cgit v1.2.3