question

rkapsi avatar image
rkapsi asked

Custom CAN Profile in Venus OS v3.20 / gui-v2

I have a CAN-bus BMS that communicates strictly at 500 kbit/s and a Wakespeed which I could configure to use 500 kbit/s. This scenario would be ideal as it eliminates one dependency (Cerbo GX) but for integration purposes it'd be still nice if it can optionally join the chat.


In the spirit of OSS I've successfully modified veutil, venus-platform and gui-v2 to potentially have a "VE.Can & CAN-bus BMS (500 kbit/s)" profile (picture below) but it doesn't work in the sense that that there are other non-OSS components that would need recompiling to make it actually work. What are the chances of these things being OSS as well and/or interest in these type of changes?

pxl-20240209-103406666.jpg

Venus OSgui modsvenus sdk
4 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

rkapsi avatar image rkapsi commented ·
Actually, I take that back. It's sufficient to change veutil, venus-platform and gui-v2. My build was referencing a wrong submodule version of veutil. It works! With that said it's kinda subject to breaking and time consuming to causally maintain. I'm probably better off intercepting the can-set-rate shell call and simply live with the imperfection that the UI says 250 but under to hood it's actually 500.
0 Likes 0 ·
slewinson avatar image slewinson rkapsi commented ·
Hi @rkapsi

Would you be interested in sharing how you did this? I have a need to do similar changes to talk to a 125K CANBus peripheral.

Thanks

Simon

0 Likes 0 ·
rkapsi avatar image rkapsi slewinson commented ·

https://github.com/rkapsi/wecan

0 Likes 0 ·
slewinson avatar image slewinson rkapsi commented ·
Awesome, thanks. Will have a play shortyl


S

0 Likes 0 ·
0 Answers

Related Resources

Additional resources still need to be added for this topic

Victron Venus OS Open Source intro page

Venus OS GitHub (please do not post to this)