Battery voltage transfer from SmartShunt for MPPT RS

I am trying to transfer the battery voltage measured by SmartShunt to the MPPT RS via the VE.CAN.
To do this, I use the register
0x2002 VE_REG_LINK_VSENSE
Here is what the packet I created on the CAN bus looks like:
$ candump can0 | grep 1CEFFF
can0 1CEFFF0A [8] 66 99 02 20 0E 15 00 00

In it, I transfer a voltage of 53.9 volts.

But it seems that the MPPT RS does not respond at all.
What is my mistake?
Thanks!

That info is a peer-2-peer information so you may try to send the info directly to the MPPT RS node ID.
Of course, for the MPPT RS to take this into account and act on it, it may depend on the 0x200E value.

1 Like

This works, thank you very much!

1 Like

Now I’m trying to switch the battery charge state to float on the MPPT RS.
The address of the MPPT RS is 0x40.

I’m sending a packet 0x200C VE_REG_LINK_DEVICE_STATE as:
can0 1CEFFF40 [8] 66 99 0C 20 05 00 00 00

But the MPPT RS does not switch to float charge state.

Any ideas?
Thanks.

That packet looks like a broadcast packet from MPPT RS (0x40) to the entire network (0xFF).

Oops, copied the wrong line from the screen.
This is the MPPT RS reply to my packet that I sent him.
I sent to the MPPT RS following packet:
can0 1CEF400A [8] 66 99 0C 20 05 00 00 00

Who’s the master in your network?
Because all those registers from 2000 to 2050 are for a network among devices.

The 200C description sounds like this:
“Charger “link” device state (share the device state from the master to the “slaves”. Slaves have 60s timeout)”

master device - this is a program with 0x0a address.
Do I need to somehow additionally inform all devices who is the master?

To be honest I didn’t tried to experiment and make a “master device” to behave like a Cerbo…
So all the info I’ve tried to give you was an educated guess.

It’s possible that the Float state to be a state that it’s communicated by a charger (MPPT RS) to the network, when it hits certain voltages programmed inside by VictronConnect on the absorption and float fields.
Don’t think you can switch from one state to another at your discretion, because of the voltage restrictions.

In general, I need to simultaneously switch two MPPT RS devices from absorption to float.
I thought that the registers *_LINK_* would help me.
I calculate the absorption and float states themselves in the program.

PS: With Voltage - problem solved, thanks to your help.
Now I’m moving on.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.