Skip to content

Quick start: simulated devices ​

CloudCharge Connect lets you create virtual chargers on the IoT platform and debug against your backend without real hardware or load. Supports YKC 1.6 and OCPP 1.6-J single-device debugging. For large-scale load testing, see Load testing.

Why simulate chargers? ​

Relying on physical piles and real energy consumption for every test slows down charging-stack development. CloudCharge Connect provides protocol-level simulation for connection, charging flows, and message-level troubleshooting in the console.

Supported protocols ​

ProtocolSimulated debuggingSimulated load test
YKC 1.6YesYes
OCPP 1.6-JYesYes

For YKC frame details, see YKC protocol reference.

Quick start (5 steps) ​

Quick start flowchart

Step 1: Create a virtual device profile ​

In the console: Virtual device → Virtual device config → Add. Choose YKC1.6 or OCPP1.6-J and set connector count, electrical params, etc.

Add virtual device profile

Main profile fields ​

FieldDescription
ProtocolYKC1.6 or OCPP1.6-J (JSON over WebSocket)
Connector countNumber of simulated guns
Firmware versionYKC program version / OCPP BootNotification field
Pile typeFast vs slow (fast includes SoC and BMS-related reporting)
Working current / voltage / temperatureElectrical values while charging
Full charge timeAuto-stop delay for remotely started sessions
Heartbeat / status intervalOCPP heartbeat and StatusNotification periods
Plug and chargeOCPP plug-and-charge behaviour

Step 2: Create a virtual device ​

Virtual device → Virtual device management → Add:

FieldDescription
Device IDUnique pile identifier on your platform
Server IP / portTarget protocol server
ProtocolMust match the profile
Device profileProfile from Step 1
PathRequired for OCPP — WebSocket path
Enable SSLOptional; one-way TLS or mTLS

Add virtual device

Step 3: Open device detail ​

Click the device name in the list to open the detail page (device ID, protocol, connection URL, status).

Virtual device list

Step 4: Start and simulate plug/unplug ​

Click Start device when disconnected. After a few seconds, status becomes Connected. In the Connector status table, toggle plugged / unplugged and view charging state.

Device detail: start and connection status

Step 5: Subscribe to live messages ​

When Connected, use the Raw message log section at the bottom:

  • Subscribe latest — recent traffic (recommended)
  • Subscribe all — full stream
  • Clear — empty the log pane

Subscribe to live protocol messages

Device actions (when online) ​

Click Device actions to open the drawer:

ActionDescription
Request chargeSimulate card swipe or VIN plug-and-charge; single or dual-gun parallel
Simulate exceptionInject fault codes
Clear exceptionReset fault state
Send messageSend custom protocol payload (advanced)

Device actions drawer

Simulation vs load testing ​

Simulation (this guide)Large-scale load test
Use caseSingle-pile debuggingMass connections, capacity
How it runsConsole start/stopUser-side agent + test plans
DocsThis pageLoad testing

FAQ ​

Which protocols are supported? ​

YKC 1.6 and OCPP 1.6-J support both single-device debugging and large-scale load testing — see load testing.

What extra fields does OCPP need? ​

WebSocket path is required. Enable SSL and configure client/root certificates if your platform uses TLS or mTLS.

How do I simulate card swipe or remote start? ​

When online, open Device actions, choose swipe or VIN, enter card/VIN and connector, then Request charge.

How do I view protocol traffic? ​

After starting the device, use Subscribe latest or Subscribe all at the bottom of the detail page.

Simulation vs load testing? ​

Simulation is for one pile and business-flow debugging. Load testing uses distributed agents for many devices — see the load testing guide.

Device is running but no messages appear? ​

Ensure status is Connected and subscription succeeded. Verify the platform responds to login/heartbeat.

Next steps ​