Comments (4)
check! ..fixed!
from dbus-serialbattery.
Nice catch! Please install v1.3.20240416dev, there I fixed it.
from dbus-serialbattery.
Thxs for the quick fix.. initial reinstall (v1.3.20240416dev) with LINEAR_LIMITATION_ENABLE = False
and the driver doesnt crashed.. I think there only some minor error messages.
2024-04-16 06:36:52.075938500 INFO:SerialBattery:
2024-04-16 06:36:52.076731500 INFO:SerialBattery:Starting dbus-serialbattery
2024-04-16 06:36:52.079360500 INFO:SerialBattery:Venus OS v3.30
2024-04-16 06:36:52.080209500 INFO:SerialBattery:dbus-serialbattery v1.3.20240416dev
2024-04-16 06:37:08.086694500 INFO:SerialBattery:-- Testing BMS: 1 of 3 rounds
2024-04-16 06:37:08.096163500 INFO:SerialBattery:Testing Seplos
2024-04-16 06:37:09.216236500 INFO:SerialBattery:Connection established to Seplos
2024-04-16 06:37:09.848264500 INFO:SerialBattery:Found existing battery with DeviceInstance = 1
2024-04-16 06:37:10.307074500 INFO:SerialBattery:DeviceInstance = 1
2024-04-16 06:37:10.309381500 INFO:SerialBattery:PID file created successfully: /var/tmp/dbus-serialbattery_[1.pid](http://1.pid/)
2024-04-16 06:37:10.310078500 INFO:SerialBattery:Used DeviceInstances = ['1']
2024-04-16 06:37:10.310902500 INFO:SerialBattery:com.victronenergy.battery.ttyUSB1
2024-04-16 06:37:10.351903500 INFO:SerialBattery:publish config values = True
2024-04-16 06:37:10.386090500 INFO:SerialBattery:Battery Seplos connected to dbus from /dev/ttyUSB1
2024-04-16 06:37:10.387180500 INFO:SerialBattery:========== Settings ==========
2024-04-16 06:37:10.387801500 INFO:SerialBattery:> Connection voltage: 53.25 V | Current: 14.11 A | SoC: None%
2024-04-16 06:37:10.388485500 INFO:SerialBattery:> Cell count: 16 | Cells populated: 16
2024-04-16 06:37:10.389164500 INFO:SerialBattery:> LINEAR LIMITATION ENABLE: False
2024-04-16 06:37:10.389887500 INFO:SerialBattery:> MIN CELL VOLTAGE: 2.9 V | MAX CELL VOLTAGE: 3.45 V
2024-04-16 06:37:10.390596500 INFO:SerialBattery:> MAX BATTERY CHARGE CURRENT: 100.0 A | MAX BATTERY DISCHARGE CURRENT: 100.0 A
2024-04-16 06:37:10.391555500 INFO:SerialBattery:> CVCM: True
2024-04-16 06:37:10.392178500 INFO:SerialBattery:> CCCM CV: True | DCCM CV: True
2024-04-16 06:37:10.393005500 INFO:SerialBattery:> CCCM T: True | DCCM T: True
2024-04-16 06:37:10.393697500 INFO:SerialBattery:> CCCM SOC: True | DCCM SOC: True
2024-04-16 06:37:10.394402500 INFO:SerialBattery:> CHARGE FET: None | DISCHARGE FET: None | BALANCE FET: None
2024-04-16 06:37:10.395282500 INFO:SerialBattery:Serial Number/Unique Identifier: SeplosBMS16cells_280.0Ah
2024-04-16 06:37:10.480210500 INFO:SerialBattery:Monitoring external current using: None/None
2024-04-16 06:37:10.481245500 ERROR:SerialBattery:Exception occurred: AttributeError("'NoneType' object has no attribute 'split'") of type <class 'AttributeError'> in /opt/victronenergy/dbus-serialbattery/[dbus-serialbattery.py](http://dbus-serialbattery.py/) line #253
2024-04-16 06:37:15.460476500 Traceback (most recent call last):
2024-04-16 06:37:15.460487500 File "/usr/lib/python3.8/site-packages/serial/[serialposix.py](http://serialposix.py/)", line 500, in read
2024-04-16 06:37:15.460493500 raise SerialException(
2024-04-16 06:37:15.460495500 serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
2024-04-16 06:37:15.460503500
2024-04-16 06:37:15.460505500 During handling of the above exception, another exception occurred:
2024-04-16 06:37:15.460510500
2024-04-16 06:37:15.460731500 Traceback (most recent call last):
2024-04-16 06:37:15.460735500 File "/opt/victronenergy/dbus-serialbattery/[dbushelper.py](http://dbushelper.py/)", line 760, in publish_battery
2024-04-16 06:37:15.460741500 result = self.battery.refresh_data()
2024-04-16 06:37:15.460745500 File "/opt/victronenergy/dbus-serialbattery/bms/[seplos.py](http://seplos.py/)", line 127, in refresh_data
2024-04-16 06:37:15.460751500 result_status = [self.read](http://self.read/)_status_data()
2024-04-16 06:37:15.460754500 File "/opt/victronenergy/dbus-serialbattery/bms/[seplos.py](http://seplos.py/)", line 209, in read_status_data
2024-04-16 06:37:15.460899500 data = [self.read](http://self.read/)_serial_data_seplos(
2024-04-16 06:37:15.460904500 File "/opt/victronenergy/dbus-serialbattery/bms/[seplos.py](http://seplos.py/)", line 310, in read_serial_data_seplos
2024-04-16 06:37:15.460911500 data = ser.readline()
2024-04-16 06:37:15.460914500 File "/usr/lib/python3.8/site-packages/serial/[serialposix.py](http://serialposix.py/)", line 509, in read
2024-04-16 06:37:15.460919500 raise SerialException('read failed: {}'.format(e))
2024-04-16 06:37:15.461001500 serial.serialutil.SerialException: read failed: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
2024-04-16 06:37:17.787361500 INFO:SerialBattery:
2024-04-16 06:37:17.788267500 INFO:SerialBattery:Starting dbus-serialbattery
2024-04-16 06:37:17.790790500 INFO:SerialBattery:Venus OS v3.30
2024-04-16 06:37:17.791507500 INFO:SerialBattery:dbus-serialbattery v1.3.20240416dev
2024-04-16 06:37:33.807530500 INFO:SerialBattery:-- Testing BMS: 1 of 3 rounds
2024-04-16 06:37:33.808374500 INFO:SerialBattery:Testing Seplos
2024-04-16 06:37:34.941306500 INFO:SerialBattery:Connection established to Seplos
2024-04-16 06:37:35.499266500 INFO:SerialBattery:Found existing battery with DeviceInstance = 1
2024-04-16 06:37:35.773050500 INFO:SerialBattery:DeviceInstance = 1
2024-04-16 06:37:35.775316500 INFO:SerialBattery:PID file created successfully: /var/tmp/dbus-serialbattery_[1.pid](http://1.pid/)
2024-04-16 06:37:35.776532500 INFO:SerialBattery:Used DeviceInstances = ['1']
2024-04-16 06:37:35.777525500 INFO:SerialBattery:com.victronenergy.battery.ttyUSB1
2024-04-16 06:37:35.817934500 INFO:SerialBattery:publish config values = True
2024-04-16 06:37:35.852839500 INFO:SerialBattery:Battery Seplos connected to dbus from /dev/ttyUSB1
2024-04-16 06:37:35.854223500 INFO:SerialBattery:========== Settings ==========
2024-04-16 06:37:35.855612500 INFO:SerialBattery:> Connection voltage: 53.24 V | Current: 16.77 A | SoC: None%
2024-04-16 06:37:35.856869500 INFO:SerialBattery:> Cell count: 16 | Cells populated: 16
2024-04-16 06:37:35.857930500 INFO:SerialBattery:> LINEAR LIMITATION ENABLE: False
2024-04-16 06:37:35.859145500 INFO:SerialBattery:> MIN CELL VOLTAGE: 2.9 V | MAX CELL VOLTAGE: 3.45 V
2024-04-16 06:37:35.860727500 INFO:SerialBattery:> MAX BATTERY CHARGE CURRENT: 100.0 A | MAX BATTERY DISCHARGE CURRENT: 100.0 A
2024-04-16 06:37:35.862889500 INFO:SerialBattery:> CVCM: True
2024-04-16 06:37:35.864269500 INFO:SerialBattery:> CCCM CV: True | DCCM CV: True
2024-04-16 06:37:35.865337500 INFO:SerialBattery:> CCCM T: True | DCCM T: True
2024-04-16 06:37:35.866472500 INFO:SerialBattery:> CCCM SOC: True | DCCM SOC: True
2024-04-16 06:37:35.867495500 INFO:SerialBattery:> CHARGE FET: None | DISCHARGE FET: None | BALANCE FET: None
2024-04-16 06:37:35.868585500 INFO:SerialBattery:Serial Number/Unique Identifier: SeplosBMS16cells_280.0Ah
2024-04-16 06:37:35.961107500 INFO:SerialBattery:Monitoring external current using: None/None
2024-04-16 06:37:35.962483500 ERROR:SerialBattery:Exception occurred: AttributeError("'NoneType' object has no attribute 'split'") of type <class 'AttributeError'> in /opt/victronenergy/dbus-serialbattery/[dbus-serialbattery.py](http://dbus-serialbattery.py/) line #253
from dbus-serialbattery.
I fixed that also. Please reinstall the same version.
from dbus-serialbattery.
Related Issues (20)
- 2 batteries with the same unique identifier HOT 4
- SOC Reset with 3 Battery Banks HOT 1
- (JK-BMS) Battery discharges alternatingly when SoC reaches 100 % and no discharge requested HOT 4
- No ability to change the unique ID HOT 10
- Calculation of CVL_ICONTROLLER has got corrupted. HOT 4
- Call frequency of CVL_ICONTROLLER HOT 10
- driver no longer works HOT 2
- New JK-BMS JK-B2A8S30P not yet supported? HOT 24
- Random min/max cell voltages go very high or very low in a single read. HOT 27
- Float Mode => Multiplus II HOT 5
- Dbus Serialbattery does not work with new JK Inverter BMS and VE Can post 500kbit/s HOT 1
- Battery capacity reduction for C rate computation when a cell goes in to protection. HOT 3
- Using SEPLOS V3 CVL in config.ini seems to be ignored HOT 20
- Using external current sensor (smart shunt) HOT 11
- New JK-BMS JK-PB2A16S20P Inverter BMS not yet supported? HOT 2
- External current sensor (smartshunt) in use. JKbms no longer shown as battery monitor HOT 27
- Driver Fails to Start HOT 17
- Driver not starting on one battery out of two (Jbd BMS) HOT 1
- DalyBMS 100% SOC is not achieved and decreases HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dbus-serialbattery.