https://github.com/evbox/station-simulator
A web application to update or configure a charge point with OCPP protocol.
- OpenJDK 21.0.1 ;
- Maven 3.9.6.
- NPM 10.2.3 ;
- NodeJS 20.20.0.
TODO : Explain the installation process !
You must set those environment variables in IntelliJ in the edit project configuration:
- FINAL_WS_SERVER_ADDRESS=<*next supervisor server address>;
- MYSQL_ADDON_USER=<database username>;
- MYSQL_DB_ADDRESS=<database url>;
- MYSQL_DB_PASSWORD=<database password>;
You should install the plugin in IntelliJ CheckStyle-IDEA and set the checkstyle.xml in the plugin configuration. Then check style could be executed locally through the plugin menu.
The python script is used to generate charge points and status into the database.
You will need python3 as well as pymysql installed : pip install pymysql
.
You can run it by typing python3 generator.py -h
.
It will display information on the program and the arguments.