question

rfuegen avatar image
rfuegen asked

MQTT charger CAN protocol

my configuration:

3* Multiplus-II 48/3000

8* Tesla Model S battery packs 5.2kWh each 2s4p@48V

1* Cerbo GX

1* LogiBMS (Victron compatible)

3* EPEVER Tracer charge controller (60A / 60A / 100A)


an Arduino is already reading performance metrics (panel voltage, panel amps, temperature etc.) from the Tracers via Modbus/RS485.

I now want to feed those metrics to the Cerbo via VE.CAN, but can't find the specification on how the Victron MPPT charge controller communicate on the CAN bus.


I aldready checked the "VE.Can-registers-public.pdf", but it doesn't seem to contain MPPT specs.


please advise. thanks.

MPPT ControllersVE.Can
2 |3000

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

4 Answers
bathnm avatar image
bathnm answered ·

@rfuegen Its not simple. You ill need to build a CAN bus stack that will broadcast a mix of CAN and VE.Can messages and listen for VE.CAN messages. The CAN communication is very complex and you would need to handle all the address management messages, device identification messages before you even think about the data to be sent. As you have also found a lot of the data is sent via VE.Can and therefore you would have to do a lot of reverse engineering.

It would be fare easier to purchase some Victron MPPTs and hook them up via VE.Direct.

If you really want to do this, find yourself a good N2K/CAN library (google searching will turn some up) to get the device visible and then expand that to handle any messages that you find are needed.

2 |3000

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

rfuegen avatar image
rfuegen answered ·

@Bathnm thanks for the answer, although it is a bit discouraging.


I had a look at the source code of TeslaBMS/LogiBMS, where the CAN part is pretty simple. Hoped that MPPT comms would be similar.


purchasing Victron MPPTs would be an option if there's only a single "small" charger to replace, but replacing three "big ones" is not covered by my budget.


anyway, thanks for the hint, I'll look into the N2K/CAN libraries.


2 |3000

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

rfuegen avatar image
rfuegen answered ·

After some consideration, I think I'll go with VE.Direct interface. collect metrics from all three Tracers into a single record, pretend to be a MPPT VE.Can 250/100 on the VE.Direct side.


all three Tracers combined have a total nominal charge current of 220 amps. will there be a problem if I identify as MPPT 250/100, but report more than 100 Amps?


2 |3000

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

Jason - UK avatar image
Jason - UK answered ·

@rfuegen you know those Tesla battery packs are 22.2v nominal, therefore in series they are 44.4v nominal, not 48v? Just noting your original post about your set up having '8* Tesla Model S battery packs 5.2kWh each 2s4p@48V'.

2 |3000

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

Related Resources

MPPT Product Page

MPPT Error codes

MPPT 150/60 up to 250/70 Manual

Additional resources still need to be added for this topic