Home Assistant integration for Alfen Eve NG9xx series EV chargers via Modbus TCP.
- 🔌 Real-time monitoring - Voltage, current, power, energy for all phases
- 🚗 Car status detection - Connected, charging, disconnected states
- ⚡ Load balancing control - Set maximum charging current dynamically
- �️ Max current protection - Prevents setting current above station limit
- �📊 Session tracking - Energy consumed and duration per charging session
- 🔄 Auto-renew max current - Prevents timeout to safe current mode
- 🏢 Multi-socket support - Works with dual socket chargers
- 🌐 SCN support - Smart Charging Network (partial)
- Home Assistant 2024.4.0 or newer
- Alfen Eve NG9xx charger with:
- Firmware 4.2.0 or newer (Modbus TCP support)
- Firmware 6.4.0+ recommended (fixes power budget reset bug)
- Active Load Balancing license enabled
- Modbus TCP enabled on the charger
- Open HACS in Home Assistant
- Search for "Alfen Modbus"
- Click Install
- Restart Home Assistant
- Copy
custom_components/alfen_modbusto yourconfig/custom_components/folder - Restart Home Assistant
- Go to Settings → Devices & Services
- Click Add Integration
- Search for Alfen Modbus
- Enter your charger's IP address and port (default: 502)
- Acquire the Active Load Balancing license from Alfen
- Enable Active Load Balancing via the Alfen Service Installer app
- Set Data Source to "Energy Management System" for slave mode
See the Alfen Smart Charging Manual for details.
| Category | Sensors |
|---|---|
| Device | Name, Manufacturer, Serial, Firmware, Platform |
| Station | Max Current, Temperature, Backoffice Connection |
| Socket | Voltages (L1-N, L2-N, L3-N, L1-L2, L2-L3, L3-L1) |
| Currents (L1, L2, L3, N, Sum) | |
| Power (Real, Apparent, Reactive per phase + Sum) | |
| Energy (Delivered, Consumed per phase + Sum) | |
| Mode 3 State, Availability, Charging Phases | |
| Derived | Car Connected, Car Charging, Session Wh, Session Duration |
| Control | Description |
|---|---|
| Max Current | Set the maximum charging current (load balancing) |
| Phase Mode | Select 1-phase or 3-phase charging |
- Power budget may reset to 0A when no car is connected (fixed in firmware 6.4.0-4210)
- Reallin power meter (post-2021): Chargers with a Reallin power meter produced after 2021 only export a subset of measurement values. Per-phase energy, apparent energy, and reactive energy sensors will show as "unavailable" (NaN). This is a hardware limitation, not a bug.
Contributions are welcome! Please feel free to submit a Pull Request.
- Stable release - First stable release for HACS
- Binary sensors - Added
car_connectedandcar_chargingbinary sensors - Improved config flow - Enhanced UI with descriptions and connection testing
- Options flow - Reconfigure host, port, and settings after setup
- pymodbus 3.11 compatibility - Updated API calls for latest pymodbus
- Max current protection - The max current slider now dynamically limits to the station's actual max current (Register 1100), preventing values higher than the hardware allows
- pymodbus 3.11 compatibility - Updated API calls to use
device_idparameter (replaces deprecatedslave)
- Initial release
This project is licensed under the Apache 2.0 License - see the LICENSE file for details.
