summaryrefslogtreecommitdiff
path: root/config.py
diff options
context:
space:
mode:
authorRasmus Luha <rasmus.luha@ut.ee>2025-04-25 21:43:54 +0300
committerRasmus Luha <rasmus.luha@ut.ee>2025-04-25 21:43:54 +0300
commit0a16e0e3e586456cf2e86dbdad4b66787b036a5d (patch)
tree7e82621e2d06d84801598b195fe3150140431d94 /config.py
parent9ba62c9bf9f19053f6eb664db70eb342812efc38 (diff)
some restructuring, start telegraf module
Diffstat (limited to 'config.py')
-rw-r--r--config.py19
1 files changed, 9 insertions, 10 deletions
diff --git a/config.py b/config.py
index f5d4554..3b1f304 100644
--- a/config.py
+++ b/config.py
@@ -1,15 +1,15 @@
-INTERACTIVE_MODE=True
+INTERACTIVE_MODE=False
+
+
+#### Nifi ####
-## Nifi
NIFI_HOST="https://127.0.0.1.nip.io"
NIFI_DEPLOY=False
NIFI_USER="lab08nifiuser"
NIFI_PASS="tartunifi2023"
-#NIFI_MEASUREMENT_NAME="test_measurementName"
-NIFI_MEASUREMENT_NAME=""
-
+NIFI_MEASUREMENT_NAME="test_measurementName"
## Database
DB_URL="http://influxdb:8086/write?db=nifi_weatherData"
@@ -17,11 +17,6 @@ DB_USER="admin"
DB_PASS="admin"
-
-###############################
-
-
-
## Needed if Interactive mode turned off
API_URL="https://api.open-meteo.com/v1/forecast?latitude=58.38&longitude=26.72&current_weather=true"
API_FIELDS={'temperature': '.current_weather.temperature', 'windspeed': '.current_weather.windspeed'}
@@ -29,3 +24,7 @@ API_USERNAME="Placeholder"
API_PASSWORD="Placehoder"
PIPELINE_SCHEDULING_PERIOD="5 sec"
PIPELINE_NAME="test_pipeline.json"
+
+
+
+#### Telegraf ####