add wttr.in as demo data

This commit is contained in:
Joachim Lusiardi 2024-02-07 15:17:52 +01:00
parent 46dc6ffb71
commit 4a4e254759
1 changed files with 109 additions and 0 deletions

View File

@ -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": [