Git Product home page Git Product logo

Comments (11)

kubarskii avatar kubarskii commented on August 27, 2024 2

Started working on a really simple CP Simulator, simply using html, js, websockets
It already can send requests to the server and handle server requests.
Would be happy if anyone tries to implement something to it.
Link https://github.com/nenecmrf/OCPP-J-CP-Simulator

from steve.

JavaIsJavaScript avatar JavaIsJavaScript commented on August 27, 2024 1

@victormunoz i got a hacky simulator that works on 1.6 on my github, its not perfect but it works for testing, atleast for me

from steve.

goekay avatar goekay commented on August 27, 2024 1

@victormunoz why didn't ChargeTimeEU work? As far as i know, they only provide the skeletons for json/soap communication and the user/developer has to provide/implement content for the message fields.

from steve.

JavaIsJavaScript avatar JavaIsJavaScript commented on August 27, 2024 1

I was using this one http://www.gir.fr/ocppjs/ for 1.5 testing and just changed and added some things so it works for 1.6

from steve.

JavaIsJavaScript avatar JavaIsJavaScript commented on August 27, 2024 1

The errors are known, type bootnotification in the console and press enter, you can do this with basically al functions from cp to cs.

from steve.

goekay avatar goekay commented on August 27, 2024 1

steve actually has the building blocks to simulate chargepoints in test directory. please look at these exemplary implementations, which you can modify as you wish:

you create your request objects, set their fields, send them to steve, and do whatever you like with the response (e.g. verify the fields in response).

from steve.

goekay avatar goekay commented on August 27, 2024

some time ago we experimented with https://github.com/NewMotion/ocpp-charger and https://github.com/aymen-mouelhi/ocpp-js. they were okay, but they do not implement ocpp 1.6. i do not know any other simulators.

from steve.

TVolden avatar TVolden commented on August 27, 2024

That's correct @goekay. I limited the lib to the specifications from OCA.

from steve.

csamsel avatar csamsel commented on August 27, 2024

@gonium wrote various emulators for ev components. pretty sure a ocpp client/server as well. Havent found it on his github though. You should also watch his talk on charging stations - highly entertaining: https://media.ccc.de/v/34c3-9092-ladeinfrastruktur_fur_elektroautos_ausbau_statt_sicherheit

from steve.

victormunoz avatar victormunoz commented on August 27, 2024

@JavaIsJavaScript I have tried your project. Looks good!
Although the "npm install" seemed to fail (many errors in the console), the program apparently runs fine.
It outputs the message "Connected to Central System", and the steve log shows "New connection established".
Should it make something else? I expected some BootNotification, heartbeat, meter values...
Anyway, good work! Thank you!

from steve.

victormunoz avatar victormunoz commented on August 27, 2024

Thank you @nenecmrf for this extremelly easy-to-use simulator!
It's nice and also works fine! I will definitelly keep an eye for it.

from steve.

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.