Code Monkey home page Code Monkey logo

venus-chargerybms's Introduction

License

  • MIT License
  • Use this project at your own risk

Description

The serial driver receives data from the Chargery BMS and can be used with Venus OS. 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 without Venus OS support

  • No installation required. Just use the driver directory and execute the script with the serial device parameter

Installation Venus OS

  • Enable root access on Venus OS [https://www.victronenergy.com/live/ccgx:root_access]
  • Download the file /install/install.sh from this archive
  • Use it at you rown risk!
  • Execute the file, the latest versions of the the script and victron python library are downloaded
  • Installation will be done (remember we need a FT232RL USB adapter, check the requirements)
  • Reboot your device

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, run installation again
  • The devices are "hard-coded" at the overview qml file, must be adapted (VE.direct devices, etc)

venus-chargerybms's People

Contributors

tobi177 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.