a First implementation for one of the ideas is being discussed in this thread:
Use excess Photovoltaics Production intelligently