mr-manuel / venus-os_dbus-serialbattery

Battery Monitor driver for serial battery in VenusOS GX systems
https://mr-manuel.github.io/venus-os_dbus-serialbattery_docs/
MIT License
48 stars 18 forks source link

Parallel Daly BMS #78

Closed CaptKrisp closed 1 month ago

CaptKrisp commented 1 month ago

Adjust read_sentence in daly.py to allow BMS configured for parallel (different board number assigned). Provide sample entry for supported_bms_types in dbus-serialbattery.py ... this may not be necessary. Provide sample config in config.default.ini to use MODBUS_ADDRESSES to set addresses of Daly board numbers.

This change works with all BMS (max 16) on RS485 bus with a single serial port adapter or individual UART adapters to each BMS.

mr-manuel commented 1 month ago

Use Daly's Windows application BMS Tools to set the board number. (Not currently found on Daly's public site)

Where one can find the BMS Tools software to download?

mr-manuel commented 1 month ago

Documentation was added with: https://github.com/mr-manuel/venus-os_dbus-serialbattery_docs/commit/d9a73a6972386c970a0a924d8d3976ae9c54850c

CaptKrisp commented 1 month ago

BMS Tool can be downloaded from Daly site. As of July 31, 2024 it was: https://www.dalybms.com/uploads/BMSTool-V1.14.231.rar

mr-manuel commented 1 month ago

Implemented with https://github.com/mr-manuel/venus-os_dbus-serialbattery/commit/373297a8e8722845fc236fa4632aecdf249c2895