Add Voltcast tariff (#31848)

This commit is contained in:
Troels Johannesen 2026-07-16 18:25:11 +02:00 • committed by GitHub
parent bd200460f7
commit 92c89adf6b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,89 @@
template: voltcast
products:
- brand: Voltcast
requirements:
description:
en: "Requires a Voltcast API key — free DE-LU tier, paid any-zone tiers at [voltcast.com](https://voltcast.com/register). Forecast accuracy is published daily at [voltcast.com/accuracy](https://voltcast.com/accuracy)."
de: "Benötigt einen Voltcast API-Schlüssel — kostenloser DE-LU-Tarif, kostenpflichtige Tarife für alle Zonen auf [voltcast.com](https://voltcast.com/register). Die Prognosegenauigkeit wird täglich unter [voltcast.com/accuracy](https://voltcast.com/accuracy) veröffentlicht."
evcc: ["skiptest"]
group: price
countries: ["EU"]
params:
- name: apikey
required: true
help:
en: API key from https://voltcast.com/dashboard
de: API-Schlüssel von https://voltcast.com/dashboard
- name: zone
type: choice
default: DE-LU
example: DE-LU
description:
generic: Bidding zone
choice:
[
"AL",
"AT",
"BE",
"BG",
"CH",
"CZ",
"DE-LU",
"DK1",
"DK2",
"EE",
"ES",
"FI",
"FR",
"GR",
"HR",
"HU",
"IE-SEM",
"IT-CALA",
"IT-CNOR",
"IT-CSUD",
"IT-NORD",
"IT-SARD",
"IT-SICI",
"IT-SUD",
"LT",
"LV",
"ME",
"MK",
"NL",
"NO1",
"NO2",
"NO3",
"NO4",
"NO5",
"PL",
"PT",
"RO",
"RS",
"SE1",
"SE2",
"SE3",
"SE4",
"SI",
"SK",
"UA",
"XK",
]
- preset: tariff-base
- preset: tariff-features
render: |
type: custom
features: ["cacheable"]
{{ include "tariff-base" . }}
{{ include "tariff-features" . }}
forecast:
source: http
uri: https://voltcast.com/api/v1/forecasts/{{ .zone }}?horizon=48h
headers:
- Authorization: Bearer {{ .apikey }}
jq: |
[ .data[] | {
start: .target_start,
end: (.target_start | fromdate + 900 | todate),
value: (.p50 / 1000)
} ] | tostring