# Pstryk.pl

Fonte: https://docs.evcc.io/it/tariffs/pstryk-pl

Get your API token from the Pstryk App.

Funzionalità supportate: Polonia

## Parametri

| Nome | Descrizione | Predefinito / esempio | |
| --- | --- | --- | --- |
| token | API token (e.g. sk-...). |  |  |
| plan | Tariff source (pricing, prosumer-pricing) | pricing |  |
| charges | Charge Additional fixed charge per kWh |  | avanzato |
| chargesZones | Charges zones Time-based grid fees that override the default charge. |  | avanzato |
| tax | Tax Additional percentage charge (e.g. 0.2 for 20%) |  | avanzato |
| formula | Formula Individual formula for calculating the price | math.Max((price + charges) * (1 + tax), 0.0) | avanzato |
| interval | Interval | 1h | avanzato |

## Esempio di configurazione per evcc.yaml

```yaml
tariffs:
    grid:
      type: template
      template: pstryk
      token: # API token (e.g. sk-...).
      plan: pricing # Tariff source, [pricing, prosumer-pricing]
      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)
      interval: 1h # Interval, optional
```
