Sevenstax / FreeV2G

Python based Host MPU Application for the use with 8DEVICES WHITE-BEET Embedded ISO15118 Module modules to realize IEC/ISO15118 and DIN70121 conform charging communication between electric vehicles (PEV) and elevtric vehicle supply equipment (EVSE). FreeV2G can e.g. been used with a Raspberry Pi.
Other
52 stars 26 forks source link

Session still stopped after ServiceDetailReq #332

Open Kristanpivk123 opened 1 month ago

Kristanpivk123 commented 1 month ago

Before you post

Your Setup Platform: PEV evaluation board Firmware Version: V01_00_07 Host Controller Interface: SPI Host: Own Implementation

Describe the bug On two of four EVSE that I tried to comumunicate with, the session was stopped after EVSE didn't accept ServiceDetailReq message from WHITE Beet PEV. This but was already reported multiple times (issues #76 #92 #142), to all of which you answered that it will be fixed in the upcoming FW update. I am currently using the latest FW but this is apparently still not fixed.

To Reproduce Use an EVSE from either Alpitronic or Delta and try to establish DC charging with it

Expected behavior According to Google research and what was mentioned on the previous issues, this is not mandatory for ISO 15118 so WHITE Beet should be able to skip this or at least there should be an option in V2G configuration to skip this step.

Logs I am attaching UART logs of both EVSE where this happened (files differ a bit from the original logs due to my own implenetation in capturing them): alpitronic_test 1 dbg.txt delta_test 1 dbg.txt

Additional context This week I am going to try to get around this issue by using DIN 70121 which should probably work (according to other issues) but it would be great if this was supported. So far i tested 4 EVSE with my SPI implementation. 2 were using DIN 70121 and two were using ISO 15118. Both that used ISO were terminated by the above mentioned problem.

Tommorow I plan to test another EVSE which uses Vector SECC. According to other issues I also expect this same problem there. If that is true, that would mean that pratically most public DC EVSE (in Slovenia) don't support ServiceDetailReq which is quite a big problem, especially if they also don't support DIN 70121 (no way to connect to them in that case).

I also must mention another test of DC EVSE with ISO 15118 that worked. I executed that test with FreeV2G (at that time I still didn't have my own SPI implementation finished). It was on an EVSE that used EcoG SECC. At the time I was still using V01_00_06 from the summer 2023 (version that was bricked for updates so I had to send it to you to programm ti with V01_00_07). If needed I can provide Wireshark log of this communication with mirroring. I added this to give you additional informations regarding this bug fix (in case that it was already fixed for V10_00_06 but was overwritten for V01_00_07).

Kristanpivk123 commented 1 month ago

I have an update: I also tried to connect with these DC EVSEs over DIN 70121 and managed to achieve successfull charging session so I did solve this problem for now but this is not really the best solution. If it would be possible to fix this bug, it would be the best especially after how many EVSEs didn't work when using ISO 15118. Best regards, Kristan

lho-stx commented 1 month ago

Hey @Kristanpivk123,

we are working on the next WHITE Beet PI release at the moment. I can not give you an official release yet, but it should be available soon. Nevertheless, sharing a log would be great.

Best regards, lho

Kristanpivk123 commented 1 month ago

Of course. I'm adding all of the logs that I made so it is a bit of a mess (I quickly re-checked them and first one might not be usefull). I'm also adding both ev.json files that I used; first one was for tests 1 through 5 and the second one was for tests 6 and 7. I also edited Ev.py file so that I was able to slightly edit parameters mid-charge, stop charging and to change GPIOs which were turning on and off some relays for battery simulator. I'm also adding this file. I hope it helps and best regards Kristan test_logs_with_wireshark.zip ev_2_test1-5.json ev_2_test_6-7.json Ev.zip