Coder Social home page Coder Social logo

oglimmer / scriptable-ocpp-chargepoint-simulator Goto Github PK

View Code? Open in Web Editor NEW
63.0 6.0 28.0 663 KB

A Scriptable OCPP Chargepoint Simulator for OCPP 1.6J. Client and Server.

License: Apache License 2.0

TypeScript 70.49% JavaScript 26.45% Shell 2.66% EJS 0.40%
ocpp16j ocpp node vue websockets

scriptable-ocpp-chargepoint-simulator's Issues

how to connect multiple chargepoint to the central system

Hi,
I can init the application now, and I can register different charge points to the application, and I create my own central system.
image

image

I modify some existing code to connect the charge point to my own central system, and it works well, after I did some operation in the web console, my central system can get the message from this charge point.
image

but how I can connect multiple charge points to the central system? thanks for the focus

Can't visit the docs

Hi Team,
I can initiate the application successfully locally, but I can't visit the docs page by http://localhost:3000/docs, could you help look at this issue?

Best Regards

Not able to trigger services which flows from central system to charging point.

I am trying to trigger functions such as GetConfiguration, RemoteStartTransaction(basically things that flows from central system to CP). below is a code snippet that i am using :

@app.get("/get-configuration/{charge_point_id}")
async def get_configuration(charge_point_id: str):
    cp_obj=None
    for obj in cs.charge_point_v16_objs:
            if obj.charge_point_id == charge_point_id:
                cp_obj = obj
                break
    await cp_obj.get_configuration(config_list=[ConfigurationKey.get_configuration_max_keys])
    return {}

I am hitting an fastapi endpoint which will trigger this function and so on. I am using "./start.sh --v" command followed by accessing "http://localhost:3000/?connectTemplate=$connectUrl&cp=$chargePointName". When i hit api to trigger function(such as GetConfiguration, RemoteStartTransaction) i can see it returns status=NotImplemented. I am not sure rather i dont understand the steps of adding answerTriggerMessage stuff. Can anybody help with this issue?

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.