Discussion: Ruleset for smart energy distribution between solar power generation and electrical consumers

a First implementation for one of the ideas is being discussed in this thread:

Use excess Photovoltaics Production intelligently