genrate home controller