I think you will find there is a way to do this with node red already.
There are other users on the forum who have made solutions for this for themselves, but no everyone is a developer.
A recent one under beta development is called opportunity loads. It is in the testing oahse so feel free to join in. (You are right is is a good idea for a feature.)
If you NEVER want to charge your EV from your home battery, and just want to charge your EV from the grid using overnight cheap rate, then there is an easy and permanent way to do this. However, you’ll need to change your house wiring so that your EV charger is the first thing connected to the grid input from the meter cabinet (via its own separate Henley Block connection) . Your Multiplus is then connected downstream from this, again on it own separate Henley Block connection, your Grid meter will need to be positioned between these two Henley Block positions so it doesn’t see the EV charger demand. This configuration means your Multipluswill never see the EV charger as a load and will not dump the battery contents into the EV. Any excess PV (after your house battery is full) will still go to charge your EV. This is how my system is configured.
You could just connect the EVCS between the Grid Meter and the Multiplus’ AC-IN.
Then, it can charge solar, it will be recorded and shown as loads, and with the Setting “Self-consumption from battery: Critical Loads only” nightly EV-charging will be punished to grid automatically.
If you have other loads on ACIN which you want to be supplied from battery this won’t work. Then a simple Node-Red Flow toggling that setting during EV-Charging may be good enough.