Skip to content

vJoeyz/station-simulator

 
 

Repository files navigation

OCPP Station Simulator

Download License: MIT

Bugs Vulnerabilities Coverage Maintainability Rating Security Rating Reliability Rating

Introduction

The simulator tool is designed to simulate charging station. It implements OCPP protocol and talks to Charging Station Management System (CSMS) via WebSocket protocol.

Pre-requisites

  • JRE 8 or above
  • A fully running charging station management system (CSMS)

Installation

$ git clone https:/everonhq/station-simulator.git
$ cd station-simulator/
$ ./gradlew build

If you wish to include the simulator in your project as a library:

Maven

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>

Gradle

Add the following to your build.gradle file

compile 'io.everon:ocpp-station-simulator:0.5.0'

Build

To build:

$ ./gradlew build

Usage

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}}]}"

Full Documentation

See the Wiki for more examples, operational details, supported use cases and other information.

Bugs and Feedback

For bugs, questions and discussions please check for any existing issues created under the GitHub Issues section.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%