Winterstand.zipFirst of all, i am/was completely a Node-RED beginner. I have build some flows recently and started testing in a life enviroment. I would like to share this with the Victron community so here goes :
As i was investigating everything about Lifepo4, i found out that a SOC around 50% is ideal for storing the battery. Since i use the battery on a pleasurecraft, which i only effectively use for something like 60 day,s a year. (Mostly in boating season) I made a flow to keep the battery between 50% and 60%. You will need to change the flow depending in your situation and setup. The JSON file is attached.
My setup :
8S Prismatic lifepo4 battery with BMS (BMS not connected to Multiplus-2)
500A smartshunt on battery.
Multiplus-II and Cerbo-GX with touch 70
On Cerbo-GX Relais 1 : AC-in shore power breaker
Multiple other stuff like Orion-TR smart to load 12v genset battery, 2x Orion-TR 24/24-20 to protect my main engine alternator from overcurrent. 230v 24V charger for main engine and bow thruster battery's.... And a lot more from Victron.
Maybe this flow is a good starting point to achieve a 50 to 60% SOC status (Its in dutch)
In the UI you can switch this node on or off.
The charging current can be set (Default 20A)
When the charge state goes below 50% the AC-Will switch on, the Mutiplus-II goes to charger only and loads the battery to 65% (Switch node). After the battery reaches 65% the Multiplus goes back to off.
Temperature protection is set to disable charging when ambient temp *sensor is <5c
When the lifepo4 battery has a low voltage (Treshold is low voltage alarm) the inverter also goes to charger only, and stops when the voltage is okay or SOC is 65% (to protect from small loads draining over time without changing SOC)