Closed regu-tech closed 1 month ago
Unfortunately you did not read carefully the instructions when opening an issue and the logs are in the wrong format.
Anyway, This seems to be an issue of cabeling interference (is your cable shielded and not near the battery power cable?), a cheap USB hub or a faulty BMS. Please provide correct logs to see the timings beween the messages.
Hello, sorry for the wrong log format. I have added now the converted log in my first post.
The usb cables are in parallel to the batterie cables (they lie on them) for approx. 40cm, could this be a problem?
best regards Steffen
The USB cables should be shielded, if you did not get very cheap ones. That could be a problem. Try to use a spare USB cable and check, if the same error occurs.
What about the serial cables from the USB to UART/TTL adapters to the BMS? Sometimes also the serial cables are too short (< 20 cm), which causes strange issues. Use shielded not to short (> 30 cm) serial cables which are not in the near of the battery power cables.
The only way to hopefully solve this is to change, try and check the cabeling. In this case it's not a driver fault.
The USB cables are not new, so i don't know how good they are. I have ordered 4 new ones, double shielded for 9€ each with 2m length and a ferrit core. I will also put them away from the battery cables.
The serial cables from USB to UART are approx. 40cm long, but they lie also for 20cm parallel to the balancer wires. I put them also away from them and hope that the connection losts are fixed then.
Thanks for your help, it is good to know that we can exclude an error on driver side.
best regards Steffen
You do net mention, if your serial cable is shielded or not. On one side the shield has also to be grounded.
Describe the bug
Hello,
i have the problem with the driver, that about one time in the week the connection to all of my 4 BMS (Jiabaida AP20S003s 20S 300A) gets lost.
converted.log converted-starter.log
I don't know how to reproduce the error, it appears every week one time. So maybe it depends on the errors in the log
Maybe this would be helpful, if other informations are needed, i can also provide them.
best regards Steffen
How to reproduce
Can't reproduce it, it comes every week one or two times.
Expected behavior
Driver version of the currently installed driver
v1.4.20240902dev
Driver version of the last known working driver
No response
Venus OS device type
Cerbo GX
Venus OS version
3.42
BMS type
Jiabaida JDB BMS (LLT Power, Overkill Solar, Smart BMS)
Cell count
16
Battery count
4
Connection type
Serial USB adapter to TTL
Config file
Relevant log output
Any other information that may be helpful
No response