This Node-RED flow can be used to control a Victron EV Charging Station (EVCS) from solar surplus using Node-RED on Venus OS. The flow keeps the EVCS in Manual mode and adjusts charge current continuously based on grid meter readings, keeping a configurable buffer flowing to the grid to guarantee no grid power is used for charging.
An override allows forcing full-speed charging from the grid at any time, triggered either by the mode button on the EVCS display or by inject buttons in the Node-RED GUI.