Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Frauenhofer ISE energy-charts-api | day ahead price #13706

Merged
merged 14 commits into from
May 7, 2024
18 changes: 18 additions & 0 deletions templates/definition/tariff/energy-charts-api.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
template: energy-charts-api
products:
- brand: Fraunhofer ISE
params:
- name: bzn
type: string
required: true
help:
de: "Gebotszonen: AT (Austria), BE (Belgium), CH (Switzerland), CZ (Czech Republic), DE-LU (Germany, Luxembourg), DE-AT-LU (Germany, Austria, Luxembourg), DK1 (Denmark 1), DK2 (Denmark 2), FR (France), HU (Hungary), IT-NORTH (Italy North), NL (Netherlands), NO2 (Norway 2), PL (Poland), SE4 (Sweden 4), SI (Slovenia)"
en: "Bidding zones: DE-LU AT (Austria), BE (Belgium), CH (Switzerland), CZ (Czech Republic), DE-LU (Germany, Luxembourg), DE-AT-LU (Germany, Austria, Luxembourg), DK1 (Denmark 1), DK2 (Denmark 2), FR (France), HU (Hungary), IT-NORTH (Italy North), NL (Netherlands), NO2 (Norway 2), PL (Poland), SE4 (Sweden 4), SI (Slovenia)"
mdkeil marked this conversation as resolved.
Show resolved Hide resolved
- preset: tariff-base
render: |
type: custom
{{ include "tariff-base" . }}
forecast:
source: http
uri: https://api.energy-charts.info/price?bzn={{ .bzn }}
jq: '[.unix_seconds, .price] | transpose | map({ "start": (.[0] | todate), "end": ((.[0]+3600) | todate), "price": (.[1]/1000)}) | tostring'
Loading