Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge dev into master #874

Merged
merged 170 commits into from
Nov 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
170 commits
Select commit Hold shift + click to select a range
e8865da
Update reinstall-local.sh: Fixed charge current parameter
hoschult Jun 1, 2023
ed37069
Merge pull request #685 from hoschult/patch-1
mr-manuel Jun 1, 2023
1d4deee
Exclude devices from driver startup
mr-manuel Jun 1, 2023
513a009
implement callback function for update
Jun 4, 2023
ea8fd45
fix comments to reflect new logic
Jun 5, 2023
f6219f6
implement callback function for update
mr-manuel Jun 5, 2023
aec7471
update changelog
mr-manuel Jun 5, 2023
43cf469
Merge branch 'dev' of https://github.com/mr-manuel/venus-os_dbus-seri…
mr-manuel Jun 5, 2023
e638433
Merge pull request #690 from mr-manuel/dev
mr-manuel Jun 5, 2023
1d2e47d
set soc=100% when charge mode changes to float, apply exponential smo…
transistorgit Jun 5, 2023
0d9a76f
remove scan for devices
seidler2547 Jun 7, 2023
e54d7bc
Merge pull request #695 from seidler2547/no_jkbms_scan
mr-manuel Jun 8, 2023
2f35448
JKBMS_BLE driver fixes
mr-manuel Jun 8, 2023
795e523
added Bluetooth signal strenght, increased debug
mr-manuel Jun 8, 2023
6388a5d
Optimized reinstallation procedure
mr-manuel Jun 10, 2023
4fcbee0
Improved Jkbms_Ble error handling
mr-manuel Jun 10, 2023
68bd0a5
optimized disable procedure
mr-manuel Jun 10, 2023
fed6ca7
small fixes
mr-manuel Jun 10, 2023
fee9623
save custom name and make it restart persistant
mr-manuel Jun 10, 2023
a81bf05
changed unique identifier from string to function
mr-manuel Jun 10, 2023
239f7c5
Merge pull request #701 from mr-manuel/dev
mr-manuel Jun 10, 2023
64f0248
fix typo
mr-manuel Jun 10, 2023
f9cbc1a
Merge branch 'Louisvdw:dev' into dev
mr-manuel Jun 10, 2023
f72bbe5
fix Sinowealth not loading
mr-manuel Jun 11, 2023
acf9d2b
fix unique identifier function
mr-manuel Jun 11, 2023
240c373
enable BMS over config, if disabled by default
mr-manuel Jun 11, 2023
790fa04
show battery port in log
mr-manuel Jun 11, 2023
1c62252
ANT BMS fixes
mr-manuel Jun 11, 2023
3c11a1b
Sinowealth BMS fixes
mr-manuel Jun 11, 2023
d0a9d19
improved publish_battery error handling
mr-manuel Jun 11, 2023
e375512
Improve Battery Voltage Handling in Linear Absorption Mode
ogurevich Jun 11, 2023
a904aae
Merge branch 'Louisvdw:dev' into dev
mr-manuel Jun 11, 2023
041f6a9
updated changelog
mr-manuel Jun 11, 2023
2eddd50
fix reply processing
transistorgit Jun 11, 2023
82dfee5
Merge pull request #704 from mr-manuel/dev
mr-manuel Jun 11, 2023
47473fc
Merge pull request #14 from transistorgit/fix_daly_readsentence
mr-manuel Jun 11, 2023
765996a
Merge branch 'Louisvdw:dev' into dev
mr-manuel Jun 11, 2023
80aa06c
Reduce the big inrush current, if the CVL jumps
mr-manuel Jun 11, 2023
ce2f249
Merge branch 'dev' of https://github.com/mr-manuel/venus-os_dbus-seri…
mr-manuel Jun 11, 2023
809ae60
Check returned data lenght for Seplos BMS
wollew Jun 12, 2023
1dc5d6f
Merge branch 'Louisvdw:dev' into dev
mr-manuel Jun 12, 2023
882daf5
Validate current, voltage, capacity and SoC for all BMS
mr-manuel Jun 12, 2023
16ad3e1
removed double check
mr-manuel Jun 12, 2023
3f220d2
bump version
mr-manuel Jun 12, 2023
19b437b
fix validation if None
mr-manuel Jun 12, 2023
0245022
updated changelog
mr-manuel Jun 12, 2023
6441e56
Merge pull request #708 from mr-manuel/dev
mr-manuel Jun 12, 2023
708d254
proposal to #659 formatted :)
ogurevich Jun 13, 2023
0ab8bc6
bugfix proposal to #659
ogurevich Jun 13, 2023
cac8bfb
refactor setting float charge_mode
ogurevich Jun 13, 2023
b9838e4
fix type error, removed bluetooth cronjob
mr-manuel Jun 13, 2023
a0ba945
updated changelog
mr-manuel Jun 13, 2023
b0ed2a4
fix rs485 write communication errors by inserting sleeps, add debug p…
transistorgit Jun 13, 2023
3ea976a
fix write problem on set_soc. also changed the switch charge/discharg…
transistorgit Jun 13, 2023
0765b57
Merge pull request #15 from transistorgit/fix_daly_rs485_write_timing
mr-manuel Jun 14, 2023
75dd009
debug msg
transistorgit Jun 15, 2023
7ddd86f
Merge branch 'dev' into auto_set_soc
transistorgit Jun 15, 2023
c2c102b
Bluetooth optimizations
mr-manuel Jun 15, 2023
eb28b61
Fixes by @peterohman
mr-manuel Jun 15, 2023
02e9140
fix #712
mr-manuel Jun 15, 2023
47bfeb3
Merge branch 'dev' of https://github.com/mr-manuel/venus-os_dbus-seri…
mr-manuel Jun 15, 2023
bd4fd22
Merge branch 'Louisvdw:dev' into dev
mr-manuel Jun 15, 2023
51b71d6
fix meaningless time to go values
transistorgit Jun 15, 2023
84491bb
Merge pull request #713 from mr-manuel/dev
mr-manuel Jun 15, 2023
b82c3ae
fix meaningless time to go values
transistorgit Jun 15, 2023
963a668
Merge pull request #16 from transistorgit/fix_time_to_go
mr-manuel Jun 15, 2023
be2a4d5
Duration of transition to float depends on number of cells
ogurevich Jun 16, 2023
17fd33c
Float transition - Voltage drop per second
ogurevich Jun 16, 2023
bffffdb
Update hlpdatabms4s.py
peterohman Jun 16, 2023
d1c1ddd
Merge pull request #715 from peterohman/patch-2
mr-manuel Jun 16, 2023
605801a
Validate setting of FLOAT_CELL_VOLTAGE and avoid misconfiguration
ogurevich Jun 16, 2023
4af10dd
Merge pull request #711 from ogurevich/dev
mr-manuel Jun 16, 2023
678098e
Merge branch 'Louisvdw:dev' into dev
mr-manuel Jun 16, 2023
abd6915
consider utils.LINEAR_RECALCULATION_EVERY to refresh CVL
ogurevich Jun 16, 2023
b4025b5
cleanup
mr-manuel Jun 17, 2023
5f9225b
consider utils.LINEAR_RECALCULATION_EVERY to refresh CVL
ogurevich Jun 17, 2023
5a5743b
small refactor, introduced set_cvl_linear function to set CVL only on…
ogurevich Jun 17, 2023
f45fb41
fix typo
ogurevich Jun 17, 2023
2a3a1c2
Merge pull request #719 from ogurevich/voltagedroppersecond
mr-manuel Jun 17, 2023
9489b0c
Merge branch 'Louisvdw:dev' into dev
mr-manuel Jun 17, 2023
8528069
Merge branch 'dev' of https://github.com/mr-manuel/venus-os_dbus-seri…
mr-manuel Jun 17, 2023
3dfeff1
updated changelog
mr-manuel Jun 17, 2023
4b8be76
remove debug msg
transistorgit Jun 19, 2023
cc4ed9c
remove debug msg
transistorgit Jun 19, 2023
62c020c
Merge branch 'dev' into auto_set_soc
transistorgit Jun 19, 2023
12232d8
undo debug change
transistorgit Jun 19, 2023
e950009
Merge pull request #17 from transistorgit/auto_set_soc
mr-manuel Jun 20, 2023
b384400
Daly BMS make auto reset soc configurable
mr-manuel Jun 20, 2023
4bba9fb
Merge pull request #726 from mr-manuel/dev
mr-manuel Jun 20, 2023
1fffdaf
added debug and error information for CVL
mr-manuel Jun 25, 2023
975b5fc
fix proposal for #733 (#735)
ogurevich Jun 27, 2023
11e546d
Merge branch 'dev' into dev
mr-manuel Jun 28, 2023
bc267e1
Merge pull request #737 from mr-manuel/dev
mr-manuel Jun 28, 2023
e9d6e55
Add bulk voltage
mr-manuel Jun 29, 2023
e7c3f0d
JKBMS disable high voltage warning on bulk
mr-manuel Jun 29, 2023
785e221
fixed error
mr-manuel Jul 4, 2023
35f4009
disable high voltage warning for all BMS
mr-manuel Jul 4, 2023
ca3a366
fix error and change default value
mr-manuel Jul 11, 2023
a24d6ef
Merge pull request #749 from mr-manuel/dev
mr-manuel Jul 14, 2023
a74223c
Added temperature names to dbus/mqtt
mr-manuel Jul 17, 2023
6ece447
Use current avg of last 300 cycles for TTG & TTS
mr-manuel Jul 17, 2023
b914e8c
Calculate only positive Time-to-SoC points
mr-manuel Jul 17, 2023
af4ec01
added current average of last 5 minutes
mr-manuel Jul 23, 2023
2ed2780
Merge pull request #757 from mr-manuel/dev
mr-manuel Jul 23, 2023
e09658c
make CCL and DCL more clear
mr-manuel Jul 25, 2023
ae4f21a
fix small error
mr-manuel Jul 25, 2023
697178b
bugfix: LLTJBD BMS SOC different in Xiaoxiang app and dbus-serialbattery
Jul 27, 2023
adeef9d
black formatting
Jul 27, 2023
310bba9
Merge pull request #760 from idstein/bugfix/jbdbms-soc
mr-manuel Jul 27, 2023
a453f68
JDB BMS - Control FETs for charge, discharge and disable / enable bal…
idstein Jul 27, 2023
e326a86
Merge branch 'Louisvdw:dev' into dev
mr-manuel Jul 27, 2023
1bf3b7a
bugfix: Cycle Capacity is in 10 mAh
idstein Jul 27, 2023
15514bd
Merge pull request #762 from idstein/patch-1
mr-manuel Jul 27, 2023
b4b9552
JBD BMS show balancer state in GUI page IO (#763)
idstein Jul 27, 2023
785fd16
Merge branch 'Louisvdw:dev' into dev
mr-manuel Aug 27, 2023
c7d2ad1
Bump version
mr-manuel Aug 27, 2023
4e93d6a
Fix typos
mr-manuel Aug 27, 2023
0131221
Merge pull request #789 from mr-manuel/dev
mr-manuel Aug 27, 2023
47cb3ba
Smaller fixes
mr-manuel Sep 2, 2023
f07d953
Merge pull request #794 from mr-manuel/dev
mr-manuel Sep 2, 2023
ff4c886
Removed comments from utils.py
mr-manuel Sep 4, 2023
048db0a
Updated changelog
mr-manuel Sep 4, 2023
54055b1
possible fix for LLT/JBS connection problems
mr-manuel Sep 4, 2023
251dcc3
Merge pull request #796 from mr-manuel/dev
mr-manuel Sep 4, 2023
1a22ea3
bugfix: LLT/JBD BMS general packet data size check
Sep 5, 2023
b07cf18
Merge pull request #798 from idstein/bugfix/llt-jdb-general-data-temp…
mr-manuel Sep 5, 2023
b2b465e
improved reinstall and disable script
mr-manuel Sep 5, 2023
044f066
LLT/JBD BMS - Improved error handling and automatical driver restart
mr-manuel Sep 5, 2023
8e9a2ee
Fixed Building wheel for dbus-fast won't finish on weak systems
mr-manuel Sep 5, 2023
1137b3e
Merge pull request #799 from mr-manuel/dev
mr-manuel Sep 5, 2023
b1880f5
Support for Daly CAN Bus (#169)
SamuelBrucksch Sep 17, 2023
7c5f1c7
JKBMS BLE - Introduction of automatic SOC reset (HW Version 11) (#736)
ArendsM Sep 17, 2023
d4aef1c
Added: Daly CAN and JKBMS CAN
mr-manuel Sep 17, 2023
a84a29b
added CAN bms to installation script
mr-manuel Sep 17, 2023
88274bf
Merge pull request #806 from mr-manuel/dev
mr-manuel Sep 17, 2023
7be087f
smaller fixes
mr-manuel Sep 19, 2023
81c20ff
Merge branch 'Louisvdw:dev' into dev
mr-manuel Sep 19, 2023
4c2b89c
Merge pull request #810 from mr-manuel/dev
mr-manuel Sep 19, 2023
b4a2548
Trigger JK BLE SOC reset when using Step Mode
ArendsM Sep 20, 2023
1d2a6c8
Moved trigger_soc_reset()
mr-manuel Sep 21, 2023
fea0eff
Merge pull request #813 from ArendsM/dev
mr-manuel Sep 21, 2023
17e84e2
fixes LLT/JBD SOC > 100%
mr-manuel Sep 21, 2023
60bdde9
Merge pull request #821 from mr-manuel/dev
mr-manuel Sep 25, 2023
36ff1b0
changed VOLTAGE_DROP behaviour
mr-manuel Sep 27, 2023
d37721c
Fix JKBMS not starting if BMS manuf. date is empty
mr-manuel Sep 27, 2023
3907fb2
corrected bulk, absorption and soc reset terms
mr-manuel Sep 27, 2023
64ef409
fix typo
mr-manuel Sep 27, 2023
dbdefc7
add JKBMS_BLE debugging data
mr-manuel Sep 27, 2023
dd61ed0
fix small error
mr-manuel Sep 27, 2023
f603dfb
Merge pull request #833 from mr-manuel/dev
mr-manuel Oct 6, 2023
8d8e793
added logging to config
mr-manuel Oct 9, 2023
fbd6094
add sleep before starting driver
mr-manuel Oct 9, 2023
0b7405a
Merge branch 'dev' of https://github.com/mr-manuel/venus-os_dbus-seri…
mr-manuel Oct 9, 2023
71c3efe
Merge pull request #835 from mr-manuel/dev
mr-manuel Oct 9, 2023
0671ae0
changed post install info
mr-manuel Oct 9, 2023
d0b1f25
fix error
mr-manuel Oct 9, 2023
7cb6fae
Merge pull request #838 from mr-manuel/dev
mr-manuel Oct 9, 2023
7c824db
Daly BMS fixed embedded null byte
mr-manuel Oct 10, 2023
0b35fbf
Merge pull request #839 from mr-manuel/dev
mr-manuel Oct 10, 2023
631dfc9
added info for SoC reset to default config file
mr-manuel Oct 24, 2023
7c38c44
fix for #716
mr-manuel Nov 2, 2023
770781a
fix for #716 and JKBMS model recognition
mr-manuel Nov 2, 2023
f892231
optimized logging
mr-manuel Nov 2, 2023
a6d45e6
Merge pull request #848 from mr-manuel/dev
mr-manuel Nov 2, 2023
fb9b213
fix JKBMS recognition
mr-manuel Nov 3, 2023
a12a27c
added debugging
mr-manuel Nov 3, 2023
a3fe5eb
Merge pull request #851 from mr-manuel/dev
mr-manuel Nov 3, 2023
04c7456
fixes #716
mr-manuel Nov 17, 2023
9b476a2
Merge pull request #865 from mr-manuel/dev
mr-manuel Nov 17, 2023
28a5174
Merge pull request #873 from Louisvdw/master
mr-manuel Nov 25, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 61 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,67 @@
# Changelog

## v1.0.0
## Breaking changes

### ATTENTION: Breaking changes! The config is now done in the `config.ini`. All values from the `utils.py` gets lost. The changes in the `config.ini` will persists future updates.
* Driver version greater or equal to `v1.0.20230629beta` and smaller or equal to `v1.0.20230926beta`:

With `v1.0.20230927beta` the following values changed names:
* `BULK_CELL_VOLTAGE` -> `SOC_RESET_VOLTAGE`
* `BULK_AFTER_DAYS` -> `SOC_RESET_AFTER_DAYS`

## v1.0.x

* Added: Bluetooth: Show signal strength of BMS in log by @mr-manuel
* Added: Configure logging level in `config.ini` by @mr-manuel
* Added: Create unique identifier, if not provided from BMS by @mr-manuel
* Added: Current average of the last 5 minutes by @mr-manuel
* Added: Daly BMS - Auto reset SoC when changing to float (can be turned off in the config file) by @transistorgit
* Added: Daly BMS connect via CAN (experimental, some limits apply) with https://github.com/Louisvdw/dbus-serialbattery/pull/169 by @SamuelBrucksch and @mr-manuel
* Added: Exclude a device from beeing used by the dbus-serialbattery driver by @mr-manuel
* Added: Implement callback function for update by @seidler2547
* Added: JKBMS BLE - Automatic SOC reset with https://github.com/Louisvdw/dbus-serialbattery/pull/736 by @ArendsM
* Added: JKBMS BLE - Show last five characters from the MAC address in the custom name (which is displayed in the device list) by @mr-manuel
* Added: JKBMS BMS connect via CAN (experimental, some limits apply) by @IrisCrimson and @mr-manuel
* Added: LLT/JBD BMS - Discharge / Charge Mosfet and disable / enable balancer switching over remote console/GUI with https://github.com/Louisvdw/dbus-serialbattery/pull/761 by @idstein
* Added: LLT/JBD BMS - Show balancer state in GUI under the IO page with https://github.com/Louisvdw/dbus-serialbattery/pull/763 by @idstein
* Added: Load to SOC reset voltage every x days to reset the SoC to 100% for some BMS by @mr-manuel
* Added: Save custom name and make it restart persistant by @mr-manuel
* Added: Temperature names to dbus and mqtt by @mr-manuel
* Added: Use current average of the last 300 cycles for time to go and time to SoC calculation by @mr-manuel
* Added: Validate current, voltage, capacity and SoC for all BMS. This prevents that a device, which is no BMS, is detected as BMS. Fixes also https://github.com/Louisvdw/dbus-serialbattery/issues/479 by @mr-manuel
* Changed: `VOLTAGE_DROP` now behaves differently. Before it reduced the voltage for the check, now the voltage for the charger is increased in order to get the target voltage on the BMS by @mr-manuel
* Changed: Daly BMS - Fix readsentence by @transistorgit
* Changed: Daly BMS - Fixed https://github.com/Louisvdw/dbus-serialbattery/issues/837 by @mr-manuel
* Changed: Enable BMS that are disabled by default by specifying it in the config file. No more need to edit scripts by @mr-manuel
* Changed: Fixed Building wheel for dbus-fast won't finish on weak systems https://github.com/Louisvdw/dbus-serialbattery/issues/785 by @mr-manuel
* Changed: Fixed error in `reinstall-local.sh` script for Bluetooth installation by @mr-manuel
* Changed: Fixed meaningless Time to Go values by @transistorgit
* Changed: Fixed typo in `config.ini` sample by @hoschult
* Changed: For BMS_TYPE now multiple BMS can be specified by @mr-manuel
* Changed: Improved battery error handling on connection loss by @mr-manuel
* Changed: Improved battery voltage handling in linear absorption mode by @ogurevich
* Changed: Improved driver disable script by @md-manuel
* Changed: Improved driver reinstall when multiple Bluetooth BMS are enabled by @mr-manuel
* Changed: JKBMS - Driver do not start if manufacturer date in BMS is empty https://github.com/Louisvdw/dbus-serialbattery/issues/823 by @mr-manuel
* Changed: JKBMS_BLE BMS - Fixed MOSFET Temperature for HW 11 by @jensbehrens & @mr-manuel
* Changed: JKBMS_BLE BMS - Fixed recognition of newer models where no data is shown by @mr-manuel
* Changed: JKBMS_BLE BMS - Improved driver by @seidler2547 & @mr-manuel
* Changed: LLT/JBD BMS - Fix cycle capacity with https://github.com/Louisvdw/dbus-serialbattery/pull/762 by @idstein
* Changed: LLT/JBD BMS - Fixed https://github.com/Louisvdw/dbus-serialbattery/issues/730 by @mr-manuel
* Changed: LLT/JBD BMS - Fixed https://github.com/Louisvdw/dbus-serialbattery/issues/769 by @mr-manuel
* Changed: LLT/JBD BMS - Fixed https://github.com/Louisvdw/dbus-serialbattery/issues/778 with https://github.com/Louisvdw/dbus-serialbattery/pull/798 by @idstein
* Changed: LLT/JBD BMS - Improved error handling and automatical driver restart in case of error. Fixed https://github.com/Louisvdw/dbus-serialbattery/issues/777 by @mr-manuel
* Changed: LLT/JBD BMS - SOC different in Xiaoxiang app and dbus-serialbattery with https://github.com/Louisvdw/dbus-serialbattery/pull/760 by @idstein
* Changed: Make CCL and DCL limiting messages more clear by @mr-manuel
* Changed: Reduce the big inrush current if the CVL jumps from Bulk/Absorbtion to Float https://github.com/Louisvdw/dbus-serialbattery/issues/659 by @Rikkert-RS & @ogurevich
* Changed: Sinowealth BMS - Fix not loading https://github.com/Louisvdw/dbus-serialbattery/issues/702 by @mr-manuel
* Changed: Time-to-Go and Time-to-SoC use the current average of the last 5 minutes for calculation by @mr-manuel
* Changed: Time-to-SoC calculate only positive points by @mr-manuel
* Removed: Cronjob to restart Bluetooth service every 12 hours by @mr-manuel


## v1.0.20230531

### ATTENTION: Breaking changes! The config is now done in the `config.ini`. All values from the `utils.py` get lost. The changes in the `config.ini` will persists future updates.

* Added: `self.unique_identifier` to the battery class. Used to identify a BMS when multiple BMS are connected - planned for future use by @mr-manuel
* Added: Alert is triggered, when BMS communication is lost by @mr-manuel
Expand Down
Loading