diff --git a/demo_config.json b/demo_config.json index c628bca..15d8fe1 100644 --- a/demo_config.json +++ b/demo_config.json @@ -10,6 +10,115 @@ "api_key": "8< snip >8" }, "configs": [ + { + "url": "http://wttr.in/:Hirschaid?format=j1", + "values": [ + { + "path": [ + "current_condition", + 0, + "weatherCode" + ], + "tags": { + "system": "weather", + "metric": "weatherCode", + "unit": "N/A" + }, + "measurement": "environment" + }, + { + "path": [ + "current_condition", + 0, + "winddirDegree" + ], + "tags": { + "system": "weather", + "metric": "winddir", + "unit": "⁰" + }, + "measurement": "environment" + }, + { + "path": [ + "current_condition", + 0, + "windspeedKmph" + ], + "tags": { + "system": "weather", + "metric": "windspeed", + "unit": "km/h" + }, + "measurement": "environment" + }, + { + "path": [ + "current_condition", + 0, + "uvIndex" + ], + "tags": { + "system": "weather", + "metric": "uvIndex", + "unit": "N/A" + }, + "measurement": "environment" + }, + { + "path": [ + "current_condition", + 0, + "pressure" + ], + "tags": { + "system": "weather", + "metric": "pressure", + "unit": "hPa" + }, + "measurement": "environment" + }, + { + "path": [ + "current_condition", + 0, + "cloudcover" + ], + "tags": { + "system": "weather", + "metric": "cloudcover", + "unit": "%" + }, + "measurement": "environment" + }, + { + "path": [ + "current_condition", + 0, + "temp_C" + ], + "tags": { + "system": "weather", + "metric": "temp_C", + "unit": "C" + }, + "measurement": "environment" + }, + { + "path": [ + "current_condition", + 0, + "humidity" + ], + "tags": { + "system": "weather", + "metric": "humidity", + "unit": "%" + }, + "measurement": "environment" + } + ] + }, { "url": "https://pass.telekom.de/api/service/generic/v1/status", "values": [