Closed frbuceta closed 3 months ago
The error is related to a wrong reading from the BMS.
As the log say If you don't see this warning very often, you can ignore it.
. You see it very often?
It has never appeared until I updated a few days ago, and it appears every day several times a day.
I have managed to prevent the error from appearing by configuring the SOC by calculated mode
Some bug must have been introduced so that now it starts giving an error when before I never got this error.
Additional error logging was added, therefore the error could have been there for a long time.
I also have this fault after updating to latest stable release. Daly BMS with UART-USB connection.
2024-08-05 00:51:16.187808500 DEBUG:SerialBattery:read_sentence \x91: no sentence start received
2024-08-05 00:51:16.188881500 DEBUG:SerialBattery:request_data: bad reply no. 0
2024-08-05 00:51:16.189518500 DEBUG:SerialBattery:No data received in read_cell_voltage_range_data()
2024-08-05 00:51:16.584722500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-05 00:51:16.611906500 DEBUG:SerialBattery:logged to dbus [95.8]
2024-08-05 00:51:16.613389500 DEBUG:SerialBattery:Cells:[1]3.455V [2]3.456V [3]3.461V [4]3.455V
2024-08-05 00:51:17.593228500 DEBUG:SerialBattery:logged to dbus [95.8]
2024-08-05 00:51:17.599846500 DEBUG:SerialBattery:Cells:[1]3.455V [2]3.457V [3]3.461V [4]3.455V
2024-08-05 00:51:18.573100500 DEBUG:SerialBattery:logged to dbus [95.8]
2024-08-05 00:51:18.574442500 DEBUG:SerialBattery:Cells:[1]3.455V [2]3.455V [3]3.462V [4]3.455V
2024-08-05 00:51:19.590415500 DEBUG:SerialBattery:logged to dbus [95.8]
2024-08-05 00:51:19.591704500 DEBUG:SerialBattery:Cells:[1]3.455V [2]3.457V [3]3.461V [4]3.455V
2024-08-05 00:51:20.584946500 DEBUG:SerialBattery:logged to dbus [95.8]
2024-08-05 00:51:20.596285500 DEBUG:SerialBattery:Cells:[1]3.455V [2]3.457V [3]3.462V [4]3.455V
2024-08-05 00:51:21.597883500 DEBUG:SerialBattery:logged to dbus [95.8]
2024-08-05 00:51:21.599399500 DEBUG:SerialBattery:Cells:[1]3.455V [2]3.456V [3]3.462V [4]3.455V
2024-08-05 00:51:22.587323500 DEBUG:SerialBattery:logged to dbus [95.8]
2024-08-05 00:51:22.588887500 DEBUG:SerialBattery:Cells:[1]3.455V [2]3.457V [3]3.462V [4]3.455V
2024-08-05 00:51:23.584619500 DEBUG:SerialBattery:logged to dbus [95.8]
2024-08-05 00:51:23.586344500 DEBUG:SerialBattery:Cells:[1]3.455V [2]3.456V [3]3.462V [4]3.455V
2024-08-05 00:51:24.407725500 DEBUG:SerialBattery:read_sentence \x92: no sentence start received
2024-08-05 00:51:24.408626500 DEBUG:SerialBattery:request_data: bad reply no. 0
2024-08-05 00:51:24.409335500 DEBUG:SerialBattery:No data received in read_temperature_range_data()
2024-08-05 00:51:24.658736500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
2024-08-05 00:51:24.701554500 DEBUG:SerialBattery:logged to dbus [95.8]
2024-08-05 00:51:24.711952500 DEBUG:SerialBattery:Cells:[1]3.455V [2]3.456V [3]3.462V [4]3.455V
2024-08-05 00:51:25.625601500 DEBUG:SerialBattery:logged to dbus [95.8]
2024-08-05 00:51:25.627021500 DEBUG:SerialBattery:Cells:[1]3.455V [2]3.456V [3]3.462V [4]3.455V
2024-08-05 00:51:26.616057500 DEBUG:SerialBattery:logged to dbus [95.8]
2024-08-05 00:51:26.621782500 DEBUG:SerialBattery:Cells:[1]3.455V [2]3.456V [3]3.462V [4]3.455V
2024-08-05 00:51:27.596375500 DEBUG:SerialBattery:logged to dbus [95.8]
2024-08-05 00:51:27.604436500 DEBUG:SerialBattery:Cells:[1]3.455V [2]3.457V [3]3.462V [4]3.455V
2024-08-05 00:51:28.600465500 DEBUG:SerialBattery:logged to dbus [95.8]
2024-08-05 00:51:28.601809500 DEBUG:SerialBattery:Cells:[1]3.455V [2]3.457V [3]3.462V [4]3.455V
2024-08-05 00:51:29.603009500 DEBUG:SerialBattery:logged to dbus [95.8]
2024-08-05 00:51:29.619658500 DEBUG:SerialBattery:Cells:[1]3.455V [2]3.457V [3]3.462V [4]3.455V
2024-08-05 00:51:30.584945500 DEBUG:SerialBattery:logged to dbus [95.8]
2024-08-05 00:51:30.586219500 DEBUG:SerialBattery:Cells:[1]3.455V [2]3.457V [3]3.462V [4]3.455V
2024-08-05 00:51:31.296333500 DEBUG:SerialBattery:read_sentence \x98: no sentence start received
2024-08-05 00:51:31.297267500 DEBUG:SerialBattery:request_data: bad reply no. 0
2024-08-05 00:51:31.298524500 WARNING:SerialBattery:No data received in read_alarm_data()
2024-08-05 00:51:31.621788500 INFO:SerialBattery:refresh_data: result: False. If you don't see this warning very often, you can ignore it.
This behaviour is changed with v1.4.20240806dev
. Please install it and it will resolve your problem.
Same Internal Calculation Error persists with v1.4.20240806dev
2024-08-08 09:57:22.147791500 DEBUG:SerialBattery:current: -0.7476794051279643 - current_external: None
2024-08-08 09:57:22.148895500 DEBUG:SerialBattery:logged to dbus [98.7]
2024-08-08 09:57:22.151654500 DEBUG:SerialBattery:Cells:[1]3.335V [2]3.335V [3]3.335V [4]3.334V
2024-08-08 09:57:22.154229500 DEBUG:SerialBattery:Polling data took 0.734 seconds
2024-08-08 09:57:23.135578500 ERROR:SerialBattery:Non blocking exception occurred: TypeError("unsupported operand type(s) for -: 'NoneType' and 'float'") of type <class 'TypeError'> in /opt/victronenergy/dbus-serialbattery/battery.py line #634
2024-08-08 09:57:23.137696500 DEBUG:SerialBattery:current: -0.7529114646151678 - current_external: None
2024-08-08 09:57:23.138499500 DEBUG:SerialBattery:current: -0.7529114646151678 - current_external: None
2024-08-08 09:57:23.139347500 DEBUG:SerialBattery:current: -0.7529114646151678 - current_external: None
2024-08-08 09:57:23.140030500 DEBUG:SerialBattery:current: -0.7529114646151678 - current_external: None
2024-08-08 09:57:23.140708500 DEBUG:SerialBattery:current: -0.7529114646151678 - current_external: None
2024-08-08 09:57:23.147030500 DEBUG:SerialBattery:current: -0.7529114646151678 - current_external: None
2024-08-08 09:57:23.149918500 DEBUG:SerialBattery:current: -0.7529114646151678 - current_external: None
2024-08-08 09:57:23.152846500 DEBUG:SerialBattery:logged to dbus [98.7]
2024-08-08 09:57:23.153974500 DEBUG:SerialBattery:Cells:[1]3.335V [2]3.335V [3]3.335V [4]3.334V
2024-08-08 09:57:23.154895500 DEBUG:SerialBattery:Polling data took 0.735 seconds
2024-08-08 09:57:24.145617500 ERROR:SerialBattery:Non blocking exception occurred: TypeError("unsupported operand type(s) for -: 'NoneType' and 'float'") of type <class 'TypeError'> in /opt/victronenergy/dbus-serialbattery/battery.py line #634
2024-08-08 09:57:24.147680500 DEBUG:SerialBattery:current: -0.7576203181536509 - current_external: None
2024-08-08 09:57:24.152189500 DEBUG:SerialBattery:current: -0.7576203181536509 - current_external: None
2024-08-08 09:57:24.152200500 DEBUG:SerialBattery:current: -0.7576203181536509 - current_external: None
2024-08-08 09:57:24.152204500 DEBUG:SerialBattery:current: -0.7576203181536509 - current_external: None
2024-08-08 09:57:24.152208500 DEBUG:SerialBattery:current: -0.7576203181536509 - current_external: None
2024-08-08 09:57:24.179045500 DEBUG:SerialBattery:current: -0.7576203181536509 - current_external: None
2024-08-08 09:57:24.182722500 DEBUG:SerialBattery:current: -0.7576203181536509 - current_external: None
2024-08-08 09:57:24.184162500 DEBUG:SerialBattery:logged to dbus [98.7]
@RickD880 this error tells only, that there are errors in the logs. Please open a new issue and compile all needed informations.
Describe the bug
When the battery is reaching 100% of its charge, then the driver gives this error.
How to reproduce
I don't know exactly what is going on but it gives it automatically when it is reaching 100% of its load.
Expected behavior
Do not give this error.
Driver version of the currently installed driver
v1.4.20240721dev
Driver version of the last known working driver
No response
Venus OS device type
Cerbo GX
Venus OS version
v3.50~11
BMS type
JKBMS (Heltec BMS)
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