blinkcharging-be-eva-portal
Async Python client for the Blink Charging Belgium / Blue Corner customer portal at eva.blinkcharging.be.
The portal talks to api.bluecorner.be. This library
logs in with your portal email + password, handles OAuth token refresh,
and exposes the charger + session endpoints you care about as typed
dataclasses.
Async, typed, and suitable for polling clients that want a single
async_get_snapshot() call.
⚠️ Unofficial. Not affiliated with Blink Charging or Blue Corner.
For endpoint-level reference and sample payloads, see docs/API.md.
Install
pip install blinkcharging-be-eva-portal
For local development in this repository:
pip install -e .
Usage
import asyncio
from blinkcharging_be_eva_portal import BlinkChargingClient
async def main():
async with BlinkChargingClient("you@example.com", "password") as client:
user = await client.async_get_user_info()
chargers = await client.async_get_charge_points()
for s in chargers:
cp = await client.async_get_charge_point_minimal(s.id)
for conn in cp.connectors:
print(conn.state, conn.active_session)
asyncio.run(main())
One-shot snapshot (HA-style)
snap = await client.async_get_snapshot()
# snap = {"user": UserInfo, "charge_points": {id: ChargePoint, ...}}
CLI
# Put credentials in .env (copy from .env.example), then:
python -m blinkcharging_be_eva_portal
If installed from PyPI, use pip install blinkcharging-be-eva-portal first.
What the API gives you
Per connector (on each charger):
state—AVAILABLE,OCCUPIED,CHARGING,OFFLINE, …state_detail— e.g.SuspendedEV(car said no more)session_state—PARKING,CHARGING,FINISHEDpower_w,current_a,voltage_v,num_phases— connector capabilitylast_meter_value_wh— lifetime cumulative energy (great for HA energy dashboard)active_session— liveSessionwithconsumption_whandcurrent_speed_w(live power)
Per session:
session_start,session_end,charging_start,charging_endconsumption_wh,current_speed_w,max_speed_wmeter_start,meter_end
Metadata
Release files for blinkcharging-be-eva-portal 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| blinkcharging_be_eva_portal-0.1.0.tar.gz | 22.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| blinkcharging_be_eva_portal-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 37.8 kB
Release files / blinkcharging_be_eva_portal-0.1.0.tar.gz
| Download URL | blinkcharging_be_eva_portal-0.1.0.tar.gz |
|---|---|
| Size | 22.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fe98bda3bef0cfe7ef35c745f04634c974221ee32181cd5f6c041943b946600a
|
|
BLAKE2b-256 checksum How to use checksums |
34f4a2c368867d2b99ca01c18c7093561915bfd6976b664a3dd6867e9486aee8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / blinkcharging_be_eva_portal-0.1.0-py3-none-any.whl
| Download URL | blinkcharging_be_eva_portal-0.1.0-py3-none-any.whl |
|---|---|
| Size | 15.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c42592812cc35a92b5c8f5a57a3d7dab1504cc4a630775c2d44bb33008d82656
|
|
BLAKE2b-256 checksum How to use checksums |
393d4e8cc6c63504d892df8f549cc3f88ae22e3a3e500851f54e842f07c363d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|