# Fingrid CO₂

Source: https://docs.evcc.io/en/tariffs/fingrid-co2

CO₂ data for Finnish national grid from [Fingrid OpenData](https://www.fingrid.fi/en/electricity-market-information/real-time-co2-emissions-estimate/). Get your API key by registering an account at [https://data.fingrid.fi/instructions](https://data.fingrid.fi/instructions).

Supported features: Finland

## Parameters

| Name | Description | Default / example | |
| --- | --- | --- | --- |
| apiKey | API Key Get your API key by registering an account at [https://data.fingrid.fi/instructions](https://data.fingrid.fi/instructions), creating a new API key and enter it here. |  |  |
| charges | Charge Additional fixed charge per kWh |  | advanced |
| chargesZones | Charges zones Time-based grid fees that override the default charge. |  | advanced |
| tax | Tax Additional percentage charge (e.g. 0.2 for 20%) |  | advanced |
| formula | Formula Individual formula for calculating the price | math.Max((price + charges) * (1 + tax), 0.0) | advanced |

## Configuration example for evcc.yaml

```yaml
tariffs:
    co2:
      type: template
      template: fingrid-co2
      apiKey: # API Key, Get your API key by registering an account at [https://data.fingrid.fi/instructions](https://data.fingrid.fi/instructions), creating a new API key and enter it here.
      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)
```
