In the latest release (see attached image), I noticed there’s now an engine integration feature available.
My engine and Cerbo are both connected to the NMEA 2000 (N2K) network, and I can already see the engine/battery data on my Raymarine Axiom chartplotter.
How can I get this N2K engine data to show up on the Cerbo GX and in the VRM portal?
Is any additional configuration needed?
The boat page picks up info from an electric motor, but you will not have an electric motor in your devices. The way I have populated my boat page is load the large image, activate Node-RED and create a virtual motor. Then I read in the required info into Node-RED such as engine rpm and output that to the virtual motor. The boat page then picks up my diesel engine rpm.
Creating a digital twin seems like an interesting and promising solution. I have lots of sensors—maybe I should build a digital twin of the yacht as well! I’ll need to read up on how and what kind of data can be displayed locally on the Cerbo and what can be viewed remotely via VRM.
After learning some lessons from (#46 Data partition full), I’m wondering: how much can I really load onto the Cerbo? Would it be possible to run Node-RED alongside the standard Victron software?
There are people who run Node-RED on a separate unit such as a Raspberry Pi and transfer info with the Cerbo rather than on the Cerbo but that is outside my knowledge. There are posts in the Modifications Section on this such as the one below if searched for
What’s missing is how to push the info to a Virtual Device.
I have a VETUS E-line electric motor. The motor itself is not NMEA 2000 compatible, but VETUS supplies a bridge device as part of their touchscreen offering, converting some messages from VE.Can to NMEA2000. The screen has an NMEA 2000 input.
Unfortunately, it does not work out of the box, perhaps some misalignment in PGNs, who knows? But there is another route; I also installed SignalK on my CerboGX, and I can see the motor data, such as revolutions, gear position, and temperature of the motor and controller.
So I first created the Virtual Device and set it to Motor, and marked RPM.
I then added a SignalK subscribe node and added the path to the Motor RPM, and then Publish. Unfortunately, in my case, Node-Red becomes unresponsive, but I was able to do some more research in Node Red safe mode.
I did find a Victron Input node, I can’t recall the exact name; I need to go back to the boat then. However, I was unable to find the Virtual Motor to push the Signalk data to. Curious to learn how others did it.
edit: I think not being able to find the virtual motor may have to do with this thread, I ran into the same issues and warnings with Node Red on 3.6. Will try again this week!
I was not able to set the environment variable PERSISTED_STATE_LOCATION and will need to check if node-red-contrib-victron 1.6.34 fixes this for me. Will try to check tonight.
Managed to get it all working via SignalK + NodeRed. It did require the fix in 1.6.34.
Created some conversions from Hz to RPM, K to Celsius, and Text (Gears) to numbers. Works quite nicely. I use the GPS from Victron’s LTE modem as the speed source on the Boat Page; it’s quite bouncy and can benefit from a filter. I also started working on some efficiency calculations in Node-RED. W/km for the last x seconds, for example. I plan to use KIP to display these.
I did run into a new issue, though. I was charging the boat today, and while working on the Cerbo GX at the same time, I kept receiving messages that the connection to the BMS had been lost. I had to reboot a couple of times. I did not make any changes to the wiring. Could a higher CPU load cause these?
The ideal situation would be if the N2K PGN’s from my VETUS E-line motor are recognized. Will capture some logs next week with @ptrenz
I forgot to take some screenshots, but I will do so in the next few days.