# Hardy Barth cPH2

Source: https://docs.evcc.io/en/chargers/hardy-barth-cph2

If you get the message '401 (Unauthorized)' without a username and password, use the username and password that you received from the installer of your wallbox. The combo that also works for the web interface of the wallbox.

Supported features: dim

Sponsor token required: this device is available to sponsors of the project, see https://docs.evcc.io/en/sponsorship.

## Parameters

| Name | Description | Default / example | |
| --- | --- | --- | --- |
| host | IP address or hostname | 192.0.2.2 |  |
| user | Username Username (optional, only if Basic Auth is enabled on the wallbox) |  |  |
| password | Password Password (optional, only if Basic Auth is enabled on the wallbox) |  |  |

## Configuration example for evcc.yaml

```yaml
chargers:
    - name: my_charger
      type: template
      template: hardybarth-salia
      host: 192.0.2.2 # IP address or hostname
      user: # Username, Username (optional, only if Basic Auth is enabled on the wallbox) (optional)
      password: # Password, Password (optional, only if Basic Auth is enabled on the wallbox) (optional)
```
