HarmvandenBrink / Alfen_Chargestation_Reader_And_Controller

A charge station reader and controller for Alfen NG9xx chargers
MIT License
7 stars 3 forks source link

Switching between 1-phase and 3-phase charging. #2

Open macoopma opened 1 year ago

macoopma commented 1 year ago

Hello,

I have successfully used you code to alter the power of my Alfen eve charging station. I read that it would also be possible to switch between 3-phase and 1-phase charging to allow charging at a lower power. I would be interested as with my solar panels I often don't get to the minimum of 6 A on 3-phase. I read that writing to the modbus register 1215 the value 1 or 3 can be used to indicate the 1 or 3 phase charging. Any thoughts ?

Thanks!

tnederlof19 commented 1 year ago

Hi, that is correct. Make sure you enable "allow switching between 1 and 3 phases" setting in the charging station

Op ma 10 apr. 2023 11:40 schreef Mathias Coopmans @.***

:

Hello,

I have successfully used you code to alter the power of my Alfen eve charging station. I read that it would also be possible to switch between 3-phase and 1-phase charging to allow charging at a lower power. I would be interested as with my solar panels I often don't get to the minimum of 6 A on 3-phase. I read that writing to the modbus register 1215 the value 1 or 3 can be used to indicate the 1 or 3 phase charging. Any thoughts ?

Thanks!

— Reply to this email directly, view it on GitHub https://github.com/HarmvandenBrink/Alfen_Chargestation_Reader_And_Controller/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACVRL5NRPMRSEY7EXWUKI5DXAPIRVANCNFSM6AAAAAAWYZMLSI . You are receiving this because you are subscribed to this thread.Message ID: <HarmvandenBrink/Alfen_Chargestation_Reader_And_Controller/issues/2@ github.com>

rdorsch commented 1 year ago

There is a commit

https://github.com/HarmvandenBrink/Alfen_Chargestation_Reader_And_Controller/commit/a1e1d86bb709f8ababed849ad1344bc4a39e6e83

which seems to add phase switching. The only thing I am wondering is that unit=200 is used. From the documentation

Modbus Slave TCP/IP Implementation of Modbus Slave TCP/IP for Alfen NG9xx platform Author: T. Nederlof Version: 2.3 30-10-2020

I think it should be rather 1 or 2.

Or did new documentation come with some of the FW updates, which I missed?

https://knx-user-forum.de/forum/%C3%B6ffentlicher-bereich/geb%C3%A4udetechnik-ohne-knx-eib/1905470-alfen-eve-single-s-line-ng910-phasenumschaltung-funktioniert-nicht-mehr-per-modbus

HarmvandenBrink commented 1 year ago

It should be unit_id 1 or 2 (depending on the socket ID, in case of dual socket), not unit_id 200. You're right.

HarmvandenBrink commented 4 months ago

Fixed this issue in the latest version. Also included in the PyPi package: https://pypi.org/project/AlfenCharger/