New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

keba_kecontact

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

keba_kecontact

A python library to communicate with the KEBA charging stations via udp

  • 3.0.3
  • PyPI
  • Socket score

Maintainers
1

KEBA KeContact

This is python module to control KEBA charging stations, in specific the P20 and P30 (including different branding like BMW wallbox and SolarEdge). Commands were taken from the UDP Programming Manual. The module was written for the usage in Home Assistant and is based on asyncio.

Install

You can install the module from pypi.org

pip install keba_kecontact

or from source

git clone https://github.com/dannerph/keba-kecontact
cd keba-kecontact
pip install .

Command Line Interface

The module contains a command line interface to connect and send UDP commands, discover charging stations in your local networks and emulate a KEBA charging station for testing purposes. Run

python -m keba_kecontact

and follow the instructions.

Use the module in your code

The module is written using asyncio and creates a UDP socket to listen for incoming packets on port 7090 (cannot be changed).

from keba_kecontact import create_keba_connection
from keba_kecontact.connection import ChargingStation, SetupError

async def connect(ip: str) -> None:
    keba = await create_keba_connection()
    try:
        charging_station = await keba.setup_charging_station(ip, periodic_request=False)
    except SetupError as ex:
        print(f"Charging station at {ip} could not be set up: {ex}")

Support Development

Paypal

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc