You can add your Keba P40 to our system via OCPP to enable intelligent control.
To do this, you only need to enter the OCPP link from our app into your Keba P40:
In our app, tap "Add device" -> "Wallbox" -> "Keba P40".
Ensure that the name of the wallbox does not contain any "_" or spaces " ".
Also, ensure that the latest update 1.2.2 is installed on the wallbox and perform a factory reset. You can then integrate the wallbox into our system.
Next, we enter the OCPP link from the app into the wallbox:
Go to settings:
Under OCPP settings:
For Central System Hostname, enter: "cleverpv-ocpp.azurewebsites.net"
For Central System Path, enter the part of the link starting after ocpp: "ocpp/xxxxxx"
The Central System Port is: 443
Troubleshooting
Question: "I have registered you as the OCPP backend and can no longer access my wallbox using the Keba app. What should I do?"
Answer: "This is normal behavior when an OCPP backend is active. However, you can continue to use the Keba app on your local Wi-Fi. To do this, open the app, tap the three dots in the top right corner, and change the connection to 'Network'. This allows you to access your wallbox locally."
KEBA P40: Setting the OCPP Security Profile to 0
When do you need this? Your wallbox runs firmware 1.4.5 or later, it is set to OCPP Security Profile 3, and it always shows "Waiting for status" or "Offline" in the app.
Background: OCPP can only raise the security profile, not lower it. KEBA designed it this way. So the change has to be made locally through the wallbox's REST API. There is currently no setting for this in the web interface or the KEBA app.
What you need
- A computer on the same network as the wallbox
- The IP address of the wallbox (for example from your router's device list)
- The wallbox credentials: the same username and password you use for its web interface (see the password sheet that came with the wallbox)
1. Open the API page
- Open
https://<wallbox-IP>:8443/docsin your browser. - Your browser shows a security warning because the wallbox uses a self-signed certificate. Click "Advanced" and then "Proceed to … (unsafe)".
- You should now see a page titled "rest.app" with a section called "V2_AUTH".
2. Log in
- In the V2_AUTH section, expand
POST /v2/jwt/login. - Click "Try it out".
- The text field now contains a template. Enter your username and password there. Leave the field names and quotation marks as they are.
- Click "Execute".
- Under "Response body" you'll see a response with an access token (a long string). Copy it without the quotation marks.
- Scroll to the top and click "Authorize" (lock icon). Paste the token, click "Authorize", then "Close".
The token expires after a while. If you later get 401 Unauthorized, just repeat step 2.
3. Read the current OCPP configuration
- Scroll down below V2_AUTH and find the section for the OCPP configuration (look for "ocpp" or "config").
- Open the
GETentry there, click "Try it out" and then "Execute". - In the response, find the entry
ocpp_security_profile. It should show3. - Write down the current value or take a screenshot so you can restore it later.
4. Set the security profile to 0
- In the same section, open the entry for changing the configuration (
PUTorPATCH). - Click "Try it out".
- Edit the text field so that the key
ocpp_security_profileis set to0. Keep the structure Swagger gives you, or the one you saw in the GET response in step 3. Change only this one value. - Click "Execute".
- The result should be 200 or 204.
5. Check the result
- Run the GET from step 3 again.
ocpp_security_profileshould now be0. - The OCPP connection drops briefly and reconnects on its own. No reboot is needed.
- After one or two minutes, the wallbox should be back online in the app.
Troubleshooting
- The value isn't saved: Factory reset the wallbox and set it up again without Security Profile 3.
- Login fails: Check your username and password. They are on the wallbox's password sheet.
-
The page doesn't load: Check the IP address and that your computer is on the same network. Make sure you use
https://and port:8443.