# Localvolts

Zdroj: https://docs.evcc.io/cs/tariffs/localvolts

Requires the API key and partner ID from the Localvolts web app (My Profile, General, API Key). Prices are the site-specific flex prices for the current and the next 24 hours.

Podporované funkce: Austrálie

## Parametry

| Název | Popis | Výchozí / příklad | |
| --- | --- | --- | --- |
| apikey | API Key |  |  |
| partner | Partner ID |  |  |
| nmi | NMI National Meter Identifier (10 characters, without checksum) |  |  |
| channel | Channel Import for the grid tariff, Export for the feed-in tariff (Import, Export) |  |  |
| charges | Charge Additional fixed charge per kWh |  | pokročilé |
| chargesZones | Charges zones Time-based grid fees that override the default charge. |  | pokročilé |
| tax | Tax Additional percentage charge (e.g. 0.2 for 20%) |  | pokročilé |
| formula | Formula Individual formula for calculating the price | math.Max((price + charges) * (1 + tax), 0.0) | pokročilé |

## Příklad konfigurace pro evcc.yaml

```yaml
tariffs:
    grid:
      type: template
      template: localvolts
      apikey: # API Key
      partner: # Partner ID
      nmi: # NMI, National Meter Identifier (10 characters, without checksum)
      channel: # Channel, Import for the grid tariff, Export for the feed-in tariff [Import, Export]
      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)
```
