From 31e9c798e2846b02ae746a6294c9a41e99d8017d Mon Sep 17 00:00:00 2001 From: Tobi177 Date: Tue, 28 Jul 2020 21:47:10 +0200 Subject: [PATCH] try adding command line parameters --- README.MD | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.MD b/README.MD index 7476a5e..ed39e1a 100644 --- a/README.MD +++ b/README.MD @@ -21,6 +21,25 @@ This project embeds the Chargery BMS to a Victron Energy Venus OS device to moni # 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)