Metadata-Version: 2.4
Name: keba-kecontact-p40
Version: 0.1.0
Summary: Async client library for the KEBA P40 / P40 Pro wallbox local REST API
Author: Luca Postiglione
License-Expression: MIT
Project-URL: Homepage, https://github.com/lpostiglione/keba-kecontact-p40
Project-URL: Issues, https://github.com/lpostiglione/keba-kecontact-p40/issues
Keywords: keba,p40,wallbox,ev,home-assistant
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: aiohttp>=3.9
Provides-Extra: test
Requires-Dist: pytest>=8; extra == "test"
Requires-Dist: pytest-asyncio>=0.23; extra == "test"
Requires-Dist: aioresponses>=0.7.6; extra == "test"
Requires-Dist: aiohttp<3.13; extra == "test"
Requires-Dist: mypy>=1.10; extra == "test"
Requires-Dist: ruff>=0.5; extra == "test"
Dynamic: license-file

# keba-kecontact-p40

Async Python client for the KEBA P40 / P40 Pro wallbox **local** REST API (v3.0.3).

> The P40 exposes a self-signed HTTPS endpoint on port 8443 with JWT auth.
> Pass an `aiohttp.ClientSession` configured to skip certificate verification.

```python
import aiohttp
from keba_kecontact_p40 import KebaP40Client

async with aiohttp.ClientSession(connector=aiohttp.TCPConnector(ssl=False)) as session:
    client = KebaP40Client("192.168.1.50", "my-password", session=session)
    await client.login()
    wallboxes = await client.get_wallboxes()
    print(wallboxes[0].serial_number, wallboxes[0].state)
```
