# Pstryk.pl

Source: https://docs.evcc.io/en/tariffs/pstryk-pl

Get your API token from the Pstryk App.

Supported features: Poland

## Parameters

| Name | Description | Default / example | |
| --- | --- | --- | --- |
| token | API token (e.g. sk-...). |  |  |
| plan | Tariff source (pricing, prosumer-pricing) | pricing |  |
| 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 |
| interval | Interval | 1h | advanced |

## Configuration example for 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
```
