Skip to content
smart charging

Strømligning

Requires an API key from stromligning.dk. Prices are in DKK/kWh and include the applicable taxes and grid fees. Production prices exclude VAT and include production tariff deductions, but not electricity company fees. Commercial use requires permission from Strømligning.

Denmark

Parameters

NameDescriptionValueLevel
apikeyAPI Keyoptional
supplieridGrid supplier ID
Example: radius_c
optional
pricetypePrice type

Use consumption for grid prices and production for feed-in prices.

Default: consumption
optional
productidProduct ID

Used for consumption prices only. Find IDs in the API documentation.

Example: enkel_energi-enkel_kvartal
optional
customergroupidCustomer group ID

For production prices, leave empty to select the production customer group automatically.

Example: C_egenproducent
optional
agreementstartAgreement start

Contract start date (YYYY-MM-DD). Only used for consumption prices, when product ID has discount based on start date.

Example: 2025-03-01
optional
chargesCharge

Additional fixed charge per kWh

advanced
chargesZonesCharges zones

Time-based grid fees that override the default charge.

advanced
taxTax

Additional percentage charge (e.g. 0.2 for 20%)

advanced
formulaFormula

Individual formula for calculating the price

Example: math.Max((price + charges) * (1 + tax), 0.0)
advanced
Configuration example for evcc.yaml

If you don't want to configure via the UI, you can alternatively use this YAML block.

tariffs:
grid:
type: template
template: stromligning
apikey: # API Key
supplierid: radius_c # Grid supplier ID
pricetype: consumption # Price type, Use consumption for grid prices and production for feed-in prices. [consumption, production] (optional)
productid: enkel_energi-enkel_kvartal # Product ID, Used for consumption prices only. Find IDs in the API documentation. (optional)
customergroupid: C_egenproducent # Customer group ID, For production prices, leave empty to select the production customer group automatically. (optional)
agreementstart: '2025-03-01' # Agreement start, Contract start date (YYYY-MM-DD). Only used for consumption prices, when product ID has discount based on start date. (optional)
charges: # Charge, Additional fixed charge per kWh (optional)
chargesZones: # Charges zones, Time-based grid fees that override the default charge. (optional)
tax: # Tax, Additional percentage charge (e.g. 0.2 for 20%) (optional)
formula: math.Max((price + charges) * (1 + tax), 0.0) # Formula, Individual formula for calculating the price (optional)