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

Update master branch #993

Merged
merged 273 commits into from
Feb 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
273 commits
Select commit Hold shift + click to select a range
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
1383b29
Some changes for lost bluetooth connection / hci_uart stack restart
Marvo2011 Oct 3, 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
74f8dc3
Bind device instance to unique_identifier
mr-manuel Nov 26, 2023
762a7f9
added data types to battery class
mr-manuel Nov 26, 2023
5f8224d
save current charge state
mr-manuel Nov 26, 2023
e47a7d0
correct file permissions
mr-manuel Nov 26, 2023
5f5cb6d
updated changelog
mr-manuel Nov 26, 2023
da73f05
Merge pull request #876 from mr-manuel/dev
mr-manuel Nov 26, 2023
35fe921
added periodic saveChargeDetails
mr-manuel Nov 27, 2023
c548092
fix some small errors
mr-manuel Nov 28, 2023
0e6dbd8
fix issue with ruuvi tags
mr-manuel Nov 28, 2023
c6d5bb6
Merge pull request #880 from mr-manuel/dev
mr-manuel Nov 28, 2023
9f79cee
CVL with i-controller instead of penaltysum
cflenker Nov 24, 2023
1c7bd7c
cvl_controller: switch to choose PenaltySum or ICOntroller + document…
cflenker Nov 25, 2023
58964ab
docu enhancement
cflenker Nov 30, 2023
b627212
Merge branch 'Louisvdw:dev' into dev
Marvo2011 Dec 13, 2023
2540753
Add setting and install logic for usb bluetooth module
Marvo2011 Dec 13, 2023
4dd0e03
Merge pull request #882 from cflenker/cflenker/cvl_icontroller
mr-manuel Dec 17, 2023
0e97d9c
round temperatures
mr-manuel Dec 17, 2023
efc0868
changed battery disconnect behaviour
mr-manuel Dec 17, 2023
b393c58
Merge branch 'Louisvdw:dev' into dev
mr-manuel Dec 17, 2023
8813763
Fixes #891
mr-manuel Dec 17, 2023
10bd19e
updated changelog
mr-manuel Dec 17, 2023
f557815
Add bluetooth device note to config.default.ini
Marvo2011 Dec 17, 2023
27276d5
Fix typo in bluetooth note in config.default.ini
Marvo2011 Dec 17, 2023
3767a95
Merge pull request #890 from Marvo2011/usb-ble-dev
mr-manuel Dec 17, 2023
6093426
Merge pull request #893 from mr-manuel/dev
mr-manuel Dec 17, 2023
f52f21f
fixed error in new cvl_controller
mr-manuel Dec 18, 2023
9e6d1d0
fixed float division by zero and code optimization
mr-manuel Dec 18, 2023
15aa22e
Restart MAX_VOLTAGE_TIME_SEC if cell diff > CELL_VOLTAGE_DIFF_KEEP_MA…
cflenker Dec 18, 2023
06dff6d
Merge pull request #895 from cflenker/chfl/float_transition
mr-manuel Dec 23, 2023
1500b1b
Calculation of the SOC based on coloumb-counting (#868)
cflenker Dec 23, 2023
f67f363
Merge pull request #830 from Marvo2011/dev
mr-manuel Dec 23, 2023
6a5ed30
Merge branch 'dev' into dev
mr-manuel Dec 23, 2023
4f4f1c5
Merge pull request #896 from mr-manuel/dev
mr-manuel Dec 23, 2023
736958a
Updated changelog, small fixes
mr-manuel Dec 23, 2023
ddf0466
Changed: PUBLISH_CONFIG_VALUES from 0/1 to True/False
mr-manuel Dec 23, 2023
9635344
Changed: Code optimizations
mr-manuel Dec 23, 2023
5327136
Calculated SOC: Added two decimals, added BMS SOC for MQTT & Node-RED
mr-manuel Dec 23, 2023
761a99e
Updated changelog, small fixes
mr-manuel Dec 23, 2023
68ee01d
Changed: PUBLISH_CONFIG_VALUES from 0/1 to True/False
mr-manuel Dec 23, 2023
2f8a98d
Changed: Code optimizations
mr-manuel Dec 23, 2023
354e1c0
Calculated SOC: Added two decimals, added BMS SOC for MQTT & Node-RED
mr-manuel Dec 23, 2023
374537a
Merge branch 'Louisvdw:dev' into dev
mr-manuel Dec 23, 2023
8f1f16d
Fix #898
mr-manuel Dec 24, 2023
9779b2e
Merge pull request #899 from mr-manuel/dev
mr-manuel Dec 24, 2023
c80d8c5
Changed: Fix issue loading settings from dbus
mr-manuel Jan 6, 2024
6da7dad
Added nightly install option
mr-manuel Jan 12, 2024
6222121
Changed: more detailed error output when an exception happens
mr-manuel Jan 12, 2024
da0f524
Possible fix for #912
mr-manuel Jan 12, 2024
976ef06
Merge pull request #918 from mr-manuel/dev
mr-manuel Jan 12, 2024
ea69264
Fixes #919
mr-manuel Jan 12, 2024
15193be
Merge branch 'dev' of https://github.com/mr-manuel/venus-os_dbus-seri…
mr-manuel Jan 12, 2024
fdf305c
Changed: Exit script with error, if port excluded
mr-manuel Jan 21, 2024
3604f17
Fixed some smaller errors
mr-manuel Jan 21, 2024
555ff13
Updated pre-release workflow
mr-manuel Jan 21, 2024
7946a5c
Fix JK BMS connection restart when bluetooth fails.
cupertinomiranda Jan 27, 2024
3c2401a
Merge pull request #941 from cupertinomiranda/jkbms_restart_connection
mr-manuel Jan 28, 2024
2da6bae
Fixes #916
mr-manuel Jan 28, 2024
fe52db6
Merge branch 'dev' into dev
mr-manuel Jan 28, 2024
5e025e6
Merge pull request #942 from mr-manuel/dev
mr-manuel Jan 28, 2024
d9c00a3
Added Venus OS version to logfile
mr-manuel Jan 28, 2024
5bf555d
Fix #840
mr-manuel Feb 11, 2024
f27bea3
Small code formatting fixes
mr-manuel Feb 11, 2024
38dd5e7
Optimized reinstall script. Restart GUI only on changes.
mr-manuel Feb 11, 2024
a1a4096
Display debugging data in GUI when DEBUG enabled
mr-manuel Feb 11, 2024
5afae97
Install script now shows repositories and version numbers
mr-manuel Feb 11, 2024
d140459
Update daly_can.py
p0l0us Feb 9, 2024
97a7bb9
Update jkbms_can.py
p0l0us Feb 9, 2024
efd9150
Fix black lint check
mr-manuel Feb 11, 2024
babbd0d
Fixes #970
mr-manuel Feb 12, 2024
6218fd2
Fixed some errors in restoring values from dbus settings
mr-manuel Feb 15, 2024
7a17806
Moved sleep on start for all BMS
mr-manuel Feb 15, 2024
4fe25b1
Update config description
mr-manuel Feb 15, 2024
48bfce7
Reworked a part of the default config
mr-manuel Feb 15, 2024
89ad52d
fix typo in stopping services when reinstalling
mr-manuel Feb 17, 2024
4fa0939
Fix Time-to-SoC and Time-to-Go calculation
mr-manuel Feb 17, 2024
ea912bc
Add changelog info
mr-manuel Feb 17, 2024
02728ee
Round sum and diff voltage
mr-manuel Feb 19, 2024
be80e36
Temperature limitation variables where changed
mr-manuel Feb 19, 2024
9b96f4f
SoC limitation variables where changed
mr-manuel Feb 19, 2024
fe027ab
Added error messages
mr-manuel Feb 19, 2024
93f12f4
Remove unneeded code
mr-manuel Feb 19, 2024
cdc9b98
Reset SoC to 0% if empty
mr-manuel Feb 19, 2024
ade348d
Add GUIv2 for dbus-serialbattery
mr-manuel Feb 20, 2024
1bac6d3
Check free space before installing
mr-manuel Feb 20, 2024
58e0720
Added new GUIv2 version
mr-manuel Feb 22, 2024
c53ce94
Removed Python 2 compatibility
mr-manuel Feb 22, 2024
da23ab8
Changelog update
mr-manuel Feb 23, 2024
49459d2
Code cleanup
mr-manuel Feb 23, 2024
c956217
Bluetooth code optimizations
mr-manuel Feb 23, 2024
3a72ad8
Fixed some JKBMS BLE not starting
mr-manuel Feb 23, 2024
90c617f
Check if packages are already installed before install
mr-manuel Feb 23, 2024
5883974
Fixed some SOC calculation errors
mr-manuel Feb 24, 2024
0c82d3e
Fixed None SOC on driver start
mr-manuel Feb 25, 2024
47ba13f
Do not show and allow button change when callback is missing for:
mr-manuel Feb 26, 2024
38f66f0
Check if a device instance is already used by creating a PID file
mr-manuel Feb 27, 2024
759e370
Log and execute SOC reset to 100% or 0% only once
mr-manuel Feb 27, 2024
5b53406
Update GitHub workflow and issue templates
mr-manuel Feb 27, 2024
ee23d5b
Fixed LLT/JBD BMS with only on temperature sensor #791
mr-manuel Feb 27, 2024
d86ee0b
Fix warning on reinstall
mr-manuel Feb 27, 2024
47cd9fc
Fix missing IO control for JBDBMS #992
mr-manuel Feb 28, 2024
525d241
Prepare for removing dev branch
mr-manuel Feb 28, 2024
f059302
Merge remote-tracking branch 'origin/dev'
mr-manuel Feb 28, 2024
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
20 changes: 10 additions & 10 deletions .flake8
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[flake8]
max-line-length = 120
per-file-ignores =
./etc/dbus-serialbattery/utils.py: E501
./etc/dbus-serialbattery/utils.py: E501
exclude =
./etc/dbus-serialbattery/bms/battery_template.py,
./etc/dbus-serialbattery/bms/mnb_test_max17853.py,
./etc/dbus-serialbattery/bms/mnb_utils_max17853.py,
./etc/dbus-serialbattery/bms/revov.py,
./etc/dbus-serialbattery/minimalmodbus.py,
./velib_python
venv
./etc/dbus-serialbattery/bms/battery_template.py,
./etc/dbus-serialbattery/bms/mnb_test_max17853.py,
./etc/dbus-serialbattery/bms/mnb_utils_max17853.py,
./etc/dbus-serialbattery/bms/revov.py,
./etc/dbus-serialbattery/minimalmodbus.py,
./velib_python
venv
extend-ignore:
# E203 whitespace before ':' conflicts with black code formatting. Will be ignored in flake8
E203
# E203 whitespace before ':' conflicts with black code formatting. Will be ignored in flake8
E203
2 changes: 1 addition & 1 deletion .github/workflows/release-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
# v1.0.0alpha20230507
# v1.0.0-beta20230507
# v1.0.0-development-20230507
- "v*.*.[0-9]+-?[a-zA-Z]*"
- "v[0-9]+.[0-9]+.[0-9]+-?[a-zA-Z]*"

jobs:
build:
Expand Down
123 changes: 109 additions & 14 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,100 @@
# Changelog

## Notes

* The Bluetooth and CAN connections are still not stable on some systems. If you want to have a stable connection use the serial connection.

## Breaking changes

* Driver version greater or equal to `v1.2.20240219beta`

* 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`


* Driver version greater or equal to `v1.1.20231223beta`

* `PUBLISH_CONFIG_VALUES` now has to be True or False


* Driver version greater or equal to `v1.0.20231128beta`

* The custom name is not saved to the config file anymore, but to the dbus service com.victronenergy.settings. You have to re-enter it once.

* If you selected a specific device in `Settings -> System setup -> Battery monitor` and/or `Settings -> DVCC -> Controlling BMS` you have to reselect it.


* 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

## v1.2.x

* Added: Check if the device instance is already used by @mr-manuel
* Added: Check if there is enough space on system and data partitions before installation by @mr-manuel
* Added: LLT/JBD BLE BMS - Added MAC address as unique identifier. Fixed https://github.com/Louisvdw/dbus-serialbattery/issues/970 by @mr-manuel
* Added: Reset calculated SoC to 0%, if battery is empty by @mr-manuel
* Added: Venus OS version to logfile by @mr-manuel
* Changed: Config: SoC limitation variables where changed to match other setting variables by @mr-manuel
* Changed: Config: Temperature limitation variables where changed to match other setting variables by @mr-manuel
* Changed: Fixed showing None SoC in log in driver start by @mr-manuel
* Changed: Fixed some other errors when restoring values from dbus settings by @mr-manuel
* Changed: Fixed some SOC calculation issues by @mr-manuel
* Changed: Fixed Time-to-SoC and Time-to-Go calculation by @mr-manuel
* Changed: Install script now shows repositories and version numbers by @mr-manuel
* Changed: JKBMS BLE - Fixed driver gets unresponsive, if connection is lost https://github.com/Louisvdw/dbus-serialbattery/issues/720 with https://github.com/Louisvdw/dbus-serialbattery/pull/941 by @cupertinomiranda
* Changed: JKBMS BLE - Fixed driver not starting for some BMS models that are not sending BLE data correctly https://github.com/Louisvdw/dbus-serialbattery/issues/819 by @mr-manuel
* Changed: JKBMS BLE - Fixed temperature issue https://github.com/Louisvdw/dbus-serialbattery/issues/916 by @mr-manuel
* Changed: LLT/JBD BMS & BLE - If only one temperature is available use it as battery temp. Fixed https://github.com/Louisvdw/dbus-serialbattery/issues/971 by @mr-manuel
* Changed: Optimized reinstall-local.sh. Show installed version and restart GUI only on changes by @mr-manuel
* Changed: Reinstallation of the driver now checks, if packages are already installed for Bluetooth and CAN by @mr-manuel
* Changed: Show ForceChargingOff, ForceDischargingOff and TurnBalancingOff only for BMS that support it by @mr-manuel
* Changed: SocResetLastReached not read from dbus settings. Fixed https://github.com/Louisvdw/dbus-serialbattery/issues/840 by @mr-manuel
* Removed: Python 2 compatibility by @mr-manuel


## v1.1.20240121

* Changed: Exit the driver with error, when port is excluded in config, else the serialstarter does not continue by @mr-manuel
* Changed: Fixed issue on first driver startup, when no device setting in dbus exists by @mr-manuel
* Changed: Fixed some smaller errors by @mr-manuel
* Changed: More detailed error output when an exception happens by @mr-manuel

### Known issues for v1.1.20240121

* 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.


## v1.0.20240102beta

* Added: Bluetooth: Show signal strength of BMS in log by @mr-manuel
* Added: Configure logging level in `config.ini` by @mr-manuel
Expand All @@ -24,13 +110,20 @@
* 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: Possibility to count and calculate the SOC based on reference values with https://github.com/Louisvdw/dbus-serialbattery/pull/868 by @cflenker
* Added: Save current charge state for driver restart or device reboot. Fixes https://github.com/Louisvdw/dbus-serialbattery/issues/840 by @mr-manuel
* Added: Save custom name and make it restart persistant by @mr-manuel
* Added: Setting and install logic for usb bluetooth module by @Marvo2011
* Added: Temperature names to dbus and mqtt by @mr-manuel
* Added: The device instance does not change anymore when you plug the BMS into another USB port. Fixed https://github.com/Louisvdw/dbus-serialbattery/issues/718 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: `PUBLISH_CONFIG_VALUES` now has to be True or False 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: Battery disconnect behaviour. See `BLOCK_ON_DISCONNECT` option in the `config.default.ini` file by @mr-manuel
* Changed: Condition for the CVL transition to float with https://github.com/Louisvdw/dbus-serialbattery/pull/895 by @cflenker
* Changed: Daly BMS - Fixed https://github.com/Louisvdw/dbus-serialbattery/issues/837 by @mr-manuel
* Changed: Daly BMS - Fixed readsentence by @transistorgit
* 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
Expand All @@ -42,18 +135,20 @@
* 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: JKBMS BLE - Fixed MOSFET Temperature for HW 11 by @jensbehrens & @mr-manuel
* Changed: JKBMS BLE - Fixed recognition of newer models where no data is shown by @mr-manuel
* Changed: JKBMS BLE - Improved driver by @seidler2547 & @mr-manuel
* Changed: LLT/JBD BLE BMS recover from lost BLE connection with https://github.com/Louisvdw/dbus-serialbattery/pull/830 by @Marvo2011
* Changed: LLT/JBD BMS - Fixed 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: Optimized CVL calculation on high cell voltage for smoother charging with https://github.com/Louisvdw/dbus-serialbattery/pull/882 by @cflenker
* 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: Sinowealth BMS - Fixed 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
Expand Down Expand Up @@ -139,16 +234,16 @@
* Changed: Disabled ANT BMS by default https://github.com/Louisvdw/dbus-serialbattery/issues/479 by @mr-manuel
* Changed: Driver can now also start without serial adapter attached for Bluetooth BMS by @seidler2547
* Changed: Feedback from BMS driver to know, if BMS is found or not by @mr-manuel
* Changed: Fix for https://github.com/Louisvdw/dbus-serialbattery/issues/239 by @mr-manuel
* Changed: Fix for https://github.com/Louisvdw/dbus-serialbattery/issues/311 by @mr-manuel
* Changed: Fix for https://github.com/Louisvdw/dbus-serialbattery/issues/351 by @mr-manuel
* Changed: Fix for https://github.com/Louisvdw/dbus-serialbattery/issues/397 by @transistorgit
* Changed: Fix for https://github.com/Louisvdw/dbus-serialbattery/issues/421 by @mr-manuel
* Changed: Fix for https://github.com/Louisvdw/dbus-serialbattery/issues/450 by @mr-manuel
* Changed: Fix for https://github.com/Louisvdw/dbus-serialbattery/issues/648 by @mr-manuel
* Changed: Fixed black lint errors by @mr-manuel
* Changed: Fixed cell balancing background for cells 17-24 by @mr-manuel
* Changed: Fixed cell balancing display for JBD/LLT BMS https://github.com/Louisvdw/dbus-serialbattery/issues/359 by @mr-manuel
* Changed: Fixed https://github.com/Louisvdw/dbus-serialbattery/issues/239 by @mr-manuel
* Changed: Fixed https://github.com/Louisvdw/dbus-serialbattery/issues/311 by @mr-manuel
* Changed: Fixed https://github.com/Louisvdw/dbus-serialbattery/issues/351 by @mr-manuel
* Changed: Fixed https://github.com/Louisvdw/dbus-serialbattery/issues/397 by @transistorgit
* Changed: Fixed https://github.com/Louisvdw/dbus-serialbattery/issues/421 by @mr-manuel
* Changed: Fixed https://github.com/Louisvdw/dbus-serialbattery/issues/450 by @mr-manuel
* Changed: Fixed https://github.com/Louisvdw/dbus-serialbattery/issues/648 by @mr-manuel
* Changed: Fixed Time-To-Go is not working, if `TIME_TO_SOC_VALUE_TYPE` is set to other than `1` https://github.com/Louisvdw/dbus-serialbattery/pull/424#issuecomment-1440511018 by @mr-manuel
* Changed: Improved install workflow via USB flash drive by @mr-manuel
* Changed: Improved JBD BMS soc calculation https://github.com/Louisvdw/dbus-serialbattery/pull/439 by @aaronreek
Expand Down
Loading