Git Product home page Git Product logo

apostoldevel / ocpp-cs Goto Github PK

View Code? Open in Web Editor NEW
49.0 49.0 12.0 28.91 MB

OCPP Central System and Charge Point emulator.

Home Page: https://ocpp-css.com

License: MIT License

CMake 2.29% Shell 0.94% C++ 81.22% HTML 14.77% Dockerfile 0.13% JavaScript 0.28% Mustache 0.34% CSS 0.02%
central ocpp ocpp-central ocpp-css ocpp-j ocpp-j-simulator ocpp-server ocpp-ws-client ocpp15j ocpp16 ocpp16j

ocpp-cs's People

Contributors

ufocomp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ocpp-cs's Issues

Unable to connect to ws://ws.ocpp-css.com/

Hi I am trying to test a charge point implemenation with your server, but the connection times out:

` async with websockets.connect(
# 'ws://188.93.211.35:9220/ocpp',
"ws://ws.ocpp-css.com:9220/ocpp",
# 'ws://csms.edrv.io:80/yszb/v9y0',
subprotocols=['ocpp1.6'],
timeout=10
) as ws:

`
The above  code succeeds  with other  servers.  Can  you  point out  the issue?  Or  the server does  not accept any external  charge  points.

version.h not found

Hello,

after issuing make inside cmake-build-release I get:

`make[1]: Entering directory '/home/user/Desktop/apostol-ocpp/cmake-build-release'
make[2]: Entering directory '/home/user/Desktop/apostol-ocpp/cmake-build-release'
make[2]: Leaving directory '/home/user/Desktop/apostol-ocpp/cmake-build-release'
make[2]: Entering directory '/home/user/Desktop/apostol-ocpp/cmake-build-release'
-- Found Git: /usr/bin/git (found version "2.27.0")
-- Found Git
-- Current Git commit hash: 0590eaa
CMake Error at /home/user/Desktop/apostol-ocpp/AutoVersion.cmake:13 (file):
file failed to open for reading (No such file or directory):

/home/user/Desktop/apostol-ocpp/version.h

make[2]: *** [CMakeFiles/auto_increment_version.dir/build.make:57: CMakeFiles/auto_increment_version] Error 1
make[2]: Leaving directory '/home/user/Desktop/apostol-ocpp/cmake-build-release'
make[1]: *** [CMakeFiles/Makefile2:211: CMakeFiles/auto_increment_version.dir/all] Error 2
make[1]: Leaving directory '/home/user/Desktop/apostol-ocpp/cmake-build-release'
make: *** [Makefile:130: all] Error 2`

Since this file is being gitignored, how is it supposed to find it? Thank you

Ocpp 2.0.1 Connection

Hi, this code is awesome and I just want to ask an question. I just connected an charger with ocpp 2.0.1 connection to this dashboard and it worked. Would that cause any problem ?
async with websockets.connect( "ws://<apostol ocpp 1.6 server>/ocpp/chargerdeneme", subprotocols=["ocpp2.0.1"],

Thanks in advanced

Monitoring SoC of the car

Hi again, I would like to ask a question about car's status check commands.
I wnat to get the current SoC of the car but metervalues command is not implemented here. What command should I use?
The GetCompositeSchedule Does not return the SoC of the car.

Thanks in advanced

ConnectorId is not an integer

Hi I just connected my real charger to the cs code and I control it via swagger try outs. I want to setChargeProfile but I cannot because schneider charger returns : connectorId is not integer even when I give 0 in curl. Can I set the connector Id via changeconfigureation or stg ?

Thanks in advanced

Can't connect my Charging Station to the server

Hi,

I'm currently in the process of integrating my charger with the central system, and I've encountered an issue. I attempted to connect my charger to ws://ws.my-ocpp-server.com, but unfortunately, it didn't work as expected. I would appreciate some clarification and guidance on the proper method to successfully add my charger to the central system.

RemoteStopTransaction Returns Rejected

Hi again,
I tried remote start and stop transaction via dashboard but I cannot stop charging because charger returns:
{ "status": "Rejected" }

What can be the reason for that ?

Thanks in advance

image

Establishing ocpp communication

Hello,
How can I test communication between client and server using this library?
What should I do after running ocpp (sudo service ocpp start)?
Thank you.

Chargers Do not appear On THe DashBoard

Hi, I tried to use docker run for this project.

I did not configure any ip, just localhost:9220 is in configs. As mentioned here

Edit file ocpp-cs/docker/www/config.js according to your requirements. Specify the correct addresses of your server.

Edit file ocpp-cs/docker/conf/sites/default.json add IP address your server:

For example, your server IP address is 192.168.1.100 or DNS name is ocpp-server.

I deployed the ocpp server on Google Kubernetes Engine, it works and I can see the logs. The chargers can connect. However I do not see any charger on the dashboard, only I can see and control them via cli logs.

What do you think is the problem here ? I do not have any dns hostname, but when I run the code locally, localhost:9220 shows the chargers.

Thanks in advanced for your support
issue

Unable to test my charger using the demo server

Thanks for your work, I really like your demo server and I'm hoping to test my Orbis Combi charger at your demo server
But I can't connect my charger.

I have added this in my charger OCPP setup:
ws://ws.ocpp-css.com/ocpp/my_charger_name
BUT what port should I specify? I have tried with port 40 and 80 and 9220 but I cant connect?

Also after logging in at https://cs.ocpp-css.com/ocpp I'm unable to add a station. If I click on "Stations list" nothing happens.

I'm I doing something wrong?

Contact

Dear developer can you contact me? I would like to hire you...

invalid RFID tag

I have been trying to test startTransaction(). I have tired to send the RFID Tag as a string of 8-20 characters But I always get the following response from the server:
Sent: [2,"1000061","StartTransaction",{"connectorId":1,"timestamp":"2022-09-06T12:59:28.000Z","idTag":"3705D5D7"}]
Received opcode=1
Received=[3,"1000071",{"transactionId": 0, "idTagInfo": {"expiryDate": "2022-09-07T12:02:46.981Z", "status": "Invalid"}}]

Job for ocpp.service failed

Hello,

After testing the release
it worked but after trying to retest ocpp framework using this command "sudo service ocpp start", I got this error:

Job for ocpp.service failed because the control process exited with error code.
See "systemctl status ocpp.service" and "journalctl -xe" for details.

I have two questions :

  1. What's the cause of this error, is it related to the release version?
  2. What is the difference between running ocpp using release or using ocpp framework?

Thank you in advance.

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.