I think you missed the point… We can all create templates.
I think what Ronnie is aiming at is to control loads in a varying way depending on available Surplus.
I have 5 heaters here of various ratings
This has been something I have wanted for years, other than Automatic Sockets which were very hit and miss as well as manual methods.
Solar Surplus varies, loads need to vary in line with the available Surplus plus a ‘tolerance’ as to Import in order to keep a heater running, An example, 1500w of surplus running a 1800w heater, do you switch off the heater and loose 1500w where adding a little Grid (300w) would give 1800w of heat for the cost of 300w Grid.
Then adding, more heaters of varying wattages. 1500w Surplus you could run 2x 750w heaters, but what happens if the Surplus increases, how do you turn off the 2x 750 heaters in favour of the 1800w heater. Beyond this, Solar increases for 2500w, selecting the best combination of which heater to switch on and do you allows a little Grid in order to ‘keep then on’ To use 2x 750w and an 1800w - does it switch on 1x 1800 and 1x 750w and allow 50w of Grid for the benefits of 2550 of heat for 50w of Grid.
Yes, we can make on/off templates, but adding intelligence and tolerances the most efficient use of Surplus to avoid excess Gris Export but at the same time, allow decisions as to how much Grid is willing to be bought in to maintain heaters.
Therefore, it gets a complicated and well beyond the realms of many.
A solution needs to be variable depending on the Surplus and a way to set a tolerance, maybe in a %. Say, if 5kw of heaters are running, to allow 500w of Grid to maintain is good value for money.
So, with 5 heaters
A: 450w - B: 750w - C: 750w - D: 1000 - E: 2000
Which gets switched on in order to maximise the usage of Surplus energy depending on the availability of a varying quantity? How much are you willing to Import to maintain the Heaters running? What happens in Surplus increases and what happens when it falls off as it is getting late in the day or a cloud has appeared? Which get priority?
Which heaters and how much Grid to maintain in these ranges:
1250w of Surplus? (D: + A: buy in 250w) or (A: + B: loose 50w)
3250 of Surplus?
2700 of Surplus?
500w Surplus?
900w of Surplus?
1950w of Surplus?
Each has many options and a little more than a simple template I’d suggest.