I’m searching to use a Cerbo GX MK2 and Node-Red to communicate with a third-party board.
My goal is to broadcast datas from 2 x MPPTs + 1 x Lynx BMS to this board.
Is anybody have any experience and/or example that will permits me to send those datas with a fixed CAN Identifier using the VE.can IO from Cerbo ?
I don’t think that you can use the Cerbo’s CAN interface like this.
The CAN interfaces provided are dedicated for reading MPPT-CAN and BMS-CAN data. I don’t think that you can send ‘user’ messages over these interfaces.
If you want to access MPPT and Lynx BMS data remotely, the approved paths are to use either the Modbus data map, or MQTT (not used the latter).
If you need to use the CAN bus, if your MPPT data is also on CAN rather than VE direct, then you can extend the CAN bus, and get the 3rd party board to ‘listen only’ to the data. Decoding it is then your problem.
And aside from working out how to send/receive from node-red, you also need to check what can profile to set in the gx settings, or set that to disabled and then manually “up” the can interface and set baudrate and such
BMS port (Cerbo Gen1) is used to collect / visualize data from a High voltage battery using the pylontech profile
VeCan is used to control the 24V system with an MG ENERGY SYTEMS battery. System has MPPT’s and VE.BUS devices controlled by DVCC
There are other devices connected to the BMS canport @500kbs. Specifically a Bidirectional DcDc used to transfer energy from High to low or low to high based upon the respective state of the battery. and there is also a Shore charger direct charging the high voltage battery. Goal of the Red node flows I intend to create:
Virtual Charger to display Shore charger status
Virtual DCDC to display HV to 24V DCDC operation status
Generate control message sent to the HV DCDC to manage power flow between the batteries.
Hopefully we can achieve this without disrupting the existing canbus messages used by the Cerbo…