# Demo meter

Fonte: https://docs.evcc.io/it/meters/demo-meter

For demonstration purposes. Meter with a fixed set of values.

## Parametri

| Nome | Descrizione | Predefinito / esempio | |
| --- | --- | --- | --- |
| power | Power |  W |  |
| minsoc | Minimum charge Lower limit as configured on the battery system. Used by optimizer. | 0 % |  |
| curtailable | Curtailable |  | avanzato |
| energy | Meter reading |  kWh | avanzato |
| currentL1 | L1 current |  A | avanzato |
| currentL2 | L2 current |  A | avanzato |
| currentL3 | L3 current |  A | avanzato |
| maxacpower | Maximum AC power of the hybrid inverter | 0 W | avanzato |

## Esempio di configurazione per evcc.yaml

```yaml
meters:
    - name: my_grid
      type: template
      template: demo-meter
      usage: grid
      power: # Power (W), optional
      energy: # Meter reading (kWh), optional
      currentL1: # L1 current (A), optional
      currentL2: # L2 current (A), optional
      currentL3: # L3 current (A), optional
```

```yaml
meters:
    - name: my_pv
      type: template
      template: demo-meter
      usage: pv
      power: # Power (W), optional
      curtailable: # Curtailable, optional
      energy: # Meter reading (kWh), optional
      currentL1: # L1 current (A), optional
      currentL2: # L2 current (A), optional
      currentL3: # L3 current (A), optional
      maxacpower: 0 # Maximum AC power of the hybrid inverter (W), optional
```

```yaml
meters:
    - name: my_aux
      type: template
      template: demo-meter
      usage: aux
      power: # Power (W), optional
      energy: # Meter reading (kWh), optional
      currentL1: # L1 current (A), optional
      currentL2: # L2 current (A), optional
      currentL3: # L3 current (A), optional
```

```yaml
meters:
    - name: my_charger
      type: template
      template: demo-meter
      usage: charge
      power: # Power (W), optional
      energy: # Meter reading (kWh), optional
      currentL1: # L1 current (A), optional
      currentL2: # L2 current (A), optional
      currentL3: # L3 current (A), optional
```
