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
56 stars 26 forks source link

Using WHITE Beet with a network switch #343

Open pbekandeatador opened 1 month ago

pbekandeatador commented 1 month ago

Your Setup Platform: EVSE Firmware Version: i.e. V02_01_00 Host Controller Interface: Ethernet Host: FreeV2G latest application

Describe the bug EVSE whitebeet suddenly stops responding to host controller requests (get CP state) in idle mode.

To Reproduce EVSE Whitebeet and host controller are connected to internet through Ethernet Switch and LAN as shown in the diagram. WB_Controller_system Using pcap filter, host application is programmed to receive MAC packets only from WB. v2g application is run on Host, it enters the idle mode waiting for EV connection. In the idle mode only communication happening between Host and WB is get CP state command and its response. This goes on for a few minutes. Suddenly there is no response from WB. Wireshark logs show that there is no response after the last getCP state command from host.

Expected behavior Wait for the EV connection loop should run infinitely in the presence of internet connectivity ??

Logs Described above.

Is it necessary to have specific Switch or router configuration so that WB communicates without any interruptions due to possible network congestion ?

lho-stx commented 1 month ago

Hey @pbekandeatador,

using WHITE Beet with a switch or router is not officially supported and we advise to remove any network gear between WHITE Beet and host. Officially the best way is to connect WHITE Beet to your host directly.

Although we had success with a managed switch, V-LANs and virtual interface on a Linux host machine. Because you are using a Micro this is not an option?

Best regards, lho