An open API service indexing awesome lists of open source software.

https://github.com/romfrolov/station-emulator

EV charging station emulator (OCPP 2.0)
https://github.com/romfrolov/station-emulator

charging-station emulator ocpp20 websocket

Last synced: 8 months ago
JSON representation

EV charging station emulator (OCPP 2.0)

Awesome Lists containing this project

README

          

## Station emulator

![](https://github.com/romfrolov/station-emulator/workflows/build/badge.svg) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](./LICENSE)

Electric vehicle charging station emulator which supports OCPP 2.0.

[List of supported messages and use cases.](./SUPPORTED.md)

### Quick start

#### 1. Create and configure `.env`

```bash
# Copy the example.
cp .env.example .env
```

*You can find a complete configuration description in [.env.example](./.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

```bash
cargo run
```

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