diff --git a/templates/definition/tariff/energypriceforecast-co2.yaml b/templates/definition/tariff/energypriceforecast-co2.yaml new file mode 100644 index 000000000..d7f7af61b --- /dev/null +++ b/templates/definition/tariff/energypriceforecast-co2.yaml @@ -0,0 +1,32 @@ +template: energypriceforecast-co2 +products: + - brand: Energy Price Forecast EU + description: + generic: CO₂ +requirements: + description: + de: "5 Tage Prognose [energypriceforecast.eu](https://energypriceforecast.eu/de/evcc-strompreis-co2-prognose/)" + en: "5 days prognosis [energypriceforecast.eu](https://energypriceforecast.eu)" + evcc: ["skiptest"] +group: co2 +countries: ["DE", "NL", "BE", "DK"] +params: + - name: region + example: DE + type: choice + choice: ["DE", "NL", "BE", "DK1", "DK2"] + required: true + - name: horizon + default: 120 + type: int + unit: h + description: + en: Forecast horizon + de: Prognosehorizont + required: true +render: | + type: custom + tariff: co2 + forecast: + source: http + uri: https://api.energypriceforecast.eu/api/v1/evcc/tariff?country={{.region}}&type=co2&hours={{.horizon}} diff --git a/templates/definition/tariff/energypriceforecast.yaml b/templates/definition/tariff/energypriceforecast.yaml new file mode 100644 index 000000000..5c9581588 --- /dev/null +++ b/templates/definition/tariff/energypriceforecast.yaml @@ -0,0 +1,43 @@ +template: energypriceforecast +products: + - brand: Energy Price Forecast EU + description: + generic: Predicted spot prices +requirements: + description: + de: "Day-Ahead-Strompreise plus 4 Tage Prognose [energypriceforecast.eu](https://energypriceforecast.eu/de/evcc-strompreis-co2-prognose/)" + en: "Spot prices in day-ahead market plus 4 days prognosis [energypriceforecast.eu](https://energypriceforecast.eu)" + evcc: ["skiptest"] +group: price +countries: ["DE", "NL", "BE", "DK", "FR"] +params: + - name: region + example: DE + type: choice + choice: ["DE", "NL", "BE", "DK1", "DK2", "FR"] + required: true + - name: currency + default: EUR + type: choice + description: + en: Currency + de: Währung + choice: ["EUR", "DKK"] + required: true + - name: horizon + default: 120 + type: int + unit: h + description: + en: Forecast horizon + de: Prognosehorizont + required: true + - preset: tariff-base + - preset: tariff-features +render: | + type: custom + {{ include "tariff-base" . }} + {{ include "tariff-features" . }} + forecast: + source: http + uri: https://api.energypriceforecast.eu/api/v1/evcc/tariff?country={{.region}}&type=grid¤cy={{.currency}}&hours={{.horizon}} diff --git a/templates/definition/tariff/stroomprijsprognose-co2.yaml b/templates/definition/tariff/stroomprijsprognose-co2.yaml index ad17fd117..57ecf1831 100644 --- a/templates/definition/tariff/stroomprijsprognose-co2.yaml +++ b/templates/definition/tariff/stroomprijsprognose-co2.yaml @@ -1,4 +1,5 @@ template: stroomprijsprognose-co2 +deprecated: true products: - brand: stroomprijsprognose.nl/co2 requirements: @@ -27,4 +28,4 @@ render: | tariff: co2 forecast: source: http - uri: https://stroomprijsprognose.nl/api/v1/evcc/tariff?country={{.region}}&type=co2&hours={{.horizon}} + uri: https://api.energypriceforecast.eu/api/v1/evcc/tariff?country={{.region}}&type=co2&hours={{.horizon}} diff --git a/templates/definition/tariff/stroomprijsprognose.yaml b/templates/definition/tariff/stroomprijsprognose.yaml index 048cd75e3..82eb373ea 100644 --- a/templates/definition/tariff/stroomprijsprognose.yaml +++ b/templates/definition/tariff/stroomprijsprognose.yaml @@ -1,4 +1,5 @@ template: stroomprijsprognose +deprecated: true products: - brand: stroomprijsprognose.nl requirements: @@ -38,4 +39,4 @@ render: | {{ include "tariff-features" . }} forecast: source: http - uri: https://stroomprijsprognose.nl/api/v1/evcc/tariff?country={{.region}}&type=grid¤cy={{.currency}}&hours={{.horizon}} + uri: https://api.energypriceforecast.eu/api/v1/evcc/tariff?country={{.region}}&type=grid¤cy={{.currency}}&hours={{.horizon}}