Code Monkey home page Code Monkey logo

Comments (10)

lho-stx avatar lho-stx commented on September 2, 2024

Hey @jptalledo10,

you used the EV configuration file but addressed a WHITE Beet EI. Please try:

sudo python3 Application.py eth -m c4:93:00:34:ab:03 -r EVSE -i enp0s31f6

Best regards,
lho

from freev2g.

jptalledo10 avatar jptalledo10 commented on September 2, 2024

@lho-stx

Thanks for the command suggestion. I was able to make a little progress but now the EVSE is waiting for a frame as shown below

image

The White Beet EV simulator is running old firmware vs the EVSE -> 2.1.0. Do you think this could be the problem?

from freev2g.

lho-stx avatar lho-stx commented on September 2, 2024

Hey,

often a reason for failing sessions are non matching configurations of simulator and WHITE Beet. Please check that your configs match (e.g. choose ISO and DC_extended only).

If this is not resolving your issue, please create the wireshark log files as asked in the guide and post them here, they are mandatory for resolving issues.

Best regards,
lho

from freev2g.

jptalledo10 avatar jptalledo10 commented on September 2, 2024

@lho-stx

Can you advise where to check for ISO/DIN configurations. On the EVSE I have the following:

{ "mac": "00:01:01:63:77:31", "ev": { "evid": "00:01:01:63:77:31", "protocol_count": 1, "protocols": [ 0 ], "payment_method_count": 1, "payment_method": [ 0 ], "energy_transfer_mode_count": 1, "energy_transfer_mode": [ 1 ] }, "battery": { "timestep": 10000, "capacity": 50000, "level": 49000, "full_soc": 100, "bulk_soc": 80, "max_current": 100, "max_power": 12000, "max_voltage": 300, "target_current": 40, "target_voltage": 200, "target_voltage_delta": 10, "max_current_AC": 0, "max_voltage_AC": 0, "min_current_AC": 0 } }

Attaching the Wireshark trace captured on on EVSE<-> EV Simulator session
evse.zip

from freev2g.

lho-stx avatar lho-stx commented on September 2, 2024

Hey @jptalledo10,

the values in the json file are the values found in the WHITE Beet manual. For supporting DIN and ISO you need to set

"protocol_count": 1, "protocols": [ 0, 1 ]

In the EV simulator you need to set the protocols in the V2G module and the energy transfer mode in the battery module.

Will check the log files!

BR,
lho

from freev2g.

lho-stx avatar lho-stx commented on September 2, 2024

Hey @jptalledo10,

unfortunately there are no V2G messages seen in the log file. Most likely the port mirror is not enabled. Can you please enable the port mirror (taken from the how to create log files guide):

If you are using FreeV2G the port mirror can be enabled by starting Application.py with the -p flag.

and recreate the log file?

Best regards,
lho

from freev2g.

jptalledo10 avatar jptalledo10 commented on September 2, 2024

@lho-stx

Using the EVSE_v2.0.1_4 branch. the -p argument is not accepted by the Application.py. Can you advise another method to enable the port mirror feature

image

from freev2g.

lho-stx avatar lho-stx commented on September 2, 2024

Hey,

I missed that you are still on the old firmware, my fault, I am sorry!

You need to insert

evse.whitebeet.networkConfigSetPortMirrorState(1)

after line 102 in Application.py in order to enable the port mirror.

Please also consider updating the firmware, so you can use the latest commit and have all bug fixes in the firmware.

Edit:

Wait a minute, you are actually on the v2.1.0 firmware on the WHITE Beet EI but you are using the tag EVSE_v2.0.1_4? Actually you need to use either the latest commit on the stabe branch or a tag with EVSE_v2.1.0 in it. Then you also can use the -p flag.

Best regards,
lho

from freev2g.

jptalledo10 avatar jptalledo10 commented on September 2, 2024

Thanks for the clarification. Here is the Wireshark log and the snapshot of the EV Simulator

image

Here is the log running v2.0.1_4
evse1.zip

Changing to the EVSE_v2.1.0_1 worked and able to run the full loop including authentication/confirmation

from freev2g.

lho-stx avatar lho-stx commented on September 2, 2024

Hey @jptalledo10,

great to see your setup is working now! I will close this ticket.

Best regards,
lho

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.