How to Exclude AC-Coupled PV from ESS Peak Shaving Limit?

I mainly use the function node and program in Javascript.

  • At 22:00 I get a prediction on how much SOC I need in the morning.
  • I set the Grid Setpoint at 2500 untill the desired SOC is reached.
  • When reached I Disable charging
  • At 7:00 I set the Grid Setpoint to zero again and enable charging.

If for some reason the load from the house needs more than 2500W + power from Multiplus II then there’s nothing I can do. I will consume extra from the grid.