rusty_home/demo_config.json

365 lines
8.4 KiB
JSON
Raw Normal View History

2024-02-07 10:29:24 +01:00
{
"influx": {
"url": "http://localhost:8086",
"database": "rust",
"username": "8< snip >8",
"password": "8< snip >8"
},
"vars": {
"site_id": "8< snip >8",
"api_key": "8< snip >8"
},
"configs": [
2024-02-07 15:17:52 +01:00
{
"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"
}
]
},
2024-02-07 10:29:24 +01:00
{
"url": "https://pass.telekom.de/api/service/generic/v1/status",
"values": [
{
"path": [
"usedVolume"
],
"tags": {
"system": "internet_fraenk",
"metric": "used_volume",
"unit": "B"
}
}
]
},
{
"url": "https://monitoringapi.solaredge.com/site/{{site_id}}/overview?api_key={{api_key}}",
"values": [
{
"path": [
"overview",
"lifeTimeData",
"energy"
],
"tags": {
"system": "photovoltaik",
"metric": "liftimeEnergyProduced",
"unit": "Wh"
},
"measurement": "environmental_benefits"
},
{
"path": [
"overview",
"lastYearData",
"energy"
],
"tags": {
"system": "photovoltaik",
"metric": "current_year_production",
"unit": "Wh"
},
"measurement": "environmental_benefits"
},
{
"path": [
"overview",
"lastMonthData",
"energy"
],
"tags": {
"system": "photovoltaik",
"metric": "current_month_production",
"unit": "Wh"
},
"measurement": "environmental_benefits"
},
{
"path": [
"overview",
"lastDayData",
"energy"
],
"tags": {
"system": "photovoltaik",
"metric": "current_day_production",
"unit": "Wh"
},
"measurement": "environmental_benefits"
}
]
},
{
"url": "https://monitoringapi.solaredge.com/site/{{site_id}}/storageData?api_key={{api_key}}&startTime={{day_start}}&endTime={{day_end}}",
"values": [
{
"path": [
"storageData",
"batteries",
0,
"telemetries",
-1,
"power"
],
"tags": {
"system": "photovoltaik",
"metric": "battery_power",
"unit": "W"
},
"measurement": "environmental_benefits"
},
{
"path": [
"storageData",
"batteries",
0,
"telemetries",
-1,
"lifeTimeEnergyDischarged"
],
"tags": {
"system": "photovoltaik",
"metric": "battery_lifetime_energy_discharged",
"unit": "Wh"
},
"measurement": "environmental_benefits"
},
{
"path": [
"storageData",
"batteries",
0,
"telemetries",
-1,
"lifeTimeEnergyCharged"
],
"tags": {
"system": "photovoltaik",
"metric": "battery_lifetime_energy_charged",
"unit": "Wh"
},
"measurement": "environmental_benefits"
},
{
"path": [
"storageData",
"batteries",
0,
"telemetries",
-1,
"batteryPercentageState"
],
"tags": {
"system": "photovoltaik",
"metric": "battery_charge_state",
"unit": "%"
},
"measurement": "environmental_benefits"
},
{
"path": [
"storageData",
"batteries",
0,
"telemetries",
-1,
"fullPackEnergyAvailable"
],
"tags": {
"system": "photovoltaik",
"metric": "battery_full_charge_energy",
"unit": "Wh"
},
"measurement": "environmental_benefits"
},
{
"path": [
"storageData",
"batteries",
0,
"telemetries",
-1,
"internalTemp"
],
"tags": {
"system": "photovoltaik",
"metric": "battery_temp",
"unit": "C"
},
"measurement": "environmental_benefits"
}
]
},
{
"url": "https://monitoringapi.solaredge.com/site/{{site_id}}/envBenefits?api_key={{api_key}}",
"values": [
{
"path": [
"envBenefits",
"lightBulbs"
],
"tags": {
"system": "photovoltaik",
"metric": "lightBulbs",
"unit": "pieces"
},
"measurement": "environmental_benefits"
},
{
"path": [
"envBenefits",
"treesPlanted"
],
"tags": {
"system": "photovoltaik",
"metric": "trees_planted",
"unit": "pieces"
},
"measurement": "environmental_benefits"
},
{
"path": [
"envBenefits",
"gasEmissionSaved",
"nox"
],
"tags": {
"system": "photovoltaik",
"metric": "nox_saved",
"unit": "kg"
},
"measurement": "environmental_benefits"
},
{
"path": [
"envBenefits",
"gasEmissionSaved",
"so2"
],
"tags": {
"system": "photovoltaik",
"metric": "so2_saved",
"unit": "kg"
},
"measurement": "environmental_benefits"
},
{
"path": [
"envBenefits",
"gasEmissionSaved",
"co2"
],
"tags": {
"system": "photovoltaik",
"metric": "co2_saved",
"unit": "kg"
},
"measurement": "environmental_benefits"
}
]
}
]
}