START CHARGING

Understanding OCPP: A Guide to Setting Up and Troubleshooting OCPP Chargers

The Open Charge Point Protocol (OCPP) is an open standard that facilitates communication between electric vehicle (EV) chargers and backend systems. This protocol has become essential for operators looking to manage, monitor, and bill charging sessions across their networks. Whether you're setting up an OCPP charger for the first time or dealing with connectivity issues, having a clear understanding of how OCPP works can save you time and frustration.

In this guide, we’ll walk you through the basics of setting up an OCPP charger, provide troubleshooting tips for common issues, and explore the importance of OCPP in EV charging infrastructure.

How OCPP Chargers Work

How websocket for EV chargers work

OCPP systems primarily use WebSocket connections for real-time, bidirectional communication between charging stations and backend systems. WebSocket technology enables fast, reliable communication, which is vital for managing EV charging networks.

Here’s a simplified version of how an OCPP charger connects to the backend:

  1. Client Initiation: The charger, acting as the client, starts the connection.
  2. Server Handshake: The backend server responds to establish the connection.
  3. Data Exchange: Both sides can now send and receive messages.
  4. Termination: Either party can close the connection when the charging session ends.

Setting Up Your OCPP Charger

OCPP connection for chargers

Setting up an OCPP charger can vary depending on the hardware manufacturer, but the three most common methods are:

1. Using the Manufacturer’s Mobile App

Many EV charger manufacturers offer a mobile app to simplify the configuration process for OCPP.

  • Step 1: Pair the charger using Bluetooth via the app.
  • Step 2: Access the "Charging Management" or "OCPP Settings" in the app.
  • Step 3: Enter the backend OCPP URL provided by your charging management platform.
  • Step 4: Restart the charger to apply the new settings.

2. Using a Local Network Connection

You can also configure the OCPP settings directly through a laptop connected to the charger’s local network.

  • Step 1: Power up the charger and connect your computer to its WiFi hotspot.
  • Step 2: Open a browser and navigate to the charger's local IP address (e.g., `http://10.10.10.1`).
  • Step 3: Log in using the default credentials and update the OCPP URL in the settings menu.
  • Step 4: Save changes and restart the charger.

3. Requesting Remote Support

If the charger doesn't allow direct configuration, you can contact the manufacturer for remote support. This process may take 1-2 days, depending on the support team’s response time. Be sure to protect sensitive data like your OCPP URL and credentials until you've confirmed the right point of contact.

Troubleshooting Common OCPP Issues

OCPP security

While OCPP chargers generally connect smoothly, it’s not uncommon to face issues during setup. Below are some common problems and how to resolve them.

1. OCPP Charger Doesn’t Connect Due to TLS Mismatch

OCPP chargers and backend systems must support the same Transport Layer Security (TLS) version. If your charger uses an outdated version like TLS 1.1 or 1.2, the connection may fail.

Solution: Ensure both the OCPP charger and backend support TLS 1.3, or temporarily disable encryption to identify the issue.

2. OCPP Issue with Cipher Compatibility

A cipher is an algorithm used for data encryption, and both the OCPP charger and backend must support the same one. Incompatibility will cause the connection to fail.

Solution: Contact the backend provider to check if there’s a shared cipher between the charger and the backend.

3. OCPP Charger Uses Incorrect URL

Sometimes, an OCPP charger might manipulate the URL by adding or removing slashes or duplicating the OCPP ID, leading to connection issues.

Solution: Verify the URL’s formatting and try different variations, including adding/removing slashes.

4. Charger Doesn’t Appear on the Backend

If the charger doesn’t show up in your charging management system, it could be due to connectivity or configuration issues.

Solutions:

  • Restart the charger to apply recent changes.
  • Double-check the OCPP URL formatting.
  • Temporarily disable encryption to see if the TLS version is causing the issue.
  • Contact the backend provider for advanced diagnostics.

Why OCPP Matters for EV Charging Infrastructure

As electric vehicles become more common, the ability to manage a network of OCPP chargers efficiently is crucial. OCPP is a game-changer for EV charging infrastructure due to its open-standard approach. By using OCPP, operators are not tied to any single hardware provider, enabling them to scale up their network with chargers from various manufacturers.

Here’s why OCPP is so important:

  • Vendor Independence: OCPP allows you to manage chargers from different manufacturers within the same backend, reducing reliance on proprietary systems.
  • Interoperability: OCPP is widely adopted, meaning an OCPP charger can work across different networks, giving drivers more flexibility.
  • Scalability: OCPP allows for easy expansion of your EV charging infrastructure without major overhauls or high costs.

OCPP Version Compatibility: What You Need to Know

When setting up OCPP chargers, it's essential to ensure version compatibility between the charger and the backend system. The two most commonly used versions today are OCPP 1.6 and OCPP 2.0.1. Each version offers different features, and understanding these can help avoid connection issues during OCPP migration or setup.

  • OCPP 1.6: This version is widely used and includes features like smart charging and remote firmware updates.
  • OCPP 2.0.1: The latest version, offering advanced features such as dynamic load balancing, Vehicle-to-Grid (V2G) functionality, and improved security measures. This version is ideal for future-proofing your infrastructure. However, only few chargers support this version or the advanced functionalities today.

Conclusion

Setting up and managing OCPP chargers is essential for any scalable, secure, and vendor-independent EV charging network. Understanding how OCPP works, knowing what to do when your OCPP charger doesn’t connect, and staying up to date on the latest OCPP versions can significantly improve the efficiency of your operations.

As you expand or migrate your EV charging infrastructure, remember to consider version compatibility and always follow best practices for security. By doing so, you’ll ensure that your OCPP chargers run smoothly and provide reliable service to EV drivers.

Why Choose Ampcontrol for OCPP Backend Solutions

When it comes to managing OCPP chargers, Ampcontrol offers one of the most reliable and user-friendly OCPP backend systems on the market. Whether you're setting up new chargers or troubleshooting connectivity issues, Ampcontrol's platform ensures seamless integration with various charging stations. With advanced tools for monitoring, managing, and securing your EV charging network, Ampcontrol can help resolve OCPP-related problems quickly and efficiently. Their expert support team is also available to assist with configuration, ensuring that your chargers are always connected and operational.

You can request a demo now.