Comments (11)
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.
@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.
@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.
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.
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.
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.
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.
That's correct @goekay. I limited the lib to the specifications from OCA.
from steve.
@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.
@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.
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)
- Charger connections limit HOT 1
- Why do I get 404 when I access static resources locally? Answer when you have time, thank you!
- Date handling in OCPP operations HOT 3
- Transaction returning ConcurrentTX as status not stopped HOT 9
- Network requirement question HOT 2
- Connect charging station to Steve. HOT 2
- Multiple Webusers login HOT 6
- Use PKs for cross-referencing instead of business/natural keys HOT 6
- Installation fails on "Access denied" error HOT 3
- When i am trying to run the steve.jar file, i am getting below mentioned error: HOT 2
- Logs are Unavailable HOT 3
- New install - 0.7.7 - update schema update failed - Cannot change column 'chargeBoxId': used in a foreign key constraint HOT 3
- Transaction detail page should only show relevant meter values HOT 1
- Jooq warning in logs about using Converter with org.joda.time.DateTime
- Redirect to originally requested page after succesful login HOT 1
- Connection Issues with MicroOcppSimulator and SteVe Using Docker HOT 10
- Enhanced User Management and Functions for Steve HOT 7
- Validate chargeBoxId for WS connections HOT 4
- Encode values properly when rendering HTML pages
- Mark the most recent release as latest HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from steve.