Starling Energy has secured up to $50 million from a Swiss investment fund to install solar panels and batteries in about 5,000 homes throughout the State.