A charge station reader and controller for Alfen NG9xx chargers
This code was used in a home built Home Energy Management System (HEMS), to include an Alfen NG9xx charge station into a smart home. You can read more about it in my blog post: How I built a HEMS with solar, a battery and a charge station (in Python)
from alfenChargestation import alfenCharger
chargestation = alfenCharger('ICU-00001', '192.168.1.X', 0, 20)
chargestation.readMeasurements()
print(chargestation.voltage_l1n)
# Sets the current to 10 amps
chargestation.changeCurrent(10)
The code within this repository comes with no guarantee, the use of this code is your responsibility.
I take NO responsibility and/or liability for how you choose to use any of the source code available here. By using any of the files available in this repository, you understand that you are AGREEING TO USE AT YOUR OWN RISK.