Skip to main content

Client library for interacting with Vestel ECV04 charger web interface

Project description

Vestel ECV04 Client

A Python client library for interacting with the Vestel ECV04 electric vehicle charger web interface.

Installation

Install from PyPI:

pip install vestel-ecv04-client

Or install with CLI support:

pip install vestel-ecv04-client[cli]

Usage

As a Library

import asyncio
from vestel_ecv04_client import VestelEVC04Client, Config

async def main():
    config = Config(host="192.168.1.100", username="admin", password="password")
    client = VestelEVC04Client(config)
    
    # Get current phases and current setting
    state = await client.get_phases_and_current()
    print(f"Phases: {state.num_phases}, Current: {state.current}")
    
    # Set new settings
    await client.set_phases_and_current(phases=3, current=16)

asyncio.run(main())

Command Line Interface

If installed with CLI support:

vestel-ecv04-cli --host 192.168.1.100 --username admin --password password get-state
vestel-ecv04-cli --host 192.168.1.100 --username admin --password password set-current --phases 3 --current 16

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vestel_ecv04_client-0.1.0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vestel_ecv04_client-0.1.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file vestel_ecv04_client-0.1.0.tar.gz.

File metadata

  • Download URL: vestel_ecv04_client-0.1.0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for vestel_ecv04_client-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6007781bf2bbbd84e1c2d118f3426bcc28cc35dd44180e373912a2acda43a287
MD5 f5f680dfa4297ad50de392fd5859ce6e
BLAKE2b-256 b15a0923c28ab4f38358326bb12390bb430fe1c50fbd65a65b0e166f78181d47

See more details on using hashes here.

File details

Details for the file vestel_ecv04_client-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for vestel_ecv04_client-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9a7e1aaa66e299b142b56aecbd27c3687753b52570576dabb6103467e311caa7
MD5 3fb414fb08d9f6e698699c94b6d73534
BLAKE2b-256 06256f4ff5ad39ae2802cf7c13a9e2e6fd76a1e985bca4b96dbe9adac9bca36f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page