Hi, thought i would make some notes for you reguarding the node-red example flows
https://github.com/victronenergy/node-red-contrib-victron/wiki/Example-Flows
the example to control charging is setup a little wrong in the example code
The payload needs to be numbers not a string
and the SOC switch is setup so that both being "less than" rather than the second one being between 25% and 50% so both end up being true casuing the mode to continue to flip if not during the night, changing it to between 25% and 50% on the seond option fixes the issue.
Hope this helps a few that use the example as a starting point.
Regards
Mark