In reply to Martin W:
> Thanks, I hadn't thought of it that way. I'm with Octopus and AFAICT the export rate on their Fixed Outgoing tariff is actually about 50% more than the current subsidised/capped gas price - in our area at least; I believe it does vary by region (you can get even more if you get on one of their more innovative tariffs, but we're just taking it one step at a time at the moment).
Yes, it's very dependent on your particular combination of import and export prices. If you can get more for exporting a kWh of electricity than you'd pay for a kWh of gas then the diverter is actually going to cost you money... until very recently that scenario was unthinkable but the markets have changed so dramatically.
>OTOH, using solar electricity rather than burning hydrocarbons to generate hot water would be better for the planet.
Ah. I was avoiding this point, but - it's basically true to say that the UK grid always involves burning gas in a CCGT plant. Times when there is so much renewable power available that all of our CCGTs are switched off are, at the moment, very rare. So if you are displacing a kWh of gas in your own boiler with a kWh of electricity that could otherwise have been exported, then you are in effect forcing a CCGT somewhere to add an extra kWh. Carbon wise it's basically neutral.
> If the diverter can be retro-fitted to the solar PV+battery system then we can possibly put that decision off until the initial 'heavy lifting' (literally, in the case of the PV panels) has been done.
I'm fairly certain they can be retrofitted if you decide later.
> I guess the answer to my original question is that a diverter should be smart enough to detect when the immersion thermostat has gone open circuit and basically go to sleep until it clicks on again.
So, to try to answer your original question - my understanding is that it's effectively the same logic that diverts export power to a battery if you have one. And that is smart enough to detect that the battery is full and therefore push the power back to the grid.