# Demo meter

Source: https://docs.evcc.io/en/meters/demo-meter

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

## Parameters

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

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