I have two batteries. Both Jbd BMS. One is connected to /dev/ttyACM0 and the other to /dev/ttyUSB2.
The one on /dev/ttyUSB2 is starting fine. The one on /dev/ttyACM0 does not start when the following settings in the config.ini is set to "False":
LINEAR_LIMITATION_ENABLE = False
Setting LINEAR_LIMITATION_ENABLE = True starts the device on /dev/ttyACM0 and /dev/ttyUSB2 successfully.
How to reproduce
install two batteries with Jbd BMS
set LINEAR_LIMITATION_ENABLE = False
one serial device does not start successfully
set LINEAR_LIMITATION_ENABLE = True
both devices start successfully
Expected behavior
Both devices start successfully no matter if LINEAR_LIMITATION_ENABLE = True or LINEAR_LIMITATION_ENABLE = False
Driver version
v1.2.20240408
Venus OS device type
Raspberry Pi 3
Venus OS version
v3.30
BMS type
Smart BMS (LLT, JBD, Overkill Solar)
Cell count
16
Battery count
2
Connection type
Serial USB adapter to RS485
Config file
[DEFAULT]
; 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):
LINEAR_LIMITATION_ENABLE = True
MAX_VOLTAGE_TIME_SEC = 3600
MAX_BATTERY_CHARGE_CURRENT = 105.0
MAX_BATTERY_DISCHARGE_CURRENT = 140.0
BMS_TYPE = LltJbd
EXCLUDED_DEVICES = /dev/ttyUSB0, /dev/ttyUSB1
VOLTAGE_DROP = 0.16
In the Log File you see the output of /data/log/dbus-serialbattery.ttyACM0/current
When LINEAR_LIMITATION_ENABLE = False then you see the error in the Logfile (Traceback ...), when LINEAR_LIMITATION_ENABLE = True the serial device starts successfully.
Describe the bug
I have two batteries. Both Jbd BMS. One is connected to /dev/ttyACM0 and the other to /dev/ttyUSB2.
The one on /dev/ttyUSB2 is starting fine. The one on /dev/ttyACM0 does not start when the following settings in the config.ini is set to "False":
LINEAR_LIMITATION_ENABLE = False
Setting LINEAR_LIMITATION_ENABLE = True starts the device on /dev/ttyACM0 and /dev/ttyUSB2 successfully.
How to reproduce
Expected behavior
Both devices start successfully no matter if LINEAR_LIMITATION_ENABLE = True or LINEAR_LIMITATION_ENABLE = False
Driver version
v1.2.20240408
Venus OS device type
Raspberry Pi 3
Venus OS version
v3.30
BMS type
Smart BMS (LLT, JBD, Overkill Solar)
Cell count
16
Battery count
2
Connection type
Serial USB adapter to RS485
Config file
Relevant log output
Any other information that may be helpful
In the Log File you see the output of /data/log/dbus-serialbattery.ttyACM0/current
When LINEAR_LIMITATION_ENABLE = False then you see the error in the Logfile (Traceback ...), when LINEAR_LIMITATION_ENABLE = True the serial device starts successfully.