# Tesla Powerwall

Source: https://docs.evcc.io/en/meters/tesla-powerwall

## Parameters

| Name | Description | Default / example | |
| --- | --- | --- | --- |
| host | IP address or hostname | 192.0.2.2 |  |
| password | Password Password of the user "customer". By default this is the last 5 characters of password stated on the Tesla Gateway. |  |  |

## Configuration example for evcc.yaml

```yaml
meters:
    - name: my_grid
      type: template
      template: tesla-powerwall
      usage: grid
      host: 192.0.2.2 # IP address or hostname
      password: # Password, Password of the user "customer". By default this is the last 5 characters of password stated on the Tesla Gateway.
```

```yaml
meters:
    - name: my_pv
      type: template
      template: tesla-powerwall
      usage: pv
      host: 192.0.2.2 # IP address or hostname
      password: # Password, Password of the user "customer". By default this is the last 5 characters of password stated on the Tesla Gateway.
```

```yaml
meters:
    - name: my_battery
      type: template
      template: tesla-powerwall
      usage: battery
      host: 192.0.2.2 # IP address or hostname
      password: # Password, Password of the user "customer". By default this is the last 5 characters of password stated on the Tesla Gateway.
```
