Git Product home page Git Product logo

Comments (14)

ufocomp avatar ufocomp commented on July 21, 2024

Hi! Most likely, the problem is that you have created a CRM version of the application (with authorization and connection to PostgeSQL).

Replace CMakeLists.txt the file to the one in the docker/CMakeLists.txt. Configure and compile the cs again.

Good luck.

from ocpp-cs.

sait1801 avatar sait1801 commented on July 21, 2024

Hi, thanks for the support. I tried that solution too, it didn't work. I pulled the apostoldlevel\cs image from dockerhub and deployed it. Still I cannot see the chargers, but I can control them on bash

from ocpp-cs.

ufocomp avatar ufocomp commented on July 21, 2024

Hi! If you took an image of the Central Server from Docker Hub then the result of launching the container should be as follows:
image

If the result is different, then the problem is not related to the docker image and without a more detailed description of the problem, it will be difficult for me to help you in any way.

P.S. There were updates in the CS code today, and the image on the Docker hub was also updated (docker pull apostoldevel/cs).

from ocpp-cs.

sait1801 avatar sait1801 commented on July 21, 2024

Okay, thanks for the return. It's probably the hostname problem, I will close here when I solved it

from ocpp-cs.

sait1801 avatar sait1801 commented on July 21, 2024

Hi again, I pulled the latest image from dockerhub and pushed it to GKE again. It still does not show the stations but I can control the stations via swagger.

However, I noticed something. When add my server ip to the hosts under conf/sites/default.json as following :
"hosts": ["localhost:9220", "34.135.135.55:9220"] the dashboard do not open. It stays in loading screen. I think I couldn't configure the host addresses correctly. I do not have any dns hostname, only external IP of my cluster. How should I configure
ocpp-cs/docker/www/config.js and ocpp-cs/docker/conf/sites/default.json ?

Thanks for all the help 😊

from ocpp-cs.

ufocomp avatar ufocomp commented on July 21, 2024

Hi!

I can only give general recommendations:

Install the mc in your cs container:

docker exec -it cs apt install mc -y

Run mc:

docker exec -it cs mc

Go to the cs settings folder: /etc/cs

  • Examine the event logs in /etc/cs/logs;
  • Make sure that the /etc/cs/cp folder is present and that it is not empty;
  • Check the parameters in /etc/cs/cs.conf;
[main]
...
master=true
...
[process/ChargePoint]
## default: false
enable=true

Write in the /etc/cs/sites/default.json your external IP address is 34.135.135.55:9220

{
  "hosts": ["localhost:9220", "34.135.135.55:9220"],
  "root": "/opt/cs/www"
}

Also specify the IP address in the file /opt/cs/www/config.js:

ocppApiDomain: "http://34.135.135.55:9220"

Exit in the mc and restart container:

docker restart cs

Enter http://34.135.135.55:9220 in the browser's address bar.

I hope that you will succeed.

from ocpp-cs.

ufocomp avatar ufocomp commented on July 21, 2024

In Firefox http://34.135.135.55:9220 opens. Problems in Chrome with CORS. It blocks access to http://localhost:9220 since the main site address is 34.135.135.55:9220. The recommendations above should solve this problem.

image

image

from ocpp-cs.

sait1801 avatar sait1801 commented on July 21, 2024

I have tried this and it worked!
Thank you guys for all the support. I really appreciate it.
image

from ocpp-cs.

sait1801 avatar sait1801 commented on July 21, 2024

I want to ask one more thing, How can I see the heartbeat and BootNotification messages from this Central System?

from ocpp-cs.

ufocomp avatar ufocomp commented on July 21, 2024

I want to ask one more thing, How can I see the heartbeat and BootNotification messages from this Central System?

To do this, you will need a CRM system. You can use our cloud solution at: https://cloud.ocpp-css.com.

After registration, the URL for connecting the station will be indicated in the upper right corner. Set it in the settings of your charging station, and it will automatically appear in your personal account. Don't forget to add the station ID (Identity) to the link if the station settings require it. This solution is free for non-commercial use.

If you plan to use CRM (OCPP CSS) for commercial purposes, then contact us via telegram https://t.me/apostoldevel to discuss the terms of purchase. After payment, we will deploy and configure the system on your server and domain, as well as integrate it with Google, FireBase, set up SMS notifications, mail and, most importantly, a payment system (whichever you choose). Integration and configuration are included in the price of the system.

from ocpp-cs.

sait1801 avatar sait1801 commented on July 21, 2024

Hi again, thanks for the quick feedback. I wanted to signup to the cloud.ocpp-css.com but I couldn't. The websites says invalid token and I cannot validate my mail adress

from ocpp-cs.

ufocomp avatar ufocomp commented on July 21, 2024

Hi again, thanks for the quick feedback. I wanted to signup to the cloud.ocpp-css.com but I couldn't. The websites says invalid token and I cannot validate my mail adress

Hi! Two emails have been sent to your email address. The valid link is in the latter.

from ocpp-cs.

sait1801 avatar sait1801 commented on July 21, 2024

Hi, thanks for the quick response. I got only one mail in my mailbox and when I try it, it says "Ticket not Found"

from ocpp-cs.

ufocomp avatar ufocomp commented on July 21, 2024

Hi, thanks for the quick response. I got only one mail in my mailbox and when I try it, it says "Ticket not Found"

Hi! In any case, your account is already activated and you can log in.

from ocpp-cs.

Related Issues (15)

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.