---
title: Install and Run the EV Simulator (OCPP)
description: "## Step 1 ## How to Set up OCPP simulator to test EV things locally - Go to [https://docs.docker.com/get-docker/](https://docs.docker.com/get-docker/) and download the installer for your computer’s OS. - Follow the instructions for your OS to interactively install and set up…"
url: "https://qa.flashparking.com/docs/install-and-run-the-ev-simulator-ocpp/"
updated: "2025-09-04"
category: EV Charging
---

# Install and Run the EV Simulator (OCPP)

## Step 1

## How to Set up OCPP simulator to test EV things locally

- Go to [https://docs.docker.com/get-docker/](https://docs.docker.com/get-docker/) and download the installer for your computer’s OS.
- Follow the instructions for your OS to interactively install and set up docker.
- Make sure Docker Desktop is running after. It installs as an application. 
- Download this file from google drive: [https://drive.google.com/file/d/1uJKhfapOdTzblZ8T4WnuZGApf7t6qJ1i/view?usp=sharing](https://drive.google.com/file/d/1uJKhfapOdTzblZ8T4WnuZGApf7t6qJ1i/view?usp=sharing) 

- If you’re on Mac:
  - Open a terminal
    - Cmd+space will bring up spotlight
    - You can search for “terminal” and then click on the result
- If you’re on Windows:
  - Open a command prompt
    - [https://grok.lsu.edu/article.aspx?articleid=18026&printable=y](https://grok.lsu.edu/article.aspx?articleid=18026&printable=y)
- Copy and paste the following commands one at a time, hitting enter at the end of each
  - cd Downloads
  - docker load < ocpp.tar
  - docker run -d -p 9000:9000 -p 9001:9001 -p 8100:8100 ocpp:latest

- Now you can try going to [http://localhost:9000/?cp=test-charger&password=SCCfT4jTYk5_QZJteOO6bfYg&url=ocpp.api.gl7.parkwhiz.com](http://localhost:9000/?cp=test-charger&password=SCCfT4jTYk5_QZJteOO6bfYg&url=ocpp.api.gl7.parkwhiz.com) in your browser and see if you see the following screen

![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXdn12VVkupsZilPU6CApHqLPEWjplVkfDFaDkbSOXaH8MAcmKadQ0cNwS3NX3GuaaP_Dh089PtqvDMov3sOkVlIWCAq1R-G83RJTH8wtIkiigFRpWSiAQ43O71WybPT56oYx9l6jg?key=RjgJ6y0jPVIWkM_Bc-rNuE_L)

- If the docker process stops and you need to restart it, you’ll also need to start the container again. You can do this by:
  - docker ps -a
  - docker start container_name where container_name is the name of the container you see after the previous command

For example:

![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXcukd_wPjwvMVvzMyYV7q3UKuTaXHiiIceZBOfpdpSVqw1utdjcBy_z0goo1PZIG-suPh44vr-NJ6doAD2vgnAjhkjebQcyd79y-h56Of0MYWE9ov2tGn0jkpBL52-Rm-T-hoBw?key=RjgJ6y0jPVIWkM_Bc-rNuE_L)

## Step 2

## Create an EV Charging Beacon

1. At the Location, go to **Beacons**.
2. **Add new beacon**.

![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXfuryw51fsiI1bggfn62znXThRsWDK9BBh6lasdrFglMcKdgT3LmyDJvsxTToqViHH9xG6ukTjoS1QCe_h6APikUh4dC3rNjf7MpkrJ28M7z2DOmvD7yRMhOJ8-QTUZ_DQdsX2zkg?key=RjgJ6y0jPVIWkM_Bc-rNuE_L)

1. To create a new beacon, enter a **name**.

![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXcv5Ge4f-02aNU0q5SQQUVvoWGl_m9v4TTxMGg1ug7hXM7_8vDcIYRCRmmYthU_0pkuf8Qwx76dBoNL3o5NBmqBMMz1TvqjdFpu35H535miDBOARGqNnJ4j7QW1WZaYXYU2k8TwzA?key=RjgJ6y0jPVIWkM_Bc-rNuE_L)

1. From the beacon type dropdown menu, select **ID:1 - Generic OCPP**. This is for simulator purposes.
2. Click on **Create & Add Beacon**.

![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXd_rJjcUsU55EtlhbTLWdjAAM2Z56ORIEQmgNn-Ii-YTi5X2mBUEAz3xGgfcYr5Qq9vQia9_I-g_aNgiKoNR5-F5IDaNOkUO-JK4vpoDupI9zFz7i6q_biQCKTUqpMvji3cPII4?key=RjgJ6y0jPVIWkM_Bc-rNuE_L)

1. To see the created EV charger, navigate to the **EV Chargers** tab, where the newly created beacon will be visible.

![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXdp2p3lrM5b7uvO1lMADsxeugQ-haHw7MSSbEH5v34cn1-0iII4XjjZz0W0jOI_PS1G_DB7WoAsVHnlQ9UvW_ozMuEdIFXgZ_gtOfZ3HN8DZaMPP4FNggG6LU6xOPEvii-c8x22iw?key=RjgJ6y0jPVIWkM_Bc-rNuE_L)

## **Step 3**

## Test the charging link

Ensure Docker is running first:

![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXfbZ_zF1RYbllm6-3VUX7yD55VxYo7dHJ2kKCNKZTioiTl4T9O3aELemynLceLWy5RcsZASPyWjeE211-zC3rBur25grBgb36Vs-W9Cbyf3bhILEEAQCik_eYv92vwlx7f6NpqdNA?key=RjgJ6y0jPVIWkM_Bc-rNuE_L)

1. Open [http://localhost:9000/?cp=test-charger&password=SCCfT4jTYk5_QZJteOO6bfYg&url=ocpp.api.gl7.parkwhiz.com](http://localhost:9000/?cp=test-charger&password=SCCfT4jTYk5_QZJteOO6bfYg&url=ocpp.api.gl7.parkwhiz.com)

![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXffUcHJN3fiB4aiQEV3ytkdEJe8pY7WyJzzuH2pZ-8n4AlTqhOS0Ubf1LpouUUNAlHSBJuJMy9jpiW4s2IPXaBqJsdke6H94FrL735_YPUW0pWM9bNSgjDGl2ajz2IVlUrfwz0_?key=RjgJ6y0jPVIWkM_Bc-rNuE_L)

1. In the URL, change the **cp=test-charger** portion to the name given when the beacon was created. For example, it would become **cp=ocpp-sim-sunshine**. The updated URL will appear as shown in the image below.

![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXfoRXkdWInfZCecjxnTw13Q9xiS-tC1vMKQNLgzO5WbiVySpGTNje1IXZrQ9dA1-s9iphOy42cy_9hDL1l6tWocPNd2tM8bjsHWSaoYqW_O6Mqi-xpBKxuFyNBOD-7pcwV2G42azA?key=RjgJ6y0jPVIWkM_Bc-rNuE_L)

1. Click on **Startup**

![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXeaJOgzhlfZG090BdVN_CXPe0-BS-yALvmDsnkxNZxNq-wYTpJh2vpBv47lLMbSBW5AZ1fBWbs4wQ_r-0vbLyBggXGGdke9bRWcYn6enB4lAozGHW8tfLFHcGZ6mjftBc8A4XvM9Q?key=RjgJ6y0jPVIWkM_Bc-rNuE_L)

1. EV charger is now **Active**.

![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXfs40DbSXpz3SzivvuoO5nLetKQm04NVjtRnaohdrel8FOK2nOwqCSB41vL86X42iXLGtm1R_mx43nmyoyKalVJsWoeWo-taCxJ83j3YvnfjylnaCu-XVsNkTUMcJjrGmZei5ekfg?key=RjgJ6y0jPVIWkM_Bc-rNuE_L)

1. Confirm that the beacon is Active by going to the Beacons tab.

![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXd9xXzKri_ICdw4VEsEbEvLybDAmLTlR45DtHvzkVLtwKyMruyFbpZA03lqPPIYf7384XIJA2-ji07UCQDzhpSQZVnDRFc5Qme63mdeoJ6DJIsYDXJUWFseIAdpF4-LORZ9MtSp9A?key=RjgJ6y0jPVIWkM_Bc-rNuE_L)

## **Step 4**

## Test the Charger

1. You can test the charger by clicking Show QR code in the EV chargers tab.

![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXfedBT5X09ukR9b09MAcpg4XOZF3tSfDt1BsNzszc7DF-CrL4SqhtVKzaREk5e7yt4ii0zksF-98GvZAJ7JVKHrFhxq0f8wwPo0VdP9g6HbM6L03Hy0uqDgc4SZqxWxymMADc8IPA?key=RjgJ6y0jPVIWkM_Bc-rNuE_L)2. Scan with your phone to start a session:

![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXd0c3WKGRk5Zlk3vjgmz3lUxnfwQSORg6qqsYWYWgnVBLdYULLtluWN7GYj7d6Slo2gGx7khSfndBYl0gZyN0S1VH5eLzimjp3OpeJiOHE4NeAW9GE6hAzq82j8QUUV0tNCIwTvdA?key=RjgJ6y0jPVIWkM_Bc-rNuE_L)
