How to turn off battery with Node-red

Hi all,

For a year or more I have been using a scheduled charge to turn off my battery dependant on either SoC or wattage so if I use certain high-current things especially at night when I can have low-rate mains electricity, it will turn off the battery for the duration of that activity or if the SoC is low enough then it will turn off battery discharging at 10pm when the cheap rate starts hopefully leaving enough battery for the morning until there is some solar production.
Lately I have installed a second multiplus in parallel and although it seems to be configured correctly a scheduled charge does not completely stop the battery from discharging so I am looking for a different Node-red means of stopping battery discharge which will work with my new system.

How do you stop battery discharge via Node-red ?

I am surprised nobody else tries to control their battery via Node-red !

Thanks to @dfaber and a node he furnished me with:

[{“id”:“8ab0d7a8455af41c”,“type”:“victron-output-ess”,“z”:“1dd0a75c02dce780”,“service”:“com.victronenergy.settings”,“path”:“/Settings/CGwacs/BatteryLife/Schedule/Charge/2/Day”,“serviceObj”:{“service”:“com.victronenergy.settings”,“name”:“Venus settings”},“pathObj”:{“path”:“/Settings/CGwacs/BatteryLife/Schedule/Charge/2/Day”,“type”:“enum”,“name”:“Schedule 3: Day”,“enum”:{“0”:“Sunday”,“1”:“Monday”,“2”:“Tuesday”,“3”:“Wednesday”,“4”:“Thursday”,“5”:“Friday”,“6”:“Saturday”,“7”:“Every day”,“8”:“Weekdays”,“9”:“Weekends”},“writable”:true,“remarks”:“

Writing a negative value to the path will de-activate the schedule.

”},“initial”:“”,“name”:“”,“onlyChanges”:false,“x”:1254.203857421875,“y”:200.02701568603516,“wires”:}]

a simple scheduled charge can be set with a target SoC of some very low figure, like 10%. The battery doesn’t actually charge as it’s already above 10% but it cannot be discharged as it is technically “charging only”. This can also be done via the settings menu by changing the position of the “switch” on the Multi to charging only but I don’t know if that method could be automated.

Does anybody have another method for stopping battery discharge ?