Code Monkey home page Code Monkey logo

Comments (7)

jpo-stx avatar jpo-stx commented on September 1, 2024

Hi @Joenoodoe ,

have you changed the default configuration of EV and EVSE? In this case, can you please provide your changes to the sources as a patch file.

What I have seen is that you set the battery capacity to -15536Wh. The exponential value is a signed short and c3 50 00 is a negative value. If you want to set the battery capacity to 50kWh use 50 for the value and 3 for the exponent: 00 32 03.

from freev2g.

Joenoodoe avatar Joenoodoe commented on September 1, 2024

Hi @jpo-stx

  1. No, we didn't changed the default configurations of EV and EVSE.

  2. After modify the code for changing the battery capacity( Payload: 0xc4, 0x93, 0x0, 0x21, 0x55, 0xc5, 0x2, 0x0, 0x1, 0x1, 0x0, 0x1, 0x0, 0x0, 0x32, 0x3), the error still show up. Trace the document and EV code
    a. Tracing the document I found that: EV -> Set configuration command
    The document shows two byte value (C3 50) which is different from you said. Which is the real value we need to send ?

    b. Tracing the code I found that: EV -> Whitebeet.py -> Set configuration command
    The code didn't caculate the exponent value. Have the code been test already ?

           if isinstance(config["battery_capacity"], int):
             payload += config["battery_capacity"].to_bytes(2, "big")
             payload += b"\x00"
         else:
             payload += config["battery_capacity"][0].to_bytes(2, "big")
             payload += config["battery_capacity"][1].to_bytes(1, "big")
    
  3. Currently, we just want to test the whole procedures including CP, SLAC and V2G using Ethernet. Could you provide the working code for each module-EI and module-PI ?

BR
JoeChen

from freev2g.

Joenoodoe avatar Joenoodoe commented on September 1, 2024

The firmware version for PEV and EVSE side.

[WB-module-EI Side]
APPLICATION:
Name: ISO15118 (EVSE)
Version: V01_01_02
Target: WHITE-BEET
CPU: STM32F745

PRODUCT VERSION:
String: SEVENSTAX_LIB_V_10_00_03
Hex: 0x000a0003
Dec: 100003

[WB-module-PI Side]
APPLICATION:
Name: ISO15118 (EV)
Version: V01_00_03
Target: WHITE-BEET
CPU: STM32F745

PRODUCT VERSION:
String: SEVENSTAX_LIB_V_10_02_01
Hex: 0x000a0201
Dec: 100201

from freev2g.

jpo-stx avatar jpo-stx commented on September 1, 2024

Hi @Joenoodoe , my collegue is currently analysing the issue. I will come back to you with the results

from freev2g.

jpo-stx avatar jpo-stx commented on September 1, 2024

In the meantime, can you update your EVSE to the latest firmware version V01_01_06 from december 2021.

from freev2g.

Joenoodoe avatar Joenoodoe commented on September 1, 2024

Hi @jpo-stx,

We test the whole procedures successfully between module-EI and module-PI after modifying both code.
This issue can be closed for sure.

If we have problems, we'll open another issue in github.

Thanks for help and analyzing.

BR.
JoeChen

from freev2g.

jpo-stx avatar jpo-stx commented on September 1, 2024

@Joenoodoe nice to hear that you could could solve the issue.
Nevertheless, we will update FreeV2G so that it is working out of the box. Sorry for the inconvenience.

from freev2g.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.