Connecting a charger · Video 13 of 19

OCPP server URL and charger ID: the connection address explained

Enter the OCPP server address and the charger ID correctly on any EV charger, whatever fields its settings page splits them into.

Length: 3:56Read the guide

In this video

wss, host, the /ws/ path and the charge point identity, part by part, and when unsecured ws is acceptable.

Chapters

Transcript

Connection address and charger ID. You are at a new charger, with its settings page open. Two fields are empty: a server address and an ID. Fill them in right, and the charger appears in Powerfill. Get one character wrong, and it cannot connect. The charger calls the server, never the other way round. So the charger needs two things: where to call, and who it is. Here is the whole address. It is built from four parts.

wss means a secure WebSocket: the connection is encrypted. Next comes your account's host: your account ID, then powerfill.app. Then the path, /ws/. Last comes the charger's own identity. Here it is PFU-ALV-01. Brands give that identity different names: Station ID, Charger ID, or Charge Point ID. Whatever it is called, it must match the ID registered in Powerfill exactly. Chargers differ in how this address is split over their settings fields.

On most chargers, you type your account's address up to /ws, with or without the last slash. The charger ID has a field of its own. On some chargers it is preset and cannot be changed. Some chargers have a separate field for the path, /ws. Some add a slash at the start or the end by themselves. Your charger's manual says which fields it has. Check it before you type. In the end, the charger calls the whole address, with its ID last.

The charger also needs its own working internet connection: Wi-Fi, a SIM card, or a network cable. It goes out on port 443, the same port as secure websites, so most networks let it through. Alongside the address, the charger and Powerfill share a security profile. It sets how the charger proves who it is. Profile 0 asks for nothing beyond a registered ID. Profile 2 adds a password over encrypted wss.

You will also see a ws address, without the s. ws is not encrypted. Anyone on the network path can read it. Use it only while you debug, on the bench, together with security profile 0. For everyday use, choose wss with security profile 2. Find your own address in Powerfill. Open All Chargers. Click Add Charger.

The Connection Endpoints card shows the address of your account. It ends at /ws/. That is the form for a charger with a separate ID field. Click Copy, and paste the address into the charger. WebSocket (ws) shows the unsecured address, with a warning. Switch back to the secure one when you are done debugging. Below the card, Powerfill lists chargers that called but are not registered. This charger called in as PFU-ALV-99.

Powerfill did not know that ID yet, so it did not let it in, and listed it here. If it is your charger, look for a typo, and fix the ID on the charger. If the ID is right, Add registers the charger under that ID. After that, its next call is let in. Your charger is not on this list at all? Then check the host, the path, the firewall and the certificate. You can now read an OCPP address part by part.

And you can type it the way your charger expects.