This project implements an OCPP (Open Charge Point Protocol) WebSocket server in Node.js and TypeScript. The server is designed to communicate with Electric Vehicle (EV) charging stations using the OCPP protocol over WebSocket connections.
EV charging stations compatible with OCPP 2.6 over WebSocket
Note: This project is an aim to write and efficent ocpp server, and in order to do that the resureces which i have reffered are Websocket performance analysis
Clone the repository to your local machine:
git clone https://github.com/your-username/ocpp-websocket-server.git
Navigate to the project directory:
cd ocpp-websocket-server
Install project dependencies using npm:
npm install
Configure the WebSocket server settings in the config.json file:
Specify the server port ("port": 8080 by default)
Add any additional configuration options as needed Usage
Start the OCPP WebSocket server:
npm start
This will compile the TypeScript code and start the WebSocket server on the specified port.
Connect OCPP-compatible EV charging stations to the WebSocket server:
Use the WebSocket URL provided by the server (e.g., ws://localhost:8080)