# Spotty Energie

Source: https://docs.evcc.io/en/tariffs/spotty-energie

Supported features: Austria

## Parameters

| Name | Description | Default / example | |
| --- | --- | --- | --- |
| contractid | Contract ID You can get your contract id from the customer portal [i.spottyenergie.at](https://i.spottyenergie.at/) | ffffffff-4444-6666-2222-aaaaaabbbbbb |  |
| pricetype | Price type Price type, either spotmarket price, consumption price or generation compensation (if contractually agreed), more info at [spottyenergie.at](https://www.spottyenergie.at/blog/energie-smart-produzieren) (MARKET, CONSUMPTION, GENERATION) | CONSUMPTION |  |
| 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:
    grid:
      type: template
      template: spottyenergy
      contractid: ffffffff-4444-6666-2222-aaaaaabbbbbb # Contract ID, You can get your contract id from the customer portal [i.spottyenergie.at](https://i.spottyenergie.at/)
      pricetype: CONSUMPTION # Price type, Price type, either spotmarket price, consumption price or generation compensation (if contractually agreed), more info at [spottyenergie.at](https://www.spottyenergie.at/blog/energie-smart-produzieren) [MARKET, CONSUMPTION, GENERATION]
      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)
```
