dannerph / homeassistant-keba

Beta version of keba integration
Apache License 2.0
22 stars 4 forks source link

New feature available in firmware version 1.17 #18

Open robinostlund opened 1 year ago

robinostlund commented 1 year ago

Hi 😄 I noticed today that keba released version 1.17 and noticed this feature:

Phase Switching via UDP enabled
For a direct initiation of the phase switching feature by an external energy management system, the KeContact P30 functionality has been enhanced to decide on itself if it should charge with 1-phase or 3-phases based on the UDP control method.
Up to now, the KeContact P30 forwarded information to the external phase switch S10, which reacted upon the command by the inverter.

For me it could be interesting to add to this component as it would allow me to charge my car with solar when the production is low if i could switch to one phase charging 😄

dannerph commented 1 year ago

Interesting, I need to check if this firmware is also ported to my BMW Wallbox Plus. However, I do not believe so ...

dannerph commented 11 months ago

It seems this firmware is only for the keba p30 x-series, which I do not have. Thus, I cannot test the feature by myself. However, if someone of you is capable of running some udp commands or small python scripts, we can try it. If I got it correctly you also need the keba s10 phase switcher to get it working. The udp manual describes that the command is actually switching the x2 connector which should be connected to the keba s10.

Be aware that some EVs do not support phase switching.

schmersgahoven commented 11 months ago

Hi, yes S10 or selfmade S10 ist necessary. You ca find some by searching for Keba Phasenumschaltung. I really not have any clue of Python but was already searching for the code in the custom component folder where the UDP commands are send, with no luck. If someone tells me how I have to change files in custom component folder to have service or button to send command X2 to trigger X2 I will test. Have Keba P30 with 1.17 an can check If X2 will switch. You can use phase Switchring also with Keba C Series. In X Series you can activate via Front End, in C Series you have to activate by Dip switches.

dannerph commented 10 months ago

@deqw It seems you have a Keba P30x then (or at least a branded one by SolarEdge). I have a BMW Wallbox Plus for which it is not yet clear, if the X2 can be used for the S10, as it is configured as RS485/ModBus-RTU interface. There is some discussion going on at [EVCC (German only)] (https://github.com/evcc-io/evcc/discussions/9347#discussioncomment-7110585). If I have some time, I will test to flash the newest Keba firmware to my BWM Wallbox to see if I can use the X2 or not.

I also read, that the Keba P30x is cabable to control the charging speed on its own when served with 3-phase measurement data whereas the Keba P30c only "forwards" the udp/tcp command to activate phase switching to the X2 connector. The only logic seems to be the short interuption of the charging process and blocking the next switching for a certain time. But that would not be a problem as we can add the logic in HA. I already integrated a function to set charging power instead of charging current in the python library by reading the local voltage and current values (only for charging stations with energy meter integrated).

PulsarFX commented 9 months ago

@deqw You have to update one version at a time. The update package from keba download site has a pdf which states which base version is supported by the update. For me, it was sitting trough 1.14 -> 1.15.1 -> 1.16.1 and finally 1.17.1

edit: I don't know if your frankenkeba would work with the actual keba firmware.

PulsarFX commented 9 months ago

We only have pure keba devices. I added it to the edit, that I don't know if your edition can be updated with regular keba firmware. Sorry.

PulsarFX commented 9 months ago

Yeah, strange, it's missing in the dropdown KeContact_P30x_SW_1.15.1.zip

PulsarFX commented 9 months ago

The web interface shows the current state of the dip switches in the setting column. So 1.1 and 1.2 are both off at the moment.

1.2 description is: Abhängig von der Produktvariante (Details finden Sie im Installationshandbuch):

it's the same text in german.

IZZE2000 commented 3 months ago

Hi all, where we (read you) able to get the 1-phase or 3-phases based via UDP to work out via the beta and Keba P30 1.17? I do also have solar panels that i would like to utilize more :-) Cheers