Logging serial output of Chargery BMS
Find a file
2020-07-28 21:53:13 +02:00
docs Start working on v1.25 protocol 2020-07-25 22:49:45 +02:00
driver fixed typo 2020-07-28 21:48:27 +02:00
examples some minor updates 2020-07-28 21:31:49 +02:00
gui/qml some minor updates 2020-07-28 21:31:49 +02:00
LICENSE Initial commit 2020-04-03 23:00:22 +02:00
README.MD venus gui handling is now optional 2020-07-28 21:53:13 +02:00

License

  • MIT License
  • Use this project at your own risk

Description

This project embeds the Chargery BMS to a Victron Energy Venus OS device to monitor the battery. The serial driver is coded in Python and grabs the data form the RS232 USB interface every second. Example Images:

Overview ChargeryBMS ChargeryBMS Voltages ChargeryBMS Impedances

Requirements

  • Chargery BMS
  • FTDI Adapter FT232RL USB TTL Serial (IMPORTANT: Must be flashed with FT_PROG software to invert tx mode)

Optional

  • Support for Victron Venus OS. Support is enabled with the "--victron" command line parameter

Installation

  • TBD

Command Line Parameters

usage: chargerybms.py [-h] [--version] [--debug] [--test] [--victron] -d
                      DEVICE

Chargery BMS driver

optional arguments:
  -h, --help            show this help message and exit
  --version             show program's version number and exit
  --debug               enable debug logging
  --test                test some stored examples network packets
  --victron             enable Victron DBUS support for VenusOS

required arguments:
  -d DEVICE, --device DEVICE
                        serial device for data (eg /dev/ttyUSB0)

Notes

  • No scripts to resetup the changes automatically on update of Venus OS
  • The devices are "hard-coded" at the overview qml file, must be adapted (VE.direct devices, etc)