Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chargepoint 1.6 simulator #53

Open
victormunoz opened this issue Apr 5, 2018 · 11 comments
Open

Chargepoint 1.6 simulator #53

victormunoz opened this issue Apr 5, 2018 · 11 comments
Labels

Comments

@victormunoz
Copy link

I would like to test the new OCPP 1.6 features with Steve with some chargepoint simulator.
What simulator do you recommend?

I have tried with the ChargeTimeEU chargepoint (https://github.com/ChargeTimeEU/Java-OCA-OCPP), that implements version 1.6, but haven't succeeded...

@JavaIsJavaScript
Copy link
Contributor

@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

@goekay
Copy link
Member

goekay commented Apr 5, 2018

@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.

@goekay
Copy link
Member

goekay commented Apr 5, 2018

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.

@goekay goekay added the question label Apr 5, 2018
@JavaIsJavaScript
Copy link
Contributor

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

@TVolden
Copy link

TVolden commented Apr 5, 2018

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

@csamsel
Copy link
Contributor

csamsel commented Apr 5, 2018

@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

@victormunoz
Copy link
Author

@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!

@JavaIsJavaScript
Copy link
Contributor

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

@goekay
Copy link
Member

goekay commented Apr 5, 2018

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).

@kubarskii
Copy link

kubarskii commented Apr 12, 2018

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

@victormunoz
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants