Secondary development of photovoltaic energy storage controller