Energy Price Forecast: add api key (#33081)
This commit is contained in:
parent
56eccb08ea
commit
f216a440e1
1 changed files with 13 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ products:
|
|||
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)"
|
||||
en: "Day-ahead spot prices plus a 4-day forecast [energypriceforecast.eu](https://energypriceforecast.eu/en/evcc-electricity-price-co2-forecast/)"
|
||||
evcc: ["skiptest"]
|
||||
group: price
|
||||
countries: ["DE", "NL", "BE", "DK", "FR", "AT", "CZ", "PL", "FI", "SE", "NO"]
|
||||
|
|
@ -39,6 +39,10 @@ params:
|
|||
required: true
|
||||
- name: currency
|
||||
choice: ["EUR", "DKK", "CZK", "PLN", "SEK", "NOK"]
|
||||
- name: apikey
|
||||
help:
|
||||
en: "Optional for forecasts up to 120 hours. [Get an API key](https://energypriceforecast.eu/en/api-early-access/)."
|
||||
de: "Optional für Prognosen bis zu 120 Stunden. [API-Key erhalten](https://energypriceforecast.eu/de/api-early-access/)."
|
||||
- name: horizon
|
||||
default: 120
|
||||
type: int
|
||||
|
|
@ -46,6 +50,9 @@ params:
|
|||
description:
|
||||
en: Forecast horizon
|
||||
de: Prognosehorizont
|
||||
help:
|
||||
en: Anonymous access is limited to 48 hours from October 1, 2026. An API key allows up to 120 hours.
|
||||
de: Anonymer Zugriff ist ab 1. Oktober 2026 auf 48 Stunden begrenzt. Mit API-Key sind bis zu 120 Stunden möglich.
|
||||
required: true
|
||||
- preset: tariff-base
|
||||
- preset: tariff-features
|
||||
|
|
@ -56,3 +63,8 @@ render: |
|
|||
forecast:
|
||||
source: http
|
||||
uri: https://api.energypriceforecast.eu/api/v1/evcc/tariff?country={{.region}}&type=grid¤cy={{.currency}}&hours={{.horizon}}
|
||||
{{ if .apikey }}
|
||||
auth:
|
||||
type: bearer
|
||||
token: {{ .apikey }}
|
||||
{{- end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue