mr-manuel / venus-os_dbus-serialbattery

Battery Monitor driver for serial battery in VenusOS GX systems
https://mr-manuel.github.io/venus-os_dbus-serialbattery_docs/
MIT License
47 stars 17 forks source link

Support for 500kbps CAN bus connection #92

Closed NickRoberts174 closed 4 weeks ago

NickRoberts174 commented 4 weeks ago

Is your feature request related to a problem? Please describe.

Re-upload of issue #1135 (https://github.com/Louisvdw/dbus-serialbattery/issues/1135)

After much trial and error, trying to get the driver to communicate with my 2 batteries in parrallel, running Daly smart BMS's with WNT interface boards, I found a clue in Mr. Manuel's version that you have to select a 250kbps port (which the WNT boards don't support - they run on 500kbps), which was why the driver doesn't appear to work on CAN bus for me.

image

image

Describe the solution you'd like

Is there any way that the driver could be selected to work on 500kbps so that the Daly WNT boards are compatible please?

Describe alternatives you've considered

I have tried using 2x off RS485 to USB serial adapters, one in each battery, but the driver will only work with one at a time. I have tried all ways of trouble shooting this and have had no success, I believe CAN bus would be the neatest solution as it removes the need for additional hardware which would become failure points of failure. Below are the combinations I have tried. it is also worth noting i have tried countless combinations of addressing the BMS's, either via dip switches, on the Daly software or in the driver settings with no luck.

image image image image image image

Additional context

Victron Multiplus 2 48/5000/70 Victron Cerbo GX Victron Smart Solar Charge Controller MPPT 250/100 Battery 1 - 18S 280AH LiFePo4 with Daly Smart BMS, WNT interface, Daly active balancer and Daly parallel protection board Battery 2 - 18S 280AH LiFePo4 with Daly Smart BMS, WNT interface, Daly active balancer and Daly parallel protection board

Batteries are in parallel

mr-manuel commented 4 weeks ago

Please open a separate support issue for your RS485 problem, since I need a few details to help you with that. So we can solve both.

mr-manuel commented 4 weeks ago

Install the latest dev version, then you can specify the speed in your config.ini.

https://github.com/mr-manuel/venus-os_dbus-serialbattery/blob/00e1fbc1a27110dbac322697c3308443e8267dd9/etc/dbus-serialbattery/config.default.ini#L136-L137