Skip to content

romfrolov/station-emulator

Repository files navigation

Station emulator

License: MIT

Electric vehicle charging station emulator which supports OCPP 2.0.

List of supported messages and use cases.

Quick start

1. Create and configure .env

# Copy the example.
cp .env.example .env

You can find a complete configuration description in .env.example.

Environment variables:

  • CSMS_URL - URL of Charging Station Management System (starting with ws).
  • STATION_ID - ID that charging station will use to identify itself when communicating with CSMS.

2. Start the emulator

cargo run

After that the emulator will start and send a BootNotification message to CSMS.