N00b question - How to manually charge/discharge with a Node-Red flow

Dear community members,

I’m a new user in the world of Victron equipment. I got my system running since half of november, and it’s doing great so far. The company which did the installation set it up to run in green mode, this results in the system doing nothing for days. I understand this is because the difference in buy and sell price is too small and it is the time of year sunshine is minimal.

This got me thinking: If the grid fails now, i’m stuck with a battery at minimum SoC. Also with little or no sun at all the battery is not being charged either.

So I started searching how to manually charge the battery a bit.

My system:

3-phase setup with 3 x multiplus 48/5000, Cerbo, MPPT 450/100 with 10 solar panels and 6 x Pylontech US5000c. Plenty of power and capacity to survive a possible grid failure for 3 – 4 days.

I also managed to connect a tablet with remote console so the family can see what is going on. I installed Venus OS large to get Node-Red running, and i’m able to SSH into the Cerbo.

After 2 weeks of uptime the system did a battery balancing and I had my first 30 kWh day (and 100% SoC). I tried to manually charge/discharge the battery by adjusting the Grid-Set-Point > little to no effect. To not disrupt the 28 day learning period I played around with adjusting the min SoC slider, this gave somewhat result to what I want. After a lot of googling and youtube, I still cannot find what I want (yet it is really simple).

So what am I looking for?

Real simple; a button/option/flow that lets me charge/discharge battery with x amount of amps/W (preferably with x amount of time or SoC).

I do want to have control over the power it’s going to push into the battery, right now the temperature of the battery is 2*C and I don’t think it’s a good idea to hammer it with 10 kWh.

Some members on this forum presented their ideas on AI to help them build a Node-Red flow. Good idea, I tried that as well and ChatGPT gave me a good output to work with. It came up with:

Inject node > function node (charge @ 3kWh) > Victron-output node

Right. Easy, but I’m stuck at the Victron Output node. Where is it? How do I talk to it and tell it what I want? Is Node-Red capable to do this? Am I missing something?

I’m aware of the 5 charge schedules which can be found on the control panel, but it’s missing the option of power control. And none of them give me the option to discharge. Node-Red is working correctly, I installed the dashboard and it presents some numbers and a gauge quite nicely.

So a little push in the right direction would be appreciated.

Thanx for reading, I’m learning as fast as I can :slight_smile:

To answer your question. I am assuming you are running ESS? In that case to export you need to alter ESS grid set point to say -2000 to export 2kw. There are a few ways of doing that, but the most simple is the default Victron NodeRed nodes: The one you need is a Blue node with the bubble at the front “ESS Control”.

click on it and complete:

ESS = Venus Settings

Measurement = Grid Set Point (W).

leave others blank. Now get an inject node, change to number and inject -2000 every 5 secs or so. Join them up and click on inject. Another inject node of 0 would return you to zero.