# KEBA KeContact P40 Pro

Source: https://docs.evcc.io/en/chargers/keba-kecontact-p40-pro

Following settings have to be enabled using the KEBA eMobility App:
* Enable Modbus: The "Enable" and "Enable RFID" options must be activated in the "Modbus" settings.
* To use RFID cards, the "Authorization" option must be activated under "Device".
* For phase switching the minimum firmware version 1.3.0 must be installed. In the "Photovoltaic Optimized Charging" settings, the phase switching needs to be enabled. The "communication channel" must be set to "Modbus".

Supported features: mA, rfid, 1p3p, 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 | |
| --- | --- | --- | --- |
| modbus | Modbus Type (tcpip) |  |  |
| welcomecharge | Charge on connection Charger will enable charging for short time when vehicle is connected, irrespective of configured charge mode. This is useful for vehicles that require power supply when connecting. |  | advanced |

## Configuration example for evcc.yaml

```yaml
chargers:
    - name: my_charger
      type: template
      template: keba-modbus-p40
      
      # Modbus TCP
      modbus: tcpip
      id: 255
      host:  # Hostname
      port: 502 # Port
      welcomecharge: # Charge on connection, Charger will enable charging for short time when vehicle is connected, irrespective of configured charge mode. This is useful for vehicles that require power supply when connecting. (optional)
```
