summaryrefslogtreecommitdiff
path: root/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'config.py')
-rw-r--r--config.py17
1 files changed, 8 insertions, 9 deletions
diff --git a/config.py b/config.py
index e1a34e1..4bd495a 100644
--- a/config.py
+++ b/config.py
@@ -1,5 +1,5 @@
-INTERACTIVE_MODE=False
-PLATFORM="Nifi"
+INTERACTIVE_MODE=True
+PLATFORM="Telegraf"
#### Nifi ####
@@ -10,13 +10,12 @@ NIFI_DEPLOY=True
NIFI_USER="lab08nifiuser"
NIFI_PASS="tartunifi2023"
-MEASUREMENT_NAME="Ateena_ilm"
+MEASUREMENT_NAME="testers_measurementersNames"
## Database
-#DB_URL="http://influxdb:8086/write?db=nifi_weatherData"
DB_URL="http://influxdb:8086"
#DB_NAME="nifi_weatherData"
-DB_NAME="nifi_weatherData"
+DB_NAME="telegraf_weatherData"
DB_USER="admin"
DB_PASS="admin"
@@ -31,7 +30,7 @@ DB_PASS="admin"
## Needed if Interactive mode turned off
API_URL="https://api.open-meteo.com/v1/forecast?latitude=37.9838&longitude=23.7275&current_weather=true"
API_FIELDS={'temperature': '.current_weather.temperature', 'windspeed': '.current_weather.windspeed'}
-API_USERNAME="Placeholder"
-API_PASSWORD="Placehoder"
-PIPELINE_SCHEDULING_PERIOD="10"
-PIPELINE_NAME="Ateena"
+API_USERNAME="rasmus.luha"
+API_PASSWORD="rasmusPass"
+PIPELINE_SCHEDULING_PERIOD="15"
+PIPELINE_NAME="TestPiper"