A new housing development in Nottingham is using smart technology to generate, store and manage local energy.