Community-maintained Swiss PV feed-in tariff database for the ha-bfe-rueckliefertarif Home Assistant integration.
tariffs.json— utility-specific tariffs + federal Mindestvergütung floors per EnV Art. 12 Abs. 1bis (AS 2025 138). Date-versioned via half-open[valid_from, valid_to)intervals so each yearly utility update appends a new record without editing past data.schemas/tariffs-v1.schema.json— JSON Schema (Draft 2020-12) the integration validates against on every fetch. Schema bumps are versioned viaschema_version(semver).
The integration fetches tariffs.json daily from raw.githubusercontent.com,
validates against the bundled schema, caches in <config>/.storage/, and
falls back to its own bundled copy on any failure (network or schema
violation). Manual refresh: bfe_rueckliefertarif.refresh_tariffs service.
- Find your utility's published 2026+ Rückliefertarif (Tarifblatt PDF, utility website, or VESE pvtarif).
- Edit
tariffs.json:- New utility: add a new top-level entry under
utilitieswithname_de,homepage, and a singlerates[0]record carryingvalid_from: "2026-01-01",valid_to: null, thepower_tierspricing model, andcap_mode(trueonly for utilities that enforce the StromVV Art. 4 cost-recovery ceiling on producer payments — EKZ, Groupe E, Primeo today). - Yearly update for an existing utility: close the prior record's
valid_toto the new year start, append a new open-ended record.
- New utility: add a new top-level entry under
- Bump
last_updatedto today's ISO date. - Validate locally:
Both scripts require
python3 scripts/validate.py # validates tariffs.json against the schema python3 scripts/test_schema.py # runs schema $def regression testsjsonschema>=4.18and exit non-zero on failure. - Open a PR.
- Federal floor: EnV Art. 12 Abs. 1bis (SR 730.01) introduced by AS 2025 138, in force 1.1.2026.
- Cost-recovery ceiling formula: StromVV Art. 4 Abs. 3 Bst. e (SR 734.71) per AS 2025 139.
- BFE reference market price (RMP): SFOE / opendata.swiss.
AGPL