feat: add dvhubonline feed-in tariff provider (#1193)
Bump Version / Bump Version Workflow (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
docker-build / platform-excludes (push) Has been cancelled
docker-build / build (push) Has been cancelled
docker-build / merge (push) Has been cancelled
pre-commit / pre-commit (push) Has been cancelled
Run Pytest on Pull Request / test (push) Has been cancelled
Close stale pull requests/issues / Find Stale issues and PRs (push) Has been cancelled

Fetches GET /api/prices?start&end&zone (15-min slots, EUR/MWh) and stores
the raw market price as feed_in_tariff_wh (EUR/Wh) — no import charges/VAT.

Slots beyond the day-ahead horizon are left to the consumer's forward-fill
(FeedInTariffImport behaviour).

5 unit tests + opt-in live smoke (EOS_DVHUB_ONLINE_LIVE=1, passing).

Signed-off-by: Christin <info@bikinibottom.capital>
Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
This commit is contained in:
Bobby Noelte
2026-07-29 22:21:17 +02:00
committed by GitHub
parent 3c1f5d8bc0
commit 52fe489d4e
13 changed files with 381 additions and 22 deletions
+34 -1
View File
@@ -8,7 +8,7 @@
"name": "Apache 2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
},
"version": "v0.3.0.dev2607290898922686"
"version": "v0.3.0.dev2607290944830210"
},
"paths": {
"/v1/admin/cache/clear": {
@@ -4322,6 +4322,10 @@
"$ref": "#/components/schemas/FeedInTariffImportCommonSettings",
"description": "Feed in tarif import provider settings."
},
"dvhubonline": {
"$ref": "#/components/schemas/FeedInTariffDvhubOnlineCommonSettings",
"description": "DvhubOnline feed in tariff provider settings."
},
"energycharts": {
"$ref": "#/components/schemas/FeedInTariffEnergyChartsCommonSettings",
"description": "EnergyCharts feed in tariff provider settings."
@@ -4357,6 +4361,10 @@
"$ref": "#/components/schemas/FeedInTariffImportCommonSettings",
"description": "Feed in tarif import provider settings."
},
"dvhubonline": {
"$ref": "#/components/schemas/FeedInTariffDvhubOnlineCommonSettings",
"description": "DvhubOnline feed in tariff provider settings."
},
"energycharts": {
"$ref": "#/components/schemas/FeedInTariffEnergyChartsCommonSettings",
"description": "EnergyCharts feed in tariff provider settings."
@@ -4378,6 +4386,31 @@
"title": "FeedInTariffCommonSettings",
"description": "Feed In Tariff Prediction Configuration."
},
"FeedInTariffDvhubOnlineCommonSettings": {
"properties": {
"base_url": {
"type": "string",
"title": "Base Url",
"description": "Base URL of the dvhub.online price API.",
"default": "https://dvhub.online",
"examples": [
"https://dvhub.online"
]
},
"zone": {
"type": "string",
"title": "Zone",
"description": "Bidding zone passed to the dvhub.online price API.",
"default": "DE-LU",
"examples": [
"DE-LU"
]
}
},
"type": "object",
"title": "FeedInTariffDvhubOnlineCommonSettings",
"description": "Common settings for the dvhub.online feed-in tariff provider."
},
"FeedInTariffEnergyChartsCommonSettings": {
"properties": {
"bidding_zone": {