Skip to content

ThaStealth/alfen_modbus

Repository files navigation

hacs_badge

home-assistant-alfen-modbus

Home assistant Custom Component for reading data from Alfen EV NG9xx charger through modbus TCP. Implements Inverter registers from the Alfen Modbus Slave TCP/IP protocol

Installation

Copy contents of custom_components folder to your home-assistant config/custom_components folder or install through HACS. After reboot of Home-Assistant, this integration can be configured through the integration setup UI

Enabling Modbus TCP on Alfen EV Charger

  1. Ensure you have aquired the "Active load balancing" license which enables modbus communication for your EV charger.
  2. Enable "Active Load Balacing" via the Alfen Service installer application.

Configure power budget (Slave role)

Select the "Energy Management System" option in the Active balancing -> Data source field.

Smart Charging Network

SCN is used in a multi charging station situation (parking lots). The SCN fields are not yet fully implemented.

Known Issues

  • The power budget functionality is resetting to 0A randomly whenever there isn't a car charging. This is because of a reconnection bug in the Alfen firmware. They fixed this bug in 6.4.0-4210

Future Improvements

  • Persist the set power budget value across HA restarts
  • Update the power budget value before the Alfen charger timer value expires and the charger drops into safe current mode