EVBox smart home integration, free and open source

EVBox charge points over local OCPP 1.6J: status, power, energy, start/stop and current limit.
Control your EVBox charge points (Elvi, Livo, BusinessLine…) from Gladys, locally, through the open OCPP 1.6J protocol: connector status, charging power, current, voltage, energy, start/stop of a charge and charging current limit.
Unofficial integration, not affiliated with EVBox.
How it works
An OCPP charge point connects to a "central system" (backend) that it reaches over the network. This integration turns Gladys into that central system: it starts a small OCPP endpoint (the ocpp sub-container, which publishes one port on your network), and the charge point connects to it. Nothing goes through the internet.
Important: an OCPP charge point talks to one central system at a time. Once pointed at Gladys, it is no longer connected to the EVBox cloud or to the backend of your energy provider or employer (billing, app…). Point it back at its previous URL to undo.
Requirements
- An EVBox charge point speaking OCPP 1.6J (OCPP over WebSocket/JSON), which is the case of the current EVBox wallboxes.
- Access to the OCPP settings of the charge point (backend URL), from the EVBox app or through your installer.
- The charge point and Gladys on the same local network (the endpoint uses
ws://, without encryption: do not expose it to the internet).
Installation
- In Gladys, open Integrations, then the external integrations store.
- Search for EVBox and click Install. The install screen shows the
ocppsub-container and the port it publishes. - Wait for the containers to start: the integration shows up in the list.
Connect the charge point
- Open the Configuration tab of the integration. The first block gives the exact address to use, for example
ws://192.168.1.10:41234/EVB-P1234567: the Gladys address, the port Gladys chose for the OCPP endpoint, then the identity of the charge point (usually its serial number, written on its label). - If you browse Gladys through Gladys Plus or a reverse proxy, replace the host name by the local IP address of the Gladys machine: the charge point must reach it on your network.
- Enter this address as the OCPP backend URL of the charge point, protocol OCPP 1.6J, and restart it if asked.
- A few seconds later the charge point appears in the Discovery tab: add it. A charge point with two sockets gives two devices (
#1,#2).
Configuration
| Field | Role |
|---|---|
| Maximum charging current | Highest value of the "charging current limit" control (6 to 80 A, 32 by default). Set it to what your installation allows. Applies to devices added afterwards. |
| Meter values interval | How often the charge point sends its measurements while charging (60 s by default, 0 keeps its own setting). |
| Badge used to start a charge | idTag sent when Gladys starts a charge; it shows in the history of the charge point. |
| Allowed charge points | Identities allowed to connect, separated by commas. Empty: any charge point of your network may connect. |
Devices
Each socket is a device with these features:
| Feature | Description |
|---|---|
| Connector status | Available, occupied, reserved, unavailable or faulted. |
| Charging state | Charging, vehicle connected, paused by the vehicle, paused by the charge point, finished. |
| Charging | On/off: starts (remote start) or stops (remote stop) a charge. |
| Vehicle plugged | A vehicle is connected to the socket. |
| Charging power | Instantaneous power, in kW. |
| Charging current | Current of the most loaded phase, in A. |
| Voltage | Voltage, in V. |
| Energy meter | Energy meter of the socket, in kWh. |
| Session energy | Energy of the charge in progress, or of the last one, in kWh. |
| Charging current limit | Maximum current granted to the vehicle, in A (OCPP charging profile). |
| Error code | OCPP error code of the socket (NoError when everything is fine). |
The badge of the device shows local while the charge point is connected, unreachable otherwise. The values a charge point does not measure stay empty.
Scene ideas: start the charge when the off-peak hours begin, lower the current when the house draws too much power, get a message when the charge ends or when the connector is faulted.
Actions
In the Configuration tab:
- Refresh a charge point: asks the charge point to send its status and measurements again.
- Unlock the cable: releases the cable stuck in the socket (if the charge point supports it).
- Restart a charge point: soft restart (ends the charge cleanly) or hard restart.
Limitations
- OCPP 1.6J only (not OCPP 2.0.1), without TLS nor password: keep the charge point on your local network and use the "Allowed charge points" list.
- Every badge presented at the charge point is accepted.
- The vehicle charge level (SoC) is not shown: AC charge points do not know it.
Help
A question or a problem? Ask on the Gladys community forum or open an issue on the GitHub repository. The logs of both containers (integration and ocpp) are in the integration's page in Gladys.
Configuration settings
These are the settings EVBox asks for in its configuration screen in Gladys.
| Setting | Type | Required | Description |
|---|---|---|---|
| Connect your EVBox | section | No | In the OCPP settings of the charge point (EVBox Connect app or installer tools), set the backend URL to ws://{{gladys_host}}:{{port:ocpp}}/ followed by the charge point identity, e.g. ws://{{gladys_host}}:{{port:ocpp}}/EVB-P1234567. The charge point then shows up in the Discovery tab of the integration. |
| Maximum charging current (A) | number | No | Highest value of the charging current limit, as wired by your installer. Applies to devices added afterwards. |
| Meter values interval (s) | number | No | How often the charge point sends power and energy while charging. 0 keeps its own setting. |
| Badge used to start a charge | string | No | idTag sent when Gladys starts a charge (20 characters at most). |
| Allowed charge points | string | No | Identities allowed to connect, separated by commas. Empty: any charge point of your network. |
How to install EVBox in Gladys
- In Gladys, open Integrations: EVBox appears in the catalog, next to the native integrations, with a community badge.
- Click Install. Gladys pulls the Docker image (
ghcr.io/prohand/gladys-evbox:1.4.0), starts it in a sandbox isolated from the core, and generates the integration's interface (devices, discovery and configuration). - Open the Configuration screen of the integration, fill in the settings, and save.
- You can also install it directly from its repository URL: https://github.com/prohand/gladys-evbox.
EVBox requires Gladys >=5.1.0. The catalog inside Gladys refreshes every hour, so a new version becomes available at most one hour after its release.
Not running Gladys yet? It is free and open source: follow the installation guide to get started.
About external integrations
EVBox is an external integration: a community integration packaged as a Docker container and published on GitHub, that Gladys installs in one click and runs in a sandbox isolated from its core. It is published and maintained by prohand, not by the Gladys core team.
- Browse all integrations, native and community
- Build and publish your own external integration
- Source code on GitHub — source of this documentation