Skip to main content

Async Python client for Victron Modbus TCP (Cerbo GX)

Project description

aiovictron

Async Python client for Victron Modbus TCP (Cerbo GX).

Installation

pip install aiovictron

Usage

from aiovictron import VictronClient

async with VictronClient("192.168.1.153") as client:
    devices = await client.validate_connection()
    data = await client.get_data()

    if data.system:
        print(f"Battery SOC: {data.system.battery_soc}%")
        print(f"PV Power: {data.system.pv_power}W")

    if data.solar_charger:
        print(f"Charger state: {data.solar_charger.charger_state}")

    if data.vebus:
        print(f"AC output: {data.vebus.ac_output_power}W")

Supported Devices

Unit ID Device Registers
100 System 8
223 MPPT Solar Charger 8
227 VE.Bus Inverter 14

License

MIT

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

aiovictron-0.2.0.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

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

aiovictron-0.2.0-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file aiovictron-0.2.0.tar.gz.

File metadata

  • Download URL: aiovictron-0.2.0.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for aiovictron-0.2.0.tar.gz
Algorithm Hash digest
SHA256 54a4332fa7a2e8d25a8d608c8267b0100c273e0dacd9b4e65f3db1b33fd35d9a
MD5 72319c9515ac63b4999c550dfd1d3e34
BLAKE2b-256 89c2891570475dd630cc63423047116d34a2fc55448dd5d8a42d28b5068fd1aa

See more details on using hashes here.

File details

Details for the file aiovictron-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: aiovictron-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for aiovictron-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f97dadf0ca779d85039a211bf951d87aef003cdec3dc604c9649fe8cb4562787
MD5 35275e5b8e1e0d817316b52a90ea6541
BLAKE2b-256 c88c9c008f1d847257df85701627b8ce9456cabd508c27414dd25fac6b728bcf

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