# Keba
TESTING ETM CONSUMER
Keba charging stations (P30 and P31 ranges), communicating over **Modbus TCP**
on the local network.
## 1. Hardware required
- A Keba P30 or P31 charging station
- An Ethernet connection to the hub's network
## 2. Enabling Modbus TCP
Modbus TCP is **disabled by default** on Keba charging stations.
Enable it from the station's web interface (port `502`).
!!! warning "Modbus activation"
Without this step the station will not answer PowerSync.
## 3. Adding in PowerSync
Added by **automatic discovery** on the network, or **manually** (IP address,
port 502). See [Adding a device](../../installation/application.md).
## 4. Verification
`connected`, `pluggedIn` and then `charging` reflect the state of the session.
---
## Reference
**Manufacturer:** Keba
**Plugin:** `Keba`
#### Supported models
| Model | Role | Transport | Pairing | Quantities |
| --- | --- | --- | --- | --- |
| **Keba KeContact** | EV charger, Consumption meter | Modbus TCP | Auto-discovery / Manual | 31 |
| **KeConnect German Edition** | EV charger | Modbus TCP | Auto-discovery / Manual | 19 |
#### Per-model detail
??? abstract "Keba KeContact — `keba`"
_Settings:_
| Key | Label | Type | Range | Default | Read-only |
| --- | --- | --- | --- | --- | --- |
| `macAddress` | MAC address | QString | — | — | yes |
| `hostName` | Host name | QString | — | — | no |
| `address` | IP address | QString | — | — | no |
| `serialNumber` | Serial number | QString | — | — | yes |
| `model` | Product name | QString | — | — | yes |
_Measured quantities:_
| Key | Quantity | Type | Unit |
| --- | --- | --- | --- |
| `connected` | Connected | bool | — |
| `power` | Charging enabled | bool | — |
| `systemEnabled` | System enabled | bool | — |
| `phaseCount` | Number of connected phases | uint | — |
| `activity` | Activity | QString | — |
| `plugState` | Plug state | QString | — |
| `pluggedIn` | Car plugged in | bool | — |
| `charging` | Charging | bool | — |
| `maxChargingCurrent` | Maximal charging current | double | Ampere |
| `maxChargingCurrentPercent` | Maximal charging current in percent | uint | Percentage |
| `maxChargingCurrentHardware` | Maximal hardware charging current | uint | Ampere |
| `voltagePhaseA` | Voltage phase A | int | Volt |
| `voltagePhaseB` | Voltage phase B | int | Volt |
| `voltagePhaseC` | Voltage phase C | int | Volt |
| `currentPhaseA` | Current phase A | double | Ampere |
| `currentPhaseB` | Current phase B | double | Ampere |
| `currentPhaseC` | Current phase C | double | Ampere |
| `currentPower` | Power consumption | double | Watt |
| `powerFactor` | Power factor | double | Percentage |
| `sessionId` | Session ID | uint | — |
| `sessionTime` | Session time | int | Minutes |
| `sessionEnergy` | Session energy | double | KiloWattHour |
| `totalEnergyConsumed` | Total energy consumed | double | KiloWattHour |
| `outputX2` | Output X2 | bool | — |
| `input` | Input | bool | — |
| `uptime` | Uptime | int | Minutes |
| `error1` | Error 1 | int | — |
| `error2` | Error 2 | int | — |
| `failsafeMode` | Failsafe mode | bool | — |
| `firmware` | Firmware | QString | — |
| `hostAddress` | Host address | QString | — |
??? abstract "KeConnect German Edition — `kebaSimple`"
_Settings:_
| Key | Label | Type | Range | Default | Read-only |
| --- | --- | --- | --- | --- | --- |
| `macAddress` | MAC address | QString | — | — | yes |
| `hostName` | Host name | QString | — | — | no |
| `address` | IP address | QString | — | — | no |
| `serialNumber` | Serial number | QString | — | — | yes |
| `model` | Product name | QString | — | — | yes |
_Measured quantities:_
| Key | Quantity | Type | Unit |
| --- | --- | --- | --- |
| `connected` | Connected | bool | — |
| `power` | Charging enabled | bool | — |
| `systemEnabled` | System enabled | bool | — |
| `phaseCount` | Number of connected phases | uint | — |
| `activity` | Activity | QString | — |
| `plugState` | Plug state | QString | — |
| `pluggedIn` | Car plugged in | bool | — |
| `charging` | Charging | bool | — |
| `maxChargingCurrent` | Maximal charging current | double | Ampere |
| `maxChargingCurrentPercent` | Maximal charging current in percent | uint | Percentage |
| `maxChargingCurrentHardware` | Maximal hardware charging current | uint | Ampere |
| `outputX2` | Output X2 | bool | — |
| `input` | Input | bool | — |
| `uptime` | Uptime | int | Minutes |
| `error1` | Error 1 | int | — |
| `error2` | Error 2 | int | — |
| `failsafeMode` | Failsafe mode | bool | — |
| `firmware` | Firmware | QString | — |
| `hostAddress` | Host address | QString | — |