V3.60 Boat View / Page - comments, suggestions and bugs

Thank you . Im gonna order one up then to play around with.

So if my understanding is correct, it should be possible to do the following:

  1. install OS large and Node-RED and virtual motor driver on Cerbo
  2. Install Codesys
  3. Install canOPEN module for Codesys
  4. Connect CANbus port on SEVCON Gen4 motor controller to VE-CAN port on Cerbo
  5. Read heartbeat data from SEVCON controller==>canOPEN module==>Codesys==>virtual motor driver==>Node RED==>Boat page

Does that sound feasible?

Yes. Curious about codesys, I didn’t know that was easily installable.

Alternative option:

  1. install OS large ( Node-RED is included)
  2. In Node-Red, use the virtual motor driver node (included)
  3. In Node-RED, build a flow that reads the data from can and injects it into the virtual motor driver.

Node that I don’t know how node-red and can go wrt performance, depends on number of msgs per second.

Thanks Matthias – but I don’t know if Node-RED can do that directly (read the CANopen heartbeat data sent by the SEVCON motor drive and inject it into the virtual motor driver) by itself, without Codesys and the CANopen module.

If it can, this would be by far the easiest method. Does anyone know if this is possible?

I’m quite sure its possible, might be a lot of work or maybe not.

But you won’t be the first doing something with canopen and node-red:

That’s fantastically helpful, thank you so much!!!

(assuming all this will work on a Cerbo GX with OS Large/Node-Red installed, which I assume it will…)

Then all I have to do is get the imported data into the (new) virtual drive module in Node-RED, and hopefully that’s the job done, it’ll pop up as a device in VRM/remote console, and also appear on the new Boat page… :slight_smile:

I don’t know when I’ll get chance to do this though, the boat is 150 miles away and I’m not due back on it until August – but it does look like there’s now a way forward with no additional hardware except a CANbus cable from the SEVCON (Gen 4) to the Cerbo :slight_smile: :slight_smile: :slight_smile:

Maybe I can even persuade my boatbuilder to try this out on one of the electric boats in his workshop at the moment, he’s been looking for a way to display drive data which doesn’t involve an expensive extra display and hardware… :wink:

Hey, what happened to the post about connecting a CANBus motor controller via Node-RED? Was it deleted because it wasn’t discussing Victron gear, even though it was replying to questions about integrating with a Cerbo?

If so, could the poster (Jon?) forward the message to me directly?

Ian

P.S. I’d have thought splitting the posts off and moving them to the Node-RED section would have done the job, without deleting some very useful info… :wink:

Hi not sure, I have not deleted anything.

Hi guys, apparently AI generated content is not allowed. I thought the ā€˜let me google that for you’ message of @mpvader was very funny, and added to that with a contemporary up-to-date ā€˜let me grok that for you’ response. The exact prompts I entered into grok the first time was a carbon copy of Mattijsses ā€˜canopen+node-red’, the second prompt on top of that was ā€˜+sevcon motorcontroller’. I guess with that you can reproduce grok’s AI response with a single prompt: ā€˜canopen+node-red+sevcon_motorcontroller’ and take it from there, maybe even add ā€˜+victron_venusos_large’ and ā€˜non-verbose’ for better results too.

I would love to but there seems to be no DM’s on this forum. Can send it email but above ā€˜grok prompt’ hint should allow you to reproduce reasonably easily, as was the gist of the original ā€˜lmgtfy’.

Anyone that wants to continue on the node-red sevcon topic: I do prefer for her him to make a new topic in the Node-RED section and add a link here.

And keep this - very valuable! - topic for suggestions and comments on the new boat page

@iand can you do that, I’ll join you there. By the way, I do work with sevcon, have the tools for it too, and an interest in getting the interface to the cerbo virtual motor functional as well.