Keeping two tanks at the same level

I have an interesting challenge for the Victron community.

I’m not a beginner or an expert but there wasn’t a category between the two, LOL. I’ve installed quite a few Victron systems but never delved in the more technical capabilities of the Cerbo GX.

I have two diesel fuel tanks that I would like the Victron system to monitor and keep at the same level by way of a reversible transfer pump when being drained. It doesn’t have to constantly transfer. I’m fine with them being leveled out when one tank drops at 12% increments or so. I have resistive tank senders connected to the cerbo.

I plan on using relays for the pump but need the brain to control them. I’m pretty sure the Cerbo has the capabilities. Any thoughts of how I would do this whether I need to use Node-red or not?

Thank you.

you should be able to do that with node red, and drive the relays with the digital outputs from the Cerbo (you may have to buffer them).