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.1.tar.gz (24.1 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.1-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: victronvenusclient-0.1.1.tar.gz
  • Upload date:
  • Size: 24.1 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.1.tar.gz
Algorithm Hash digest
SHA256 23cf54a8a76c6dd1d8ecbf8d9058050dd68b2589f037922e5bf0b9e287dd9c1b
MD5 53e69cb0d511e2f586ff691195e65cda
BLAKE2b-256 76f2e986bf5b24249603d213ce34710c198e192826e4bdc5ff0c7bd289e855ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for victronvenusclient-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 79bfb3a86428755d51fa04c68764a18af21fbcbb8893330b038cf534b3227e3a
MD5 4daf155f067af054ee10d20f79528510
BLAKE2b-256 3acefebed3e21f63bd69e4366ed9bf40ea8d8b92b91fbd1413d3f639b875a7dd

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