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

Uploaded Python 3

File details

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

File metadata

  • Download URL: victronvenusclient-0.1.0.tar.gz
  • Upload date:
  • Size: 16.8 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.0.tar.gz
Algorithm Hash digest
SHA256 42cfefcfd60029995ff3c7b160a3b52b39dd03e8c4d87e8fee8e75cb0dbe2a02
MD5 ee1e316c673d02af270700bea892e84f
BLAKE2b-256 b4528885f9c2a19843d5823d4f67a2d45990944f4d8d41f5bafa42c1ebe693de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for victronvenusclient-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1d3a66db452c0acfb79ac7b7b700c7552ca56c0f8157d2468086a499a55c626c
MD5 05187984a5298af2994822b67fdb12ce
BLAKE2b-256 4b8958759c3e3ffbd8be5d91e55f20f48a631d059e9163bd9ecbc654d36fcb81

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