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
Release history Release notifications | RSS feed
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.1.0.tar.gz
(10.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aiovictron-0.1.0.tar.gz.
File metadata
- Download URL: aiovictron-0.1.0.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c527836bb7620b572584999d04889dc246a1517e96dbb6bda8091786c1bef71d
|
|
| MD5 |
4d98d640778a32713180848f8f3292f0
|
|
| BLAKE2b-256 |
f2d32fac0831ddbfcd4730ebed676a37fa7a991e1cca764879310c13560470f3
|
File details
Details for the file aiovictron-0.1.0-py3-none-any.whl.
File metadata
- Download URL: aiovictron-0.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1930f3879a717cc9f4c26b7141716cef8562243ce590fa6f8572e992fef10d87
|
|
| MD5 |
53ad6c52830546546bc2a22575055f3a
|
|
| BLAKE2b-256 |
45c5ed6178c8c0012b2a2c0e1437e01e7f78e532414c0d1ba58f8af018e5685f
|