Skip to content
EN | DE

tariffs

You can specify your energy tariff and, if applicable, your feed-in tariff. evcc uses these values for a rough savings calculation that is displayed in the web UI. This data is also used by the planner for price and CO₂-optimized charging.

Structure

tariffs:
grid:
type: ...
feedin:
type: ...
co2:
type: ...

For example: Constant Energy Price

tariffs:
currency: EUR # (default EUR)
grid:
# static grid price
type: fixed
price: 0.294 # [currency]/kWh
feedin:
# rate for feeding excess (pv) energy to the grid
type: fixed
price: 0.08 # [currency]/kWh

More examples and a list of available providers can be found in the section Tariffs.

Use charges to add a fixed fee per kWh to every price value. If your grid operator bills time-dependent grid fees (e.g. time-variable network charges according to § 14a EnWG in Germany), use chargesZones to override the default charges for specific periods. This works with any grid tariff, no matter if it uses a provider template, a fixed price or a custom source.

Each zone has the following fields:

FieldRequiredDescription
chargesyesFee per kWh in this zone. Replaces the default charges.
monthsnoe.g. Nov-Mar or Jun. Empty means all year.
daysnoe.g. Mon-Fri or Sat,Sun. Empty means every day.
hoursnoe.g. 17-20 or 15:30-21. Empty means all day.

Example:

tariffs:
grid:
type: template
template: tibber
token: "..."
charges: 0.0941 # default grid fee per kWh
chargesZones:
- months: Nov-Mar
days: Mon-Fri
hours: 17-20
charges: 0.1838 # peak
- hours: 0-6
charges: 0.0299 # low

If no zone matches, the default charges applies. If zones overlap, the last matching zone wins. When a formula is configured, the charges variable contains the zone value of the respective time slot.

A fixed tariff with chargesZones is treated like a dynamic tariff: the planner prefers cheap periods and the price chart is shown.

For custom tariffs (type: custom) you can influence behaviour via features:

FeatureDescription
averageSmooths fine-grained price slots (e.g. 15-minute values) into hourly averages.
cacheablePersists fetched values. Used as fallback after a restart or provider outage (up to 24 hours).

Example:

tariffs:
grid:
type: custom
features:
- cacheable
# ... additional attributes