All Projects → elifTech → cpd-ocpp

elifTech / cpd-ocpp

Licence: MIT license
Open Charge Point Protocol

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to cpd-ocpp

ocpp
Open Charge Point Protocol
Stars: ✭ 164 (+209.43%)
Mutual labels:  ocpp, electric-vehicles
WWCP OCPP
Connectivity between the World Wide Charging Protocol (WWCP) and the Open Charge Point Protocol (OCPP v1.6/v2.0).
Stars: ✭ 24 (-54.72%)
Mutual labels:  ocpp, charging
go-ocpp
v1.5 and v1.6 OCPP implementation in Golang
Stars: ✭ 38 (-28.3%)
Mutual labels:  ocpp, electric-vehicles
OCPP-1.6-CP-Simulator
Hacky but it works for testing purposes
Stars: ✭ 35 (-33.96%)
Mutual labels:  ocpp
ocpp
Home Assistant integration for electric vehicle chargers that support the Open Charge Point Protocol (OCPP).
Stars: ✭ 82 (+54.72%)
Mutual labels:  ocpp
OCPP-2.0-CP-Simulator
OCPP 2.0 Charge Point Simulator | From: https://github.com/nenecmrf/OCPP-J-CP-Simulator
Stars: ✭ 36 (-32.08%)
Mutual labels:  ocpp
docile-charge-point
Scriptable OCPP charge point simulator and test tool
Stars: ✭ 60 (+13.21%)
Mutual labels:  ocpp
ArduinoOcpp
OCPP 1.6 client for microcontrollers
Stars: ✭ 139 (+162.26%)
Mutual labels:  ocpp
FleetSim
Event-based Simulation for Electric Vehicle Fleets
Stars: ✭ 21 (-60.38%)
Mutual labels:  electric-vehicles
IDDataLogger
A DataLogger for Volkwagen ID vehicles. Includes an iOS Widget. Works with VW ID.3 and ID.4 vehicles.
Stars: ✭ 76 (+43.4%)
Mutual labels:  electric-vehicles
dynamic-engine
Monitor events in the background on Android.
Stars: ✭ 24 (-54.72%)
Mutual labels:  charging

Open Charge Point Protocol 1.6

Build Status

This repository contain abstraction layer for easy work with OCPP and validate input and output requests. Currently implemented only version 1.6 JSON. Whereas OCPP2.0 will support only JSON have no plans to implement SOAP.

Article

https://www.eliftech.com/blog/48-a-diy-charging-point-for-an-electric-car-perspective-protocol-and-prototype

Installation

npm install --save ocpp-eliftech

Overview

Open Charge Point Protocol (OCPP, http://www.openchargealliance.org/) is a communication protocol between multiple charging stations ("charge points") and a single management software ("central system").

Usage

Server

import { OCPPServer, OCPPCommands } from 'ocpp-eliftech';

const server = new OCPPServer();

server.listen(9220);

server.onRequest = async function(command) {
    // Handle different commands
    if (command instanceof OCPPCommands.BootNotification) {
        return {
            status: 'Accepted',
            currentTime: new Date().toISOString(),
            interval: 60
        };
    }
}

Client

import { OCPPClient, OCPPCommands } from 'ocpp-eliftech';

const client = new OCPPClient({
    serverUrl: 'http://localhost:9220/webServices/ocpp/CP1111'
});

await client.connect();

const boot = new OCPPCommands.BootNotification({
    chargePointVendor: 'BrandX',
    chargeBoxSerialNumber: 'AQ1234VB5678',
    chargePointSerialNumber: '123',
    chargePointModel: '12'
});

let answer = await client.send(boot);
console.info(answer);

P.S.

If you need professional support with your IOT projects contact us http://www.eliftech.com/.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].