ShellRechargeSolutionsEU / ocpp-soap

OCPP over SOAP
GNU General Public License v3.0
2 stars 3 forks source link
charging-stations chargingstation electric-vehicles emobility ocpp scala soap

Open Charge Point Protocol for Scala Build Status Coverage Status

The Open Charge Point Protocol (OCPP) is a network protocol for communication between electric vehicle chargers and a central backoffice system. It is developed by the Open Charge Alliance (OCA). You can find more details on the official website of the OCA.

This library provides support for OCPP versions 1.2 and 1.5 using SOAP as the underlying RPC mechanism, using NewMotion's base OCPP library for the representation of OCPP messages.

How to use

Setup

The library is divided four separate modules so applications using it won't get too many dependencies dragged in. Those are:

So if you want to use the high-level Spray-based interface, and you're using SBT, you can declare the dependency by adding this to your plugins.sbt:

resolvers += "TNM" at "http://nexus.thenewmotion.com/content/groups/public"

and this to your build.sbt:

libraryDependencies += "com.thenewmotion" %% "ocpp-spray" % "8.0.2"

With Maven, you'd set up the repository in your pom.xml:

    <repository>
        <id>thenewmotion</id>
        <name>The New Motion Repository</name>
        <url>http://nexus.thenewmotion.com/content/repositories/releases-public</url>
    </repository>

and add this to your dependencies:

    <dependency>
        <groupId>com.thenewmotion.ocpp</groupId>
        <artifactId>ocpp-spray_2.11</artifactId>
        <version>8.0.2</version>
    </dependency>

Changelog

Changes in 8.1.0

Changes in 8.0.3

Changes in 8.0.2

Changes in 8.0.0

Licensing and acknowledgements

The contents of this repository are © 2012 - 2019 The New Motion B.V., licensed under the GPL version 3, except the OCPP specification PDFs and WSDL files, which are licensed by the Open Charge Alliance as indicated in the files.