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.3.tar.gz (24.7 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.3-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: victronvenusclient-0.1.3.tar.gz
  • Upload date:
  • Size: 24.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for victronvenusclient-0.1.3.tar.gz
Algorithm Hash digest
SHA256 1ce52cff4176c6b14511600c1125eb4e13d607374f264af170c1d745b73f06fe
MD5 a17d14d0ccb10c661813bb9e80d01173
BLAKE2b-256 dfcc54885cc60cf377eec4ac77c782d006d8ba4d9469b64e3770c3f0f310ff81

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for victronvenusclient-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c63a461da5c560b677257e4811ed93d951f6d5356861f3c834c1d08c84caeeac
MD5 8c75bd7af036811fb85744b8dbf76869
BLAKE2b-256 6cfed9ec84d02bfa414838637cd1414ee5efeb3b8e362d7f5cbf276a8f397cdf

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