diff options
author | Rasmus Luha <rasmus.luha@ut.ee> | 2025-04-25 21:43:54 +0300 |
---|---|---|
committer | Rasmus Luha <rasmus.luha@ut.ee> | 2025-04-25 21:43:54 +0300 |
commit | 0a16e0e3e586456cf2e86dbdad4b66787b036a5d (patch) | |
tree | 7e82621e2d06d84801598b195fe3150140431d94 /config.py | |
parent | 9ba62c9bf9f19053f6eb664db70eb342812efc38 (diff) |
some restructuring, start telegraf module
Diffstat (limited to 'config.py')
-rw-r--r-- | config.py | 19 |
1 files changed, 9 insertions, 10 deletions
@@ -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¤t_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 #### |