
The Alfen Eve Single S-line and Pro-line (socket variant) are EV charging stations based on the NG9xx platform. TapHome connects directly to the wallbox via Modbus TCP over Ethernet — no additional gateway is required.
The template provides charging state detection, vehicle connection status, per-phase voltage and power metering, energy consumption tracking, and dynamic current limiting through the Max Current control register.
Network connection
The Eve Single has an Ethernet port on the main board. Connect it to the same local network as TapHome Core using a standard Ethernet cable.
- Protocol: Modbus TCP
- Port: 502
- Byte order: Big-endian (network byte order)
- Slave addressing: 1 for socket 1, 2 for socket 2 (dual socket stations), 200 for station-level registers
The TapHome template operates at socket level (slave ID 1 or 2). Each socket on a dual-socket station requires its own TapHome device instance. For single-socket models, use slave ID 1.
Configuration
Enabling Modbus communication
Modbus slave functionality requires an Active Load Balancing license purchased and activated on the charger. A Service Installer Application (SIA) account is also required — request one at https://support.alfen.com.
- Open the Service Installer Application and connect to the charger
- Navigate to Active balancing in the left menu
- Enable the Active Load Balancing checkbox
- Enable “Allow 1- and 3-phased charging” if phase switching control is needed
- Select “Energy Management System” as Data Source — this configures the station as a Modbus slave
- “TCP/IP EMS” appears in the left menu — Modbus TCP/IP is selected by default
- Choose the control mode:
- Socket mode — control each socket individually (recommended for TapHome)
- SCN mode — control the station as a complete entity
When importing the template in TapHome, provide:
- IP Address — the wallbox IP on the local network
- Slave ID — 1 for socket 1, 2 for socket 2
Modbus configuration options
| Setting | Function | Default |
|---|---|---|
| Allow reading | Allow reading of Modbus registers via TCP/IP | Off |
| Allow writing maximum currents | Allow writing max current registers | Off |
| Enable sockets | Take written max current values into account | — |
| Validity time | Seconds before fallback to safe current | 60 |
| IP Address allocation | DHCP or fixed IP | DHCP |
Both “Allow reading” and “Allow writing maximum currents” must be enabled in the Service Installer Application for the template to function. These are disabled by default.
Device capabilities
Charging state and vehicle detection
Two boolean sensors derived from the IEC 61851 Mode 3 state register (H:1201):
- Vehicle Connection — returns true when a vehicle is physically connected (states B1, B2, C1, C2, D1, D2), false when disconnected (A, E, F).
- Charge State — returns true when the vehicle is actively charging (states C2 or D2), false otherwise.
The Mode 3 state follows the IEC 61851 standard:
| State | Vehicle Connected | Charging | Description |
|---|---|---|---|
| A | No | No | No vehicle connected |
| B1 / B2 | Yes | No | Vehicle connected, not charging |
| C1 / C2 | Yes | C2 only | Vehicle requests charging (C2 = PWM active, charging) |
| D1 / D2 | Yes | D2 only | Vehicle with ventilation request |
| E | No | No | Short circuit (CP-PE) |
| F | No | No | Charging station error |
The Charge State device also exposes a service attribute “Number of charging phases” (H:1215) showing whether the vehicle is currently charging on 1 or 3 phases, and a service action “Charging phases” to switch between 1-phase and 3-phase charging mode.
Voltage monitoring
Three-phase line-to-neutral voltage sensors:
- Voltage Phase L1-N — reads H:306 (BigEndianFloat)
- Voltage Phase L2-N — reads H:308 (BigEndianFloat)
- Voltage Phase L3-N — reads H:310 (BigEndianFloat)
All three report voltage in volts with a 15-second poll interval.
Power metering
- Real Power Sum — total real power across all phases, converted from W to kW. Includes service attributes showing per-phase breakdown: Phase L1 (H:338), Phase L2 (H:340), Phase L3 (H:342), each in kW.
- Frequency — AC mains frequency in Hz from register H:336.
Energy metering
- Real Energy Delivered — cumulative energy delivered to the vehicle (H:374, Float64), converted from Wh to kWh. Sum of all phases.
- Real Energy Consumed — cumulative energy consumed by the socket (H:390, Float64), converted from Wh to kWh. Sum of all phases.
Module-level attributes and actions
The module exposes several service attributes visible in the device detail view:
| Attribute | Description |
|---|---|
| Meter Type | Meter communication type (RTU, TCP/IP, UDP, P1) |
| State | Meter status flags — Initialised, Updated, Warning, Error |
| Mode 3 State | Raw IEC 61851 Mode 3 state string (A, B1, B2, C1, C2, D1, D2, E, F) |
| Max Current | Currently applied maximum charging current in amperes |
| Active Load Balancing Safe Current | Fallback current value when max current validity expires |
The module also provides a service action “Max Current” to write the maximum charging current limit (6–16 A) to register H:1210. The written value must be refreshed within the configured validity timeout (default 60 seconds) or the station falls back to the safe current value.
The max current value is not preserved during reboot. After a power cycle, the station falls back to the safe current until a new value is written via Modbus.
Additional capabilities
The Alfen Eve exposes additional Modbus registers for line-to-line voltages, per-phase currents and current sum, power factor, apparent power, reactive power, and per-phase energy breakdowns. Station-level registers (slave 200) provide board temperature, OCPP state, Smart Charging Network (SCN) aggregated consumption and per-phase max current control. These can be added to the TapHome template in a future update.
Troubleshooting
No Modbus communication
- Verify the Ethernet cable is connected and the charger is on the same network as TapHome Core
- Confirm the Active Load Balancing license is activated
- Check that “Allow reading” is enabled in the Service Installer Application
- Confirm the correct slave ID — use 1 for socket 1 (not 200, which is the station-level address)
- Ensure no firewall is blocking port 502
- The charger supports a maximum of 2 simultaneous Modbus TCP connections — verify no other system is using both slots
Max current not applied
- Verify “Allow writing maximum currents” is enabled in the Service Installer Application
- Check that the safe current is configured (must be set before max current can be controlled via Modbus)
- Ensure the current value is refreshed before the validity timeout expires (default 60 seconds)
- Check register H:1214 (Setpoint accounted for) — value 1 confirms the written current was applied
Phase switching not working
Ensure “Allow 1- and 3-phased charging” is enabled in the Active Load Balancing settings via the Service Installer Application. This setting is required for the phase switching service action to work.
Firmware recommendation
Firmware version 6.4.0-4210 or newer is recommended. Earlier versions have a bug where the power budget resets to 0 A when no car is charging.