The simulator tool is designed to simulate charging station. It implements OCPP protocol and talks to Charging Station Management System (CSMS) via WebSocket protocol.
- JRE 8 or above
- A fully running charging station management system (CSMS)
$ git clone https://github.com/everonhq/station-simulator.git
$ cd station-simulator/
$ ./gradlew build
If you wish to include the simulator in your project as a library:
Add the following to your project POM
file:
<dependency>
<groupId>io.everon</groupId>
<artifactId>ocpp-station-simulator</artifactId>
<version>0.5.0</version>
<type>pom</type>
</dependency>
Add the following to your build.gradle
file
compile 'io.everon:ocpp-station-simulator:0.5.0'
To build:
$ ./gradlew build
Starts the simulator with one station, which has a single EVSE and a single connector attached to it:
$ ./gradlew run -Parguments="ws://{ocpp_endpoint_url} --configuration {'stations':[{'id':'EVB-P17390866','evse':{'count':1,'connectors':1}}]}"
See the Wiki for more examples, operational details, supported use cases and other information.
For bugs, questions and discussions please check for any existing issues created under the GitHub Issues section.