Skip to content

shiv3/ocpp-cp-simulator

Repository files navigation

OCPP Simulator

OCPP charger simulator written in React that works as a standalone web app or desktop application.

Web Version

https://shiv3.github.io/ocpp-cp-simulator/#config=%7B"wsURL"%3A"wss%3A%2F%2Flocalhost%3A8080%2F"%2C"connectorNumber"%3A2%2C"ChargePointID"%3A"test-cp"%2C"tagID"%3A"test-tag"%2C"ocppVersion"%3A"OCPP-1.6J"%2C"Experimental"%3Anull%7D

Desktop Application

Download

Download the latest desktop version from the Releases page.

Available for:

  • macOS:
    • Apple Silicon: OCPP.CP.Simulator_*_aarch64.dmg
    • Intel: OCPP.CP.Simulator_*_x64.dmg
  • Windows: OCPP.CP.Simulator_*_x64-setup.exe or .msi
  • Linux:
    • AppImage: ocpp-cp-simulator_*_amd64.AppImage (recommended)
    • Debian/Ubuntu: ocpp-cp-simulator_*_amd64.deb

Installation

macOS

  1. Download the appropriate .dmg file for your processor
  2. Open the downloaded file
  3. Drag the OCPP CP Simulator app to your Applications folder
  4. First time opening: Right-click and select "Open" to bypass Gatekeeper
    • Alternatively, you can bypass the security warning by running: xattr -c "/Applications/OCPP CP Simulator.app"

Windows

  1. Download the .exe or .msi installer
  2. Run the installer
  3. Follow the installation wizard
  4. The app will be available in your Start Menu

Linux

AppImage (Recommended)

  1. Download the .AppImage file
  2. Make it executable: chmod +x ocpp-cp-simulator_*.AppImage
  3. Run: ./ocpp-cp-simulator_*.AppImage

Debian/Ubuntu

  1. Download the .deb file
  2. Install: sudo dpkg -i ocpp-cp-simulator_*.deb
  3. Or double-click to install with Software Center

Development

To run the desktop app in development mode:

# Install dependencies
npm install

# Run in development mode
npm run tauri:dev

# Build for production
npm run tauri:build

Prerequisites for Development

  • Node.js (v18 or later)
  • Rust (latest stable)
  • Platform-specific dependencies:
    • Linux: libwebkit2gtk-4.1-dev, libappindicator3-dev, librsvg2-dev, patchelf
    • macOS: Xcode Command Line Tools
    • Windows: Microsoft Visual Studio C++ Build Tools
image

Doc

https://deepwiki.com/shiv3/ocpp-cp-simulator

Experimental feature

experimental feature support e.g. simultaneous use of multiple chargers

like this

image

About

simple standalone ocpp charging port simulator written in reactjs, its based on OCPP 1.6J protocol

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •