Hello @PaulS great to hear! You might be interested in the Emoncms Demand Shaper module - #23 by TrystanLea we are working on doing this exact thing and it works already alongside the emonEVSE
It will need some adaptation to work with the script your using the get the i3 SOC - at the moment the only SOC integration implemented is with OVMS.