Closed ToxSox closed 8 months ago
Please use the latest nightly of the dev branch. The logs should look different.
Here the log from the dev branch:
2024-01-10 20:20:50.976349500 INFO:SerialBattery:
2024-01-10 20:20:50.976691500 INFO:SerialBattery:Starting dbus-serialbattery
2024-01-10 20:20:50.981996500 INFO:SerialBattery:dbus-serialbattery v1.1.20231224dev
2024-01-10 20:21:06.990284500 INFO:SerialBattery:-- Testing BMS: 1 of 3 rounds
2024-01-10 20:21:06.990844500 INFO:SerialBattery:Testing Daly at address "\x40"
2024-01-10 20:21:07.117791500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-01-10 20:21:07.118418500 INFO:SerialBattery:Testing Daly at address "\x80"
2024-01-10 20:21:07.245165500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-01-10 20:21:07.245627500 INFO:SerialBattery:Testing Ecs
2024-01-10 20:21:07.305506500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-01-10 20:21:07.305965500 INFO:SerialBattery:Testing HeltecModbus
2024-01-10 20:21:10.632821500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-01-10 20:21:10.633244500 INFO:SerialBattery:Testing HLPdataBMS4S
2024-01-10 20:21:11.462205500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-01-10 20:21:11.462212500 INFO:SerialBattery:Testing Jkbms
2024-01-10 20:21:11.733776500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-01-10 20:21:11.735690500 INFO:SerialBattery:Testing Lifepower
2024-01-10 20:21:12.006117500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-01-10 20:21:12.007654500 INFO:SerialBattery:Testing LltJbd
2024-01-10 20:21:12.335942500 ERROR:SerialBattery:Unexpected err=TypeError('can only concatenate str (not "int") to str'), type(err)=<class 'TypeError'>
2024-01-10 20:21:12.336613500 INFO:SerialBattery:Testing Renogy at address "\x30"
2024-01-10 20:21:12.609394500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-01-10 20:21:12.610904500 INFO:SerialBattery:Testing Renogy at address "\xf7"
2024-01-10 20:21:12.883385500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-01-10 20:21:12.884963500 INFO:SerialBattery:Testing Seplos
2024-01-10 20:21:13.892524500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-01-10 20:21:14.394735500 INFO:SerialBattery:-- Testing BMS: 2 of 3 rounds
2024-01-10 20:21:14.394742500 INFO:SerialBattery:Testing Daly at address "\x40"
2024-01-10 20:21:14.520624500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-01-10 20:21:14.521202500 INFO:SerialBattery:Testing Daly at address "\x80"
2024-01-10 20:21:14.647496500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-01-10 20:21:14.647986500 INFO:SerialBattery:Testing Ecs
2024-01-10 20:21:15.075842500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-01-10 20:21:15.075849500 INFO:SerialBattery:Testing HeltecModbus
2024-01-10 20:21:18.770706500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-01-10 20:21:18.770713500 INFO:SerialBattery:Testing HLPdataBMS4S
2024-01-10 20:21:19.580066500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-01-10 20:21:19.580073500 INFO:SerialBattery:Testing Jkbms
2024-01-10 20:21:19.850730500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-01-10 20:21:19.852493500 INFO:SerialBattery:Testing Lifepower
2024-01-10 20:21:20.123728500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-01-10 20:21:20.125086500 INFO:SerialBattery:Testing LltJbd
2024-01-10 20:21:20.557683500 ERROR:SerialBattery:Unexpected err=TypeError('can only concatenate str (not "int") to str'), type(err)=<class 'TypeError'>
2024-01-10 20:21:20.558193500 INFO:SerialBattery:Testing Renogy at address "\x30"
2024-01-10 20:21:20.838465500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-01-10 20:21:20.839978500 INFO:SerialBattery:Testing Renogy at address "\xf7"
2024-01-10 20:21:21.108918500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-01-10 20:21:21.110300500 INFO:SerialBattery:Testing Seplos
2024-01-10 20:21:22.117811500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-01-10 20:21:22.619180500 INFO:SerialBattery:-- Testing BMS: 3 of 3 rounds
2024-01-10 20:21:22.619864500 INFO:SerialBattery:Testing Daly at address "\x40"
2024-01-10 20:21:22.746395500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-01-10 20:21:22.747122500 INFO:SerialBattery:Testing Daly at address "\x80"
2024-01-10 20:21:22.873548500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-01-10 20:21:22.874044500 INFO:SerialBattery:Testing Ecs
2024-01-10 20:21:23.283960500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-01-10 20:21:23.284397500 INFO:SerialBattery:Testing HeltecModbus
2024-01-10 20:21:26.966073500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-01-10 20:21:26.966523500 INFO:SerialBattery:Testing HLPdataBMS4S
2024-01-10 20:21:27.774594500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-01-10 20:21:27.775176500 INFO:SerialBattery:Testing Jkbms
2024-01-10 20:21:28.042801500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-01-10 20:21:28.044073500 INFO:SerialBattery:Testing Lifepower
2024-01-10 20:21:28.314600500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-01-10 20:21:28.316211500 INFO:SerialBattery:Testing LltJbd
2024-01-10 20:21:28.640205500 ERROR:SerialBattery:Unexpected err=TypeError('can only concatenate str (not "int") to str'), type(err)=<class 'TypeError'>
2024-01-10 20:21:28.641021500 INFO:SerialBattery:Testing Renogy at address "\x30"
2024-01-10 20:21:28.923946500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-01-10 20:21:28.925816500 INFO:SerialBattery:Testing Renogy at address "\xf7"
2024-01-10 20:21:29.201106500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-01-10 20:21:29.202595500 INFO:SerialBattery:Testing Seplos
2024-01-10 20:21:30.209805500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-01-10 20:21:30.711077500 ERROR:SerialBattery:ERROR >>> No battery connection at /dev/ttyUSB0
2024-01-10 20:21:30.711265500 #0
2024-01-10 20:21:30.711267500 #1
2024-01-10 20:21:30.711268500 #2
2024-01-10 20:21:30.711270500 #3
2024-01-10 20:21:30.711271500 #4
2024-01-10 20:21:30.711272500 #5
2024-01-10 20:21:30.711274500 #6
2024-01-10 20:21:30.711275500 #7
2024-01-10 20:21:30.711276500 #8
2024-01-10 20:21:30.711277500 #9
2024-01-10 20:21:30.711279500 #10
2024-01-10 20:21:30.711280500 #11
2024-01-10 20:21:30.711281500 #12
2024-01-10 20:21:30.711283500 #13
2024-01-10 20:21:30.711284500 #14
2024-01-10 20:21:30.711285500 #15
2024-01-10 20:21:30.711287500 #0
2024-01-10 20:21:30.711288500 #1
2024-01-10 20:21:30.711318500 #2
2024-01-10 20:21:30.711319500 #3
2024-01-10 20:21:30.711321500 #4
2024-01-10 20:21:30.711322500 #5
2024-01-10 20:21:30.711323500 #6
2024-01-10 20:21:30.711324500 #7
2024-01-10 20:21:30.711326500 #8
2024-01-10 20:21:30.711327500 #9
2024-01-10 20:21:30.711328500 #10
2024-01-10 20:21:30.711330500 #11
2024-01-10 20:21:30.711331500 #12
2024-01-10 20:21:30.711332500 #13
2024-01-10 20:21:30.711333500 #14
2024-01-10 20:21:30.711335500 #15
2024-01-10 20:21:30.711336500 #0
2024-01-10 20:21:30.711337500 #1
2024-01-10 20:21:30.711339500 #2
2024-01-10 20:21:30.711362500 #3
2024-01-10 20:21:30.711363500 #4
2024-01-10 20:21:30.711365500 #5
2024-01-10 20:21:30.711366500 #6
2024-01-10 20:21:30.711367500 #7
2024-01-10 20:21:30.711368500 #8
2024-01-10 20:21:30.711370500 #9
2024-01-10 20:21:30.711371500 #10
2024-01-10 20:21:30.711372500 #11
2024-01-10 20:21:30.711373500 #12
2024-01-10 20:21:30.711375500 #13
2024-01-10 20:21:30.711376500 #14
2024-01-10 20:21:30.711377500 #15
Please use tripple backticks in the line before and after your code for proper formatting :-)
okay, sorry
I have tried v0.14.3 and that works fine.
Could you please install the nightly
from the dev
branch that I changed a few seconds ago? If it still doesn't work please enable debugging in the config.
2024-01-11 18:11:27.784085500 INFO:SerialBattery:Starting dbus-serialbattery
2024-01-11 18:11:27.784778500 INFO:SerialBattery:dbus-serialbattery v0.14.3
2024-01-11 18:11:27.785395500 INFO:SerialBattery:Testing LltJbd
2024-01-11 18:11:27.924076500 INFO:SerialBattery:Connection established to LltJbd
2024-01-11 18:11:27.924717500 INFO:SerialBattery:Battery LLT/JBD connected to dbus from /dev/ttyUSB0
2024-01-11 18:11:27.925226500 INFO:SerialBattery:=== Settings ===
2024-01-11 18:11:27.925798500 INFO:SerialBattery:> Connection voltage NoneV | current NoneA | SOC None%
2024-01-11 18:11:27.926319500 INFO:SerialBattery:> Cell count None | cells populated 0
2024-01-11 18:11:27.926840500 INFO:SerialBattery:> CCCM SOC True | DCCM SOC True
2024-01-11 18:11:27.927350500 INFO:SerialBattery:> CCCM CV True | DCCM CV True
2024-01-11 18:11:27.927852500 INFO:SerialBattery:> CCCM T True | DCCM T True
2024-01-11 18:11:27.928396500 INFO:SerialBattery:> MIN_CELL_VOLTAGE 2.9V | MAX_CELL_VOLTAGE 3.45V
2024-01-11 18:11:27.960725500 INFO:SerialBattery:DeviceInstance = 1
2024-01-11 18:11:27.961271500 INFO:SerialBattery:com.victronenergy.battery.ttyUSB0
2024-01-13 07:54:51.475825500 *** CCGX booted (0) ***
2024-01-13 08:00:51.615654500 *** CCGX booted (0) ***
2024-01-13 08:02:08.089887500 INFO:SerialBattery:
2024-01-13 08:02:08.090234500 INFO:SerialBattery:Starting dbus-serialbattery
2024-01-13 08:02:08.091137500 INFO:SerialBattery:dbus-serialbattery v1.1.20240112dev
2024-01-13 08:02:24.107085500 INFO:SerialBattery:-- Testing BMS: 1 of 3 rounds
2024-01-13 08:02:24.107648500 INFO:SerialBattery:Testing Daly at address "\x40"
2024-01-13 08:02:24.234389500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-01-13 08:02:24.234953500 INFO:SerialBattery:Testing Daly at address "\x80"
2024-01-13 08:02:24.362126500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-01-13 08:02:24.362595500 INFO:SerialBattery:Testing Ecs
2024-01-13 08:02:24.422332500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-01-13 08:02:24.422801500 INFO:SerialBattery:Testing HeltecModbus
2024-01-13 08:02:27.759385500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-01-13 08:02:27.759934500 INFO:SerialBattery:Testing HLPdataBMS4S
2024-01-13 08:02:28.569419500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-01-13 08:02:28.570007500 INFO:SerialBattery:Testing Jkbms
2024-01-13 08:02:28.839405500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-01-13 08:02:28.841068500 INFO:SerialBattery:Testing Lifepower
2024-01-13 08:02:29.114600500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-01-13 08:02:29.115939500 INFO:SerialBattery:Testing LltJbd
2024-01-13 08:02:29.451798500 WARNING:SerialBattery:>>> WARN: BMS rejected request. Status 130
2024-01-13 08:02:29.498123500 WARNING:SerialBattery:>>> WARN: BMS rejected request. Status 129
2024-01-13 08:02:29.545433500 WARNING:SerialBattery:>>> WARN: BMS rejected request. Status 129
2024-01-13 08:02:29.577462500 WARNING:SerialBattery:>>> WARN: BMS rejected request. Status 129
2024-01-13 08:02:29.609509500 WARNING:SerialBattery:>>> WARN: BMS rejected request. Status 129
2024-01-13 08:02:29.926303500 INFO:SerialBattery:Connection established to LltJbd
2024-01-13 08:02:29.926761500 INFO:SerialBattery:Battery LLT/JBD connected to dbus from /dev/ttyUSB0
2024-01-13 08:02:29.927180500 INFO:SerialBattery:========== Settings ==========
2024-01-13 08:02:29.927651500 INFO:SerialBattery:> Connection voltage: 52.93V | Current: 0.0A | SoC: None%
2024-01-13 08:02:29.928073500 INFO:SerialBattery:> Cell count: 16 | Cells populated: 16
2024-01-13 08:02:29.928509500 INFO:SerialBattery:> LINEAR LIMITATION ENABLE: True
2024-01-13 08:02:29.928963500 INFO:SerialBattery:> MAX BATTERY CHARGE CURRENT: 50.0A | MAX BATTERY DISCHARGE CURRENT: 60.0A
2024-01-13 08:02:29.929391500 INFO:SerialBattery:> CVCM: True
2024-01-13 08:02:29.929838500 INFO:SerialBattery:> MIN CELL VOLTAGE: 2.9V | MAX CELL VOLTAGE: 3.45V
2024-01-13 08:02:29.930297500 INFO:SerialBattery:> CCCM CV: True | DCCM CV: True
2024-01-13 08:02:29.930737500 INFO:SerialBattery:> CCCM T: True | DCCM T: True
2024-01-13 08:02:29.931175500 INFO:SerialBattery:> CCCM SOC: True | DCCM SOC: True
2024-01-13 08:02:29.931721500 INFO:SerialBattery:Serial Number/Unique Identifier: 35_107.0Ah
2024-01-13 08:02:30.114852500 INFO:SerialBattery:Remove /Settings/Devices/serialbattery_ttyUSB0 from dbus. Old entry. Delete result: False
2024-01-13 08:02:30.736536500 INFO:SerialBattery:DeviceInstance = 1
2024-01-13 08:02:30.738183500 INFO:SerialBattery:Used device instances: ['1']
2024-01-13 08:02:30.740175500 INFO:SerialBattery:com.victronenergy.battery.ttyUSB0
2024-01-13 08:02:30.938673500 WARNING:SerialBattery:>>> WARN: BMS rejected request. Status 130
2024-01-13 08:02:30.987149500 WARNING:SerialBattery:>>> WARN: BMS rejected request. Status 129
2024-01-13 08:02:31.127815500 WARNING:SerialBattery:>>> WARN: BMS rejected request. Status 129
2024-01-13 08:02:31.165134500 WARNING:SerialBattery:>>> WARN: BMS rejected request. Status 129
2024-01-13 08:02:31.212392500 WARNING:SerialBattery:>>> WARN: BMS rejected request. Status 129
2024-01-13 08:02:31.239492500 INFO:SerialBattery:publish config values = True
2024-01-13 08:02:31.309574500 INFO:SerialBattery:DeviceInstance = 1
2024-01-13 08:02:31.310132500 INFO:SerialBattery:Changed DeviceInstance = 1
2024-01-13 08:02:31.311791500 INFO:SerialBattery:Changed CustomName = SerialBattery(LLT/JBD)
Thanks! It works now, with some warnings in the log.
Describe the problem
My old sd card is broken. On that was venus os 2.9x and an older serialbattery version. I got a new one, installed the newest venus os version and the current serialbattery version. But it not regognized my Jbd BMS.
I get the following error in the logfile:
2024-01-09 20:20:44.129263500 INFO:SerialBattery:Testing LltJbd 2024-01-09 20:20:44.322643500 ERROR:SerialBattery:Unexpected err=TypeError('can only concatenate str (not "int") to str'), type(err)=<class 'TypeError'>
I have tried the latest, the master and the dev branch.
Driver version
v1.0.20230531
Venus OS device type
Raspberry Pi
Venus OS version
v3.13
BMS type
Smart BMS (LLT, JBD, Overkill Solar)
Cell count
16
Battery count
1
Connection type
Serial USB adapter to RS485
Config file
Relevant log output
Any other information that may be helpful
No response