# Keba
NIGHTLY NYMEA CONSUMER
Bornes de recharge Keba (séries P30, P31), communication **Modbus TCP** via réseau local.
## 1. Matériel requis
- Borne Keba P30 ou P31
- Connexion Ethernet vers le réseau du hub
## 2. Activation Modbus TCP
Modbus TCP est **désactivé par défaut** sur les bornes Keba.
Activez-le dans l'interface web de la borne (port `502`).
!!! warning "Activation Modbus"
Sans cette étape, la borne ne répondra pas à PowerSync.
## 3. Ajout dans PowerSync
Ajout par **découverte automatique** sur le réseau, ou **manuel** (IP, port 502).
Voir [Ajouter un appareil](../../installation/application.md).
## 4. Vérification
`connected`, `pluggedIn` puis `charging` reflètent l'état de la session.
---
## Référence
**Fabricant :** Keba
**Plugin :** `Keba`
#### Modèles pris en charge
| Modèle | Rôle | Transport | Ajout | Grandeurs |
| --- | --- | --- | --- | --- |
| **Keba KeContact** | Borne de recharge, Compteur de consommation | Modbus TCP | Découverte automatique / Ajout manuel | 31 |
| **KeConnect German Edition** | Borne de recharge | Modbus TCP | Découverte automatique / Ajout manuel | 19 |
#### Détail par modèle
??? abstract "Keba KeContact — `keba`"
_Réglages :_
| Clé | Libellé | Type | Plage | Défaut | Lecture seule |
| --- | --- | --- | --- | --- | --- |
| `macAddress` | MAC address | QString | — | — | oui |
| `hostName` | Host name | QString | — | — | non |
| `address` | IP address | QString | — | — | non |
| `serialNumber` | Serial number | QString | — | — | oui |
| `model` | Product name | QString | — | — | oui |
_Grandeurs mesurées :_
| Clé | Grandeur | 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`"
_Réglages :_
| Clé | Libellé | Type | Plage | Défaut | Lecture seule |
| --- | --- | --- | --- | --- | --- |
| `macAddress` | MAC address | QString | — | — | oui |
| `hostName` | Host name | QString | — | — | non |
| `address` | IP address | QString | — | — | non |
| `serialNumber` | Serial number | QString | — | — | oui |
| `model` | Product name | QString | — | — | oui |
_Grandeurs mesurées :_
| Clé | Grandeur | 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 | — |