Coder Social home page Coder Social logo

bmspace's Introduction

BMS Pace - Python data retrieval

Pace Battery Management System Features:

1. Important

This addon comes with absolutely no guarantees whatsoever. Use at own risk.
Feel free to fork and expand!

2. Confirmed working with

Many brands using the PACE BMS, including:

  • Greenrich U-P5000
  • Hubble Lithium (AM2, AM4, X-101)
  • Revov R100, R9
  • SOK 48V (100Ah)
  • YouthPower Rack Module 48V 100AH 4U-5U Lifepo4
  • Allith 10kW LifePo4
  • etc.......

If your ports look something like this, its likely a PACE BMS:

PACE BMS Ports

3. Configuring

3.1 Manually

Install the pre-requisites as per requirements.txt. Then edit the config.yaml file to suit your needs and run the script bms.py NB: Tested with Python 3.9. Should work on later version as well.

3.2 Home Assistant

All configuration options are available from within Home Assistant.

3.3 Notes on configuration options

  • debug_output: Options are 0 for minimal, 1 for minor errors such as checksums, 2-3 for more severe debug logs.
  • force_pack_offset: This is currently available in the development version. This offset is used to force a defined offset between the data read from multiple packs. If you have more than one pack and only the first is read successfully, you can force an offset here to get subsequent packs to read in successfully. Default is 0, multiple of 2 (e.g. 2, 4, 6....) may work. As large as 20 has been used in one instance.

4. RJ11 Interface (Typical, confirm your own model!)

When viewed into the RJ11 socket, tab to the bottom, pins are ordered:
1:NC 2:GND 3:BMS_Tx 4:BMS_Rx 5:GND 6:NC

Either a direct serial interface from your hardware, a USB to serial, or a network connected TCP server device will work. Note the voltage levels are normal RS232 (and not TTL / 5V or something else).

bmspace's People

Contributors

elibl avatar jpmeijers avatar tertiush 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.