uhi22 / pyPLC

Electric vehicle CCS charging investigations with Python
GNU General Public License v3.0
154 stars 35 forks source link

TCP connection lost after ContractAuthenticationResponse #10

Closed uhi22 closed 10 months ago

uhi22 commented 1 year ago

This was observed when pyPLC is used in EvseMode, with Tesla car. Reported here: https://github.com/uhi22/pyPLC/issues/6#issuecomment-1608218738

The linked trace with Tesla car shows the issue multiple times, but also contains two good cases, where the connection is stable.

Ideas for potential root causes:

  1. The os decides to reconfigure/shutdown/whatever the connection. This was discussed here: https://github.com/uhi22/pyPLC/blob/master/doc/installation_on_raspberry.md#disable-network-manager-for-the-ethernet-port
  2. Unstable/aborted/wrong CP signalling, 1kHz/5% PWM?
  3. Car fully charged and just rejects the further communication?
  4. (maybe more....)
uhi22 commented 10 months ago

Closing due to inactivity.