# echarge cPH2

Source: https://docs.evcc.io/fr/chargers/echarge-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.

Fonctionnalités prises en charge: dim

Jeton de parrain requis : cet appareil est disponible pour les parrains du projet, voir https://docs.evcc.io/fr/sponsorship.

## Paramètres

| Nom | Description | Par défaut / exemple | |
| --- | --- | --- | --- |
| 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) |  |  |

## Exemple de configuration pour 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)
```
