Skip to main content

An async MQTT Victron Venus OS client library.

Project description

victronvenusclient

PyPI - Version PyPI - Python Version


Table of Contents

Introduction

VenusVictronClient is a an asynchronous library that uses MQTT to communicate with devices running Victron's Venus OS, including the Victron CCGX, Cerbo GX and Ekrano GX.

The source code is available on GitHub.

DISCLAIMER: This is a third-party library and not a product of Victron.

Installation

pip install victronvenusclient

Viewer

The package has a viewer application written using Tk that allows you to inspect the various metrics and devices. To run the viewer:

python3 -m victronvenusclient.utils.view_metrics

The viewer should also provide a good example of how to use the library.

Limitations and Known Issues

  • The current library has been tested with only a single configuration of a Victron installation. It might not have all the metrics that are relevant to other installations - please see [Logging Issues] on how to get your installation supported.

  • The library also only supports retrieving data, changing settings has not yet been implemented.

Logging Issues

Issues can be logged on GitHub.

If you need support for your configuration or additional metrics you can dump the full mqtt structure from your device using the included dump_mqtt utility and attach the file to the issue:

# Dumps a full MQTT structure into fullvictrondump.txt
python3 -m victronvenusclient.utils.dump_mqtt > fullvictrondump.txt.

# If you need to specify the connection details command line help is available:
python3 -m victronvenusclient.utils.dump_mqtt --help

License

victronvenusclient is distributed under the terms of the 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

victronvenusclient-0.1.2.tar.gz (24.3 kB view details)

Uploaded Source

Built Distribution

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

victronvenusclient-0.1.2-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

Details for the file victronvenusclient-0.1.2.tar.gz.

File metadata

  • Download URL: victronvenusclient-0.1.2.tar.gz
  • Upload date:
  • Size: 24.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.20

File hashes

Hashes for victronvenusclient-0.1.2.tar.gz
Algorithm Hash digest
SHA256 3ee240f125d3f4d1ec37d024ddf917d521443bb9812b5c5548a57481ef193986
MD5 e045a26cdfb29234fbb467aef17efe5a
BLAKE2b-256 d4d32554978a5d3f53904ad745daa229e5042643b8dd4a137428dbb150c5a1ae

See more details on using hashes here.

File details

Details for the file victronvenusclient-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for victronvenusclient-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cef9ccb9cb7289624f2a339c238145b96c1ef3d582f4f7cdc7a4fd0bc8ae5b1e
MD5 cf07e3440af602991ff05c62dea5ab8a
BLAKE2b-256 02f8578a402e26810c40a09fae5281e6a50c17a031f1ccdc0848cfb0bc9d112a

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