Skip to content

Releases: mr-manuel/venus-os_dbus-serialbattery

v2.0.20250207beta

08 Feb 09:13
f769aeb
Compare
Choose a tag to compare
v2.0.20250207beta Pre-release
Pre-release

Breaking Changes

  • Driver version greater or equal to v2.0.20250207dev

    • Changes to config.default.ini: TEMPERATURE_SOURCE_BATTERY is now a list of temperature sensors, so you can choose which sensors you want to use
  • Driver version greater or equal to v2.0.20250107dev

    • Changes to config.default.ini: CELL_VOLTAGE_DIFF_KEEP_MAX_VOLTAGE_TIME_RESTART was superseeded by SWITCH_TO_FLOAT_CELL_VOLTAGE_DEVIATION, which has a different behavior
    • Changes to config.default.ini: CELL_VOLTAGE_DIFF_KEEP_MAX_VOLTAGE_UNTIL was replaced by SWITCH_TO_FLOAT_CELL_VOLTAGE_DIFF
    • Changes to config.default.ini: CELL_VOLTAGE_DIFF_TO_RESET_VOLTAGE_LIMIT was replaced by SWITCH_TO_BULK_CELL_VOLTAGE_DIFF
    • Changes to config.default.ini: CVL_ICONTROLLER_MODE was superseeded by CVL_CONTROLLER_MODE, which has a different behavior
    • Changes to config.default.ini: LINEAR_LIMITATION_ENABLE was superseeded by CHARGE_MODE, which has a different behavior
    • Changes to config.default.ini: LINEAR_RECALCULATION_EVERY was replaced by CVL_RECALCULATION_EVERY
    • Changes to config.default.ini: LINEAR_RECALCULATION_ON_PERC_CHANGE was replaced by CVL_RECALCULATION_ON_MAX_PERCENTAGE_CHANGE
    • Changes to config.default.ini: MAX_VOLTAGE_TIME_SEC was replaced by SWITCH_TO_FLOAT_WAIT_FOR_SEC
  • Driver version greater or equal to v2.0.20250103dev

    • Changes to config.default.ini: SOC_LEVEL_TO_RESET_VOLTAGE_LIMIT was replaced by SWITCH_TO_BULK_SOC_THRESHOLD
  • Driver version greater or equal to v2.0.20241202dev

    • The driver path changed from /data/etc/dbus-serialbattery to /data/apps/dbus-serialbattery
    • Changes to config.default.ini: MODBUS_ADDRESSES was replaced by BATTERY_ADDRESSES
    • Changes to config.default.ini: SEPLOS_USE_BMS_VALUES was replaced by USE_BMS_DVCC_VALUES
    • Changes to config.default.ini: Changed default values for Cell Voltage Current Limitation and Temperature Current Limitation
  • Driver version greater or equal to v2.0.20241211dev

    • Changes to config.default.ini: SOC_CALC_CURRENT_REPORTED_BY_BMS was replaced by CURRENT_REPORTED_BY_BMS
    • Changes to config.default.ini: SOC_CALC_CURRENT_MEASURED_BY_USER was replaced by CURRENT_MEASURED_BY_USER
  • Driver version greater or equal to v2.0.20241217dev

    • Changes to config.default.ini: EXTERNAL_CURRENT_SENSOR_DBUS_DEVICE was replaced by EXTERNAL_SENSOR_DBUS_DEVICE
    • Changes to config.default.ini: EXTERNAL_CURRENT_SENSOR_DBUS_PATH was replaced by EXTERNAL_SENSOR_DBUS_PATH_CURRENT
  • Driver version greater or equal to v2.0.20241218dev

    • Changes to config.default.ini: TEMP_BATTERY was replaced by TEMPERATURE_SOURCE_BATTERY
    • Changes to config.default.ini: TEMP_1_NAME was replaced by TEMPERATURE_1_NAME
    • Changes to config.default.ini: TEMP_2_NAME was replaced by TEMPERATURE_2_NAME
    • Changes to config.default.ini: TEMP_3_NAME was replaced by TEMPERATURE_3_NAME
    • Changes to config.default.ini: TEMP_4_NAME was replaced by TEMPERATURE_4_NAME

What's Changed

  • Added: Calculation of history values not provided by the battery by @mr-manuel
  • Added: Felicity BMS by @versager
  • Added: JKBMS CAN - Extended protocol with version V2 by @Hooorny and @mr-manuel
  • Added: LiTime BMS by @calledit
  • Added: Make battery data available on MQTT under a single topic by enabling PUBLISH_BATTERY_DATA_AS_JSON by @mr-manuel
  • Added: Min/Max lifetime temperature to history class and battery template by @mr-manuel
  • Added: Pace BMS by @KoljaWindeler
  • Added: Possibility to add external sensor for SoC by @mr-manuel
  • Added: Signal handler for clean service restart/shutdown by @mr-manuel
  • Changed: A lot of under the hood optimizations by @mr-manuel
  • Changed: Apply SOC_RESET_VOLTAGE after SOC_RESET_AFTER_DAYS regardless of whether the battery is in absorption, bulk, or float mode #123 by @mr-manuel
  • Changed: Consumed capacity must be negative values by @mr-manuel
  • Changed: Daly CAN - Driver improvements by @transistorgit
  • Changed: Daly CAN - Refactored driver to match new CAN standard by @mr-manuel and @transistorgit
  • Changed: Dependencies are now shipped with the driver and not downloaded anymore which allows a complete offline installation by @mr-manuel
  • Changed: Driver was moved from /data/etc/dbus-serialbattery to /data/apps/dbus-serialbattery by @mr-manuel
  • Changed: EG4 LifePower - Fixed wrong cell voltage decoding. Fixes #155 by @dchiquito
  • Changed: Fix /Info/BatteryLowVoltage remaining None #145 by @mr-manuel
  • Changed: Fix missing charge/discharge fet status for EG4 LifePower, EG4 LL and Renogy. Fixes #129 by @mr-manuel
  • Changed: Fixed issue, when calculated SOC is restored from dbus and BMS SOC is 0 by @mr-manuel
  • Changed: Improved driver and config.default.ini descriptions by @mr-manuel
  • Changed: JKBMS CAN - Per default only address 0 is recognized. Change BATTERY_ADDRESS to match your device address by @Hooorny and @mr-manuel
  • Changed: Licensing from MIT license to GNU AGPLv3 license by @mr-manuel
  • Changed: Refactored driver installation via USB/SD card by @mr-manuel
  • Changed: The driver is now running directly from it's app folder. No need to copy the config.ini file anywhere, which means changes are applied by simply restarting the service by @mr-manuel
  • Changed: The root filesystem is not mounted as read-write anymore, since overlay filesystems are used now. This allows to let the core system files untouched and to revert all changes with one command. The changes are now also persistant and do not have to be installed on every Venus OS update again by @mr-manuel
  • Changed: The setting CELL_VOLTAGE_DIFF_KEEP_MAX_VOLTAGE_TIME_RESTART was superseeded by SWITCH_TO_FLOAT_CELL_VOLTAGE_DEVIATION, which has a different behavior by @mr-manuel
  • Changed: The setting CELL_VOLTAGE_DIFF_KEEP_MAX_VOLTAGE_UNTIL was replaced by SWITCH_TO_FLOAT_CELL_VOLTAGE_DIFF by @mr-manuel
  • Changed: The setting CELL_VOLTAGE_DIFF_TO_RESET_VOLTAGE_LIMIT was replaced by SWITCH_TO_BULK_CELL_VOLTAGE_DIFF by @mr-manuel
  • Changed: The setting CVL_ICONTROLLER_MODE was superseeded by CVL_CONTROLLER_MODE, which has a different behavior by @mr-manuel
  • Changed: The setting EXTERNAL_CURRENT_SENSOR_DBUS_DEVICE was replaced by EXTERNAL_SENSOR_DBUS_DEVICE in the config.default.ini by @mr-manuel
  • Changed: The setting EXTERNAL_CURRENT_SENSOR_DBUS_PATH was replaced by EXTERNAL_SENSOR_DBUS_PATH_CURRENT in the config.default.ini by @mr-manuel
  • Changed: The setting LINEAR_LIMITATION_ENABLE was superseeded by CHARGE_MODE, which has a different behavior by @mr-manuel
  • Changed: The setting LINEAR_RECALCULATION_EVERY was replaced by CVL_RECALCULATION_EVERY by @mr-manuel
  • Changed: The setting LINEAR_RECALCULATION_ON_PERC_CHANGE was replaced by CVL_RECALCULATION_ON_MAX_PERCENTAGE_CHANGE by @mr-manuel
  • Changed: The setting MAX_VOLTAGE_TIME_SEC was replaced by SWITCH_TO_FLOAT_WAIT_FOR_SEC by @mr-manuel
  • Changed: The setting MODBUS_ADDRESSES was replaced by BATTERY_ADDRESSES in the config.default.ini by @mr-manuel
  • Changed: The setting SEPLOS_USE_BMS_VALUES was replaced by USE_BMS_DVCC_VALUES in the config.default.ini by @mr-manuel
  • Changed: The setting SOC_CALC_CURRENT_MEASURED_BY_USER was replaced by CURRENT_MEASURED_BY_USER in the config.default.ini by @mr-manuel
  • Changed: The setting SOC_CALC_CURRENT_REPORTED_BY_BMS was replaced by CURRENT_REPORTED_BY_BMS in the config.default.ini by @mr-manuel
  • Changed: The setting SOC_LEVEL_TO_RESET_VOLTAGE_LIMIT was replaced by SWITCH_TO_BULK_SOC_THRESHOLD in the config.default.ini by @mr-manuel
  • Changed: The setting TEMP_1_NAME was replaced by TEMPERATURE_1_NAME in the config.default.ini by @mr-manuel
  • Changed: The setting TEMP_2_NAME was replaced by TEMPERATURE_2_NAME in the config.default.ini by @mr-manuel
  • Changed: The setting TEMP_3_NAME was replaced by TEMPERATURE_3_NAME in the config.default.ini by @mr-manuel
  • Changed: The setting TEMP_4_NAME was replaced by TEMPERATURE_4_NAME in the config.default.ini by @mr-manuel
  • Changed: The setting TEMP_BATTERY was replaced by TEMPERATURE_SOURCE_BATTERY in the config.default.ini by @mr-manuel
  • Changed: The setting TEMPERATURE_SOURCE_BATTERY is now a list of temperature sensors, so you can choose which sensors you want to use by @mr-manuel
  • Changed: Use corrected current for both normal current and SOC calculation if SOC_CALCULATION is enabled by @mr-manuel
  • Changed: When SOC_CALCULATION is enabled, the SoC is reset to 100%, if the battery switches to float. Old options were removed by @mr-manuel
  • Removed: The setting SOC_RESET_CURRENT was removed in the config.default.ini by @mr-manuel
  • Removed: The setting SOC_RESET_TIME was removed in the config.default.ini by @mr-manuel

New Contributors

Full Changelog: v1.5.20241119beta...v2.0.20250207beta

v1.6.20250131

31 Jan 19:10
01c01b8
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.6.20250123...v1.6.20250131

v1.6.20250123

23 Jan 19:19
ac13b2b
Compare
Choose a tag to compare

What's Changed

  • Changed: GUIv1 updated QtQuick from 1.1 to 2 with Venus OS v3.60~20. Make sure to update to this driver version before you update Venus OS to v3.60~20 or later by @mr-manuel

Full Changelog: v1.5.20241215...v1.6.20250123

v1.5.20241215

17 Dec 15:07
7f82961
Compare
Choose a tag to compare

What's Changed

  • Changed: Fixed typo in code that prevent driver from starting, if old battery instances are present by @mr-manuel

Full Changelog: v1.5.20241202...v1.5.20241215

v1.5.20241202

Known issues

  • If you have old battery instances that should be deleted, you see the error dbus.exceptions.UnknownMethodException: org.freedesktop.DBus.Error.UnknownMethod: Unknown method: remove_settingss is not a valid method of interface com.victronenergy.Settings in the logs and the driver does not start anymore. Upgrade to v1.5.20241215 to solve the problem.

What's Changed

  • Added: Configurable threshold to prevent rapid switching (flapping) of CCL or DCL when 0 by @mr-manuel
  • Added: Daly BMS - Connect multiple BMS to the same RS485 port by @CaptKrisp
  • Added: EG LifePower - Connect multiple BMS to the same RS485 port by @mr-manuel
  • Added: GUIv2 by @mr-manuel
  • Added: High cell voltage alarm was added to venus-platform with victronenergy/venus-platform@d686955 and now also to this driver by @mr-manuel
  • Changed: Calculate current average not only when Time-To-Go is enabled by @mr-manuel
  • Changed: Calculate Time-to-Go until ESS -> Minimum SOC (unless grid fails), Active SOC limit or SOC_LOW_WARNING from config.ini by @mr-manuel
  • Changed: Enhance BMS type validation by @mr-manuel
  • Changed: HLPDATA BMS - BMS control of max charge and discharge is removed by @peterohman
  • Changed: HLPDATA BMS - improved driver with #96 by @peterohman
  • Changed: JKBMS PB Model fixed firmware version and temperature sensors by @KoljaWindeler
  • Changed: Optimized auto increase of the polling time by @mr-manuel
  • Changed: Rewritten code for external current sensor and fixed #60 by @mr-manuel

New Contributors

Full Changelog: v1.4.20240928...v1.5.20241202

v1.5.20241119beta

19 Nov 20:00
78016ae
Compare
Choose a tag to compare
v1.5.20241119beta Pre-release
Pre-release

What's Changed

  • Added: Configurable threshold to prevent rapid switching (flapping) of CCL or DCL when 0 by @mr-manuel
  • Added: Daly BMS - Connect multiple BMS to the same RS485 port by @CaptKrisp
  • Added: EG LifePower - Connect multiple BMS to the same RS485 port by @mr-manuel
  • Added: GUIv2 by @mr-manuel
  • Added: High cell voltage alarm was added to venus-platform with victronenergy/venus-platform@d686955 and now also to this driver by @mr-manuel
  • Added: Possibility to change the CAN bus speed by @mr-manuel
  • Changed: Calculate Time-to-Go until ESS -> Minimum SOC (unless grid fails), Active SOC limit or SOC_LOW_WARNING from config.ini by @mr-manuel
  • Changed: HLPDATA BMS - BMS control of max charge and discharge is removed by @peterohman
  • Changed: HLPDATA BMS - improved driver with #96 by @peterohman
  • Changed: JKBMS PB Model fixed firmware version and temperature sensors by @KoljaWindeler
  • Changed: Optimized auto increase of the polling time by @mr-manuel
  • Changed: Rewritten code for external current sensor and fixed #60 by @mr-manuel

New Contributors

Full Changelog: v1.4.20240928...v1.5.20241119beta

v1.4.20240928

05 Oct 07:20
10236a3
Compare
Choose a tag to compare

What's Changed

  • Added: History() class that holds all BMS history values by @mr-manuel
  • Added: Automatically increase polling time, if polling take too long by @mr-manuel
  • Added: Connection Information field which was recently added by Victron on the details page by @mr-manuel
  • Added: Daren BMS with #65 by @cpttinkering
  • Added: Multiple BMS on one USB to RS485/Modbus adapter now possible. The BMS needs to be able to set different addresses to each battery by @mr-manuel
  • Added: Send telemetry data to see which driver versions and BMS are used the most. Can be disabled in the config.ini by @mr-manuel
  • Added: Show error in log, if an unknown BMS type was added in the config.ini by @mr-manuel
  • Changed: Battery connection loss: Big improvements on handling the situation, fixed battery connection restore without driver restart, improved behaviour when connection is lost, added config options by @mr-manuel
  • Changed: Call get_settings() in test_connection() for all battery classes, removed get_settings() call from setup_vedbus() by @mr-manuel
  • Changed: Daly BMS - Fixed issues where faulty readings set values to None by @mr-manuel
  • Changed: Fixed alarms for some BMS and cleaned up Protection() class
  • Changed: Fixed how velib_python was integrated in this driver by @mr-manuel
  • Changed: Fixed problem with battery status and error code by @mr-manuel
  • Changed: GUIv1 cell voltage page design by @mr-manuel
  • Changed: JKBMS - Fixed issues where faulty readings set values to None by @mr-manuel
  • Changed: JKBMS BLE - Fixes wrong max battery voltage Louisvdw/dbus-serialbattery#1094 by @mr-manuel
  • Changed: JKBMS PB Model fixes by @KoljaWindeler
  • Changed: LLT/JBS BMS - Fix bug in SOC calculation and use SOC comming from BMS. Fixes #47 by @mr-manuel
  • Changed: Renogy BMS - Use port as unique identifier, since it's not possible to change any values on this BMS by @mr-manuel
  • Changed: Reworked, documented and cleaned up a lot of code by @mr-manuel
  • Changed: Set default charge/discharge current from utils in main battery class by @mr-manuel
  • Changed: Show non blocking errors only, if more than 180 occured in the last 3 hours (1 per minute) and do not block inverting/charging by @mr-manuel
  • Changed: The setting HELTEC_MODBUS_ADDR was replaced by MODBUS_ADDRESSES in the config.default.ini by @mr-manuel
  • Changed: Updated battery_template.py and added tons of descriptions by @mr-manuel

New Contributors

Full Changelog: v1.3.20240705...v1.4.20240928

v1.3.20240705

05 Jul 20:28
ea4a175
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.2.20240408...v1.3.20240705

v1.3.20240615beta

16 Jun 07:28
d3bd515
Compare
Choose a tag to compare
v1.3.20240615beta Pre-release
Pre-release

What's Changed

New Contributors

  • @SenH made their first contribution in #33

Full Changelog: v1.2.20240401...v1.3.20240615beta

v1.2.20240408

27 Jun 16:34
aaa940c
Compare
Choose a tag to compare

Breaking changes

  • The temperature limitation variables where changed to match the other variable names.

    OLD

    TEMPERATURE_LIMITS_WHILE_CHARGING, TEMPERATURE_LIMITS_WHILE_DISCHARGING

    NEW

    TEMPERATURES_WHILE_CHARGING, TEMPERATURES_WHILE_DISCHARGING

  • The SoC limitation variables where changed to match the cell voltage and temperature config.

    OLD

    CC_SOC_LIMIT1, CC_SOC_LIMIT2, CC_SOC_LIMIT3

    CC_CURRENT_LIMIT1_FRACTION, CC_CURRENT_LIMIT2_FRACTION, CC_CURRENT_LIMIT3_FRACTION

    DC_SOC_LIMIT1, DC_SOC_LIMIT2, DC_SOC_LIMIT3

    DC_CURRENT_LIMIT1_FRACTION, DC_CURRENT_LIMIT2_FRACTION, DC_CURRENT_LIMIT3_FRACTION

    NEW

    SOC_WHILE_CHARGING, MAX_CHARGE_CURRENT_SOC_FRACTION, SOC_WHILE_DISCHARGING, MAX_DISCHARGE_CURRENT_SOC_FRACTION

What's Changed

New Contributors

Full Changelog: v1.0.20230531...v1.2.20240408

v1.2.20240227beta

28 Feb 13:50
525d241
Compare
Choose a tag to compare
v1.2.20240227beta Pre-release
Pre-release

🚨 Release Candidate

Known issues

  • Driver version greater or equal to v1.0.20231126dev and smaller to v1.2.20240227dev:

    • If multiple batteries have the same unique_identifier, then they are displayed as one battery in the VRM portal and if you change the name,
      it get changed for all dbus-serialbattries. Please change the capacity of the batteries to be unique (if the unique identifier ends with Ah)
      or change the custom field on supported BMS.
      E.g.: 278 Ah, 279 Ah,280 Ah,281 Ah and 282 Ah, if you have 5 batteries with 280 Ah.

What's Changed

New Contributors

Full Changelog: v1.2.20240219beta...v1.2.20240227beta