About
Alfen Modbus connects Alfen Eve NG9xx and AHP series EV chargers to Home Assistant over local Modbus TCP. It adds sensors for voltage, current, power and energy on all phases, plus car status, charging state and per-session energy and duration. Controls include a maximum current limit, a charger enabled switch and a selector for usable phases, which suit dynamic load balancing. A separate measurement interval can be set to 2-5 seconds for load balancing, while energy totals use the regular scan interval. Dual socket chargers and Smart Charging Network registers can be enabled as options. Entity names follow the Home Assistant language in eight languages, and a repair notice flags a known charger firmware power budget reset bug. The charger needs Modbus TCP and an Active Load Balancing license, and setup is done in the UI.
Automatic summary of the README and code of ThaStealth/alfen_modbus. Something wrong, or are you the maintainer and want your own text here? Get in touch
Supports
Works locally Talks to your devices on your own network. No vendor cloud in between.
From the Marketplace Installed through the Marketplace, formerly HACS.
Actively maintained Its author released or pushed a change in the last six months.
Provides
- Switches
- Sensors
Setting it up
Install it from the Marketplace and restart Home Assistant, then add it under Settings, Devices and services.
Alfen Modbus Connection
- HostThe IP address or hostname of your Alfen device
- NamePrefix for sensor names
- PortTCP port (default: 502)
- Modbus AddressModbus slave address (default: 200)
- Read SCNEnable Smart Charging Network registers
- Read Socket 2Enable socket 2 for dual socket units
- Scan IntervalPolling interval in seconds for energy totals and station data
- Measurement IntervalPolling interval in seconds for power, current, voltage and charger state. Use 2-5 s for load balancing; defaults to the scan interval
After setup
- HostThe IP address or hostname of your Alfen device
- PortTCP port (default: 502)
- Read SCNEnable Smart Charging Network registers
- Read Socket 2Enable socket 2 for dual socket units
- Scan IntervalPolling interval in seconds for energy totals and station data
- Measurement IntervalPolling interval in seconds for power, current, voltage and charger state. Use 2-5 s for load balancing; defaults to the scan interval
Texts from the code of ThaStealth/alfen_modbus.
Entities
- Binary sensorsBack office, Connection state, Charging state, SCN max current enabled, Charger enabled
- NumbersMax current limit, SCN max current L1, SCN max current L2, SCN max current L3
- SelectsUsable phases
- SensorsName, Manufacturer, Modbus table version, Firmware version, Platform type, Serial, Current time, Last boot, Actual max current, Board temperature, Backoffice connected, Number of sockets, and 71 more
- SwitchesCharger enabled
Troubleshooting
- DiagnosticsDownloads a diagnostics file to attach to a bug report.
- Repair noticesNotices it can show in Settings, Repairs:Charger firmware has a known power budget reset bug
From the README
Home Assistant integration for Alfen Eve NG9xx and AHP 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: per-phase consumption, actual/max/safe current and enable state, with a control to set the max current per phase
- 🗣️ Localized UI - Entity names and states are translated into English, Dutch, German, French, Finnish, Norwegian, Swedish and Danish, following your Home Assistant language setting
- 🩺 Diagnostics - Download a redacted diagnostics report from Settings → Devices & Services for bug reports
- 🚑 Repair notifications - Flags known issues (e.g. outdated NG9xx firmware) directly in Settings → Repairs
Shows in Vulpo
Quick Toggle card, Select card, Chart card, Apple Watch, Control Center.Information
- Installs
- 191 sharing analytics
- GitHub stars
- 24
- Connection
- Works locally
- Upkeep
- Updated in the last 6 months
- Version
- 0.3.0,
- Category
- Energy, EV charging
- Kind
- Marketplace integration
- Needs
- Needs the Marketplace (HACS on 2026.10 and older)
- Domain
alfen_modbus- Issues
- Report an issue












