Louisvdw / dbus-serialbattery

Battery Monitor driver for serial battery in VenusOS GX systems
MIT License
521 stars 164 forks source link

Discharging and Charging limits are ignored #1114

Closed Enrico126 closed 2 weeks ago

Enrico126 commented 3 weeks ago

Describe the problem

Hello,

I have the problem that the set values for max. discharging and charging are not being respected. The system charges with full power and after a certain time the BMS disconnects (The limit in the BMS is set to 125 amps, which should not actually be reached): image

DVCC: image

BMS Params: image

VRM View: image

Driver version

v1.4.20240806dev

Venus OS device type

Cerbo GX

Venus OS version

v3.41

BMS type

Daly Smart BMS

Cell count

22

Battery count

1

Connection type

Serial USB adapter to RS485

Config file

[DEFAULT]
LOGGING = INFO

; If you want to add custom values/settings, then check the values/settings you want to change in "config.default.ini"
; and insert them below to persist future driver updates.

; Example (remove the semicolon ";" to uncomment and activate the value/setting):

MAX_BATTERY_CHARGE_CURRENT = 55.0
MAX_BATTERY_DISCHARGE_CURRENT = 55.0

MIN_CELL_VOLTAGE   = 2.00
MAX_CELL_VOLTAGE   = 2.50
FLOAT_CELL_VOLTAGE = 2.50
CCCM_CV_ENABLE = True
DCCM_CV_ENABLE = True
CELL_VOLTAGES_WHILE_CHARGING      = 2.52, 2.48, 2.45, 2.44
MAX_CHARGE_CURRENT_CV_FRACTION    =    0, 0.05,  0.5,    1
CELL_VOLTAGES_WHILE_DISCHARGING   = 1.98, 2.00, 2.14, 2.20
MAX_DISCHARGE_CURRENT_CV_FRACTION =    0,  0.1,  0.5,    1
BMS_TYPE = Daly
SOC_LOW_WARNING = 10
SOC_LOW_ALARM   = 3
BATTERY_CAPACITY = 160
INVERT_CURRENT_MEASUREMENT = -1
SOC_RESET_VOLTAGE = 2.52
SOC_RESET_AFTER_DAYS = 4
GUI_PARAMETERS_SHOW_ADDITIONAL_INFO = True
CCCM_T_ENABLE = False
DCCM_T_ENABLE = False

Relevant log output

2024-08-21 10:40:33.803458500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:40:33.805493500 ERROR:SerialBattery:Non blocking exception occurred: TypeError('unsupported format string passed to NoneType.__format__') of type <class 'TypeError'> in /opt/victronenergy/dbus-serialbattery/battery.py line #810
2024-08-21 10:40:34.008180500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:40:34.099050500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:40:34.813349500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:40:34.815329500 ERROR:SerialBattery:Non blocking exception occurred: TypeError('unsupported format string passed to NoneType.__format__') of type <class 'TypeError'> in /opt/victronenergy/dbus-serialbattery/battery.py line #810
2024-08-21 10:40:35.008276500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:40:35.095135500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:40:35.783316500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:40:35.785241500 ERROR:SerialBattery:Non blocking exception occurred: TypeError('unsupported format string passed to NoneType.__format__') of type <class 'TypeError'> in /opt/victronenergy/dbus-serialbattery/battery.py line #810
2024-08-21 10:40:36.008303500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:40:36.094894500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:40:36.817243500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:40:36.819235500 ERROR:SerialBattery:Non blocking exception occurred: TypeError('unsupported format string passed to NoneType.__format__') of type <class 'TypeError'> in /opt/victronenergy/dbus-serialbattery/battery.py line #810
2024-08-21 10:40:37.041114500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:40:37.128904500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:40:37.823341500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:40:37.825546500 ERROR:SerialBattery:Non blocking exception occurred: TypeError('unsupported format string passed to NoneType.__format__') of type <class 'TypeError'> in /opt/victronenergy/dbus-serialbattery/battery.py line #810
2024-08-21 10:40:38.041123500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:40:38.138949500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:40:38.908574500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:40:38.912326500 ERROR:SerialBattery:Non blocking exception occurred: TypeError('unsupported format string passed to NoneType.__format__') of type <class 'TypeError'> in /opt/victronenergy/dbus-serialbattery/battery.py line #810
2024-08-21 10:40:39.069208500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:40:39.157967500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:40:39.882388500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:40:39.884346500 ERROR:SerialBattery:Non blocking exception occurred: TypeError('unsupported format string passed to NoneType.__format__') of type <class 'TypeError'> in /opt/victronenergy/dbus-serialbattery/battery.py line #810
2024-08-21 10:40:40.068376500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:40:40.157928500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:40:40.932464500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:40:40.934970500 ERROR:SerialBattery:Non blocking exception occurred: TypeError('unsupported format string passed to NoneType.__format__') of type <class 'TypeError'> in /opt/victronenergy/dbus-serialbattery/battery.py line #810
2024-08-21 10:41:07.075747500 INFO:SerialBattery:
2024-08-21 10:41:07.076583500 INFO:SerialBattery:Starting dbus-serialbattery
2024-08-21 10:41:07.079602500 INFO:SerialBattery:Venus OS v3.41
2024-08-21 10:41:07.079610500 INFO:SerialBattery:dbus-serialbattery v1.4.20240806dev
2024-08-21 10:41:23.093462500 INFO:SerialBattery:-- Testing BMS: 1 of 3 rounds
2024-08-21 10:41:23.094339500 INFO:SerialBattery:Testing Daly at address "\x40"
2024-08-21 10:41:23.295146500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:41:23.387855500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:41:23.391343500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-08-21 10:41:23.392261500 INFO:SerialBattery:Testing Daly at address "\x80"
2024-08-21 10:41:23.587852500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:41:23.677863500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:41:23.681285500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-08-21 10:41:24.182939500 INFO:SerialBattery:-- Testing BMS: 2 of 3 rounds
2024-08-21 10:41:24.183804500 INFO:SerialBattery:Testing Daly at address "\x40"
2024-08-21 10:41:24.377902500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:41:24.464874500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:41:24.468045500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-08-21 10:41:24.468943500 INFO:SerialBattery:Testing Daly at address "\x80"
2024-08-21 10:41:24.638958500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:41:24.726677500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:41:24.731467500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-08-21 10:41:25.233128500 INFO:SerialBattery:-- Testing BMS: 3 of 3 rounds
2024-08-21 10:41:25.233994500 INFO:SerialBattery:Testing Daly at address "\x40"
2024-08-21 10:41:25.447908500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:41:25.535248500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:41:25.548464500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-08-21 10:41:25.550319500 INFO:SerialBattery:Testing Daly at address "\x80"
2024-08-21 10:41:25.747899500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:41:25.834869500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:41:25.838296500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-08-21 10:41:26.339917500 ERROR:SerialBattery:ERROR >>> No battery connection at /dev/ttyUSB0
2024-08-21 10:41:50.337691500 INFO:SerialBattery:
2024-08-21 10:41:50.340515500 INFO:SerialBattery:Starting dbus-serialbattery
2024-08-21 10:41:50.341005500 INFO:SerialBattery:Venus OS v3.41
2024-08-21 10:41:50.343097500 INFO:SerialBattery:dbus-serialbattery v1.4.20240806dev
2024-08-21 10:42:06.358721500 INFO:SerialBattery:-- Testing BMS: 1 of 3 rounds
2024-08-21 10:42:06.359620500 INFO:SerialBattery:Testing Daly at address "\x40"
2024-08-21 10:42:06.941498500 INFO:SerialBattery:Connection established to Daly
2024-08-21 10:42:09.802600500 INFO:SerialBattery:Found existing battery with DeviceInstance = 3
2024-08-21 10:42:10.076896500 INFO:SerialBattery:DeviceInstance = 3
2024-08-21 10:42:10.078605500 INFO:SerialBattery:PID file created successfully: /var/tmp/dbus-serialbattery_3.pid
2024-08-21 10:42:10.079345500 INFO:SerialBattery:Used DeviceInstances = ['3']
2024-08-21 10:42:10.080139500 INFO:SerialBattery:com.victronenergy.battery.ttyUSB0__0
2024-08-21 10:42:10.143872500 INFO:SerialBattery:publish config values = False
2024-08-21 10:42:10.150724500 INFO:SerialBattery:Polling data every 1.000 s
2024-08-21 10:42:10.153097500 INFO:SerialBattery:Battery Daly connected to dbus from /dev/ttyUSB0
2024-08-21 10:42:10.168831500 INFO:SerialBattery:========== Settings ==========
2024-08-21 10:42:10.171027500 INFO:SerialBattery:> Connection voltage: 49.3 V | Current: -0.71 A | SoC: 25.6%
2024-08-21 10:42:10.171962500 INFO:SerialBattery:> Cell count: 22 | Cells populated: 0
2024-08-21 10:42:10.172897500 INFO:SerialBattery:> LINEAR LIMITATION ENABLE: True
2024-08-21 10:42:10.173908500 INFO:SerialBattery:> MIN CELL VOLTAGE: 2.000 V | MAX CELL VOLTAGE: 2.500 V| FLOAT CELL VOLTAGE: 2.500 V
2024-08-21 10:42:10.174816500 INFO:SerialBattery:> MAX BATTERY CHARGE CURRENT: 55.0 A | MAX BATTERY DISCHARGE CURRENT: 55.0 A
2024-08-21 10:42:10.175631500 INFO:SerialBattery:> CVCM:     True
2024-08-21 10:42:10.176416500 INFO:SerialBattery:> CCCM CV:  True  | DCCM CV:  True
2024-08-21 10:42:10.177237500 INFO:SerialBattery:> CCCM T:   False | DCCM T:   False
2024-08-21 10:42:10.178111500 INFO:SerialBattery:> CCCM SOC: False | DCCM SOC: False
2024-08-21 10:42:10.179020500 INFO:SerialBattery:> CHARGE FET: None | DISCHARGE FET: None | BALANCE FET: None
2024-08-21 10:42:10.179879500 INFO:SerialBattery:Serial Number/Unique Identifier: 20220422_160
2024-08-21 10:42:13.936677500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:42:23.082585500 WARNING:SerialBattery:Polling took too long. Set to 2.000 s
2024-08-21 10:42:55.043242500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:43:05.072224500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:43:26.121451500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:43:31.377961500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:43:31.477865500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:43:32.206978500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:43:32.448149500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:43:32.535295500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:43:33.277615500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:43:33.458191500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:43:33.544995500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:43:34.282296500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:43:34.458330500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:43:34.545330500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:43:35.325913500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:43:35.598850500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:43:35.688395500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:43:36.434448500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:43:41.535288500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:43:50.542220500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:43:52.531484500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:44:35.898328500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:44:35.998697500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:44:36.732604500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:44:36.907707500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:44:36.998282500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:44:37.661439500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:44:37.907006500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:44:37.999093500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:44:38.713381500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:44:38.917281500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:44:39.016951500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:44:39.745301500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:44:40.926921500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:44:41.017698500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:44:41.722428500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:44:41.962812500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:44:42.043932500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:44:42.818444500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:44:42.997391500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:44:43.098931500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:44:43.816227500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:44:43.997694500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:44:44.084605500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:44:44.816220500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:44:45.048406500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:44:45.137493500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:44:45.926224500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:44:46.136893500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:44:47.012379500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:44:47.176987500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:44:47.266891500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:44:47.992068500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:44:48.187055500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:44:48.277103500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:44:49.011670500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:45:07.362419500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:45:07.457551500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:45:08.210302500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:45:08.407462500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:45:08.493911500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:45:09.200533500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:45:09.397117500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:45:09.487531500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:45:10.216745500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:45:10.407441500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:45:10.506891500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:45:11.121445500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:45:11.407949500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:45:11.497064500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:45:12.200470500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:45:12.407463500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:45:12.497076500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:45:13.210522500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:45:13.397556500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:45:13.483890500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:45:14.218231500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:45:14.407410500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:45:14.493923500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:45:15.212326500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:45:15.407130500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:45:15.497068500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:45:16.210325500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:45:16.397531500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:45:16.486966500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:45:17.201341500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:45:17.408007500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:45:17.493947500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:45:18.211421500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:45:18.213757500 ERROR:SerialBattery:Non blocking exception occurred: TypeError('unsupported format string passed to NoneType.__format__') of type <class 'TypeError'> in /opt/victronenergy/dbus-serialbattery/battery.py line #810
2024-08-21 10:45:18.547810500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:45:18.648146500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:45:19.402316500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:45:19.404255500 ERROR:SerialBattery:Non blocking exception occurred: TypeError('unsupported format string passed to NoneType.__format__') of type <class 'TypeError'> in /opt/victronenergy/dbus-serialbattery/battery.py line #810
2024-08-21 10:45:19.577222500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:45:19.667542500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:45:20.286969500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:45:20.286981500 ERROR:SerialBattery:Non blocking exception occurred: TypeError('unsupported format string passed to NoneType.__format__') of type <class 'TypeError'> in /opt/victronenergy/dbus-serialbattery/battery.py line #810
2024-08-21 10:45:20.576880500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:45:20.677012500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:45:21.421498500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:45:21.423720500 ERROR:SerialBattery:Non blocking exception occurred: TypeError('unsupported format string passed to NoneType.__format__') of type <class 'TypeError'> in /opt/victronenergy/dbus-serialbattery/battery.py line #810
2024-08-21 10:45:21.646877500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:45:21.737543500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:45:22.521305500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:45:22.523582500 ERROR:SerialBattery:Non blocking exception occurred: TypeError('unsupported format string passed to NoneType.__format__') of type <class 'TypeError'> in /opt/victronenergy/dbus-serialbattery/battery.py line #810
2024-08-21 10:45:22.696888500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:45:22.785752500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:45:23.549293500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:45:23.552110500 ERROR:SerialBattery:Non blocking exception occurred: TypeError('unsupported format string passed to NoneType.__format__') of type <class 'TypeError'> in /opt/victronenergy/dbus-serialbattery/battery.py line #810
2024-08-21 10:45:23.814059500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:45:23.907044500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:45:24.638221500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:45:24.640905500 ERROR:SerialBattery:Non blocking exception occurred: TypeError('unsupported format string passed to NoneType.__format__') of type <class 'TypeError'> in /opt/victronenergy/dbus-serialbattery/battery.py line #810
2024-08-21 10:45:29.680318500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:45:35.258272500 WARNING:SerialBattery:No data received in read_alarm_data()
2024-08-21 10:45:35.702358500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:45:41.967180500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:45:42.067027500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:45:42.811065500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:45:43.067094500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:45:43.156873500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:45:43.912383500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:45:44.057308500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:45:44.146863500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:45:44.931353500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:46:11.993574500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:47:04.212710500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:47:12.210581500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
root@einstein:~# tail -F -n 100 /data/log/dbus-serialbattery.ttyUSB0/current | tai64nlocal
2024-08-21 10:54:52.502120500 INFO:SerialBattery:-- Testing BMS: 3 of 3 rounds
2024-08-21 10:54:52.503090500 INFO:SerialBattery:Testing Daly at address "\x40"
2024-08-21 10:54:52.706529500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:54:52.804964500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:54:52.809289500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-08-21 10:54:52.810745500 INFO:SerialBattery:Testing Daly at address "\x80"
2024-08-21 10:54:53.012424500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:54:53.104895500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:54:53.108166500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-08-21 10:54:53.609778500 ERROR:SerialBattery:ERROR >>> No battery connection at /dev/ttyUSB0
2024-08-21 10:55:17.641048500 INFO:SerialBattery:
2024-08-21 10:55:17.641772500 INFO:SerialBattery:Starting dbus-serialbattery
2024-08-21 10:55:17.643901500 INFO:SerialBattery:Venus OS v3.41
2024-08-21 10:55:17.644585500 INFO:SerialBattery:dbus-serialbattery v1.4.20240806dev
2024-08-21 10:55:33.661862500 INFO:SerialBattery:-- Testing BMS: 1 of 3 rounds
2024-08-21 10:55:33.662930500 INFO:SerialBattery:Testing Daly at address "\x40"
2024-08-21 10:55:34.268251500 INFO:SerialBattery:Connection established to Daly
2024-08-21 10:55:37.213649500 INFO:SerialBattery:Found existing battery with DeviceInstance = 3
2024-08-21 10:55:37.476486500 INFO:SerialBattery:DeviceInstance = 3
2024-08-21 10:55:37.478295500 INFO:SerialBattery:PID file created successfully: /var/tmp/dbus-serialbattery_3.pid
2024-08-21 10:55:37.479027500 INFO:SerialBattery:Used DeviceInstances = ['3']
2024-08-21 10:55:37.479861500 INFO:SerialBattery:com.victronenergy.battery.ttyUSB0__0
2024-08-21 10:55:37.561002500 INFO:SerialBattery:publish config values = False
2024-08-21 10:55:37.568561500 INFO:SerialBattery:Polling data every 1.000 s
2024-08-21 10:55:37.586336500 INFO:SerialBattery:Battery Daly connected to dbus from /dev/ttyUSB0
2024-08-21 10:55:37.587214500 INFO:SerialBattery:========== Settings ==========
2024-08-21 10:55:37.588325500 INFO:SerialBattery:> Connection voltage: 50.0 V | Current: 2.3000000000000003 A | SoC: 32.9%
2024-08-21 10:55:37.589226500 INFO:SerialBattery:> Cell count: 22 | Cells populated: 0
2024-08-21 10:55:37.602884500 INFO:SerialBattery:> LINEAR LIMITATION ENABLE: True
2024-08-21 10:55:37.602893500 INFO:SerialBattery:> MIN CELL VOLTAGE: 2.000 V | MAX CELL VOLTAGE: 2.500 V| FLOAT CELL VOLTAGE: 2.500 V
2024-08-21 10:55:37.602898500 INFO:SerialBattery:> MAX BATTERY CHARGE CURRENT: 55.0 A | MAX BATTERY DISCHARGE CURRENT: 55.0 A
2024-08-21 10:55:37.602901500 INFO:SerialBattery:> CVCM:     True
2024-08-21 10:55:37.602903500 INFO:SerialBattery:> CCCM CV:  True  | DCCM CV:  True
2024-08-21 10:55:37.602906500 INFO:SerialBattery:> CCCM T:   False | DCCM T:   False
2024-08-21 10:55:37.603063500 INFO:SerialBattery:> CCCM SOC: False | DCCM SOC: False
2024-08-21 10:55:37.604708500 INFO:SerialBattery:> CHARGE FET: None | DISCHARGE FET: None | BALANCE FET: None
2024-08-21 10:55:37.610430500 INFO:SerialBattery:Serial Number/Unique Identifier: 20220422_160
2024-08-21 10:55:47.199301500 WARNING:SerialBattery:Polling took too long. Set to 2.000 s
2024-08-21 10:55:53.999382500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:56:23.636601500 WARNING:SerialBattery:No data received in read_alarm_data()
2024-08-21 10:56:24.068236500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:56:57.108223500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:57:03.069296500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:58:02.403976500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:58:02.493839500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:58:03.208002500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:58:03.404121500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:58:03.491000500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:58:04.208637500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:58:04.436925500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:58:04.533946500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:58:05.228222500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:58:05.403927500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:58:05.494266500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:58:06.208443500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:58:06.444041500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:58:06.543866500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:58:07.235198500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:58:11.533968500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:58:11.621155500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:58:12.347267500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:58:12.554333500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:58:12.641047500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:58:13.279181500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:58:13.543872500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:58:13.631074500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:58:14.367221500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:58:14.544391500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:58:14.643897500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:58:15.276209500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:58:15.543919500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 10:58:15.643972500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 10:58:16.429250500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:58:18.278312500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:58:21.548300500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:58:23.529231500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:58:25.609449500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:58:26.608324500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:58:27.568255500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:58:29.608697500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:58:38.589200500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:58:46.617610500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:58:53.614478500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:58:54.607324500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:58:56.599361500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:58:59.607323500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:59:00.608214500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:59:02.617041500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:59:03.577312500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:59:08.613584500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:59:09.608321500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:59:11.558248500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:59:12.608290500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:59:13.608284500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:59:22.608304500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:59:30.607242500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:59:33.613302500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:59:34.607302500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:59:38.608295500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 10:59:49.567219500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 11:00:26.245382500 WARNING:SerialBattery:No data received in read_alarm_data()
2024-08-21 11:00:26.708261500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 11:00:35.244411500 WARNING:SerialBattery:No data received in read_alarm_data()
2024-08-21 11:00:35.733243500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 11:00:42.244652500 WARNING:SerialBattery:No data received in read_alarm_data()
2024-08-21 11:00:42.730737500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 11:00:46.253250500 WARNING:SerialBattery:No data received in read_alarm_data()
2024-08-21 11:00:46.710271500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 11:00:51.235291500 WARNING:SerialBattery:No data received in read_alarm_data()
2024-08-21 11:00:51.733273500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 11:00:54.252620500 WARNING:SerialBattery:No data received in read_alarm_data()
2024-08-21 11:00:54.733278500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 11:01:29.923675500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 11:01:35.911555500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 11:01:39.827298500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 11:01:43.930408500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 11:01:45.887661500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 11:01:49.711454500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 11:01:51.827290500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 11:01:52.868403500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 11:01:53.923541500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 11:01:54.827295500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 11:01:55.929349500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 11:02:16.183601500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 11:02:16.273080500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 11:02:17.014121500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 11:02:17.342889500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 11:02:18.073475500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 11:02:21.920290500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 11:02:22.253982500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 11:02:22.341094500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 11:02:23.066243500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 11:02:23.262981500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 11:02:23.349929500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 11:02:24.128239500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 11:02:24.320684500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 11:02:24.407152500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 11:02:25.146235500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 11:02:25.323040500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 11:02:25.410021500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 11:02:26.138283500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 11:02:26.303754500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 11:02:26.403083500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 11:02:27.120359500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 11:02:27.342928500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 11:02:27.442897500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 11:02:28.206244500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 11:02:28.363046500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 11:02:28.450106500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 11:02:29.206738500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
tail: /data/log/dbus-serialbattery.ttyUSB0/current has been replaced; following end of new file
2024-08-21 11:02:30.452941500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 11:02:31.197299500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 11:02:31.199465500 ERROR:SerialBattery:Non blocking exception occurred: TypeError('unsupported format string passed to NoneType.__format__') of type <class 'TypeError'> in /opt/victronenergy/dbus-serialbattery/battery.py line #810
2024-08-21 11:02:31.443517500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 11:02:31.538021500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 11:02:32.332250500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 11:02:32.334117500 ERROR:SerialBattery:Non blocking exception occurred: TypeError('unsupported format string passed to NoneType.__format__') of type <class 'TypeError'> in /opt/victronenergy/dbus-serialbattery/battery.py line #810
2024-08-21 11:02:32.704382500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 11:02:32.803614500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 11:02:33.530357500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 11:02:33.532906500 ERROR:SerialBattery:Non blocking exception occurred: TypeError('unsupported format string passed to NoneType.__format__') of type <class 'TypeError'> in /opt/victronenergy/dbus-serialbattery/battery.py line #810
2024-08-21 11:02:33.703934500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 11:02:33.789928500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 11:02:34.527236500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 11:02:34.529178500 ERROR:SerialBattery:Non blocking exception occurred: TypeError('unsupported format string passed to NoneType.__format__') of type <class 'TypeError'> in /opt/victronenergy/dbus-serialbattery/battery.py line #810
2024-08-21 11:02:34.702970500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 11:02:34.789955500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 11:02:35.488337500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 11:02:35.490365500 ERROR:SerialBattery:Non blocking exception occurred: TypeError('unsupported format string passed to NoneType.__format__') of type <class 'TypeError'> in /opt/victronenergy/dbus-serialbattery/battery.py line #810
2024-08-21 11:02:35.702985500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 11:02:35.789927500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 11:02:36.476208500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 11:02:36.478191500 ERROR:SerialBattery:Non blocking exception occurred: TypeError('unsupported format string passed to NoneType.__format__') of type <class 'TypeError'> in /opt/victronenergy/dbus-serialbattery/battery.py line #810
2024-08-21 11:02:36.703013500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 11:02:36.790278500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 11:02:37.508223500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 11:02:37.510325500 ERROR:SerialBattery:Non blocking exception occurred: TypeError('unsupported format string passed to NoneType.__format__') of type <class 'TypeError'> in /opt/victronenergy/dbus-serialbattery/battery.py line #810
2024-08-21 11:02:37.703846500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 11:02:37.802906500 WARNING:SerialBattery:read_soc_data - triesValid 0
2024-08-21 11:02:38.527286500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-21 11:02:38.529249500 ERROR:SerialBattery:Non blocking exception occurred: TypeError('unsupported format string passed to NoneType.__format__') of type <class 'TypeError'> in /opt/victronenergy/dbus-serialbattery/battery.py line #810
2024-08-21 11:02:38.703007500 WARNING:SerialBattery:read_soc_data - triesValid 1
2024-08-21 11:02:38.792877500 WARNING:SerialBattery:read_soc_data - triesValid 0

Any other information that may be helpful

Active Battery Monitor is the MultiPlus 2 one.

mr-manuel commented 3 weeks ago

What do you have selected as the controlling BMS at the end of the DVCC page?

Enrico126 commented 3 weeks ago

Hey,

i have the following selected: image

I also have this alarm: image

As soon as a certain voltage is reached and CCCM_CV_ENABLE comes into play, the limit also works relatively well. According to the graph, the current charge has not been exceeded: image

However, the BMS and the ad say something different

mr-manuel commented 3 weeks ago

Please install v1.4.20240824dev, I added some error handling for Daly BMS.

Enrico126 commented 3 weeks ago

Hey, thanks for the quick response. Unfortunately, I am not able to get the BMS Connection to run with this version:

2024-08-24 12:20:24.140326500 INFO:SerialBattery:Starting dbus-serialbattery
2024-08-24 12:20:24.142351500 INFO:SerialBattery:Venus OS v3.41
2024-08-24 12:20:24.143085500 INFO:SerialBattery:dbus-serialbattery v1.4.20240824dev
2024-08-24 12:20:40.158470500 INFO:SerialBattery:-- Testing BMS: 1 of 3 rounds
2024-08-24 12:20:40.159334500 INFO:SerialBattery:Testing Daly at address "\x40"
2024-08-24 12:20:40.366824500 WARNING:SerialBattery:read_soc_data - try #2: voltage: 550, current: -7.0, soc: 35.1
2024-08-24 12:20:40.459707500 WARNING:SerialBattery:read_soc_data - try #3: voltage: 550, current: -7.1, soc: 35.1
2024-08-24 12:20:40.549716500 WARNING:SerialBattery:read_soc_data - try #4: voltage: 550, current: -7.1, soc: 35.1
2024-08-24 12:20:40.553480500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-08-24 12:20:40.554402500 INFO:SerialBattery:Testing Daly at address "\x80"
2024-08-24 12:20:40.759765500 WARNING:SerialBattery:read_soc_data - try #2: voltage: 550, current: -7.2, soc: 35.1
2024-08-24 12:20:40.859822500 WARNING:SerialBattery:read_soc_data - try #3: voltage: 550, current: -7.3, soc: 35.1
2024-08-24 12:20:40.949696500 WARNING:SerialBattery:read_soc_data - try #4: voltage: 550, current: -7.2, soc: 35.1
2024-08-24 12:20:40.953127500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-08-24 12:20:41.454501500 INFO:SerialBattery:-- Testing BMS: 2 of 3 rounds
2024-08-24 12:20:41.455392500 INFO:SerialBattery:Testing Daly at address "\x40"
2024-08-24 12:20:41.656755500 WARNING:SerialBattery:read_soc_data - try #2: voltage: 550, current: -7.3, soc: 35.1
2024-08-24 12:20:41.749701500 WARNING:SerialBattery:read_soc_data - try #3: voltage: 550, current: -7.3, soc: 35.1
2024-08-24 12:20:41.836841500 WARNING:SerialBattery:read_soc_data - try #4: voltage: 550, current: -7.3, soc: 35.1
2024-08-24 12:20:41.840916500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-08-24 12:20:41.841784500 INFO:SerialBattery:Testing Daly at address "\x80"
2024-08-24 12:20:42.036719500 WARNING:SerialBattery:read_soc_data - try #2: voltage: 550, current: -7.3, soc: 35.1
2024-08-24 12:20:42.130035500 WARNING:SerialBattery:read_soc_data - try #3: voltage: 550, current: -7.3, soc: 35.1
2024-08-24 12:20:42.251718500 WARNING:SerialBattery:read_soc_data - try #4: voltage: 550, current: -7.3, soc: 35.1
2024-08-24 12:20:42.255831500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-08-24 12:20:42.757471500 INFO:SerialBattery:-- Testing BMS: 3 of 3 rounds
2024-08-24 12:20:42.758377500 INFO:SerialBattery:Testing Daly at address "\x40"
2024-08-24 12:20:42.946715500 WARNING:SerialBattery:read_soc_data - try #2: voltage: 550, current: -7.2, soc: 35.1
2024-08-24 12:20:43.125823500 WARNING:SerialBattery:read_soc_data - try #4: voltage: 550, current: -7.3, soc: 35.1
2024-08-24 12:20:43.130056500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-08-24 12:20:43.130938500 INFO:SerialBattery:Testing Daly at address "\x80"
2024-08-24 12:20:43.349720500 WARNING:SerialBattery:read_soc_data - try #2: voltage: 550, current: -7.3, soc: 35.1
2024-08-24 12:20:43.437114500 WARNING:SerialBattery:read_soc_data - try #3: voltage: 550, current: -7.3, soc: 35.1
2024-08-24 12:20:43.530238500 WARNING:SerialBattery:read_soc_data - try #4: voltage: 550, current: -7.3, soc: 35.1
2024-08-24 12:20:43.533925500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-08-24 12:20:44.035710500 ERROR:SerialBattery:ERROR >>> No battery connection at /dev/ttyUSB0

With the LTS or v1.4.20240806dev installed it is working.

mr-manuel commented 3 weeks ago

Indeed I made a mistake. Please install again.

Enrico126 commented 3 weeks ago

Now the installation worked. I will take a closer look at the logs over the next few days

Enrico126 commented 2 weeks ago

Hey, so far everything looks good with the new driver. So I'll close the ticket for now, there are no more errors in the logs and the limits are also respected.

mr-manuel commented 2 weeks ago

You are welcome.

Enrico126 commented 2 weeks ago

Unfortunately, I have to reopen the ticket. I think the problem occurred today during discharging, with a little more load image

  soc_reset_in_days = round(
      utils.SOC_RESET_AFTER_DAYS - soc_reset_days_ago, 2
  )

According to the logs it looks like there is a problem with the value utils.SOC_RESET_AFTER_DAYS (undefined)? I haven't currently set the value in my config.ini, but it should have the default value (i guess)?

And subtraction between float and undefined is of course not possible... I will try to set a value in the config.ini and see what happens

mr-manuel commented 2 weeks ago

I don‘t think the code you posted matches the version you are using. Which version have you installed?

mr-manuel commented 2 weeks ago

Please install the latest nightly version. I added some more checks for the Daly BMS. Seems that it happens very often, that the BMS provides None values instead of the correct one.

Enrico126 commented 2 weeks ago

Yes, you are right.

I only checked the code in on the current main branch on git.. I installed the latest nightly version, it looks good for now.

Thanks!